[PATCH v2 3/3] ARM: dts: aspeed-bmc-opp-witherspoon: Enable mailbox and LPC control nodes
Cyril Bur
cyrilbur at gmail.com
Mon Jan 16 16:37:40 AEDT 2017
Also add the reserved-memory node needed by the LPC control driver.
Signed-off-by: Cyril Bur <cyrilbur at gmail.com>
---
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 9badf3e94599..c7c1917f2d89 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -19,6 +19,17 @@
memory {
reg = <0x80000000 0x40000000>;
};
+
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ flash_memory: region at 94000000 {
+ no-map;
+ reg = <0x94000000 0x04000000>; /* 64M */
+ };
+ };
};
&fmc {
@@ -44,6 +55,16 @@
};
};
+&lpc_ctrl {
+ status = "okay";
+ memory-region = <&flash_memory>;
+ flash = <&spi1>;
+};
+
+&mbox {
+ status = "okay";
+};
+
&uart1 {
/* Rear RS-232 connector */
status = "okay";
--
2.11.0
More information about the openbmc
mailing list