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 6843adf259c3d1d03f915f2935f1ea0a357c29d7..01eb09cd69210e5ea64dcd86d0e422225ca47874 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";