ARM: at91/dt: sam9x5ek: add sound configuration
authorRichard Genoud <richard.genoud@gmail.com>
Mon, 12 Aug 2013 12:31:02 +0000 (14:31 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 21 Aug 2013 11:33:44 +0000 (13:33 +0200)
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>
arch/arm/boot/dts/at91sam9x5ek.dtsi

index febf1a3..5c40422 100644 (file)
                        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>;
+       };
 };