ARM: dts: vf610-twr: Enable SGTL5000 codec.
authorXiubo Li <Li.Xiubo@freescale.com>
Wed, 19 Feb 2014 07:42:30 +0000 (15:42 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 20 Feb 2014 01:35:38 +0000 (09:35 +0800)
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>
arch/arm/boot/dts/vf610-twr.dts

index 0db3cdbececcee97da4208944b42750e2a3fa67e..0105501ac55e1aee64fd01db08e8399f87ae375b 100644 (file)
                };
        };
 
+       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 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_i2c0>;
        status = "okay";
+
+       codec: sgtl5000@0a {
+              compatible = "fsl,sgtl5000";
+              reg = <0x0a>;
+              VDDA-supply = <&reg_3p3v>;
+              VDDIO-supply = <&reg_3p3v>;
+              clocks = <&clks VF610_CLK_SAI2>;
+       };
 };
 
 &iomuxc {