diff options
author | Rajendra Nayak <rnayak@ti.com> | 2012-02-08 18:50:12 -0500 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2012-03-12 18:42:22 -0400 |
commit | ecc7b060a76d2b454be79abe2c6b934dee850413 (patch) | |
tree | 018cf52b3914cdff2b04bf899c4e5c918ef4638c /arch/arm/boot/dts | |
parent | e7c64db9f50d6523e20bc5b8f042645612e37b74 (diff) |
arm/dts: twl: Pass regulator data from dt
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>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-beagle.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/twl4030.dtsi | 18 | ||||
-rw-r--r-- | arch/arm/boot/dts/twl6030.dtsi | 64 |
3 files changed, 88 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index 714ba5d506ce..54556b19c97d 100644 --- a/arch/arm/boot/dts/omap3-beagle.dts +++ b/arch/arm/boot/dts/omap3-beagle.dts | |||
@@ -26,6 +26,12 @@ | |||
26 | reg = <0x48>; | 26 | reg = <0x48>; |
27 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ | 27 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
28 | interrupt-parent = <&intc>; | 28 | interrupt-parent = <&intc>; |
29 | |||
30 | vsim: regulator@10 { | ||
31 | compatible = "ti,twl4030-vsim"; | ||
32 | regulator-min-microvolt = <1800000>; | ||
33 | regulator-max-microvolt = <3000000>; | ||
34 | }; | ||
29 | }; | 35 | }; |
30 | }; | 36 | }; |
31 | 37 | ||
diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index 8be5223e40eb..a94654c9eb8d 100644 --- a/arch/arm/boot/dts/twl4030.dtsi +++ b/arch/arm/boot/dts/twl4030.dtsi | |||
@@ -18,4 +18,22 @@ | |||
18 | compatible = "ti,twl4030-rtc"; | 18 | compatible = "ti,twl4030-rtc"; |
19 | interrupts = <11>; | 19 | interrupts = <11>; |
20 | }; | 20 | }; |
21 | |||
22 | vdac: regulator@0 { | ||
23 | compatible = "ti,twl4030-vdac"; | ||
24 | regulator-min-microvolt = <1800000>; | ||
25 | regulator-max-microvolt = <1800000>; | ||
26 | }; | ||
27 | |||
28 | vpll2: regulator@1 { | ||
29 | compatible = "ti,twl4030-vpll2"; | ||
30 | regulator-min-microvolt = <1800000>; | ||
31 | regulator-max-microvolt = <1800000>; | ||
32 | }; | ||
33 | |||
34 | vmmc1: regulator@2 { | ||
35 | compatible = "ti,twl4030-vmmc1"; | ||
36 | regulator-min-microvolt = <1850000>; | ||
37 | regulator-max-microvolt = <3150000>; | ||
38 | }; | ||
21 | }; | 39 | }; |
diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi index b7b4e5e4340a..3b2f3510d7eb 100644 --- a/arch/arm/boot/dts/twl6030.dtsi +++ b/arch/arm/boot/dts/twl6030.dtsi | |||
@@ -19,4 +19,68 @@ | |||
19 | compatible = "ti,twl4030-rtc"; | 19 | compatible = "ti,twl4030-rtc"; |
20 | interrupts = <11>; | 20 | interrupts = <11>; |
21 | }; | 21 | }; |
22 | |||
23 | vaux1: regulator@0 { | ||
24 | compatible = "ti,twl6030-vaux1"; | ||
25 | regulator-min-microvolt = <1000000>; | ||
26 | regulator-max-microvolt = <3000000>; | ||
27 | }; | ||
28 | |||
29 | vaux2: regulator@1 { | ||
30 | compatible = "ti,twl6030-vaux2"; | ||
31 | regulator-min-microvolt = <1200000>; | ||
32 | regulator-max-microvolt = <2800000>; | ||
33 | }; | ||
34 | |||
35 | vaux3: regulator@2 { | ||
36 | compatible = "ti,twl6030-vaux3"; | ||
37 | regulator-min-microvolt = <1000000>; | ||
38 | regulator-max-microvolt = <3000000>; | ||
39 | }; | ||
40 | |||
41 | vmmc: regulator@3 { | ||
42 | compatible = "ti,twl6030-vmmc"; | ||
43 | regulator-min-microvolt = <1200000>; | ||
44 | regulator-max-microvolt = <3000000>; | ||
45 | }; | ||
46 | |||
47 | vpp: regulator@4 { | ||
48 | compatible = "ti,twl6030-vpp"; | ||
49 | regulator-min-microvolt = <1800000>; | ||
50 | regulator-max-microvolt = <2500000>; | ||
51 | }; | ||
52 | |||
53 | vusim: regulator@5 { | ||
54 | compatible = "ti,twl6030-vusim"; | ||
55 | regulator-min-microvolt = <1200000>; | ||
56 | regulator-max-microvolt = <2900000>; | ||
57 | }; | ||
58 | |||
59 | vdac: regulator@6 { | ||
60 | compatible = "ti,twl6030-vdac"; | ||
61 | }; | ||
62 | |||
63 | vana: regulator@7 { | ||
64 | compatible = "ti,twl6030-vana"; | ||
65 | }; | ||
66 | |||
67 | vcxio: regulator@8 { | ||
68 | compatible = "ti,twl6030-vcxio"; | ||
69 | }; | ||
70 | |||
71 | vusb: regulator@9 { | ||
72 | compatible = "ti,twl6030-vusb"; | ||
73 | }; | ||
74 | |||
75 | v1v8: regulator@10 { | ||
76 | compatible = "ti,twl6030-v1v8"; | ||
77 | }; | ||
78 | |||
79 | v2v1: regulator@11 { | ||
80 | compatible = "ti,twl6030-v2v1"; | ||
81 | }; | ||
82 | |||
83 | clk32kg: regulator@12 { | ||
84 | compatible = "ti,twl6030-clk32kg"; | ||
85 | }; | ||
22 | }; | 86 | }; |