mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Add the device tree files for sama5d3xek board. The dts files are copied from Linux-4.9, do the changes as below. - add reg property for the pinctrl node. - move the gpio nodes (pioA, pioB, pioC ...) as the pinctrl's slibling nodes. - add the "u-boot,dm-pre-reloc" property to determine which nodes which are needed by SPL and by the board_init_f stage. - fix the compile warning. - add spi0 node aliases. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
		
			
				
	
	
		
			50 lines
		
	
	
		
			813 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			813 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/*
 | 
						|
 * sama5d33ek.dts - Device Tree file for SAMA5D33-EK board
 | 
						|
 *
 | 
						|
 *  Copyright (C) 2013 Atmel,
 | 
						|
 *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
 | 
						|
 *
 | 
						|
 * Licensed under GPLv2 or later.
 | 
						|
 */
 | 
						|
/dts-v1/;
 | 
						|
#include "sama5d33.dtsi"
 | 
						|
#include "sama5d3xmb.dtsi"
 | 
						|
#include "sama5d3xdm.dtsi"
 | 
						|
 | 
						|
/ {
 | 
						|
	model = "Atmel SAMA5D33-EK";
 | 
						|
	compatible = "atmel,sama5d33ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d33", "atmel,sama5d3", "atmel,sama5";
 | 
						|
 | 
						|
	aliases {
 | 
						|
		spi0 = &spi0;
 | 
						|
	};
 | 
						|
 | 
						|
	ahb {
 | 
						|
		apb {
 | 
						|
			spi0: spi@f0004000 {
 | 
						|
				status = "okay";
 | 
						|
			};
 | 
						|
 | 
						|
			ssc0: ssc@f0008000 {
 | 
						|
				status = "okay";
 | 
						|
			};
 | 
						|
 | 
						|
			i2c0: i2c@f0014000 {
 | 
						|
				status = "okay";
 | 
						|
			};
 | 
						|
 | 
						|
			i2c1: i2c@f0018000 {
 | 
						|
				status = "okay";
 | 
						|
			};
 | 
						|
 | 
						|
			macb0: ethernet@f0028000 {
 | 
						|
				status = "okay";
 | 
						|
			};
 | 
						|
		};
 | 
						|
	};
 | 
						|
 | 
						|
	sound {
 | 
						|
		status = "okay";
 | 
						|
	};
 | 
						|
};
 |