ARM: dts: Add wm8994 regulator support on smdk5250
[deliverable/linux.git] / arch / arm / boot / dts / exynos5250-smdk5250.dts
index d53ea34c4fa15fe3c3221062ee8af2407c482ed7..1e21200b6d85aaf020720e9ca22b78cab1fe7b29 100644 (file)
                };
        };
 
+       vdd:fixed-regulator@0 {
+               compatible = "regulator-fixed";
+               regulator-name = "vdd-supply";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-always-on;
+       };
+
+       dbvdd:fixed-regulator@1 {
+               compatible = "regulator-fixed";
+               regulator-name = "dbvdd-supply";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-always-on;
+       };
+
+       spkvdd:fixed-regulator@2 {
+               compatible = "regulator-fixed";
+               regulator-name = "spkvdd-supply";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               regulator-always-on;
+       };
+
        i2c@12C70000 {
                samsung,i2c-sda-delay = <100>;
                samsung,i2c-max-bus-freq = <20000>;
                };
 
                wm8994: wm8994@1a {
-                        compatible = "wlf,wm8994";
-                        reg = <0x1a>;
+                       compatible = "wlf,wm8994";
+                       reg = <0x1a>;
+
+                       gpio-controller;
+                       #gpio-cells = <2>;
+
+                       AVDD2-supply = <&vdd>;
+                       CPVDD-supply = <&vdd>;
+                       DBVDD-supply = <&dbvdd>;
+                       SPKVDD1-supply = <&spkvdd>;
+                       SPKVDD2-supply = <&spkvdd>;
                };
        };
 
This page took 0.025699 seconds and 5 git commands to generate.