Skip to contentSkip to conversation

ARM: Dove: Add the audio devices in DT

PATCH Superseded Jean-Francois Moine 3 participants 3 messages Oct 8, 2013 – Oct 9, 2013 Device tree bindings

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 ARM: Dove: Add the audio devices in DT

This patch adds the nodes to instantiate the audio devices of the Dove boards.

---
 arch/arm/boot/dts/dove.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/boot/dts/dove.dtsi +18 -0
index cc27916..e177e66 100644
@@ -505,5 +505,23 @@
 				phy-handle = <&ethphy>;
 			};
 		};
+
+		audio0: audio-controller at b0000 {
+			compatible = "marvell,dove-audio";
+			reg = <0xb0000 0x2210>;
+			interrupts = <19>, <20>;
+			clocks = <&gate_clk 12>;
+			clock-names = "internal";
+			status = "disabled";
+		};
+
+		audio1: audio-controller at b4000 {
+			compatible = "marvell,dove-audio";
+			reg = <0xb4000 0x2210>;
+			interrupts = <21>, <22>;
+			clocks = <&gate_clk 13>;
+			clock-names = "internal";
+			status = "disabled";
+		};
 	};
 };
Signature · 2 lines
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
#1 lore raw

PATCH v2 1/2 ARM: Dove: Add the audio devices in DT

Quoted 27 lines · Jean-Francois Moine

This patch adds the nodes to instantiate the audio devices of the Dove boards.

---
  arch/arm/boot/dts/dove.dtsi | 18 ++++++++++++++++++
  1 file changed, 18 insertions(+)
arch/arm/boot/dts/dove.dtsi +10 -0
index cc27916..e177e66 100644
@@ -505,5 +505,23 @@
  				phy-handle = <&ethphy>;
  			};
  		};
+
+		audio0: audio-controller at b0000 {
+			compatible = "marvell,dove-audio";
+			reg = <0xb0000 0x2210>;
+			interrupts = <19>, <20>;
+			clocks = <&gate_clk 12>;
+			clock-names = "internal";
+			status = "disabled";
+		};
+

arch/arm/boot/dts/dove.dtsi line 527

Quoted 10 lines
arch/arm/boot/dts/dove.dtsi +8 -0
+		audio1: audio-controller at b4000 {
+			compatible = "marvell,dove-audio";
+			reg = <0xb4000 0x2210>;
+			interrupts = <21>, <22>;
+			clocks = <&gate_clk 13>;
+			clock-names = "internal";
+			status = "disabled";
+		};
  	};
  };

Thanks for the series,