Skip to contentSkip to conversation

ARM: dts: aspeed: Add XDMA to Rainier

PATCH In review Joel Stanley 2 participants 5 messages Mar 30, 2020

Subsystems (2)
lore
Share & tools
lore

Joel Stanley

author maintainer
#0 lore raw

cover ARM: dts: aspeed: Add XDMA to Rainier

Joel Stanley (2):
ARM: dts: aspeed: rainier: Add VGA reserved memory region
ARM: dts: aspeed: raininer: Enable XDMA

 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
Signature · 1 line
2.25.1
author maintainer
#1 lore raw

PATCH 1/2 ARM: dts: aspeed: rainier: Add VGA reserved memory region

The BMC uses reserves the top 16MB of memory for the host to use for VGA or PCIe communication.

---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +5 -0
index 4920ee384078..708924fe42cb 100644
@@ -33,6 +33,11 @@
 			no-map;
 			reg = <0xB8000000 0x04000000>; /* 64M */
 		};
+
+		vga_memory: region@bf000000 {
+                        no-map;
+                        reg = <0xbf000000 0x01000000>;  /* 16M */
+                };
 	};
 
 	gpio-keys {
Signature · 1 line
2.25.1
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] ARM: dts: aspeed: rainier: Add VGA reserved memory region

Quoted 2 lines · Joel Stanley

The BMC uses reserves the top 16MB of memory for the host to use for VGA or PCIe communication.

Quoted 22 lines
---
  arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 5 +++++
  1 file changed, 5 insertions(+)
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +5 -0
index 4920ee384078..708924fe42cb 100644
@@ -33,6 +33,11 @@
  			no-map;
  			reg = <0xB8000000 0x04000000>; /* 64M */
  		};
+
+		vga_memory: region@bf000000 {
+                        no-map;
+                        reg = <0xbf000000 0x01000000>;  /* 16M */
+                };
  	};
 
  	gpio-keys {
author maintainer
#3 lore raw

PATCH 2/2 ARM: dts: aspeed: raininer: Enable XDMA

In reply to Joel Stanley

The XDMA device uses the VGA reserved memory region.

---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +5 -0
index 708924fe42cb..a8095aa88dbe 100644
@@ -748,3 +748,8 @@
 		spi-max-frequency = <100000000>;
 	};
 };
+
+&xdma {
+        status = "okay";
+        memory-region = <&vga_memory>;
+};
Signature · 1 line
2.25.1
Reviewed-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] ARM: dts: aspeed: raininer: Enable XDMA

Quoted 1 line · Joel Stanley

The XDMA device uses the VGA reserved memory region.

Quoted 19 lines
---
  arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 5 +++++
  1 file changed, 5 insertions(+)
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +5 -0
index 708924fe42cb..a8095aa88dbe 100644
@@ -748,3 +748,8 @@
  		spi-max-frequency = <100000000>;
  	};
  };
+
+&xdma {
+        status = "okay";
+        memory-region = <&vga_memory>;
+};