Skip to content

Commit

Permalink
ARM: at91: dt: sama5d4ek: enable audio
Browse files Browse the repository at this point in the history
Enable audio support for sama5d4ek board.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
  • Loading branch information
Bo Shen authored and Nicolas Ferre committed Mar 4, 2015
1 parent 5afd945 commit 15ff964
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions arch/arm/boot/dts/at91-sama5d4ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@
atmel,pins =
<AT91_PIOE 6 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
};
pinctrl_pck2_as_audio_mck: pck2_as_audio_mck {
atmel,pins =
<AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
};
pinctrl_usba_vbus: usba_vbus {
atmel,pins =
<AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;
Expand Down Expand Up @@ -288,4 +292,20 @@
linux,default-trigger = "heartbeat";
};
};

sound {
compatible = "atmel,asoc-wm8904";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pck2_as_audio_mck>;

atmel,model = "wm8904 @ SAMA5D4EK";
atmel,audio-routing =
"Headphone Jack", "HPOUTL",
"Headphone Jack", "HPOUTR",
"IN1L", "Line In Jack",
"IN1R", "Line In Jack";

atmel,ssc-controller = <&ssc0>;
atmel,audio-codec = <&wm8904>;
};
};

0 comments on commit 15ff964

Please sign in to comment.