Skip to contentSkip to conversation

ARM: dove: add more hardware description in the DT

PATCH Superseded Jean-Francois Moine 2 participants 3 messages Mar 26, 2013 – Apr 3, 2013 Device tree bindings

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 ARM: dove: add more hardware description in the DT

The 88AP510 chip (Marvell Dove) contains a LCD controller, a display controller and two audio controllers.

---
v3 from Sebastian Hesselbarth remarks
- dcon register block ends at 0xc4
v2 from Sebastian Hesselbarth remarks
- better names for the devices
- fix bad i2s interrupt controller
- 2 irq's by audio controller
- display controller added

---
 arch/arm/boot/dts/dove.dtsi |   38 +++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
arch/arm/boot/dts/dove.dtsi +38 -0
index f7509ca..4f5cfbf 100644
@@ -253,5 +253,43 @@
 				dmacap,xor;
 			};
 		};
+
+		lcd0: lcd-controller at 820000 {
+			compatible = "marvell,dove-lcd";
+			reg = <0x820000 0x1c8>;
+			interrupts = <47>;
+			status = "disabled";
+		};
+
+		lcd1: lcd-controller at 810000 {
+			compatible = "marvell,dove-lcd";
+			reg = <0x810000 0x1c8>;
+			interrupts = <46>;
+			status = "disabled";
+		};
+
+		i2s0: audio-controller at b0000 {
+			compatible = "marvell,kirkwood-i2s";
+			reg = <0xb0000 0x4000>;
+			interrupts = <19>, <20>;
+			clocks = <&gate_clk 12>;
+			status = "disabled";
+		};
+
+		i2s1: audio-controller at b4000 {
+			compatible = "marvell,kirkwood-i2s";
+			reg = <0xb4000 0x4000>;
+			interrupts = <21>, <22>;
+			clocks = <&gate_clk 13>;
+			status = "disabled";
+		};
+
+		/* display controller and image rotation engine */
+		dcon: display-controller at 830000 {
+			compatible = "marvell,dove-dcon";
+			reg = <0x830000 0xc4>, <0x831000 0x8c>;
+			interrupts = <45>;
+			status = "disabled";
+		};
 	};
 };
Signature · 1 line
1.7.10.4
Applied
#1 lore raw

PATCH v3 1/1 ARM: dove: add more hardware description in the DT

Quoted 12 lines · Jean-Francois Moine

The 88AP510 chip (Marvell Dove) contains a LCD controller, a display controller and two audio controllers.

---
v3 from Sebastian Hesselbarth remarks
- dcon register block ends at 0xc4
v2 from Sebastian Hesselbarth remarks
- better names for the devices
- fix bad i2s interrupt controller
- 2 irq's by audio controller
- display controller added

Quoted 3 lines
---
 arch/arm/boot/dts/dove.dtsi |   38 +++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Applied to mvebu/dt

thx,

Jason.

#2 lore raw

PATCH v3 1/1 ARM: dove: add more hardware description in the DT

Quoted 17 lines · Jason Cooper
Quoted 12 lines · Jean-Francois Moine

The 88AP510 chip (Marvell Dove) contains a LCD controller, a display controller and two audio controllers.

---
v3 from Sebastian Hesselbarth remarks
- dcon register block ends at 0xc4
v2 from Sebastian Hesselbarth remarks
- better names for the devices
- fix bad i2s interrupt controller
- 2 irq's by audio controller
- display controller added

Quoted 3 lines
---
 arch/arm/boot/dts/dove.dtsi |   38 +++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
Quoted 1 line

Applied to mvebu/dt

I've dropped this version from mvebu/dt until you and Sebastian work it out.

thx,

Jason.