diff options
author | Joel Stanley <joel@jms.id.au> | 2019-09-26 08:24:29 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2019-11-01 08:03:20 +0300 |
commit | 8db6997f2b58dad565feb19b54984b4b6402af75 (patch) | |
tree | 3e34b413b2cc7ae649136b904401a861af157607 /arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | |
parent | f97fa21f48808d011aa3507ff64763a6bac06b63 (diff) | |
download | linux-8db6997f2b58dad565feb19b54984b4b6402af75.tar.xz |
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.dts | 31 |
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 7119ff6df7c7..ad80f7cb800d 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts @@ -35,6 +35,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"; |