From: Bo Shen Date: Mon, 14 Oct 2013 05:38:33 +0000 (+0800) Subject: ARM: at91: add sound support on at91sam9n12ek board X-Git-Tag: v3.13-rc1~156^2~16^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=551a409ca6b6285367669883186f84ea3bc88ecf;p=profile%2Fivi%2Fkernel-x86-ivi.git ARM: at91: add sound support on at91sam9n12ek board Add sound support on at91sam9n12ek board with wm8904 as codec. Signed-off-by: Bo Shen Signed-off-by: Nicolas Ferre --- diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 391c532..e9487f6 100644 --- a/arch/arm/boot/dts/at91sam9n12ek.dts +++ b/arch/arm/boot/dts/at91sam9n12ek.dts @@ -91,6 +91,13 @@ ; }; }; + + sound { + pinctrl_pck0_as_audio_mck: pck0_as_audio_mck { + atmel,pins = + ; + }; + }; }; spi0: spi@f0000000 { @@ -151,4 +158,22 @@ gpio-key,wakeup; }; }; + + sound { + compatible = "atmel,asoc-wm8904"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pck0_as_audio_mck>; + + atmel,model = "wm8904 @ AT91SAM9N12"; + atmel,audio-routing = + "Headphone Jack", "HPOUTL", + "Headphone Jack", "HPOUTR", + "IN2L", "Line In Jack", + "IN2R", "Line In Jack", + "Mic", "MICBIAS", + "IN1L", "Mic"; + + atmel,ssc-controller = <&ssc0>; + atmel,audio-codec = <&wm8904>; + }; };