summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2013-08-12 16:31:02 +0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-08-21 15:33:44 +0400
commit90d01929ad38259596371c78df8a9ecf37a7f815 (patch)
tree583fefeb7ffe9b0edf979a4eaf18fac89ba32c78 /arch/arm/boot
parent45b763526eea9b2edaabb90c6c9d78f67c34c95d (diff)
downloadlinux-90d01929ad38259596371c78df8a9ecf37a7f815.tar.xz
ARM: at91/dt: sam9x5ek: add sound configuration
The sam9x5ek board has 2 jacks: headphone wired on RHPOUT/LHPOUT of the wm8731 line in wired on LLINEIN/RLINEIN of the wm8731 Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/at91sam9x5ek.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index febf1a322241..5c404226a3d6 100644
--- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
@@ -113,4 +113,19 @@
status = "okay";
};
};
+
+ sound {
+ compatible = "atmel,sam9x5-wm8731-audio";
+
+ atmel,model = "wm8731 @ AT91SAM9X5EK";
+
+ atmel,audio-routing =
+ "Headphone Jack", "RHPOUT",
+ "Headphone Jack", "LHPOUT",
+ "LLINEIN", "Line In Jack",
+ "RLINEIN", "Line In Jack";
+
+ atmel,ssc-controller = <&ssc0>;
+ atmel,audio-codec = <&wm8731>;
+ };
};