Skip to contentSkip to conversation

arm: mvebu: Add armada-xp-gp-u-boot.dtsi for U-Boot properties

PATCH New Stefan Roese 2 participants 2 messages Dec 10, 2020 – Dec 11, 2020 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mvebu: Add armada-xp-gp-u-boot.dtsi for U-Boot properties

Add some missing "u-boot,dm-pre-reloc;" properties to UART0, SPI controller and SPI NOR flash node to enable usage in SPL. Otherwise these devices will not be available.

Cc Dennis Gilmore <[email protected]>
---
 arch/arm/dts/armada-xp-gp-u-boot.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 arch/arm/dts/armada-xp-gp-u-boot.dtsi
arch/arm/dts/armada-xp-gp-u-boot.dtsi new file +19 -0
new file mode 100644
index 0000000000..2422856616
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/ {
+	soc {
+		internal-regs {
+			serial at 12000 {
+				u-boot,dm-pre-reloc;
+			};
+		};
+	};
+};
+
+&spi0 {
+	u-boot,dm-pre-reloc;
+
+	spi-flash at 0 {
+		u-boot,dm-pre-reloc;
+	};
+};
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 arm: mvebu: Add armada-xp-gp-u-boot.dtsi for U-Boot properties

Quoted 37 lines · Stefan Roese

Add some missing "u-boot,dm-pre-reloc;" properties to UART0, SPI controller and SPI NOR flash node to enable usage in SPL. Otherwise these devices will not be available.

Cc Dennis Gilmore <[email protected]>

---
?arch/arm/dts/armada-xp-gp-u-boot.dtsi | 19 +++++++++++++++++++ ?1 file changed, 19 insertions(+)
?create mode 100644 arch/arm/dts/armada-xp-gp-u-boot.dtsi

arch/arm/dts/armada-xp-gp-u-boot.dtsi new file +19 -0
new file mode 100644
index 0000000000..2422856616
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/ {
+???????soc {
+???????????????internal-regs {
+???????????????????????serial at 12000 {
+???????????????????????????????u-boot,dm-pre-reloc;
+???????????????????????};
+???????????????};
+???????};
+};
+
+&spi0 {
+???????u-boot,dm-pre-reloc;
+
+???????spi-flash at 0 {
+???????????????u-boot,dm-pre-reloc;
+???????};
+};