This makes us possible to define pinmux mapping in board-specific DTS. prima2.dtsi provides all possible (groups,functions) configuration, and device in .dts select configurations from dtsi files. Signed-off-by: Barry Song <Baohua.Song@csr.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
		
			
				
	
	
		
			37 lines
		
	
	
	
		
			654 B
			
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
	
		
			654 B
			
		
	
	
	
		
			Text
		
	
	
	
	
	
/*
 | 
						|
 * DTS file for CSR SiRFprimaII Evaluation Board
 | 
						|
 *
 | 
						|
 * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
 | 
						|
 *
 | 
						|
 * Licensed under GPLv2 or later.
 | 
						|
 */
 | 
						|
 | 
						|
/dts-v1/;
 | 
						|
 | 
						|
/include/ "prima2.dtsi"
 | 
						|
 | 
						|
/ {
 | 
						|
	model = "CSR SiRFprimaII Evaluation Board";
 | 
						|
	compatible = "sirf,prima2", "sirf,prima2-cb";
 | 
						|
 | 
						|
	memory {
 | 
						|
		reg = <0x00000000 0x20000000>;
 | 
						|
	};
 | 
						|
 | 
						|
	axi {
 | 
						|
		peri-iobg {
 | 
						|
			uart@b0060000 {
 | 
						|
				pinctrl-names = "default";
 | 
						|
				pinctrl-0 = <&uart1_pins_a>;
 | 
						|
			};
 | 
						|
			spi@b00d0000 {
 | 
						|
				pinctrl-names = "default";
 | 
						|
				pinctrl-0 = <&spi0_pins_a>;
 | 
						|
			};
 | 
						|
			spi@b0170000 {
 | 
						|
				pinctrl-names = "default";
 | 
						|
				pinctrl-0 = <&spi1_pins_a>;
 | 
						|
			};
 | 
						|
		};
 | 
						|
	};
 | 
						|
};
 |