summaryrefslogtreecommitdiff
path: root/arch/arm/dts/armada-xp-gp.dts
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-11-20 13:51:57 +0100
committerStefan Roese <sr@denx.de>2016-01-14 14:08:59 +0100
commit09a54c009e8ffbcb88d4b5593b8da32596f14be0 (patch)
tree1fd4272063f31feba432174e255ea1ba3cc6e8a0 /arch/arm/dts/armada-xp-gp.dts
parent9985bdb1cea7ba0b238f299d5bec591a144d3132 (diff)
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-xp-gp.dts')
-rw-r--r--arch/arm/dts/armada-xp-gp.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-xp-gp.dts b/arch/arm/dts/armada-xp-gp.dts
index ca5f8bb2101..27799d1254e 100644
--- a/arch/arm/dts/armada-xp-gp.dts
+++ b/arch/arm/dts/armada-xp-gp.dts
@@ -68,6 +68,10 @@
stdout-path = "serial0:115200n8";
};
+ aliases {
+ spi0 = &spi0;
+ };
+
memory {
device_type = "memory";
/*
@@ -224,8 +228,10 @@
spi0: spi@10600 {
status = "okay";
+ u-boot,dm-pre-reloc;
spi-flash@0 {
+ u-boot,dm-pre-reloc;
#address-cells = <1>;
#size-cells = <1>;
compatible = "n25q128a13", "jedec,spi-nor";