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