diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-02-19 02:42:30 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-19 20:35:38 -0500 |
commit | c5d571e7ccb3e603acd7a02d5db2c68e72c7af44 (patch) | |
tree | 56c308c47277e882f5b978779c3253dc1d194f2b /arch/arm/boot/dts/vf610-twr.dts | |
parent | 95b13b66a91301b596cb0ae871bc0eb3113f2180 (diff) |
ARM: dts: vf610-twr: Enable SGTL5000 codec.
This patch adds and enables SGTL5000 codec support.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/vf610-twr.dts')
-rw-r--r-- | arch/arm/boot/dts/vf610-twr.dts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 0db3cdbececc..0105501ac55e 100644 --- a/arch/arm/boot/dts/vf610-twr.dts +++ b/arch/arm/boot/dts/vf610-twr.dts | |||
@@ -34,6 +34,20 @@ | |||
34 | }; | 34 | }; |
35 | }; | 35 | }; |
36 | 36 | ||
37 | regulators { | ||
38 | compatible = "simple-bus"; | ||
39 | #address-cells = <1>; | ||
40 | #size-cells = <0>; | ||
41 | |||
42 | reg_3p3v: regulator@0 { | ||
43 | compatible = "regulator-fixed"; | ||
44 | reg = <0>; | ||
45 | regulator-name = "3P3V"; | ||
46 | regulator-min-microvolt = <3300000>; | ||
47 | regulator-max-microvolt = <3300000>; | ||
48 | regulator-always-on; | ||
49 | }; | ||
50 | }; | ||
37 | }; | 51 | }; |
38 | 52 | ||
39 | &dspi0 { | 53 | &dspi0 { |
@@ -72,6 +86,14 @@ | |||
72 | pinctrl-names = "default"; | 86 | pinctrl-names = "default"; |
73 | pinctrl-0 = <&pinctrl_i2c0>; | 87 | pinctrl-0 = <&pinctrl_i2c0>; |
74 | status = "okay"; | 88 | status = "okay"; |
89 | |||
90 | codec: sgtl5000@0a { | ||
91 | compatible = "fsl,sgtl5000"; | ||
92 | reg = <0x0a>; | ||
93 | VDDA-supply = <®_3p3v>; | ||
94 | VDDIO-supply = <®_3p3v>; | ||
95 | clocks = <&clks VF610_CLK_SAI2>; | ||
96 | }; | ||
75 | }; | 97 | }; |
76 | 98 | ||
77 | &iomuxc { | 99 | &iomuxc { |