From: Pali Rohár Date: Wed, 3 Aug 2022 11:00:50 +0000 (+0200) Subject: arm: mvebu: Introduce mvebu-u-boot.dtsi for 32-bit Armada SoCs X-Git-Tag: v2022.10~53^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8879258ec0d6856ee9af802c79bb906feff6a032;p=platform%2Fkernel%2Fu-boot.git arm: mvebu: Introduce mvebu-u-boot.dtsi for 32-bit Armada SoCs Set u-boot,dm-pre-reloc for /soc/, /soc/internal-regs/ and &uart0 nodes as it is required on every 32-bit Armada SoCs. And set also u-boot,dm-pre-reloc for &spi0 when going to boot from SPI because otherwise SPL SPI drivers do not load. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Tested-by: Stefan Roese --- diff --git a/arch/arm/dts/mvebu-u-boot.dtsi b/arch/arm/dts/mvebu-u-boot.dtsi new file mode 100644 index 0000000..5538f95 --- /dev/null +++ b/arch/arm/dts/mvebu-u-boot.dtsi @@ -0,0 +1,24 @@ +#include + +#ifdef CONFIG_ARMADA_32BIT + +/ { + soc { + u-boot,dm-pre-reloc; + internal-regs { + u-boot,dm-pre-reloc; + }; + }; +}; + +&uart0 { + u-boot,dm-pre-reloc; +}; + +#ifdef CONFIG_SPL_SPI +&spi0 { + u-boot,dm-pre-reloc; +}; +#endif + +#endif