summaryrefslogtreecommitdiff
path: root/arch/arm/dts/armada-388-gp.dts
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-11-20 12:51:57 (GMT)
committerStefan Roese <sr@denx.de>2016-01-14 13:08:59 (GMT)
commit09a54c009e8ffbcb88d4b5593b8da32596f14be0 (patch)
tree1fd4272063f31feba432174e255ea1ba3cc6e8a0 /arch/arm/dts/armada-388-gp.dts
parent9985bdb1cea7ba0b238f299d5bec591a144d3132 (diff)
downloadu-boot-09a54c009e8ffbcb88d4b5593b8da32596f14be0.tar.xz
arm: mvebu: Add SPI driver model support
This patch enables the DM support for the SPI driver and the SPI NOR flash chips. Some MVEBU boards boot from SPI NOR, so adding the aliases and enabling CONFIG_DM_SEQ_ALIAS is needed here. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Dirk Eibach <dirk.eibach@gdsys.cc> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/armada-388-gp.dts')
-rw-r--r--arch/arm/dts/armada-388-gp.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-388-gp.dts b/arch/arm/dts/armada-388-gp.dts
index f576e93..f3bcbc6 100644
--- a/arch/arm/dts/armada-388-gp.dts
+++ b/arch/arm/dts/armada-388-gp.dts
@@ -51,6 +51,10 @@
stdout-path = "serial0:115200n8";
};
+ aliases {
+ spi0 = &spi0;
+ };
+
memory {
device_type = "memory";
reg = <0x00000000 0x80000000>; /* 2 GB */
@@ -65,8 +69,10 @@
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins>;
status = "okay";
+ u-boot,dm-pre-reloc;
spi-flash@0 {
+ u-boot,dm-pre-reloc;
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,m25p128", "jedec,spi-nor";