Merge tag 'samsung-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / twl6030.dtsi
1 /*
2  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 /*
10  * Integrated Power Management Chip
11  * http://www.ti.com/lit/ds/symlink/twl6030.pdf
12  */
13 &twl {
14         compatible = "ti,twl6030";
15         interrupt-controller;
16         #interrupt-cells = <1>;
17
18         rtc {
19                 compatible = "ti,twl4030-rtc";
20                 interrupts = <11>;
21         };
22
23         vaux1: regulator-vaux1 {
24                 compatible = "ti,twl6030-vaux1";
25                 regulator-min-microvolt = <1000000>;
26                 regulator-max-microvolt = <3000000>;
27         };
28
29         vaux2: regulator-vaux2 {
30                 compatible = "ti,twl6030-vaux2";
31                 regulator-min-microvolt = <1200000>;
32                 regulator-max-microvolt = <2800000>;
33         };
34
35         vaux3: regulator-vaux3 {
36                 compatible = "ti,twl6030-vaux3";
37                 regulator-min-microvolt = <1000000>;
38                 regulator-max-microvolt = <3000000>;
39         };
40
41         vmmc: regulator-vmmc {
42                 compatible = "ti,twl6030-vmmc";
43                 regulator-min-microvolt = <1200000>;
44                 regulator-max-microvolt = <3000000>;
45         };
46
47         vpp: regulator-vpp {
48                 compatible = "ti,twl6030-vpp";
49                 regulator-min-microvolt = <1800000>;
50                 regulator-max-microvolt = <2500000>;
51         };
52
53         vusim: regulator-vusim {
54                 compatible = "ti,twl6030-vusim";
55                 regulator-min-microvolt = <1200000>;
56                 regulator-max-microvolt = <2900000>;
57         };
58
59         vdac: regulator-vdac {
60                 compatible = "ti,twl6030-vdac";
61         };
62
63         vana: regulator-vana {
64                 compatible = "ti,twl6030-vana";
65         };
66
67         vcxio: regulator-vcxio {
68                 compatible = "ti,twl6030-vcxio";
69                 regulator-always-on;
70         };
71
72         vusb: regulator-vusb {
73                 compatible = "ti,twl6030-vusb";
74         };
75
76         v1v8: regulator-v1v8 {
77                 compatible = "ti,twl6030-v1v8";
78                 regulator-always-on;
79         };
80
81         v2v1: regulator-v2v1 {
82                 compatible = "ti,twl6030-v2v1";
83                 regulator-always-on;
84         };
85
86         twl_usb_comparator: usb-comparator {
87                 compatible = "ti,twl6030-usb";
88                 interrupts = <4>, <10>;
89         };
90
91         twl_pwm: pwm {
92                 /* provides two PWMs (id 0, 1 for PWM1 and PWM2) */
93                 compatible = "ti,twl6030-pwm";
94                 #pwm-cells = <2>;
95         };
96
97         twl_pwmled: pwmled {
98                 /* provides one PWM (id 0 for Charging indicator LED) */
99                 compatible = "ti,twl6030-pwmled";
100                 #pwm-cells = <2>;
101         };
102 };