[PATCH linux dev-5.3 02/13] ARM: dts: aspeed: rainier: Enable FMC and SPI devices

Cédric Le Goater clg at kaod.org
Wed Sep 25 22:42:28 AEST 2019


Signed-off-by: Cédric Le Goater <clg at kaod.org>
---
 arch/arm/boot/dts/aspeed-bmc-opp-rainier.dts | 31 ++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-opp-rainier.dts
index 485c8732eec1..5e5bc78bdce4 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-rainier.dts
@@ -444,3 +444,34 @@
 &ibt {
 	status = "okay";
 };
+
+&fmc {
+	status = "okay";
+	flash at 0 {
+		status = "okay";
+		m25p,fast-read;
+		label = "bmc";
+		spi-max-frequency = <50000000>;
+#include "openbmc-flash-layout.dtsi"
+	};
+
+	flash at 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 at 0 {
+		status = "okay";
+		m25p,fast-read;
+		label = "pnor";
+		spi-max-frequency = <100000000>;
+	};
+};
-- 
2.21.0



More information about the openbmc mailing list