arm/dts: twl: Pass regulator data from dt
authorRajendra Nayak <rnayak@ti.com>
Wed, 8 Feb 2012 23:50:12 +0000 (15:50 -0800)
committerBenoit Cousson <b-cousson@ti.com>
Mon, 12 Mar 2012 22:42:22 +0000 (23:42 +0100)
Pass all the voltage regulator information for
twl6030/twl4030 PMIC from device tree.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
arch/arm/boot/dts/omap3-beagle.dts
arch/arm/boot/dts/twl4030.dtsi
arch/arm/boot/dts/twl6030.dtsi

index 714ba5d506ce05c5281f3339ef5b45e978080cdc..54556b19c97d625e6c461e418692ca2c9e83ddd9 100644 (file)
                reg = <0x48>;
                interrupts = <7>; /* SYS_NIRQ cascaded to intc */
                interrupt-parent = <&intc>;
+
+               vsim: regulator@10 {
+                       compatible = "ti,twl4030-vsim";
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <3000000>;
+               };
        };
 };
 
index 8be5223e40eb74c142d2d156b6559e87f42d6795..a94654c9eb8dcbd129004d8a05e4c30083669235 100644 (file)
                compatible = "ti,twl4030-rtc";
                interrupts = <11>;
        };
+
+       vdac: regulator@0 {
+               compatible = "ti,twl4030-vdac";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+       };
+
+       vpll2: regulator@1 {
+               compatible = "ti,twl4030-vpll2";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+       };
+
+       vmmc1: regulator@2 {
+               compatible = "ti,twl4030-vmmc1";
+               regulator-min-microvolt = <1850000>;
+               regulator-max-microvolt = <3150000>;
+       };
 };
index b7b4e5e4340a1fad0a716aed5354122598de7115..3b2f3510d7eb91ca5ce520692682ad26aca89d31 100644 (file)
                compatible = "ti,twl4030-rtc";
                interrupts = <11>;
        };
+
+       vaux1: regulator@0 {
+               compatible = "ti,twl6030-vaux1";
+               regulator-min-microvolt = <1000000>;
+               regulator-max-microvolt = <3000000>;
+       };
+
+       vaux2: regulator@1 {
+               compatible = "ti,twl6030-vaux2";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <2800000>;
+       };
+
+       vaux3: regulator@2 {
+               compatible = "ti,twl6030-vaux3";
+               regulator-min-microvolt = <1000000>;
+               regulator-max-microvolt = <3000000>;
+       };
+
+       vmmc: regulator@3 {
+               compatible = "ti,twl6030-vmmc";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <3000000>;
+       };
+
+       vpp: regulator@4 {
+               compatible = "ti,twl6030-vpp";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <2500000>;
+       };
+
+       vusim: regulator@5 {
+               compatible = "ti,twl6030-vusim";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <2900000>;
+       };
+
+       vdac: regulator@6 {
+               compatible = "ti,twl6030-vdac";
+       };
+
+       vana: regulator@7 {
+               compatible = "ti,twl6030-vana";
+       };
+
+       vcxio: regulator@8 {
+               compatible = "ti,twl6030-vcxio";
+       };
+
+       vusb: regulator@9 {
+               compatible = "ti,twl6030-vusb";
+       };
+
+       v1v8: regulator@10 {
+               compatible = "ti,twl6030-v1v8";
+       };
+
+       v2v1: regulator@11 {
+               compatible = "ti,twl6030-v2v1";
+       };
+
+       clk32kg: regulator@12 {
+               compatible = "ti,twl6030-clk32kg";
+       };
 };