diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-06-13 13:51:01 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-06-17 10:04:33 +0200 |
commit | 20426febe6026ba251afcb5bb7b32ac72837bde2 (patch) | |
tree | 01017dffc97c3b478fe26bd2c97864fcadd4cb31 /arch/arm/boot/dts/imx6qdl-sabresd.dtsi | |
parent | ARM: dtsi: imx6qdl-sabresd: add a fixed regulator for WM8962 (diff) | |
download | linux-20426febe6026ba251afcb5bb7b32ac72837bde2.tar.xz linux-20426febe6026ba251afcb5bb7b32ac72837bde2.zip |
ARM: dtsi: imx6qdl-sabresd: Add WM8962 CODEC support
Add WM8962 CODEC support and enable its parent I2C bus.
Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-sabresd.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 3d1bea45bfbd..ddb6e9183ae5 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -59,6 +59,35 @@ status = "okay"; }; +&i2c1 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1_2>; + status = "okay"; + + codec: wm8962@1a { + compatible = "wlf,wm8962"; + reg = <0x1a>; + clocks = <&clks 169>; + DCVDD-supply = <®_audio>; + DBVDD-supply = <®_audio>; + AVDD-supply = <®_audio>; + CPVDD-supply = <®_audio>; + MICVDD-supply = <®_audio>; + PLLVDD-supply = <®_audio>; + SPKVDD1-supply = <®_audio>; + SPKVDD2-supply = <®_audio>; + gpio-cfg = < + 0x0000 /* 0:Default */ + 0x0000 /* 1:Default */ + 0x0013 /* 2:FN_DMICCLK */ + 0x0000 /* 3:Default */ + 0x8014 /* 4:FN_DMICCDAT */ + 0x0000 /* 5:Default */ + >; + }; +}; + &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1_1>; |