[PATCH linux] ARM: dts: aspeed: Add FMC and phosphor flash layout to AST2500 EVB

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Jun 7 10:21:39 AEST 2016


From: Xo Wang <xow at google.com>

This is required for init to mount OpenBMC root and rw overlay.

Change-Id: I347bfac0632d199af60b303e22ee21f2716e7669
Google-Bug-Id: 28535971
Signed-off-by: Xo Wang <xow at google.com>
---
 arch/arm/boot/dts/aspeed-ast2500-evb.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
index 87cfa4f..28b0045 100644
--- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts
+++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
@@ -18,6 +18,21 @@
 	memory {
 		reg = <0x80000000 0x20000000>;
 	};
+
+	ahb {
+		bmc_pnor: fmc at 1e620000 {
+			reg = < 0x1e620000 0x94
+				0x20000000 0x02000000 >;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "aspeed,fmc";
+			flash at 0 {
+				reg = < 0 >;
+				compatible = "jedec,spi-nor" ;
+#include "aspeed-bmc-opp-flash-layout.dtsi"
+			};
+		};
+	};
 };
 
 &uart5 {
-- 
2.8.3




More information about the openbmc mailing list