Skip to contentSkip to conversation

arm: dts: Fix error in Aspeed OpenPower Romulus device-tree

PATCH Superseded Benjamin Herrenschmidt 1 participant 3 messages Jun 14, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 arm: dts: Fix error in Aspeed OpenPower Romulus device-tree

The reserved memory for the VGA frame buffer is at the wrong address for this system.

---

---
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +2 -2
index 0b9b37d4d6ef..7d28c03a9e0b 100644
@@ -21,9 +21,9 @@
 		#size-cells = <1>;
 		ranges;
 
-		vga_memory: framebuffer at bf000000 {
+		vga_memory: framebuffer at 9f000000 {
 			no-map;
-			reg = <0xbf000000 0x01000000>; /* 16M */
+			reg = <0x9f000000 0x01000000>; /* 16M */
 		};
 
 		flash_memory: region at 98000000 {
Signature · 1 line
2.17.0
#1 lore raw

PATCH 2/3 arm: dts: Update AST2500 device-tree

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.

---
 arch/arm/boot/dts/aspeed-g5.dtsi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-g5.dtsi +6 -1
index 17f2714d18a7..251664984398 100644
@@ -127,6 +127,11 @@
 			reg = <0x1e6c0080 0x80>;
 		};
 
+		cvic: interrupt-controller at 1e6c2000 {
+			compatible = "aspeed,ast2400-cvic";
+			reg = <0x1e6c2000 0x80>;
+		};
+
 		mac0: ethernet at 1e660000 {
 			compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
 			reg = <0x1e660000 0x180>;
@@ -211,7 +216,7 @@
 				status = "disabled";
 			};
 
-			sram at 1e720000 {
+			sram: sram at 1e720000 {
 				compatible = "mmio-sram";
 				reg = <0x1e720000 0x9000>;	// 36K
 			};
Signature · 1 line
2.17.0
#2 lore raw

PATCH 3/3 arm: dts: Update AST2400 device-tree

In reply to Benjamin Herrenschmidt

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.

---
 arch/arm/boot/dts/aspeed-g4.dtsi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-g4.dtsi +6 -1
index 75df1573380e..435595534ec4 100644
@@ -92,6 +92,11 @@
 			reg = <0x1e6c0080 0x80>;
 		};
 
+		cvic: interrupt-controller at 1e6c2000 {
+			compatible = "aspeed,ast2400-cvic";
+			reg = <0x1e6c2000 0x80>;
+		};
+
 		mac0: ethernet at 1e660000 {
 			compatible = "aspeed,ast2400-mac", "faraday,ftgmac100";
 			reg = <0x1e660000 0x180>;
@@ -161,7 +166,7 @@
 				status = "disabled";
 			};
 
-			sram at 1e720000 {
+			sram: sram at 1e720000 {
 				compatible = "mmio-sram";
 				reg = <0x1e720000 0x8000>;	// 32K
 			};
Signature · 1 line
2.17.0