Merge branch 'locking-arch-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / rk3288-evb-rk808.dts
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 2 of the License, or
5  * (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  */
12
13 /dts-v1/;
14 #include "rk3288-evb.dtsi"
15
16 / {
17         compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
18 };
19
20 &i2c0 {
21         clock-frequency = <400000>;
22         status = "okay";
23
24         rk808: pmic@1b {
25                 compatible = "rockchip,rk808";
26                 reg = <0x1b>;
27                 interrupt-parent = <&gpio0>;
28                 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
29                 pinctrl-names = "default";
30                 pinctrl-0 = <&pmic_int>;
31                 rockchip,system-power-controller;
32                 wakeup-source;
33                 #clock-cells = <1>;
34                 clock-output-names = "xin32k", "rk808-clkout2";
35
36                 vcc8-supply = <&vcc_18>;
37                 vcc9-supply = <&vcc_io>;
38                 vcc10-supply = <&vcc_io>;
39                 vcc12-supply = <&vcc_io>;
40                 vddio-supply = <&vccio_pmu>;
41
42                 regulators {
43                         vdd_cpu: DCDC_REG1 {
44                                 regulator-always-on;
45                                 regulator-boot-on;
46                                 regulator-min-microvolt = <750000>;
47                                 regulator-max-microvolt = <1300000>;
48                                 regulator-name = "vdd_arm";
49                         };
50
51                         vdd_gpu: DCDC_REG2 {
52                                 regulator-always-on;
53                                 regulator-boot-on;
54                                 regulator-min-microvolt = <850000>;
55                                 regulator-max-microvolt = <1250000>;
56                                 regulator-name = "vdd_gpu";
57                         };
58
59                         vcc_ddr: DCDC_REG3 {
60                                 regulator-always-on;
61                                 regulator-boot-on;
62                                 regulator-name = "vcc_ddr";
63                         };
64
65                         vcc_io: DCDC_REG4 {
66                                 regulator-always-on;
67                                 regulator-boot-on;
68                                 regulator-min-microvolt = <3300000>;
69                                 regulator-max-microvolt = <3300000>;
70                                 regulator-name = "vcc_io";
71                         };
72
73                         vccio_pmu: LDO_REG1 {
74                                 regulator-always-on;
75                                 regulator-boot-on;
76                                 regulator-min-microvolt = <3300000>;
77                                 regulator-max-microvolt = <3300000>;
78                                 regulator-name = "vccio_pmu";
79                         };
80
81                         vcc_tp: LDO_REG2 {
82                                 regulator-always-on;
83                                 regulator-boot-on;
84                                 regulator-min-microvolt = <3300000>;
85                                 regulator-max-microvolt = <3300000>;
86                                 regulator-name = "vcc_tp";
87                         };
88
89                         vdd_10: LDO_REG3 {
90                                 regulator-always-on;
91                                 regulator-boot-on;
92                                 regulator-min-microvolt = <1000000>;
93                                 regulator-max-microvolt = <1000000>;
94                                 regulator-name = "vdd_10";
95                         };
96
97                         vcc18_lcd: LDO_REG4 {
98                                 regulator-always-on;
99                                 regulator-boot-on;
100                                 regulator-min-microvolt = <1800000>;
101                                 regulator-max-microvolt = <1800000>;
102                                 regulator-name = "vcc18_lcd";
103                         };
104
105                         vccio_sd: LDO_REG5 {
106                                 regulator-always-on;
107                                 regulator-boot-on;
108                                 regulator-min-microvolt = <1800000>;
109                                 regulator-max-microvolt = <3300000>;
110                                 regulator-name = "vccio_sd";
111                         };
112
113                         vdd10_lcd: LDO_REG6 {
114                                 regulator-always-on;
115                                 regulator-boot-on;
116                                 regulator-min-microvolt = <1000000>;
117                                 regulator-max-microvolt = <1000000>;
118                                 regulator-name = "vdd10_lcd";
119                         };
120
121                         vcc_18: LDO_REG7 {
122                                 regulator-always-on;
123                                 regulator-boot-on;
124                                 regulator-min-microvolt = <1800000>;
125                                 regulator-max-microvolt = <1800000>;
126                                 regulator-name = "vcc_18";
127                         };
128
129                         vcca_codec: LDO_REG8 {
130                                 regulator-always-on;
131                                 regulator-boot-on;
132                                 regulator-min-microvolt = <3300000>;
133                                 regulator-max-microvolt = <3300000>;
134                                 regulator-name = "vcca_codec";
135                         };
136
137                         vcc_wl: SWITCH_REG1 {
138                                 regulator-always-on;
139                                 regulator-boot-on;
140                                 regulator-name = "vcc_wl";
141                         };
142
143                         vcc_lcd: SWITCH_REG2 {
144                                 regulator-always-on;
145                                 regulator-boot-on;
146                                 regulator-name = "vcc_lcd";
147                         };
148                 };
149         };
150 };