1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
7 #include <dt-bindings/pwm/pwm.h>
11 model = "Rockchip RK3399 Evaluation Board";
12 compatible = "rockchip,rk3399-evb", "rockchip,rk3399";
19 backlight: backlight {
20 compatible = "pwm-backlight";
24 16 17 18 19 20 21 22 23
25 24 25 26 27 28 29 30 31
26 32 33 34 35 36 37 38 39
27 40 41 42 43 44 45 46 47
28 48 49 50 51 52 53 54 55
29 56 57 58 59 60 61 62 63
30 64 65 66 67 68 69 70 71
31 72 73 74 75 76 77 78 79
32 80 81 82 83 84 85 86 87
33 88 89 90 91 92 93 94 95
34 96 97 98 99 100 101 102 103
35 104 105 106 107 108 109 110 111
36 112 113 114 115 116 117 118 119
37 120 121 122 123 124 125 126 127
38 128 129 130 131 132 133 134 135
39 136 137 138 139 140 141 142 143
40 144 145 146 147 148 149 150 151
41 152 153 154 155 156 157 158 159
42 160 161 162 163 164 165 166 167
43 168 169 170 171 172 173 174 175
44 176 177 178 179 180 181 182 183
45 184 185 186 187 188 189 190 191
46 192 193 194 195 196 197 198 199
47 200 201 202 203 204 205 206 207
48 208 209 210 211 212 213 214 215
49 216 217 218 219 220 221 222 223
50 224 225 226 227 228 229 230 231
51 232 233 234 235 236 237 238 239
52 240 241 242 243 244 245 246 247
53 248 249 250 251 252 253 254 255>;
54 default-brightness-level = <200>;
55 pwms = <&pwm0 0 25000 0>;
58 edp_panel: edp-panel {
59 compatible = "lg,lp079qx1-sp0v";
60 backlight = <&backlight>;
61 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
62 power-supply = <&vcc3v3_s0>;
65 panel_in_edp: endpoint {
66 remote-endpoint = <&edp_out_panel>;
71 clkin_gmac: external-gmac-clock {
72 compatible = "fixed-clock";
73 clock-frequency = <125000000>;
74 clock-output-names = "clkin_gmac";
78 vdd_center: vdd-center {
79 compatible = "pwm-regulator";
80 pwms = <&pwm3 0 25000 0>;
81 regulator-name = "vdd_center";
82 regulator-min-microvolt = <800000>;
83 regulator-max-microvolt = <1400000>;
89 vcc3v3_sys: vcc3v3-sys {
90 compatible = "regulator-fixed";
91 regulator-name = "vcc3v3_sys";
94 regulator-min-microvolt = <3300000>;
95 regulator-max-microvolt = <3300000>;
98 vcc5v0_sys: vcc5v0-sys {
99 compatible = "regulator-fixed";
100 regulator-name = "vcc5v0_sys";
103 regulator-min-microvolt = <5000000>;
104 regulator-max-microvolt = <5000000>;
107 vcc5v0_host: vcc5v0-host-regulator {
108 compatible = "regulator-fixed";
110 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&vcc5v0_host_en>;
113 regulator-name = "vcc5v0_host";
114 vin-supply = <&vcc5v0_sys>;
117 vcc_phy: vcc-phy-regulator {
118 compatible = "regulator-fixed";
119 regulator-name = "vcc_phy";
124 vcc_phy: vcc-phy-regulator {
125 compatible = "regulator-fixed";
126 regulator-name = "vcc_phy";
140 #address-cells = <1>;
143 edp_out_panel: endpoint@0 {
145 remote-endpoint = <&panel_in_edp>;
156 assigned-clocks = <&cru SCLK_RMII_SRC>;
157 assigned-clock-parents = <&clkin_gmac>;
158 clock_in_out = "input";
159 phy-supply = <&vcc_phy>;
161 pinctrl-names = "default";
162 pinctrl-0 = <&rgmii_pins>;
163 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
164 snps,reset-active-low;
165 snps,reset-delays-us = <0 10000 50000>;
175 compatible = "rockchip,rk808";
177 interrupt-parent = <&gpio1>;
178 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&pmic_int_l>;
181 rockchip,system-power-controller;
184 clock-output-names = "rk808-clkout1", "rk808-clkout2";
186 vcc1-supply = <&vcc3v3_sys>;
187 vcc2-supply = <&vcc3v3_sys>;
188 vcc3-supply = <&vcc3v3_sys>;
189 vcc4-supply = <&vcc3v3_sys>;
190 vcc6-supply = <&vcc3v3_sys>;
191 vcc7-supply = <&vcc3v3_sys>;
192 vcc8-supply = <&vcc3v3_sys>;
193 vcc9-supply = <&vcc3v3_sys>;
194 vcc10-supply = <&vcc3v3_sys>;
195 vcc11-supply = <&vcc3v3_sys>;
196 vcc12-supply = <&vcc3v3_sys>;
197 vddio-supply = <&vcc1v8_pmu>;
201 regulator-name = "vdd_log";
202 regulator-min-microvolt = <750000>;
203 regulator-max-microvolt = <1350000>;
204 regulator-ramp-delay = <6001>;
207 regulator-state-mem {
208 regulator-on-in-suspend;
209 regulator-suspend-microvolt = <900000>;
213 vdd_cpu_l: DCDC_REG2 {
214 regulator-name = "vdd_cpu_l";
215 regulator-min-microvolt = <750000>;
216 regulator-max-microvolt = <1350000>;
217 regulator-ramp-delay = <6001>;
220 regulator-state-mem {
221 regulator-off-in-suspend;
226 regulator-name = "vcc_ddr";
229 regulator-state-mem {
230 regulator-on-in-suspend;
235 regulator-name = "vcc_1v8";
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <1800000>;
240 regulator-state-mem {
241 regulator-on-in-suspend;
242 regulator-suspend-microvolt = <1800000>;
246 vcc1v8_dvp: LDO_REG1 {
247 regulator-name = "vcc1v8_dvp";
248 regulator-min-microvolt = <1800000>;
249 regulator-max-microvolt = <1800000>;
252 regulator-state-mem {
253 regulator-off-in-suspend;
257 vcc3v0_tp: LDO_REG2 {
258 regulator-name = "vcc3v0_tp";
259 regulator-min-microvolt = <3000000>;
260 regulator-max-microvolt = <3000000>;
263 regulator-state-mem {
264 regulator-off-in-suspend;
268 vcc1v8_pmu: LDO_REG3 {
269 regulator-name = "vcc1v8_pmu";
270 regulator-min-microvolt = <1800000>;
271 regulator-max-microvolt = <1800000>;
274 regulator-state-mem {
275 regulator-on-in-suspend;
276 regulator-suspend-microvolt = <1800000>;
281 regulator-name = "vcc_sd";
282 regulator-min-microvolt = <1800000>;
283 regulator-max-microvolt = <3000000>;
286 regulator-state-mem {
287 regulator-on-in-suspend;
288 regulator-suspend-microvolt = <3000000>;
292 vcca3v0_codec: LDO_REG5 {
293 regulator-name = "vcca3v0_codec";
294 regulator-min-microvolt = <3000000>;
295 regulator-max-microvolt = <3000000>;
298 regulator-state-mem {
299 regulator-off-in-suspend;
304 regulator-name = "vcc_1v5";
305 regulator-min-microvolt = <1500000>;
306 regulator-max-microvolt = <1500000>;
309 regulator-state-mem {
310 regulator-on-in-suspend;
311 regulator-suspend-microvolt = <1500000>;
315 vcca1v8_codec: LDO_REG7 {
316 regulator-name = "vcca1v8_codec";
317 regulator-min-microvolt = <1800000>;
318 regulator-max-microvolt = <1800000>;
321 regulator-state-mem {
322 regulator-off-in-suspend;
327 regulator-name = "vcc_3v0";
328 regulator-min-microvolt = <3000000>;
329 regulator-max-microvolt = <3000000>;
332 regulator-state-mem {
333 regulator-on-in-suspend;
334 regulator-suspend-microvolt = <3000000>;
338 vcc3v3_s3: SWITCH_REG1 {
339 regulator-name = "vcc3v3_s3";
342 regulator-state-mem {
343 regulator-on-in-suspend;
347 vcc3v3_s0: SWITCH_REG2 {
348 regulator-name = "vcc3v3_s0";
351 regulator-state-mem {
352 regulator-off-in-suspend;
358 vdd_cpu_b: regulator@40 {
359 compatible = "silergy,syr827";
361 fcs,suspend-voltage-selector = <1>;
362 regulator-name = "vdd_cpu_b";
363 regulator-min-microvolt = <712500>;
364 regulator-max-microvolt = <1500000>;
365 regulator-ramp-delay = <1000>;
368 vin-supply = <&vcc5v0_sys>;
370 regulator-state-mem {
371 regulator-off-in-suspend;
375 vdd_gpu: regulator@41 {
376 compatible = "silergy,syr828";
378 fcs,suspend-voltage-selector = <1>;
379 regulator-name = "vdd_gpu";
380 regulator-min-microvolt = <712500>;
381 regulator-max-microvolt = <1500000>;
382 regulator-ramp-delay = <1000>;
385 vin-supply = <&vcc5v0_sys>;
387 regulator-state-mem {
388 regulator-off-in-suspend;
408 mmc-hs400-enhanced-strobe;
418 ep-gpios = <&gpio3 RK_PB5 GPIO_ACTIVE_HIGH>;
420 pinctrl-names = "default";
421 pinctrl-0 = <&pcie_clkreqn_cpm>;
430 phy-supply = <&vcc5v0_host>;
439 phy-supply = <&vcc5v0_host>;
465 pmic_int_l: pmic-int-l {
467 <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
472 vcc5v0_host_en: vcc5v0-host-en {
474 <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;