ARM: dts: uniphier: prepare device trees to use pinctrl in SPL
Add "u-boot,dm-pre-reloc" for device nodes we want in SPL DTB (spl/u-boot-spl.dtb). The "soc" node (this is simple-bus node) also needs the property to bind the pinctrl node located under it. I am collecting this U-Boot specific hack to the bottom of board DTS rather than inserting "u-boot,dm-pre-reloc" into SoC DTSI. My goal is to sync DTSI with Linux for easier maintenance. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									76c52ce29f
								
							
						
					
					
						commit
						b25c4ab5be
					
				|  | @ -61,6 +61,20 @@ | |||
| }; | ||||
| 
 | ||||
| /* for U-boot only */ | ||||
| / { | ||||
| 	soc { | ||||
| 		u-boot,dm-pre-reloc; | ||||
| 	}; | ||||
| }; | ||||
| 
 | ||||
| &serial0 { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
| 
 | ||||
| &pinctrl { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
| 
 | ||||
| &pinctrl_uart0 { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
|  |  | |||
|  | @ -54,6 +54,20 @@ | |||
| }; | ||||
| 
 | ||||
| /* for U-boot only */ | ||||
| / { | ||||
| 	soc { | ||||
| 		u-boot,dm-pre-reloc; | ||||
| 	}; | ||||
| }; | ||||
| 
 | ||||
| &serial0 { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
| 
 | ||||
| &pinctrl { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
| 
 | ||||
| &pinctrl_uart0 { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
|  |  | |||
|  | @ -68,6 +68,20 @@ | |||
| }; | ||||
| 
 | ||||
| /* for U-boot only */ | ||||
| / { | ||||
| 	soc { | ||||
| 		u-boot,dm-pre-reloc; | ||||
| 	}; | ||||
| }; | ||||
| 
 | ||||
| &serial0 { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
| 
 | ||||
| &pinctrl { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
| 
 | ||||
| &pinctrl_uart0 { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
|  |  | |||
|  | @ -65,6 +65,20 @@ | |||
| }; | ||||
| 
 | ||||
| /* for U-boot only */ | ||||
| / { | ||||
| 	soc { | ||||
| 		u-boot,dm-pre-reloc; | ||||
| 	}; | ||||
| }; | ||||
| 
 | ||||
| &serial0 { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
| 
 | ||||
| &pinctrl { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
| 
 | ||||
| &pinctrl_uart0 { | ||||
| 	u-boot,dm-pre-reloc; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue