diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-02-19 15:42:30 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-20 09:35:38 +0800 |
commit | c5d571e7ccb3e603acd7a02d5db2c68e72c7af44 (patch) | |
tree | 56c308c47277e882f5b978779c3253dc1d194f2b /arch/arm/boot/dts/vf610-twr.dts | |
parent | 95b13b66a91301b596cb0ae871bc0eb3113f2180 (diff) | |
download | op-kernel-dev-c5d571e7ccb3e603acd7a02d5db2c68e72c7af44.zip op-kernel-dev-c5d571e7ccb3e603acd7a02d5db2c68e72c7af44.tar.gz |
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 0db3cdb..0105501 100644 --- a/arch/arm/boot/dts/vf610-twr.dts +++ b/arch/arm/boot/dts/vf610-twr.dts @@ -34,6 +34,20 @@ }; }; + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + reg_3p3v: regulator@0 { + compatible = "regulator-fixed"; + reg = <0>; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; }; &dspi0 { @@ -72,6 +86,14 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c0>; status = "okay"; + + codec: sgtl5000@0a { + compatible = "fsl,sgtl5000"; + reg = <0x0a>; + VDDA-supply = <®_3p3v>; + VDDIO-supply = <®_3p3v>; + clocks = <&clks VF610_CLK_SAI2>; + }; }; &iomuxc { |