[PATCH linux dev-5.3 2/2] ARM: dts: aspeed: tacoma: Add fmc and partitions

Brad Bishop bradleyb at fuzziesquirrel.com
Thu Sep 26 12:32:30 AEST 2019


Enable the fmc device and specify the OpenBMC 128 MiB fixed partition
layout.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
index 408af001c06c..8c2526bcf6ee 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
@@ -35,6 +35,17 @@
 	status = "okay";
 };
 
+&fmc {
+	status = "okay";
+	flash at 0 {
+		status = "okay";
+		m25p,fast-read;
+		label = "bmc";
+		spi-max-frequency = <50000000>;
+#include "openbmc-flash-layout-128.dtsi"
+	};
+};
+
 &fsim0 {
 	status = "okay";
 };
-- 
2.21.0


More information about the openbmc mailing list