hwmon: (acpi_power_meter) Fix acpi_bus_get_device() return value check
[linux-drm-fsl-dcu.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         watchdog {
23                 compatible = "ti,twl4030-wdt";
24         };
25
26         vaux1: regulator-vaux1 {
27                 compatible = "ti,twl4030-vaux1";
28         };
29
30         vaux2: regulator-vaux2 {
31                 compatible = "ti,twl4030-vaux2";
32         };
33
34         vaux3: regulator-vaux3 {
35                 compatible = "ti,twl4030-vaux3";
36         };
37
38         vaux4: regulator-vaux4 {
39                 compatible = "ti,twl4030-vaux4";
40         };
41
42         vcc: regulator-vdd1 {
43                 compatible = "ti,twl4030-vdd1";
44                 regulator-min-microvolt = <600000>;
45                 regulator-max-microvolt = <1450000>;
46         };
47
48         vdac: regulator-vdac {
49                 compatible = "ti,twl4030-vdac";
50                 regulator-min-microvolt = <1800000>;
51                 regulator-max-microvolt = <1800000>;
52         };
53
54         vio: regulator-vio {
55                 compatible = "ti,twl4030-vio";
56         };
57
58         vintana1: regulator-vintana1 {
59                 compatible = "ti,twl4030-vintana1";
60         };
61
62         vintana2: regulator-vintana2 {
63                 compatible = "ti,twl4030-vintana2";
64         };
65
66         vintdig: regulator-vintdig {
67                 compatible = "ti,twl4030-vintdig";
68         };
69
70         vmmc1: regulator-vmmc1 {
71                 compatible = "ti,twl4030-vmmc1";
72                 regulator-min-microvolt = <1850000>;
73                 regulator-max-microvolt = <3150000>;
74         };
75
76         vmmc2: regulator-vmmc2 {
77                 compatible = "ti,twl4030-vmmc2";
78                 regulator-min-microvolt = <1850000>;
79                 regulator-max-microvolt = <3150000>;
80         };
81
82         vusb1v5: regulator-vusb1v5 {
83                 compatible = "ti,twl4030-vusb1v5";
84         };
85
86         vusb1v8: regulator-vusb1v8 {
87                 compatible = "ti,twl4030-vusb1v8";
88         };
89
90         vusb3v1: regulator-vusb3v1 {
91                 compatible = "ti,twl4030-vusb3v1";
92         };
93
94         vpll1: regulator-vpll1 {
95                 compatible = "ti,twl4030-vpll1";
96         };
97
98         vpll2: regulator-vpll2 {
99                 compatible = "ti,twl4030-vpll2";
100                 regulator-min-microvolt = <1800000>;
101                 regulator-max-microvolt = <1800000>;
102         };
103
104         vsim: regulator-vsim {
105                 compatible = "ti,twl4030-vsim";
106                 regulator-min-microvolt = <1800000>;
107                 regulator-max-microvolt = <3000000>;
108         };
109
110         twl_gpio: gpio {
111                 compatible = "ti,twl4030-gpio";
112                 gpio-controller;
113                 #gpio-cells = <2>;
114                 interrupt-controller;
115                 #interrupt-cells = <1>;
116         };
117
118         usb2_phy: twl4030-usb {
119                 compatible = "ti,twl4030-usb";
120                 interrupts = <10>, <4>;
121                 usb1v5-supply = <&vusb1v5>;
122                 usb1v8-supply = <&vusb1v8>;
123                 usb3v1-supply = <&vusb3v1>;
124                 usb_mode = <1>;
125                 #phy-cells = <0>;
126         };
127
128         twl_pwm: pwm {
129                 compatible = "ti,twl4030-pwm";
130                 #pwm-cells = <2>;
131         };
132
133         twl_pwmled: pwmled {
134                 compatible = "ti,twl4030-pwmled";
135                 #pwm-cells = <2>;
136         };
137
138         twl_pwrbutton: pwrbutton {
139                 compatible = "ti,twl4030-pwrbutton";
140                 interrupts = <8>;
141         };
142 };