summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9x5ek.dtsi
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2013-08-12 14:31:02 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-08-21 13:33:44 +0200
commit90d01929ad38259596371c78df8a9ecf37a7f815 (patch)
tree583fefeb7ffe9b0edf979a4eaf18fac89ba32c78 /arch/arm/boot/dts/at91sam9x5ek.dtsi
parentARM: at91/dt: sam9x5ek: enable SSC (diff)
downloadlinux-90d01929ad38259596371c78df8a9ecf37a7f815.tar.xz
linux-90d01929ad38259596371c78df8a9ecf37a7f815.zip
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/dts/at91sam9x5ek.dtsi')
-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>;
+ };
};