ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes
Subsystems (2)
PATCH v2 1/1 ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes
This patch is required for correct SPL device tree creation by fdtgrep as fdtgrep looks for u-boot,dm-pre-reloc property of the node to include it in the spl device tree.
Not adding it in these subnodes ignores the pin muxing of peripherals which is almost always in the subnodes.
--- arch/arm/dts/stm32f7-u-boot.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 arch/arm/dts/stm32f7-u-boot.dtsi
arch/arm/dts/stm32f7-u-boot.dtsi new file +24 -0
@@ -0,0 +1,24 @@ +&pinctrl { + usart1_pins_a: usart1 at 0 { + u-boot,dm-pre-reloc; + pins1 { + u-boot,dm-pre-reloc; + }; + pins2 { + u-boot,dm-pre-reloc; + }; + }; + fmc_pins: fmc at 0 { + u-boot,dm-pre-reloc; + pins + { + u-boot,dm-pre-reloc; + }; + }; +}; + +&fmc { + bank1: bank at 0 { + u-boot,dm-pre-reloc; + }; +};
Signature · 1 line
1.9.1
PATCH v2 1/1 ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes
Quoted 8 lines · Vikas Manocha
This patch is required for correct SPL device tree creation by fdtgrep as fdtgrep looks for u-boot,dm-pre-reloc property of the node to include it in the spl device tree.
Not adding it in these subnodes ignores the pin muxing of peripherals which is almost always in the subnodes.
Signed-off-by Vikas Manocha <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170412/fd0256ec/attachment.sig>
PATCH v2 1/1 ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes
In reply to Vikas ManochaQuoted 9 lines · Vikas Manocha
This patch is required for correct SPL device tree creation by fdtgrep as fdtgrep looks for u-boot,dm-pre-reloc property of the node to include it in the spl device tree.
Not adding it in these subnodes ignores the pin muxing of peripherals which is almost always in the subnodes.
Signed-off-by Vikas Manocha <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170508/339eed10/attachment.sig>