From: Cédric Le Goater Date: Wed, 25 Sep 2019 12:42:30 +0000 (+0200) Subject: ARM: dts: ast2600-evb: Enable FMC and SPI devices X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6700acf6662c4684fbe88c0a126de6b16d734e6d;p=openwrt%2Fstaging%2Fblogic.git ARM: dts: ast2600-evb: Enable FMC and SPI devices Signed-off-by: Cédric Le Goater Acked-by: Andrew Jeffery Signed-off-by: Joel Stanley --- 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>; + }; +};