arm: mvebu: clearfog: add u-boot, dm-spl tag for spi
authorJon Nettleton <jon@solid-run.com>
Thu, 21 Jun 2018 09:35:49 +0000 (12:35 +0300)
committerStefan Roese <sr@denx.de>
Tue, 7 Aug 2018 08:53:52 +0000 (10:53 +0200)
This is required so SPL and u-boot can boot from spi
flash devices that use the dm drivers.

Signed-off-by: Jon Nettleton <jon@solid-run.com>
[baruch: use -u-boot.dtsi]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-388-clearfog-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
new file mode 100644 (file)
index 0000000..f31691e
--- /dev/null
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+&spi1 {
+       u-boot,dm-spl;
+
+       spi-flash@0 {
+               u-boot,dm-spl;
+       };
+};