From 33fc6fc105993f0ba3b19e93912ef2cc59e22cef Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Thu, 10 Dec 2020 06:40:10 +0100 Subject: [PATCH] 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. Signed-off-by: Stefan Roese Cc: Dennis Gilmore Tested-by: Dennis Gilmore --- 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 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 index 0000000000..2422856616 --- /dev/null +++ b/arch/arm/dts/armada-xp-gp-u-boot.dtsi @@ -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; + }; +};