summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-370.dtsi
diff options
context:
space:
mode:
authorThomas Petazzoni2014-02-12 18:20:58 +0100
committerJason Cooper2014-02-17 03:42:38 +0100
commit74839835fbe79726ce004deb9318cf22894959bc (patch)
tree5caf73a13001e3acd8a8a13b780bdbe6717347be /arch/arm/boot/dts/armada-370.dtsi
parentARM: mvebu: use input DT defines in Armada 370/XP boards (diff)
downloadkernel-qcow2-linux-74839835fbe79726ce004deb9318cf22894959bc.tar.gz
kernel-qcow2-linux-74839835fbe79726ce004deb9318cf22894959bc.tar.xz
kernel-qcow2-linux-74839835fbe79726ce004deb9318cf22894959bc.zip
ARM: mvebu: add audio I2S controller to Armada 370 Device Tree
The Armada 370 SoC has an I2S audio controller. This commit adds the description of this controller to the Device Tree describing this SoC, as well as two possible muxing configurations for the I2S bus pins. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-370.dtsi')
-rw-r--r--arch/arm/boot/dts/armada-370.dtsi23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 0d8530c98cf5..e3f4c187ef48 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -132,6 +132,20 @@
"mpp51", "mpp52", "mpp53";
marvell,function = "sd0";
};
+
+ i2s_pins1: i2s-pins1 {
+ marvell,pins = "mpp5", "mpp6", "mpp7",
+ "mpp8", "mpp9", "mpp10",
+ "mpp12", "mpp13";
+ marvell,function = "audio";
+ };
+
+ i2s_pins2: i2s-pins2 {
+ marvell,pins = "mpp49", "mpp47", "mpp50",
+ "mpp59", "mpp57", "mpp61",
+ "mpp62", "mpp60", "mpp58";
+ marvell,function = "audio";
+ };
};
gpio0: gpio@18100 {
@@ -196,6 +210,15 @@
clocks = <&coreclk 2>;
};
+ audio_controller: audio-controller@30000 {
+ compatible = "marvell,armada370-audio";
+ reg = <0x30000 0x4000>;
+ interrupts = <93>;
+ clocks = <&gateclk 0>;
+ clock-names = "internal";
+ status = "disabled";
+ };
+
usb@50000 {
clocks = <&coreclk 0>;
};