ARM: dts: aspeed: tacoma: Enable FMC and SPI devices
authorJoel Stanley <joel@jms.id.au>
Thu, 26 Sep 2019 05:24:29 +0000 (14:54 +0930)
committerJoel Stanley <joel@jms.id.au>
Fri, 1 Nov 2019 05:03:21 +0000 (15:33 +1030)
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>
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts

index 6843adf..01eb09c 100644 (file)
        };
 };
 
+&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";