summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2019-09-25 15:42:30 +0300
committerJoel Stanley <joel@jms.id.au>2019-11-01 08:03:20 +0300
commit6700acf6662c4684fbe88c0a126de6b16d734e6d (patch)
treea46d79bc5eaad21ff9873181730b956ee6685bb3 /arch
parent8db6997f2b58dad565feb19b54984b4b6402af75 (diff)
downloadlinux-6700acf6662c4684fbe88c0a126de6b16d734e6d.tar.xz
ARM: dts: ast2600-evb: Enable FMC and SPI devices
Signed-off-by: Cédric Le Goater <clg@kaod.org> Acked-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/aspeed-ast2600-evb.dts24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
index 9443d3e34a61..a3fae3783235 100644
--- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts
+++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
@@ -84,3 +84,27 @@
&rtc {
status = "okay";
};
+
+&fmc {
+ status = "okay";
+ flash@0 {
+ status = "okay";
+ m25p,fast-read;
+ label = "bmc";
+ spi-max-frequency = <50000000>;
+#include "openbmc-flash-layout.dtsi"
+ };
+};
+
+&spi1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi1_default>;
+
+ flash@0 {
+ status = "okay";
+ m25p,fast-read;
+ label = "pnor";
+ spi-max-frequency = <100000000>;
+ };
+};