mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 14:00:19 +00:00 
			
		
		
		
	The device tree source files of at91sam9x5ek board are copied from the Linux v4.10, do the changes below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm-pre-reloc" property to determine which nodes are used by the board_init_f stage. - Change the compatible of the spi flash to "spi-flash". - Add the spi0 aliases. - Fix the compilation warnings. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			32 lines
		
	
	
		
			624 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			624 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/*
 | 
						|
 * at91sam9g35ek.dts - Device Tree file for AT91SAM9G35-EK board
 | 
						|
 *
 | 
						|
 *  Copyright (C) 2012 Atmel,
 | 
						|
 *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
 | 
						|
 *
 | 
						|
 * Licensed under GPLv2 or later.
 | 
						|
 */
 | 
						|
/dts-v1/;
 | 
						|
#include "at91sam9g35.dtsi"
 | 
						|
#include "at91sam9x5dm.dtsi"
 | 
						|
#include "at91sam9x5ek.dtsi"
 | 
						|
 | 
						|
/ {
 | 
						|
	model = "Atmel AT91SAM9G35-EK";
 | 
						|
	compatible = "atmel,at91sam9g35ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
 | 
						|
 | 
						|
	ahb {
 | 
						|
		apb {
 | 
						|
			macb0: ethernet@f802c000 {
 | 
						|
				phy-mode = "rmii";
 | 
						|
				status = "okay";
 | 
						|
			};
 | 
						|
 | 
						|
			hlcdc: hlcdc@f8038000 {
 | 
						|
				u-boot,dm-pre-reloc;
 | 
						|
				status = "okay";
 | 
						|
			};
 | 
						|
		};
 | 
						|
	};
 | 
						|
};
 |