GTA04 - add extcon to detect antenna status
[gta04.git] / arch / arm / boot / dts / twl4030.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  */
12 &twl {
13         compatible = "ti,twl4030";
14         interrupt-controller;
15         #interrupt-cells = <1>;
16
17         rtc {
18                 compatible = "ti,twl4030-rtc";
19                 interrupts = <11>;
20         };
21
22         twl_power: power {
23                 compatible = "ti,twl4030-power";
24         };
25
26         charger: bci {
27                 compatible = "ti,twl4030-bci";
28                 interrupts = <9>, <2>;
29                 bci3v1-supply = <&vusb3v1>;
30         };
31
32         pwrbutton {
33                 compatible = "ti,twl4030-pwrbutton";
34                 interrupts = <8>;
35         };
36
37         watchdog {
38                 compatible = "ti,twl4030-wdt";
39         };
40
41         vcc: regulator-vdd1 {
42                 compatible = "ti,twl4030-vdd1";
43                 regulator-min-microvolt = <600000>;
44                 regulator-max-microvolt = <1450000>;
45         };
46
47         vdac: regulator-vdac {
48                 compatible = "ti,twl4030-vdac";
49                 regulator-min-microvolt = <1800000>;
50                 regulator-max-microvolt = <1800000>;
51         };
52
53         vpll2: regulator-vpll2 {
54                 compatible = "ti,twl4030-vpll2";
55                 regulator-min-microvolt = <1800000>;
56                 regulator-max-microvolt = <1800000>;
57         };
58
59         vmmc1: regulator-vmmc1 {
60                 compatible = "ti,twl4030-vmmc1";
61                 regulator-min-microvolt = <1850000>;
62                 regulator-max-microvolt = <3150000>;
63         };
64
65         vmmc2: regulator-vmmc2 {
66                 compatible = "ti,twl4030-vmmc2";
67                 regulator-min-microvolt = <1850000>;
68                 regulator-max-microvolt = <3150000>;
69         };
70
71         vusb1v5: regulator-vusb1v5 {
72                 compatible = "ti,twl4030-vusb1v5";
73         };
74
75         vusb1v8: regulator-vusb1v8 {
76                 compatible = "ti,twl4030-vusb1v8";
77         };
78
79         vusb3v1: regulator-vusb3v1 {
80                 compatible = "ti,twl4030-vusb3v1";
81         };
82
83         vsim: regulator-vsim {
84                 compatible = "ti,twl4030-vsim";
85                 regulator-min-microvolt = <1800000>;
86                 regulator-max-microvolt = <3000000>;
87         };
88
89         twl_gpio: gpio {
90                 compatible = "ti,twl4030-gpio";
91                 gpio-controller;
92                 #gpio-cells = <2>;
93                 interrupt-controller;
94                 #interrupt-cells = <1>;
95         };
96
97         usb2_phy: twl4030-usb {
98                 compatible = "ti,twl4030-usb";
99                 interrupts = <10>, <4>;
100                 usb1v5-supply = <&vusb1v5>;
101                 usb1v8-supply = <&vusb1v8>;
102                 usb3v1-supply = <&vusb3v1>;
103                 usb_mode = <1>;
104         };
105
106         twl_pwm: pwm {
107                 compatible = "ti,twl4030-pwm";
108                 #pwm-cells = <2>;
109         };
110
111         twl_pwmled: pwmled {
112                 compatible = "ti,twl4030-pwmled";
113                 #pwm-cells = <2>;
114         };
115 };