summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2019-09-26 07:24:29 +0200
committerJoel Stanley <joel@jms.id.au>2019-11-01 06:03:21 +0100
commit8737481e381c6e97c1e11081faa0e41dcbccf21e (patch)
tree8accc18193a05ac2e9b0370c57c0a16f91e772ff /arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
parentARM: dts: aspeed: rainier: Add i2c devices (diff)
downloadlinux-8737481e381c6e97c1e11081faa0e41dcbccf21e.tar.xz
linux-8737481e381c6e97c1e11081faa0e41dcbccf21e.zip
ARM: dts: aspeed: tacoma: Enable FMC and SPI devices
Tacoma has two SPI flash devices attached to the FMC, and one on the SPI controller. Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts')
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
index 6843adf259c3..01eb09cd6921 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
@@ -126,6 +126,37 @@
};
};
+&fmc {
+ status = "okay";
+ flash@0 {
+ status = "okay";
+ m25p,fast-read;
+ label = "bmc";
+ spi-max-frequency = <50000000>;
+#include "openbmc-flash-layout-128.dtsi"
+ };
+
+ flash@1 {
+ status = "okay";
+ m25p,fast-read;
+ label = "alt-bmc";
+ spi-max-frequency = <50000000>;
+ };
+};
+
+&spi1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi1_default>;
+
+ flash@0 {
+ status = "okay";
+ m25p,fast-read;
+ label = "pnor";
+ spi-max-frequency = <100000000>;
+ };
+};
+
&mac2 {
status = "okay";
pinctrl-names = "default";