diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-10 03:03:16 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-12 20:27:47 -0400 |
commit | 530f1d416091212243b341e0022b2967886b30e4 (patch) | |
tree | 6ac153c4228b589afcee3685898e91e8dcca84a6 /arch/arm/boot/dts/imx28-evk.dts | |
parent | 2a96e3912b8d79f0bde45a5d657d48595cc7261c (diff) |
ARM: dts: enable audio support for imx28-evk
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx28-evk.dts | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts index 0b8eeb559906..ee520a529cb4 100644 --- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts | |||
@@ -41,10 +41,31 @@ | |||
41 | }; | 41 | }; |
42 | 42 | ||
43 | apbx@80040000 { | 43 | apbx@80040000 { |
44 | saif0: saif@80042000 { | ||
45 | pinctrl-names = "default"; | ||
46 | pinctrl-0 = <&saif0_pins_a>; | ||
47 | status = "okay"; | ||
48 | }; | ||
49 | |||
50 | saif1: saif@80046000 { | ||
51 | pinctrl-names = "default"; | ||
52 | pinctrl-0 = <&saif1_pins_a>; | ||
53 | fsl,saif-master = <&saif0>; | ||
54 | status = "okay"; | ||
55 | }; | ||
56 | |||
44 | i2c0: i2c@80058000 { | 57 | i2c0: i2c@80058000 { |
45 | pinctrl-names = "default"; | 58 | pinctrl-names = "default"; |
46 | pinctrl-0 = <&i2c0_pins_a>; | 59 | pinctrl-0 = <&i2c0_pins_a>; |
47 | status = "okay"; | 60 | status = "okay"; |
61 | |||
62 | sgtl5000: codec@0a { | ||
63 | compatible = "fsl,sgtl5000"; | ||
64 | reg = <0x0a>; | ||
65 | VDDA-supply = <®_3p3v>; | ||
66 | VDDIO-supply = <®_3p3v>; | ||
67 | |||
68 | }; | ||
48 | }; | 69 | }; |
49 | 70 | ||
50 | duart: serial@80074000 { | 71 | duart: serial@80074000 { |
@@ -70,4 +91,24 @@ | |||
70 | status = "okay"; | 91 | status = "okay"; |
71 | }; | 92 | }; |
72 | }; | 93 | }; |
94 | |||
95 | regulators { | ||
96 | compatible = "simple-bus"; | ||
97 | |||
98 | reg_3p3v: 3p3v { | ||
99 | compatible = "regulator-fixed"; | ||
100 | regulator-name = "3P3V"; | ||
101 | regulator-min-microvolt = <3300000>; | ||
102 | regulator-max-microvolt = <3300000>; | ||
103 | regulator-always-on; | ||
104 | }; | ||
105 | }; | ||
106 | |||
107 | sound { | ||
108 | compatible = "fsl,imx28-evk-sgtl5000", | ||
109 | "fsl,mxs-audio-sgtl5000"; | ||
110 | model = "imx28-evk-sgtl5000"; | ||
111 | saif-controllers = <&saif0 &saif1>; | ||
112 | audio-codec = <&sgtl5000>; | ||
113 | }; | ||
73 | }; | 114 | }; |