Skip to contentSkip to conversation

ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

PATCH New Vikas Manocha 2 participants 3 messages Apr 12, 2017 – May 8, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
new file mode 100644
index 0000000..5f77f57
@@ -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
#1 lore raw

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.

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>
#2 lore raw

PATCH v2 1/1 ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

In reply to Vikas Manocha
Quoted 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.

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>