diff mbox series

[v4,09/11] arm: dts: dra7: Add ipu and related nodes

Message ID 20220127121700.130821-10-aouledameur@baylibre.com
State Accepted
Commit 5329c548ebdd0a0e6fe0e88ab1751e901aad55cc
Delegated to: Tom Rini
Headers show
Series dra7: bring up and support IPU load/start | expand

Commit Message

Amjad Ouled-Ameur Jan. 27, 2022, 12:16 p.m. UTC
From: Keerthy <j-keerthy@ti.com>

Add ipu and the associated nodes.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
---

(no changes since v1)

 arch/arm/dts/dra7.dtsi | 45 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 44 insertions(+), 1 deletion(-)

Comments

Tom Rini Feb. 8, 2022, 5:33 p.m. UTC | #1
On Thu, Jan 27, 2022 at 01:16:58PM +0100, Amjad Ouled-Ameur wrote:

> From: Keerthy <j-keerthy@ti.com>
> 
> Add ipu and the associated nodes.
> 
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra7.dtsi
index fd1aea0b1b16..e2e958b36626 100644
--- a/arch/arm/dts/dra7.dtsi
+++ b/arch/arm/dts/dra7.dtsi
@@ -41,6 +41,8 @@ 
 		d_can0 = &dcan1;
 		d_can1 = &dcan2;
 		spi0 = &qspi;
+		remoteproc0 = &ipu1;
+		remoteproc1 = &ipu2;
 	};
 
 	timer {
@@ -263,9 +265,12 @@ 
 			};
 
 			prm: prm@6000 {
-				compatible = "ti,dra7-prm";
+				compatible = "ti,dra7-prm", "simple-bus";
 				reg = <0x6000 0x3000>;
 				interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+				#address-cells = <1>;
+				#size-cells = <1>;
+				ranges = <0 0x6000 0x3000>;
 
 				prm_clocks: clocks {
 					#address-cells = <1>;
@@ -274,6 +279,20 @@ 
 
 				prm_clockdomains: clockdomains {
 				};
+
+				ipu1_rst: ipu1_rst@510 {
+					compatible = "ti,dra7-reset";
+					reg = <0x510 0x8>;
+					ti,nresets = <3>;
+					#reset-cells = <1>;
+				};
+
+				ipu2_rst: ipu2_rst@910 {
+					compatible = "ti,dra7-reset";
+					reg = <0x910 0x8>;
+					ti,nresets = <3>;
+					#reset-cells = <1>;
+				};
 			};
 
 			scm_wkup: scm_conf@c000 {
@@ -2032,6 +2051,30 @@ 
 			clocks = <&l3_iclk_div>;
 			clock-names = "fck";
 		};
+
+		ipu1: ipu@58820000 {
+			compatible = "ti,dra7-ipu";
+			reg = <0x58820000 0x10000>;
+			reg-names = "l2ram";
+			ti,hwmods = "ipu1";
+			resets = <&ipu1_rst 0>, <&ipu1_rst 1>, <&ipu1_rst 2>;
+			iommus = <&mmu_ipu1>;
+			ti,rproc-standby-info = <0x4a005520>;
+			timers = <&timer11>;
+			watchdog-timers = <&timer7>, <&timer8>;
+		};
+
+		ipu2: ipu@55020000 {
+			compatible = "ti,dra7-ipu";
+			reg = <0x55020000 0x10000>;
+			reg-names = "l2ram";
+			ti,hwmods = "ipu2";
+			resets = <&ipu2_rst 0>, <&ipu2_rst 1>, <&ipu2_rst 2>;
+			iommus = <&mmu_ipu2>;
+			ti,rproc-standby-info = <0x4a008920>;
+			timers = <&timer3>;
+			watchdog-timers = <&timer4>, <&timer9>;
+		};
 	};
 
 	thermal_zones: thermal-zones {