[3/3] arm: dts: Update AST2400 device-tree

Message ID 20180614035605.25286-3-benh@kernel.crashing.org
State New
Headers show
Series
  • [1/3] arm: dts: Fix error in Aspeed OpenPower Romulus device-tree
Related show

Commit Message

Benjamin Herrenschmidt June 14, 2018, 3:56 a.m.
Add the missing node for the CVIC (the coprocessor interrupt
controller) and add a label to the SRAM node so it can be
referenced from the board device-tree file.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
 arch/arm/boot/dts/aspeed-g4.dtsi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Patch

diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
index 75df1573380e..435595534ec4 100644
--- a/arch/arm/boot/dts/aspeed-g4.dtsi
+++ b/arch/arm/boot/dts/aspeed-g4.dtsi
@@ -92,6 +92,11 @@ 
 			reg = <0x1e6c0080 0x80>;
 		};
 
+		cvic: interrupt-controller@1e6c2000 {
+			compatible = "aspeed,ast2400-cvic";
+			reg = <0x1e6c2000 0x80>;
+		};
+
 		mac0: ethernet@1e660000 {
 			compatible = "aspeed,ast2400-mac", "faraday,ftgmac100";
 			reg = <0x1e660000 0x180>;
@@ -161,7 +166,7 @@ 
 				status = "disabled";
 			};
 
-			sram@1e720000 {
+			sram: sram@1e720000 {
 				compatible = "mmio-sram";
 				reg = <0x1e720000 0x8000>;	// 32K
 			};