Describe the audio codec on the pcm030 baseboard.
Signed-off-by: Eric Millbrandt emillbrandt@dekaresearch.com --- arch/powerpc/boot/dts/pcm030.dts | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/boot/dts/pcm030.dts b/arch/powerpc/boot/dts/pcm030.dts index 9e35499..e9475e9 100644 --- a/arch/powerpc/boot/dts/pcm030.dts +++ b/arch/powerpc/boot/dts/pcm030.dts @@ -59,7 +59,7 @@ #gpio-cells = <2>; };
- psc@2000 { /* PSC1 in ac97 mode */ + audio_platform: psc@2000 { /* PSC1 in ac97 mode */ compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97"; cell-index = <0>; }; @@ -134,4 +134,25 @@ localbus { status = "disabled"; }; + + sound { + compatible = "fsl,mpc5200b-soc-audio","fsl,mpc5200-soc-audio"; + card-name = "pcm030"; + audio-platform = <&audio_platform>; + number-of-dais = <2>; + + analog@0 { + stream-name = "AC97 Analog"; + codec-name = "wm9712-codec.0"; + codec-dai-name = "wm9712-hifi"; + cpu-dai-name = "mpc5200-psc-ac97.0"; + }; + + digital@1 { + stream-name = "AC97 IEC958"; + codec-name = "wm9712-codec.0"; + codec-dai-name = "wm9712-aux"; + cpu-dai-name = "mpc5200-psc-ac97.0"; + }; + }; };