]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: Add armada-xp-gp-u-boot.dtsi for U-Boot properties
authorStefan Roese <sr@denx.de>
Thu, 10 Dec 2020 05:40:10 +0000 (06:40 +0100)
committerStefan Roese <sr@denx.de>
Mon, 28 Dec 2020 08:42:06 +0000 (09:42 +0100)
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.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Dennis Gilmore <dgilmore@redhat.com>
Tested-by: Dennis Gilmore <dgilmore@redhat.com>
arch/arm/dts/armada-xp-gp-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/armada-xp-gp-u-boot.dtsi b/arch/arm/dts/armada-xp-gp-u-boot.dtsi
new file mode 100644 (file)
index 0000000..2422856
--- /dev/null
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/ {
+       soc {
+               internal-regs {
+                       serial@12000 {
+                               u-boot,dm-pre-reloc;
+                       };
+               };
+       };
+};
+
+&spi0 {
+       u-boot,dm-pre-reloc;
+
+       spi-flash@0 {
+               u-boot,dm-pre-reloc;
+       };
+};