]>
Commit | Line | Data |
---|---|---|
6ce0562a HS |
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 | ||
5bbb50d5 HS |
20 | &cpu0 { |
21 | cpu0-supply = <&vdd_cpu>; | |
22 | }; | |
23 | ||
6ce0562a | 24 | &i2c0 { |
9fffa7ad HS |
25 | clock-frequency = <400000>; |
26 | ||
5bbb50d5 HS |
27 | vdd_cpu: syr827@40 { |
28 | compatible = "silergy,syr827"; | |
29 | fcs,suspend-voltage-selector = <1>; | |
30 | reg = <0x40>; | |
31 | regulator-name = "vdd_cpu"; | |
32 | regulator-min-microvolt = <850000>; | |
33 | regulator-max-microvolt = <1350000>; | |
34 | regulator-always-on; | |
35 | regulator-boot-on; | |
36 | }; | |
37 | ||
38 | vdd_gpu: syr828@41 { | |
39 | compatible = "silergy,syr828"; | |
40 | fcs,suspend-voltage-selector = <1>; | |
41 | reg = <0x41>; | |
42 | regulator-name = "vdd_gpu"; | |
43 | regulator-min-microvolt = <850000>; | |
44 | regulator-max-microvolt = <1350000>; | |
45 | regulator-always-on; | |
46 | }; | |
47 | ||
6ce0562a HS |
48 | hym8563@51 { |
49 | compatible = "haoyu,hym8563"; | |
50 | reg = <0x51>; | |
51 | ||
52 | interrupt-parent = <&gpio0>; | |
53 | interrupts = <4 IRQ_TYPE_EDGE_FALLING>; | |
54 | ||
55 | pinctrl-names = "default"; | |
91ff8cd8 | 56 | pinctrl-0 = <&pmic_int>; |
6ce0562a HS |
57 | |
58 | #clock-cells = <0>; | |
59 | clock-output-names = "xin32k"; | |
60 | }; | |
61 | ||
62 | act8846: act8846@5a { | |
63 | compatible = "active-semi,act8846"; | |
64 | reg = <0x5a>; | |
65 | status = "okay"; | |
66 | ||
67 | regulators { | |
68 | vcc_ddr: REG1 { | |
69 | regulator-name = "VCC_DDR"; | |
70 | regulator-min-microvolt = <1200000>; | |
71 | regulator-max-microvolt = <1200000>; | |
72 | regulator-always-on; | |
73 | }; | |
74 | ||
75 | vcc_io: REG2 { | |
76 | regulator-name = "VCC_IO"; | |
77 | regulator-min-microvolt = <3300000>; | |
78 | regulator-max-microvolt = <3300000>; | |
79 | regulator-always-on; | |
80 | }; | |
81 | ||
82 | vdd_log: REG3 { | |
83 | regulator-name = "VDD_LOG"; | |
84 | regulator-min-microvolt = <1000000>; | |
85 | regulator-max-microvolt = <1000000>; | |
86 | regulator-always-on; | |
87 | }; | |
88 | ||
89 | vcc_20: REG4 { | |
90 | regulator-name = "VCC_20"; | |
91 | regulator-min-microvolt = <2000000>; | |
92 | regulator-max-microvolt = <2000000>; | |
93 | regulator-always-on; | |
94 | }; | |
95 | ||
96 | vccio_sd: REG5 { | |
97 | regulator-name = "VCCIO_SD"; | |
98 | regulator-min-microvolt = <3300000>; | |
99 | regulator-max-microvolt = <3300000>; | |
100 | regulator-always-on; | |
101 | }; | |
102 | ||
103 | vdd10_lcd: REG6 { | |
104 | regulator-name = "VDD10_LCD"; | |
105 | regulator-min-microvolt = <1000000>; | |
106 | regulator-max-microvolt = <1000000>; | |
107 | regulator-always-on; | |
108 | }; | |
109 | ||
110 | vcca_codec: REG7 { | |
111 | regulator-name = "VCCA_CODEC"; | |
112 | regulator-min-microvolt = <3300000>; | |
113 | regulator-max-microvolt = <3300000>; | |
114 | regulator-always-on; | |
115 | }; | |
116 | ||
117 | vcca_tp: REG8 { | |
118 | regulator-name = "VCCA_TP"; | |
119 | regulator-min-microvolt = <3300000>; | |
120 | regulator-max-microvolt = <3300000>; | |
121 | regulator-always-on; | |
122 | }; | |
123 | ||
124 | vccio_pmu: REG9 { | |
125 | regulator-name = "VCCIO_PMU"; | |
126 | regulator-min-microvolt = <3300000>; | |
127 | regulator-max-microvolt = <3300000>; | |
128 | regulator-always-on; | |
129 | }; | |
130 | ||
131 | vdd_10: REG10 { | |
132 | regulator-name = "VDD_10"; | |
133 | regulator-min-microvolt = <1000000>; | |
134 | regulator-max-microvolt = <1000000>; | |
135 | regulator-always-on; | |
136 | }; | |
137 | ||
138 | vcc_18: REG11 { | |
139 | regulator-name = "VCC_18"; | |
140 | regulator-min-microvolt = <1800000>; | |
141 | regulator-max-microvolt = <1800000>; | |
142 | regulator-always-on; | |
143 | }; | |
144 | ||
145 | vcc18_lcd: REG12 { | |
146 | regulator-name = "VCC18_LCD"; | |
147 | regulator-min-microvolt = <1800000>; | |
148 | regulator-max-microvolt = <1800000>; | |
149 | regulator-always-on; | |
150 | }; | |
151 | }; | |
152 | }; | |
153 | }; |