Merge branch 'clockevents/3.19' of http://git.linaro.org/people/daniel.lezcano/linux...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3288-evb-act8846.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-act8846", "rockchip,rk3288";
18 };
19
20 &i2c0 {
21         hym8563@51 {
22                 compatible = "haoyu,hym8563";
23                 reg = <0x51>;
24
25                 interrupt-parent = <&gpio0>;
26                 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
27
28                 pinctrl-names = "default";
29                 pinctrl-0 = <&pmic_int>;
30
31                 #clock-cells = <0>;
32                 clock-output-names = "xin32k";
33         };
34
35         act8846: act8846@5a {
36                 compatible = "active-semi,act8846";
37                 reg = <0x5a>;
38                 status = "okay";
39
40                 regulators {
41                         vcc_ddr: REG1 {
42                                 regulator-name = "VCC_DDR";
43                                 regulator-min-microvolt = <1200000>;
44                                 regulator-max-microvolt = <1200000>;
45                                 regulator-always-on;
46                         };
47
48                         vcc_io: REG2 {
49                                 regulator-name = "VCC_IO";
50                                 regulator-min-microvolt = <3300000>;
51                                 regulator-max-microvolt = <3300000>;
52                                 regulator-always-on;
53                         };
54
55                         vdd_log: REG3 {
56                                 regulator-name = "VDD_LOG";
57                                 regulator-min-microvolt = <1000000>;
58                                 regulator-max-microvolt = <1000000>;
59                                 regulator-always-on;
60                         };
61
62                         vcc_20: REG4 {
63                                 regulator-name = "VCC_20";
64                                 regulator-min-microvolt = <2000000>;
65                                 regulator-max-microvolt = <2000000>;
66                                 regulator-always-on;
67                         };
68
69                         vccio_sd: REG5 {
70                                 regulator-name = "VCCIO_SD";
71                                 regulator-min-microvolt = <3300000>;
72                                 regulator-max-microvolt = <3300000>;
73                                 regulator-always-on;
74                         };
75
76                         vdd10_lcd: REG6 {
77                                 regulator-name = "VDD10_LCD";
78                                 regulator-min-microvolt = <1000000>;
79                                 regulator-max-microvolt = <1000000>;
80                                 regulator-always-on;
81                         };
82
83                         vcca_codec: REG7 {
84                                 regulator-name = "VCCA_CODEC";
85                                 regulator-min-microvolt = <3300000>;
86                                 regulator-max-microvolt = <3300000>;
87                                 regulator-always-on;
88                         };
89
90                         vcca_tp: REG8 {
91                                 regulator-name = "VCCA_TP";
92                                 regulator-min-microvolt = <3300000>;
93                                 regulator-max-microvolt = <3300000>;
94                                 regulator-always-on;
95                         };
96
97                         vccio_pmu: REG9 {
98                                 regulator-name = "VCCIO_PMU";
99                                 regulator-min-microvolt = <3300000>;
100                                 regulator-max-microvolt = <3300000>;
101                                 regulator-always-on;
102                         };
103
104                         vdd_10: REG10 {
105                                 regulator-name = "VDD_10";
106                                 regulator-min-microvolt = <1000000>;
107                                 regulator-max-microvolt = <1000000>;
108                                 regulator-always-on;
109                         };
110
111                         vcc_18: REG11 {
112                                 regulator-name = "VCC_18";
113                                 regulator-min-microvolt = <1800000>;
114                                 regulator-max-microvolt = <1800000>;
115                                 regulator-always-on;
116                         };
117
118                         vcc18_lcd: REG12 {
119                                 regulator-name = "VCC18_LCD";
120                                 regulator-min-microvolt = <1800000>;
121                                 regulator-max-microvolt = <1800000>;
122                                 regulator-always-on;
123                         };
124                 };
125         };
126 };