blob: aaa8ae2235d742fb05e4b22d7d67dcff3549e74e [file] [log] [blame]
Heiko Stuebnerdd611e92019-07-16 22:12:07 +02001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd
4 */
5
6#include <dt-bindings/clock/px30-cru.h>
7#include <dt-bindings/gpio/gpio.h>
8#include <dt-bindings/interrupt-controller/arm-gic.h>
9#include <dt-bindings/interrupt-controller/irq.h>
10#include <dt-bindings/pinctrl/rockchip.h>
11#include <dt-bindings/power/px30-power.h>
12#include <dt-bindings/soc/rockchip,boot-mode.h>
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +010013#include <dt-bindings/thermal/thermal.h>
Heiko Stuebnerdd611e92019-07-16 22:12:07 +020014
15/ {
16 compatible = "rockchip,px30";
17
18 interrupt-parent = <&gic>;
19 #address-cells = <2>;
20 #size-cells = <2>;
21
22 aliases {
23 ethernet0 = &gmac;
24 i2c0 = &i2c0;
25 i2c1 = &i2c1;
26 i2c2 = &i2c2;
27 i2c3 = &i2c3;
28 serial0 = &uart0;
29 serial1 = &uart1;
30 serial2 = &uart2;
31 serial3 = &uart3;
32 serial4 = &uart4;
33 serial5 = &uart5;
34 spi0 = &spi0;
35 spi1 = &spi1;
36 };
37
38 cpus {
39 #address-cells = <2>;
40 #size-cells = <0>;
41
42 cpu0: cpu@0 {
43 device_type = "cpu";
44 compatible = "arm,cortex-a35";
45 reg = <0x0 0x0>;
46 enable-method = "psci";
47 clocks = <&cru ARMCLK>;
48 #cooling-cells = <2>;
49 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
50 dynamic-power-coefficient = <90>;
51 operating-points-v2 = <&cpu0_opp_table>;
52 };
53
54 cpu1: cpu@1 {
55 device_type = "cpu";
56 compatible = "arm,cortex-a35";
57 reg = <0x0 0x1>;
58 enable-method = "psci";
59 clocks = <&cru ARMCLK>;
60 #cooling-cells = <2>;
61 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
62 dynamic-power-coefficient = <90>;
63 operating-points-v2 = <&cpu0_opp_table>;
64 };
65
66 cpu2: cpu@2 {
67 device_type = "cpu";
68 compatible = "arm,cortex-a35";
69 reg = <0x0 0x2>;
70 enable-method = "psci";
71 clocks = <&cru ARMCLK>;
72 #cooling-cells = <2>;
73 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
74 dynamic-power-coefficient = <90>;
75 operating-points-v2 = <&cpu0_opp_table>;
76 };
77
78 cpu3: cpu@3 {
79 device_type = "cpu";
80 compatible = "arm,cortex-a35";
81 reg = <0x0 0x3>;
82 enable-method = "psci";
83 clocks = <&cru ARMCLK>;
84 #cooling-cells = <2>;
85 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
86 dynamic-power-coefficient = <90>;
87 operating-points-v2 = <&cpu0_opp_table>;
88 };
89
90 idle-states {
91 entry-method = "psci";
92
93 CPU_SLEEP: cpu-sleep {
94 compatible = "arm,idle-state";
95 local-timer-stop;
96 arm,psci-suspend-param = <0x0010000>;
97 entry-latency-us = <120>;
98 exit-latency-us = <250>;
99 min-residency-us = <900>;
100 };
101
102 CLUSTER_SLEEP: cluster-sleep {
103 compatible = "arm,idle-state";
104 local-timer-stop;
105 arm,psci-suspend-param = <0x1010000>;
106 entry-latency-us = <400>;
107 exit-latency-us = <500>;
108 min-residency-us = <2000>;
109 };
110 };
111 };
112
113 cpu0_opp_table: cpu0-opp-table {
114 compatible = "operating-points-v2";
115 opp-shared;
116
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200117 opp-600000000 {
118 opp-hz = /bits/ 64 <600000000>;
119 opp-microvolt = <950000 950000 1350000>;
120 clock-latency-ns = <40000>;
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100121 opp-suspend;
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200122 };
123 opp-816000000 {
124 opp-hz = /bits/ 64 <816000000>;
125 opp-microvolt = <1050000 1050000 1350000>;
126 clock-latency-ns = <40000>;
127 };
128 opp-1008000000 {
129 opp-hz = /bits/ 64 <1008000000>;
130 opp-microvolt = <1175000 1175000 1350000>;
131 clock-latency-ns = <40000>;
132 };
133 opp-1200000000 {
134 opp-hz = /bits/ 64 <1200000000>;
135 opp-microvolt = <1300000 1300000 1350000>;
136 clock-latency-ns = <40000>;
137 };
138 opp-1296000000 {
139 opp-hz = /bits/ 64 <1296000000>;
140 opp-microvolt = <1350000 1350000 1350000>;
141 clock-latency-ns = <40000>;
142 };
143 };
144
145 arm-pmu {
146 compatible = "arm,cortex-a53-pmu";
147 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
148 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
149 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
150 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
151 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
152 };
153
154 dmc: dmc {
155 compatible = "rockchip,px30-dmc", "syscon";
156 reg = <0x0 0xff2a0000 0x0 0x1000>;
157 };
158
159 display_subsystem: display-subsystem {
160 compatible = "rockchip,display-subsystem";
161 ports = <&vopb_out>, <&vopl_out>;
162 status = "disabled";
163 };
164
165 gmac_clkin: external-gmac-clock {
166 compatible = "fixed-clock";
167 clock-frequency = <50000000>;
168 clock-output-names = "gmac_clkin";
169 #clock-cells = <0>;
170 };
171
172 psci {
173 compatible = "arm,psci-1.0";
174 method = "smc";
175 };
176
177 timer {
178 compatible = "arm,armv8-timer";
179 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
180 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
181 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
182 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
183 };
184
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100185 thermal_zones: thermal-zones {
186 soc_thermal: soc-thermal {
187 polling-delay-passive = <20>;
188 polling-delay = <1000>;
189 sustainable-power = <750>;
190 thermal-sensors = <&tsadc 0>;
191
192 trips {
193 threshold: trip-point-0 {
194 temperature = <70000>;
195 hysteresis = <2000>;
196 type = "passive";
197 };
198
199 target: trip-point-1 {
200 temperature = <85000>;
201 hysteresis = <2000>;
202 type = "passive";
203 };
204
205 soc_crit: soc-crit {
206 temperature = <115000>;
207 hysteresis = <2000>;
208 type = "critical";
209 };
210 };
211
212 cooling-maps {
213 map0 {
214 trip = <&target>;
215 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
216 contribution = <4096>;
217 };
218
219 map1 {
220 trip = <&target>;
221 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
222 contribution = <4096>;
223 };
224 };
225 };
226
227 gpu_thermal: gpu-thermal {
228 polling-delay-passive = <100>; /* milliseconds */
229 polling-delay = <1000>; /* milliseconds */
230 thermal-sensors = <&tsadc 1>;
231 };
232 };
233
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200234 xin24m: xin24m {
235 compatible = "fixed-clock";
236 #clock-cells = <0>;
237 clock-frequency = <24000000>;
238 clock-output-names = "xin24m";
239 };
240
241 pmu: power-management@ff000000 {
242 compatible = "rockchip,px30-pmu", "syscon", "simple-mfd";
243 reg = <0x0 0xff000000 0x0 0x1000>;
244
245 power: power-controller {
246 compatible = "rockchip,px30-power-controller";
247 #power-domain-cells = <1>;
248 #address-cells = <1>;
249 #size-cells = <0>;
250
251 /* These power domains are grouped by VD_LOGIC */
252 pd_usb@PX30_PD_USB {
253 reg = <PX30_PD_USB>;
254 clocks = <&cru HCLK_HOST>,
255 <&cru HCLK_OTG>,
256 <&cru SCLK_OTG_ADP>;
257 pm_qos = <&qos_usb_host>, <&qos_usb_otg>;
258 };
259 pd_sdcard@PX30_PD_SDCARD {
260 reg = <PX30_PD_SDCARD>;
261 clocks = <&cru HCLK_SDMMC>,
262 <&cru SCLK_SDMMC>;
263 pm_qos = <&qos_sdmmc>;
264 };
265 pd_gmac@PX30_PD_GMAC {
266 reg = <PX30_PD_GMAC>;
267 clocks = <&cru ACLK_GMAC>,
268 <&cru PCLK_GMAC>,
269 <&cru SCLK_MAC_REF>,
270 <&cru SCLK_GMAC_RX_TX>;
271 pm_qos = <&qos_gmac>;
272 };
273 pd_mmc_nand@PX30_PD_MMC_NAND {
274 reg = <PX30_PD_MMC_NAND>;
275 clocks = <&cru HCLK_NANDC>,
276 <&cru HCLK_EMMC>,
277 <&cru HCLK_SDIO>,
278 <&cru HCLK_SFC>,
279 <&cru SCLK_EMMC>,
280 <&cru SCLK_NANDC>,
281 <&cru SCLK_SDIO>,
282 <&cru SCLK_SFC>;
283 pm_qos = <&qos_emmc>, <&qos_nand>,
284 <&qos_sdio>, <&qos_sfc>;
285 };
286 pd_vpu@PX30_PD_VPU {
287 reg = <PX30_PD_VPU>;
288 clocks = <&cru ACLK_VPU>,
289 <&cru HCLK_VPU>,
290 <&cru SCLK_CORE_VPU>;
291 pm_qos = <&qos_vpu>, <&qos_vpu_r128>;
292 };
293 pd_vo@PX30_PD_VO {
294 reg = <PX30_PD_VO>;
295 clocks = <&cru ACLK_RGA>,
296 <&cru ACLK_VOPB>,
297 <&cru ACLK_VOPL>,
298 <&cru DCLK_VOPB>,
299 <&cru DCLK_VOPL>,
300 <&cru HCLK_RGA>,
301 <&cru HCLK_VOPB>,
302 <&cru HCLK_VOPL>,
303 <&cru PCLK_MIPI_DSI>,
304 <&cru SCLK_RGA_CORE>,
305 <&cru SCLK_VOPB_PWM>;
306 pm_qos = <&qos_rga_rd>, <&qos_rga_wr>,
307 <&qos_vop_m0>, <&qos_vop_m1>;
308 };
309 pd_vi@PX30_PD_VI {
310 reg = <PX30_PD_VI>;
311 clocks = <&cru ACLK_CIF>,
312 <&cru ACLK_ISP>,
313 <&cru HCLK_CIF>,
314 <&cru HCLK_ISP>,
315 <&cru SCLK_ISP>;
316 pm_qos = <&qos_isp_128>, <&qos_isp_rd>,
317 <&qos_isp_wr>, <&qos_isp_m1>,
318 <&qos_vip>;
319 };
320 pd_gpu@PX30_PD_GPU {
321 reg = <PX30_PD_GPU>;
322 clocks = <&cru SCLK_GPU>;
323 pm_qos = <&qos_gpu>;
324 };
325 };
326 };
327
328 pmugrf: syscon@ff010000 {
329 compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd";
330 reg = <0x0 0xff010000 0x0 0x1000>;
331 #address-cells = <1>;
332 #size-cells = <1>;
333
334 pmu_io_domains: io-domains {
335 compatible = "rockchip,px30-pmu-io-voltage-domain";
336 status = "disabled";
337 };
338
339 reboot-mode {
340 compatible = "syscon-reboot-mode";
341 offset = <0x200>;
342 mode-bootloader = <BOOT_BL_DOWNLOAD>;
343 mode-fastboot = <BOOT_FASTBOOT>;
344 mode-loader = <BOOT_BL_DOWNLOAD>;
345 mode-normal = <BOOT_NORMAL>;
346 mode-recovery = <BOOT_RECOVERY>;
347 };
348 };
349
350 uart0: serial@ff030000 {
351 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
352 reg = <0x0 0xff030000 0x0 0x100>;
353 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
354 clocks = <&pmucru SCLK_UART0_PMU>, <&pmucru PCLK_UART0_PMU>;
355 clock-names = "baudclk", "apb_pclk";
356 dmas = <&dmac 0>, <&dmac 1>;
357 dma-names = "tx", "rx";
358 reg-shift = <2>;
359 reg-io-width = <4>;
360 pinctrl-names = "default";
361 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
362 status = "disabled";
363 };
364
365 i2s1_2ch: i2s@ff070000 {
366 compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
367 reg = <0x0 0xff070000 0x0 0x1000>;
368 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
369 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1>;
370 clock-names = "i2s_clk", "i2s_hclk";
371 dmas = <&dmac 18>, <&dmac 19>;
372 dma-names = "tx", "rx";
373 pinctrl-names = "default";
374 pinctrl-0 = <&i2s1_2ch_sclk &i2s1_2ch_lrck
375 &i2s1_2ch_sdi &i2s1_2ch_sdo>;
376 #sound-dai-cells = <0>;
377 status = "disabled";
378 };
379
380 i2s2_2ch: i2s@ff080000 {
381 compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
382 reg = <0x0 0xff080000 0x0 0x1000>;
383 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
384 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2>;
385 clock-names = "i2s_clk", "i2s_hclk";
386 dmas = <&dmac 20>, <&dmac 21>;
387 dma-names = "tx", "rx";
388 pinctrl-names = "default";
389 pinctrl-0 = <&i2s2_2ch_sclk &i2s2_2ch_lrck
390 &i2s2_2ch_sdi &i2s2_2ch_sdo>;
391 #sound-dai-cells = <0>;
392 status = "disabled";
393 };
394
395 gic: interrupt-controller@ff131000 {
396 compatible = "arm,gic-400";
397 #interrupt-cells = <3>;
398 #address-cells = <0>;
399 interrupt-controller;
400 reg = <0x0 0xff131000 0 0x1000>,
401 <0x0 0xff132000 0 0x2000>,
402 <0x0 0xff134000 0 0x2000>,
403 <0x0 0xff136000 0 0x2000>;
404 interrupts = <GIC_PPI 9
405 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
406 };
407
408 grf: syscon@ff140000 {
409 compatible = "rockchip,px30-grf", "syscon", "simple-mfd";
410 reg = <0x0 0xff140000 0x0 0x1000>;
411 #address-cells = <1>;
412 #size-cells = <1>;
413
414 io_domains: io-domains {
415 compatible = "rockchip,px30-io-voltage-domain";
416 status = "disabled";
417 };
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100418
419 lvds: lvds {
420 compatible = "rockchip,px30-lvds";
421 phys = <&dsi_dphy>;
422 phy-names = "dphy";
423 rockchip,grf = <&grf>;
424 rockchip,output = "lvds";
425 status = "disabled";
426
427 ports {
428 #address-cells = <1>;
429 #size-cells = <0>;
430
431 port@0 {
432 reg = <0>;
433 #address-cells = <1>;
434 #size-cells = <0>;
435
436 lvds_vopb_in: endpoint@0 {
437 reg = <0>;
438 remote-endpoint = <&vopb_out_lvds>;
439 };
440
441 lvds_vopl_in: endpoint@1 {
442 reg = <1>;
443 remote-endpoint = <&vopl_out_lvds>;
444 };
445 };
446 };
447 };
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200448 };
449
450 uart1: serial@ff158000 {
451 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
452 reg = <0x0 0xff158000 0x0 0x100>;
453 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
454 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
455 clock-names = "baudclk", "apb_pclk";
456 dmas = <&dmac 2>, <&dmac 3>;
457 dma-names = "tx", "rx";
458 reg-shift = <2>;
459 reg-io-width = <4>;
460 pinctrl-names = "default";
461 pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
462 status = "disabled";
463 };
464
465 uart2: serial@ff160000 {
466 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
467 reg = <0x0 0xff160000 0x0 0x100>;
468 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
469 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
470 clock-names = "baudclk", "apb_pclk";
471 dmas = <&dmac 4>, <&dmac 5>;
472 dma-names = "tx", "rx";
473 reg-shift = <2>;
474 reg-io-width = <4>;
475 pinctrl-names = "default";
476 pinctrl-0 = <&uart2m0_xfer>;
477 status = "disabled";
478 };
479
480 uart3: serial@ff168000 {
481 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
482 reg = <0x0 0xff168000 0x0 0x100>;
483 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
484 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
485 clock-names = "baudclk", "apb_pclk";
486 dmas = <&dmac 6>, <&dmac 7>;
487 dma-names = "tx", "rx";
488 reg-shift = <2>;
489 reg-io-width = <4>;
490 pinctrl-names = "default";
491 pinctrl-0 = <&uart3m1_xfer &uart3m1_cts &uart3m1_rts>;
492 status = "disabled";
493 };
494
495 uart4: serial@ff170000 {
496 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
497 reg = <0x0 0xff170000 0x0 0x100>;
498 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
499 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
500 clock-names = "baudclk", "apb_pclk";
501 dmas = <&dmac 8>, <&dmac 9>;
502 dma-names = "tx", "rx";
503 reg-shift = <2>;
504 reg-io-width = <4>;
505 pinctrl-names = "default";
506 pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
507 status = "disabled";
508 };
509
510 uart5: serial@ff178000 {
511 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
512 reg = <0x0 0xff178000 0x0 0x100>;
513 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
514 clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>;
515 clock-names = "baudclk", "apb_pclk";
516 dmas = <&dmac 10>, <&dmac 11>;
517 dma-names = "tx", "rx";
518 reg-shift = <2>;
519 reg-io-width = <4>;
520 pinctrl-names = "default";
521 pinctrl-0 = <&uart5_xfer &uart5_cts &uart5_rts>;
522 status = "disabled";
523 };
524
525 i2c0: i2c@ff180000 {
526 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
527 reg = <0x0 0xff180000 0x0 0x1000>;
528 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
529 clock-names = "i2c", "pclk";
530 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
531 pinctrl-names = "default";
532 pinctrl-0 = <&i2c0_xfer>;
533 #address-cells = <1>;
534 #size-cells = <0>;
535 status = "disabled";
536 };
537
538 i2c1: i2c@ff190000 {
539 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
540 reg = <0x0 0xff190000 0x0 0x1000>;
541 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
542 clock-names = "i2c", "pclk";
543 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
544 pinctrl-names = "default";
545 pinctrl-0 = <&i2c1_xfer>;
546 #address-cells = <1>;
547 #size-cells = <0>;
548 status = "disabled";
549 };
550
551 i2c2: i2c@ff1a0000 {
552 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
553 reg = <0x0 0xff1a0000 0x0 0x1000>;
554 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
555 clock-names = "i2c", "pclk";
556 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
557 pinctrl-names = "default";
558 pinctrl-0 = <&i2c2_xfer>;
559 #address-cells = <1>;
560 #size-cells = <0>;
561 status = "disabled";
562 };
563
564 i2c3: i2c@ff1b0000 {
565 compatible = "rockchip,px30-i2c", "rockchip,rk3399-i2c";
566 reg = <0x0 0xff1b0000 0x0 0x1000>;
567 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
568 clock-names = "i2c", "pclk";
569 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
570 pinctrl-names = "default";
571 pinctrl-0 = <&i2c3_xfer>;
572 #address-cells = <1>;
573 #size-cells = <0>;
574 status = "disabled";
575 };
576
577 spi0: spi@ff1d0000 {
578 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
579 reg = <0x0 0xff1d0000 0x0 0x1000>;
580 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
581 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
582 clock-names = "spiclk", "apb_pclk";
583 dmas = <&dmac 12>, <&dmac 13>;
584 dma-names = "tx", "rx";
585 pinctrl-names = "default";
586 pinctrl-0 = <&spi0_clk &spi0_csn &spi0_miso &spi0_mosi>;
587 #address-cells = <1>;
588 #size-cells = <0>;
589 status = "disabled";
590 };
591
592 spi1: spi@ff1d8000 {
593 compatible = "rockchip,px30-spi", "rockchip,rk3066-spi";
594 reg = <0x0 0xff1d8000 0x0 0x1000>;
595 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
596 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
597 clock-names = "spiclk", "apb_pclk";
598 dmas = <&dmac 14>, <&dmac 15>;
599 dma-names = "tx", "rx";
600 pinctrl-names = "default";
601 pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_csn1 &spi1_miso &spi1_mosi>;
602 #address-cells = <1>;
603 #size-cells = <0>;
604 status = "disabled";
605 };
606
607 wdt: watchdog@ff1e0000 {
608 compatible = "snps,dw-wdt";
609 reg = <0x0 0xff1e0000 0x0 0x100>;
610 clocks = <&cru PCLK_WDT_NS>;
611 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
612 status = "disabled";
613 };
614
615 pwm0: pwm@ff200000 {
616 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
617 reg = <0x0 0xff200000 0x0 0x10>;
618 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
619 clock-names = "pwm", "pclk";
620 pinctrl-names = "default";
621 pinctrl-0 = <&pwm0_pin>;
622 #pwm-cells = <3>;
623 status = "disabled";
624 };
625
626 pwm1: pwm@ff200010 {
627 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
628 reg = <0x0 0xff200010 0x0 0x10>;
629 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
630 clock-names = "pwm", "pclk";
631 pinctrl-names = "default";
632 pinctrl-0 = <&pwm1_pin>;
633 #pwm-cells = <3>;
634 status = "disabled";
635 };
636
637 pwm2: pwm@ff200020 {
638 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
639 reg = <0x0 0xff200020 0x0 0x10>;
640 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
641 clock-names = "pwm", "pclk";
642 pinctrl-names = "default";
643 pinctrl-0 = <&pwm2_pin>;
644 #pwm-cells = <3>;
645 status = "disabled";
646 };
647
648 pwm3: pwm@ff200030 {
649 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
650 reg = <0x0 0xff200030 0x0 0x10>;
651 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
652 clock-names = "pwm", "pclk";
653 pinctrl-names = "default";
654 pinctrl-0 = <&pwm3_pin>;
655 #pwm-cells = <3>;
656 status = "disabled";
657 };
658
659 pwm4: pwm@ff208000 {
660 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
661 reg = <0x0 0xff208000 0x0 0x10>;
662 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
663 clock-names = "pwm", "pclk";
664 pinctrl-names = "default";
665 pinctrl-0 = <&pwm4_pin>;
666 #pwm-cells = <3>;
667 status = "disabled";
668 };
669
670 pwm5: pwm@ff208010 {
671 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
672 reg = <0x0 0xff208010 0x0 0x10>;
673 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
674 clock-names = "pwm", "pclk";
675 pinctrl-names = "default";
676 pinctrl-0 = <&pwm5_pin>;
677 #pwm-cells = <3>;
678 status = "disabled";
679 };
680
681 pwm6: pwm@ff208020 {
682 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
683 reg = <0x0 0xff208020 0x0 0x10>;
684 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
685 clock-names = "pwm", "pclk";
686 pinctrl-names = "default";
687 pinctrl-0 = <&pwm6_pin>;
688 #pwm-cells = <3>;
689 status = "disabled";
690 };
691
692 pwm7: pwm@ff208030 {
693 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
694 reg = <0x0 0xff208030 0x0 0x10>;
695 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
696 clock-names = "pwm", "pclk";
697 pinctrl-names = "default";
698 pinctrl-0 = <&pwm7_pin>;
699 #pwm-cells = <3>;
700 status = "disabled";
701 };
702
703 rktimer: timer@ff210000 {
704 compatible = "rockchip,px30-timer", "rockchip,rk3288-timer";
705 reg = <0x0 0xff210000 0x0 0x1000>;
706 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
707 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
708 clock-names = "pclk", "timer";
709 };
710
711 amba {
712 compatible = "simple-bus";
713 #address-cells = <2>;
714 #size-cells = <2>;
715 ranges;
716
717 dmac: dmac@ff240000 {
718 compatible = "arm,pl330", "arm,primecell";
719 reg = <0x0 0xff240000 0x0 0x4000>;
720 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
721 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
722 clocks = <&cru ACLK_DMAC>;
723 clock-names = "apb_pclk";
724 #dma-cells = <1>;
725 };
726 };
727
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100728 tsadc: tsadc@ff280000 {
729 compatible = "rockchip,px30-tsadc";
730 reg = <0x0 0xff280000 0x0 0x100>;
731 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
732 assigned-clocks = <&cru SCLK_TSADC>;
733 assigned-clock-rates = <50000>;
734 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
735 clock-names = "tsadc", "apb_pclk";
736 resets = <&cru SRST_TSADC>;
737 reset-names = "tsadc-apb";
738 rockchip,grf = <&grf>;
739 rockchip,hw-tshut-temp = <120000>;
740 pinctrl-names = "init", "default", "sleep";
741 pinctrl-0 = <&tsadc_otp_gpio>;
742 pinctrl-1 = <&tsadc_otp_out>;
743 pinctrl-2 = <&tsadc_otp_gpio>;
744 #thermal-sensor-cells = <1>;
745 status = "disabled";
746 };
747
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200748 saradc: saradc@ff288000 {
749 compatible = "rockchip,px30-saradc", "rockchip,rk3399-saradc";
750 reg = <0x0 0xff288000 0x0 0x100>;
751 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
752 #io-channel-cells = <1>;
753 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
754 clock-names = "saradc", "apb_pclk";
755 resets = <&cru SRST_SARADC_P>;
756 reset-names = "saradc-apb";
757 status = "disabled";
758 };
759
760 otp: nvmem@ff290000 {
761 compatible = "rockchip,px30-otp";
762 reg = <0x0 0xff290000 0x0 0x4000>;
763 clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
764 <&cru PCLK_OTP_PHY>;
765 clock-names = "otp", "apb_pclk", "phy";
766 resets = <&cru SRST_OTP_PHY>;
767 reset-names = "phy";
768 #address-cells = <1>;
769 #size-cells = <1>;
770
771 /* Data cells */
772 cpu_id: id@7 {
773 reg = <0x07 0x10>;
774 };
775 cpu_leakage: cpu-leakage@17 {
776 reg = <0x17 0x1>;
777 };
778 performance: performance@1e {
779 reg = <0x1e 0x1>;
780 bits = <4 3>;
781 };
782 };
783
784 cru: clock-controller@ff2b0000 {
785 compatible = "rockchip,px30-cru";
786 reg = <0x0 0xff2b0000 0x0 0x1000>;
787 clocks = <&xin24m>, <&pmucru PLL_GPLL>;
788 clock-names = "xin24m", "gpll";
789 rockchip,grf = <&grf>;
790 #clock-cells = <1>;
791 #reset-cells = <1>;
792 };
793
794 pmucru: clock-controller@ff2bc000 {
795 compatible = "rockchip,px30-pmucru";
796 reg = <0x0 0xff2bc000 0x0 0x1000>;
797 clocks = <&xin24m>;
798 clock-names = "xin24m";
799 rockchip,grf = <&grf>;
800 #clock-cells = <1>;
801 #reset-cells = <1>;
802 };
803
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100804 usb2phy_grf: syscon@ff2c0000 {
805 compatible = "rockchip,px30-usb2phy-grf", "syscon",
806 "simple-mfd";
807 reg = <0x0 0xff2c0000 0x0 0x10000>;
808 #address-cells = <1>;
809 #size-cells = <1>;
810
811 u2phy: usb2-phy@100 {
812 compatible = "rockchip,px30-usb2phy";
813 reg = <0x100 0x20>;
814 clocks = <&pmucru SCLK_USBPHY_REF>;
815 clock-names = "phyclk";
816 #clock-cells = <0>;
817 assigned-clocks = <&cru USB480M>;
818 assigned-clock-parents = <&u2phy>;
819 clock-output-names = "usb480m_phy";
820 status = "disabled";
821
822 u2phy_host: host-port {
823 #phy-cells = <0>;
824 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
825 interrupt-names = "linestate";
826 status = "disabled";
827 };
828
829 u2phy_otg: otg-port {
830 #phy-cells = <0>;
831 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
832 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
833 <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
834 interrupt-names = "otg-bvalid", "otg-id",
835 "linestate";
836 status = "disabled";
837 };
838 };
839 };
840
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200841 dsi_dphy: phy@ff2e0000 {
842 compatible = "rockchip,px30-dsi-dphy";
843 reg = <0x0 0xff2e0000 0x0 0x10000>;
844 clocks = <&pmucru SCLK_MIPIDSIPHY_REF>, <&cru PCLK_MIPIDSIPHY>;
845 clock-names = "ref", "pclk";
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200846 resets = <&cru SRST_MIPIDSIPHY_P>;
847 reset-names = "apb";
848 #phy-cells = <0>;
849 power-domains = <&power PX30_PD_VO>;
850 status = "disabled";
851 };
852
853 usb20_otg: usb@ff300000 {
854 compatible = "rockchip,px30-usb", "rockchip,rk3066-usb",
855 "snps,dwc2";
856 reg = <0x0 0xff300000 0x0 0x40000>;
857 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
858 clocks = <&cru HCLK_OTG>;
859 clock-names = "otg";
860 dr_mode = "otg";
861 g-np-tx-fifo-size = <16>;
862 g-rx-fifo-size = <280>;
863 g-tx-fifo-size = <256 128 128 64 32 16>;
864 g-use-dma;
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100865 phys = <&u2phy_otg>;
866 phy-names = "usb2-phy";
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200867 power-domains = <&power PX30_PD_USB>;
868 status = "disabled";
869 };
870
871 usb_host0_ehci: usb@ff340000 {
872 compatible = "generic-ehci";
873 reg = <0x0 0xff340000 0x0 0x10000>;
874 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
875 clocks = <&cru HCLK_HOST>;
876 clock-names = "usbhost";
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100877 phys = <&u2phy_host>;
878 phy-names = "usb";
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200879 power-domains = <&power PX30_PD_USB>;
880 status = "disabled";
881 };
882
883 usb_host0_ohci: usb@ff350000 {
884 compatible = "generic-ohci";
885 reg = <0x0 0xff350000 0x0 0x10000>;
886 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
887 clocks = <&cru HCLK_HOST>;
888 clock-names = "usbhost";
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100889 phys = <&u2phy_host>;
890 phy-names = "usb";
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200891 power-domains = <&power PX30_PD_USB>;
892 status = "disabled";
893 };
894
895 gmac: ethernet@ff360000 {
896 compatible = "rockchip,px30-gmac";
897 reg = <0x0 0xff360000 0x0 0x10000>;
898 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
899 interrupt-names = "macirq";
900 clocks = <&cru SCLK_GMAC>, <&cru SCLK_GMAC_RX_TX>,
901 <&cru SCLK_GMAC_RX_TX>, <&cru SCLK_MAC_REF>,
902 <&cru SCLK_MAC_REFOUT>, <&cru ACLK_GMAC>,
903 <&cru PCLK_GMAC>, <&cru SCLK_GMAC_RMII>;
904 clock-names = "stmmaceth", "mac_clk_rx",
905 "mac_clk_tx", "clk_mac_ref",
906 "clk_mac_refout", "aclk_mac",
907 "pclk_mac", "clk_mac_speed";
908 rockchip,grf = <&grf>;
909 phy-mode = "rmii";
910 pinctrl-names = "default";
911 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
912 power-domains = <&power PX30_PD_GMAC>;
913 resets = <&cru SRST_GMAC_A>;
914 reset-names = "stmmaceth";
915 status = "disabled";
916 };
917
918 sdmmc: dwmmc@ff370000 {
919 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
920 reg = <0x0 0xff370000 0x0 0x4000>;
921 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
922 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
923 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
924 clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
925 fifo-depth = <0x100>;
926 max-frequency = <150000000>;
927 pinctrl-names = "default";
928 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
929 power-domains = <&power PX30_PD_SDCARD>;
930 status = "disabled";
931 };
932
933 sdio: dwmmc@ff380000 {
934 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
935 reg = <0x0 0xff380000 0x0 0x4000>;
936 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
937 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
938 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
939 clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
940 fifo-depth = <0x100>;
941 max-frequency = <150000000>;
942 pinctrl-names = "default";
943 pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
944 power-domains = <&power PX30_PD_MMC_NAND>;
945 status = "disabled";
946 };
947
948 emmc: dwmmc@ff390000 {
949 compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
950 reg = <0x0 0xff390000 0x0 0x4000>;
951 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
952 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
953 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
954 clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
955 fifo-depth = <0x100>;
956 max-frequency = <150000000>;
957 pinctrl-names = "default";
958 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
959 power-domains = <&power PX30_PD_MMC_NAND>;
960 status = "disabled";
961 };
962
Chris Morgan51519002021-08-05 16:26:40 +0800963 sfc: sfc@ff3a0000 {
964 compatible = "rockchip,sfc";
965 reg = <0x0 0xff3a0000 0x0 0x4000>;
966 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
967 clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
968 clock-names = "clk_sfc", "hclk_sfc";
969 pinctrl-names = "default";
970 pinctrl-0 = <&sfc_clk &sfc_cs &sfc_bus4>;
971 power-domains = <&power PX30_PD_MMC_NAND>;
972 status = "disabled";
973 };
974
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100975 gpu: gpu@ff400000 {
976 compatible = "rockchip,px30-mali", "arm,mali-bifrost";
977 reg = <0x0 0xff400000 0x0 0x4000>;
978 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
979 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
980 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
981 interrupt-names = "job", "mmu", "gpu";
982 clocks = <&cru SCLK_GPU>;
983 #cooling-cells = <2>;
984 power-domains = <&power PX30_PD_GPU>;
985 status = "disabled";
986 };
987
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200988 dsi: dsi@ff450000 {
989 compatible = "rockchip,px30-mipi-dsi";
990 reg = <0x0 0xff450000 0x0 0x10000>;
991 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100992 clocks = <&cru PCLK_MIPI_DSI>;
993 clock-names = "pclk";
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200994 phys = <&dsi_dphy>;
995 phy-names = "dphy";
996 power-domains = <&power PX30_PD_VO>;
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +0100997 resets = <&cru SRST_MIPIDSI_HOST_P>;
998 reset-names = "apb";
Heiko Stuebnerdd611e92019-07-16 22:12:07 +0200999 rockchip,grf = <&grf>;
1000 #address-cells = <1>;
1001 #size-cells = <0>;
1002 status = "disabled";
1003
1004 ports {
1005 #address-cells = <1>;
1006 #size-cells = <0>;
1007
1008 port@0 {
1009 reg = <0>;
1010 #address-cells = <1>;
1011 #size-cells = <0>;
1012
1013 dsi_in_vopb: endpoint@0 {
1014 reg = <0>;
1015 remote-endpoint = <&vopb_out_dsi>;
1016 };
1017
1018 dsi_in_vopl: endpoint@1 {
1019 reg = <1>;
1020 remote-endpoint = <&vopl_out_dsi>;
1021 };
1022 };
1023 };
1024 };
1025
1026 vopb: vop@ff460000 {
1027 compatible = "rockchip,px30-vop-big";
1028 reg = <0x0 0xff460000 0x0 0xefc>;
1029 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
1030 clocks = <&cru ACLK_VOPB>, <&cru DCLK_VOPB>,
1031 <&cru HCLK_VOPB>;
1032 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1033 resets = <&cru SRST_VOPB_A>, <&cru SRST_VOPB_H>, <&cru SRST_VOPB>;
1034 reset-names = "axi", "ahb", "dclk";
1035 iommus = <&vopb_mmu>;
1036 power-domains = <&power PX30_PD_VO>;
1037 rockchip,grf = <&grf>;
1038 status = "disabled";
1039
1040 vopb_out: port {
1041 #address-cells = <1>;
1042 #size-cells = <0>;
1043
1044 vopb_out_dsi: endpoint@0 {
1045 reg = <0>;
1046 remote-endpoint = <&dsi_in_vopb>;
1047 };
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +01001048
1049 vopb_out_lvds: endpoint@1 {
1050 reg = <1>;
1051 remote-endpoint = <&lvds_vopb_in>;
1052 };
Heiko Stuebnerdd611e92019-07-16 22:12:07 +02001053 };
1054 };
1055
1056 vopb_mmu: iommu@ff460f00 {
1057 compatible = "rockchip,iommu";
1058 reg = <0x0 0xff460f00 0x0 0x100>;
1059 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
1060 interrupt-names = "vopb_mmu";
1061 clocks = <&cru ACLK_VOPB>, <&cru HCLK_VOPB>;
1062 clock-names = "aclk", "iface";
1063 power-domains = <&power PX30_PD_VO>;
1064 #iommu-cells = <0>;
1065 status = "disabled";
1066 };
1067
1068 vopl: vop@ff470000 {
1069 compatible = "rockchip,px30-vop-lit";
1070 reg = <0x0 0xff470000 0x0 0xefc>;
1071 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
1072 clocks = <&cru ACLK_VOPL>, <&cru DCLK_VOPL>,
1073 <&cru HCLK_VOPL>;
1074 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1075 resets = <&cru SRST_VOPL_A>, <&cru SRST_VOPL_H>, <&cru SRST_VOPL>;
1076 reset-names = "axi", "ahb", "dclk";
1077 iommus = <&vopl_mmu>;
1078 power-domains = <&power PX30_PD_VO>;
1079 rockchip,grf = <&grf>;
1080 status = "disabled";
1081
1082 vopl_out: port {
1083 #address-cells = <1>;
1084 #size-cells = <0>;
1085
1086 vopl_out_dsi: endpoint@0 {
1087 reg = <0>;
1088 remote-endpoint = <&dsi_in_vopl>;
1089 };
Heiko Stuebnerc9ea0cc2020-01-22 10:31:43 +01001090
1091 vopl_out_lvds: endpoint@1 {
1092 reg = <1>;
1093 remote-endpoint = <&lvds_vopl_in>;
1094 };
Heiko Stuebnerdd611e92019-07-16 22:12:07 +02001095 };
1096 };
1097
1098 vopl_mmu: iommu@ff470f00 {
1099 compatible = "rockchip,iommu";
1100 reg = <0x0 0xff470f00 0x0 0x100>;
1101 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1102 interrupt-names = "vopl_mmu";
1103 clocks = <&cru ACLK_VOPL>, <&cru HCLK_VOPL>;
1104 clock-names = "aclk", "iface";
1105 power-domains = <&power PX30_PD_VO>;
1106 #iommu-cells = <0>;
1107 status = "disabled";
1108 };
1109
1110 qos_gmac: qos@ff518000 {
1111 compatible = "syscon";
1112 reg = <0x0 0xff518000 0x0 0x20>;
1113 };
1114
1115 qos_gpu: qos@ff520000 {
1116 compatible = "syscon";
1117 reg = <0x0 0xff520000 0x0 0x20>;
1118 };
1119
1120 qos_sdmmc: qos@ff52c000 {
1121 compatible = "syscon";
1122 reg = <0x0 0xff52c000 0x0 0x20>;
1123 };
1124
1125 qos_emmc: qos@ff538000 {
1126 compatible = "syscon";
1127 reg = <0x0 0xff538000 0x0 0x20>;
1128 };
1129
1130 qos_nand: qos@ff538080 {
1131 compatible = "syscon";
1132 reg = <0x0 0xff538080 0x0 0x20>;
1133 };
1134
1135 qos_sdio: qos@ff538100 {
1136 compatible = "syscon";
1137 reg = <0x0 0xff538100 0x0 0x20>;
1138 };
1139
1140 qos_sfc: qos@ff538180 {
1141 compatible = "syscon";
1142 reg = <0x0 0xff538180 0x0 0x20>;
1143 };
1144
1145 qos_usb_host: qos@ff540000 {
1146 compatible = "syscon";
1147 reg = <0x0 0xff540000 0x0 0x20>;
1148 };
1149
1150 qos_usb_otg: qos@ff540080 {
1151 compatible = "syscon";
1152 reg = <0x0 0xff540080 0x0 0x20>;
1153 };
1154
1155 qos_isp_128: qos@ff548000 {
1156 compatible = "syscon";
1157 reg = <0x0 0xff548000 0x0 0x20>;
1158 };
1159
1160 qos_isp_rd: qos@ff548080 {
1161 compatible = "syscon";
1162 reg = <0x0 0xff548080 0x0 0x20>;
1163 };
1164
1165 qos_isp_wr: qos@ff548100 {
1166 compatible = "syscon";
1167 reg = <0x0 0xff548100 0x0 0x20>;
1168 };
1169
1170 qos_isp_m1: qos@ff548180 {
1171 compatible = "syscon";
1172 reg = <0x0 0xff548180 0x0 0x20>;
1173 };
1174
1175 qos_vip: qos@ff548200 {
1176 compatible = "syscon";
1177 reg = <0x0 0xff548200 0x0 0x20>;
1178 };
1179
1180 qos_rga_rd: qos@ff550000 {
1181 compatible = "syscon";
1182 reg = <0x0 0xff550000 0x0 0x20>;
1183 };
1184
1185 qos_rga_wr: qos@ff550080 {
1186 compatible = "syscon";
1187 reg = <0x0 0xff550080 0x0 0x20>;
1188 };
1189
1190 qos_vop_m0: qos@ff550100 {
1191 compatible = "syscon";
1192 reg = <0x0 0xff550100 0x0 0x20>;
1193 };
1194
1195 qos_vop_m1: qos@ff550180 {
1196 compatible = "syscon";
1197 reg = <0x0 0xff550180 0x0 0x20>;
1198 };
1199
1200 qos_vpu: qos@ff558000 {
1201 compatible = "syscon";
1202 reg = <0x0 0xff558000 0x0 0x20>;
1203 };
1204
1205 qos_vpu_r128: qos@ff558080 {
1206 compatible = "syscon";
1207 reg = <0x0 0xff558080 0x0 0x20>;
1208 };
1209
1210 pinctrl: pinctrl {
1211 compatible = "rockchip,px30-pinctrl";
1212 rockchip,grf = <&grf>;
1213 rockchip,pmu = <&pmugrf>;
1214 #address-cells = <2>;
1215 #size-cells = <2>;
1216 ranges;
1217
1218 gpio0: gpio0@ff040000 {
1219 compatible = "rockchip,gpio-bank";
1220 reg = <0x0 0xff040000 0x0 0x100>;
1221 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
1222 clocks = <&pmucru PCLK_GPIO0_PMU>;
1223 gpio-controller;
1224 #gpio-cells = <2>;
1225
1226 interrupt-controller;
1227 #interrupt-cells = <2>;
1228 };
1229
1230 gpio1: gpio1@ff250000 {
1231 compatible = "rockchip,gpio-bank";
1232 reg = <0x0 0xff250000 0x0 0x100>;
1233 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
1234 clocks = <&cru PCLK_GPIO1>;
1235 gpio-controller;
1236 #gpio-cells = <2>;
1237
1238 interrupt-controller;
1239 #interrupt-cells = <2>;
1240 };
1241
1242 gpio2: gpio2@ff260000 {
1243 compatible = "rockchip,gpio-bank";
1244 reg = <0x0 0xff260000 0x0 0x100>;
1245 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1246 clocks = <&cru PCLK_GPIO2>;
1247 gpio-controller;
1248 #gpio-cells = <2>;
1249
1250 interrupt-controller;
1251 #interrupt-cells = <2>;
1252 };
1253
1254 gpio3: gpio3@ff270000 {
1255 compatible = "rockchip,gpio-bank";
1256 reg = <0x0 0xff270000 0x0 0x100>;
1257 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1258 clocks = <&cru PCLK_GPIO3>;
1259 gpio-controller;
1260 #gpio-cells = <2>;
1261
1262 interrupt-controller;
1263 #interrupt-cells = <2>;
1264 };
1265
1266 pcfg_pull_up: pcfg-pull-up {
1267 bias-pull-up;
1268 };
1269
1270 pcfg_pull_down: pcfg-pull-down {
1271 bias-pull-down;
1272 };
1273
1274 pcfg_pull_none: pcfg-pull-none {
1275 bias-disable;
1276 };
1277
1278 pcfg_pull_none_2ma: pcfg-pull-none-2ma {
1279 bias-disable;
1280 drive-strength = <2>;
1281 };
1282
1283 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1284 bias-pull-up;
1285 drive-strength = <2>;
1286 };
1287
1288 pcfg_pull_up_4ma: pcfg-pull-up-4ma {
1289 bias-pull-up;
1290 drive-strength = <4>;
1291 };
1292
1293 pcfg_pull_none_4ma: pcfg-pull-none-4ma {
1294 bias-disable;
1295 drive-strength = <4>;
1296 };
1297
1298 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
1299 bias-pull-down;
1300 drive-strength = <4>;
1301 };
1302
1303 pcfg_pull_none_8ma: pcfg-pull-none-8ma {
1304 bias-disable;
1305 drive-strength = <8>;
1306 };
1307
1308 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1309 bias-pull-up;
1310 drive-strength = <8>;
1311 };
1312
1313 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
1314 bias-disable;
1315 drive-strength = <12>;
1316 };
1317
1318 pcfg_pull_up_12ma: pcfg-pull-up-12ma {
1319 bias-pull-up;
1320 drive-strength = <12>;
1321 };
1322
1323 pcfg_pull_none_smt: pcfg-pull-none-smt {
1324 bias-disable;
1325 input-schmitt-enable;
1326 };
1327
1328 pcfg_output_high: pcfg-output-high {
1329 output-high;
1330 };
1331
1332 pcfg_output_low: pcfg-output-low {
1333 output-low;
1334 };
1335
1336 pcfg_input_high: pcfg-input-high {
1337 bias-pull-up;
1338 input-enable;
1339 };
1340
1341 pcfg_input: pcfg-input {
1342 input-enable;
1343 };
1344
1345 i2c0 {
1346 i2c0_xfer: i2c0-xfer {
1347 rockchip,pins =
1348 <0 RK_PB0 1 &pcfg_pull_none_smt>,
1349 <0 RK_PB1 1 &pcfg_pull_none_smt>;
1350 };
1351 };
1352
1353 i2c1 {
1354 i2c1_xfer: i2c1-xfer {
1355 rockchip,pins =
1356 <0 RK_PC2 1 &pcfg_pull_none_smt>,
1357 <0 RK_PC3 1 &pcfg_pull_none_smt>;
1358 };
1359 };
1360
1361 i2c2 {
1362 i2c2_xfer: i2c2-xfer {
1363 rockchip,pins =
1364 <2 RK_PB7 2 &pcfg_pull_none_smt>,
1365 <2 RK_PC0 2 &pcfg_pull_none_smt>;
1366 };
1367 };
1368
1369 i2c3 {
1370 i2c3_xfer: i2c3-xfer {
1371 rockchip,pins =
1372 <1 RK_PB4 4 &pcfg_pull_none_smt>,
1373 <1 RK_PB5 4 &pcfg_pull_none_smt>;
1374 };
1375 };
1376
1377 tsadc {
1378 tsadc_otp_gpio: tsadc-otp-gpio {
1379 rockchip,pins =
1380 <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
1381 };
1382
1383 tsadc_otp_out: tsadc-otp-out {
1384 rockchip,pins =
1385 <0 RK_PA6 1 &pcfg_pull_none>;
1386 };
1387 };
1388
1389 uart0 {
1390 uart0_xfer: uart0-xfer {
1391 rockchip,pins =
1392 <0 RK_PB2 1 &pcfg_pull_up>,
1393 <0 RK_PB3 1 &pcfg_pull_up>;
1394 };
1395
1396 uart0_cts: uart0-cts {
1397 rockchip,pins =
1398 <0 RK_PB4 1 &pcfg_pull_none>;
1399 };
1400
1401 uart0_rts: uart0-rts {
1402 rockchip,pins =
1403 <0 RK_PB5 1 &pcfg_pull_none>;
1404 };
1405 };
1406
1407 uart1 {
1408 uart1_xfer: uart1-xfer {
1409 rockchip,pins =
1410 <1 RK_PC1 1 &pcfg_pull_up>,
1411 <1 RK_PC0 1 &pcfg_pull_up>;
1412 };
1413
1414 uart1_cts: uart1-cts {
1415 rockchip,pins =
1416 <1 RK_PC2 1 &pcfg_pull_none>;
1417 };
1418
1419 uart1_rts: uart1-rts {
1420 rockchip,pins =
1421 <1 RK_PC3 1 &pcfg_pull_none>;
1422 };
1423 };
1424
1425 uart2-m0 {
1426 uart2m0_xfer: uart2m0-xfer {
1427 rockchip,pins =
1428 <1 RK_PD2 2 &pcfg_pull_up>,
1429 <1 RK_PD3 2 &pcfg_pull_up>;
1430 };
1431 };
1432
1433 uart2-m1 {
1434 uart2m1_xfer: uart2m1-xfer {
1435 rockchip,pins =
1436 <2 RK_PB4 2 &pcfg_pull_up>,
1437 <2 RK_PB6 2 &pcfg_pull_up>;
1438 };
1439 };
1440
1441 uart3-m0 {
1442 uart3m0_xfer: uart3m0-xfer {
1443 rockchip,pins =
1444 <0 RK_PC0 2 &pcfg_pull_up>,
1445 <0 RK_PC1 2 &pcfg_pull_up>;
1446 };
1447
1448 uart3m0_cts: uart3m0-cts {
1449 rockchip,pins =
1450 <0 RK_PC2 2 &pcfg_pull_none>;
1451 };
1452
1453 uart3m0_rts: uart3m0-rts {
1454 rockchip,pins =
1455 <0 RK_PC3 2 &pcfg_pull_none>;
1456 };
1457 };
1458
1459 uart3-m1 {
1460 uart3m1_xfer: uart3m1-xfer {
1461 rockchip,pins =
1462 <1 RK_PB6 2 &pcfg_pull_up>,
1463 <1 RK_PB7 2 &pcfg_pull_up>;
1464 };
1465
1466 uart3m1_cts: uart3m1-cts {
1467 rockchip,pins =
1468 <1 RK_PB4 2 &pcfg_pull_none>;
1469 };
1470
1471 uart3m1_rts: uart3m1-rts {
1472 rockchip,pins =
1473 <1 RK_PB5 2 &pcfg_pull_none>;
1474 };
1475 };
1476
1477 uart4 {
1478 uart4_xfer: uart4-xfer {
1479 rockchip,pins =
1480 <1 RK_PD4 2 &pcfg_pull_up>,
1481 <1 RK_PD5 2 &pcfg_pull_up>;
1482 };
1483
1484 uart4_cts: uart4-cts {
1485 rockchip,pins =
1486 <1 RK_PD6 2 &pcfg_pull_none>;
1487 };
1488
1489 uart4_rts: uart4-rts {
1490 rockchip,pins =
1491 <1 RK_PD7 2 &pcfg_pull_none>;
1492 };
1493 };
1494
1495 uart5 {
1496 uart5_xfer: uart5-xfer {
1497 rockchip,pins =
1498 <3 RK_PA2 4 &pcfg_pull_up>,
1499 <3 RK_PA1 4 &pcfg_pull_up>;
1500 };
1501
1502 uart5_cts: uart5-cts {
1503 rockchip,pins =
1504 <3 RK_PA3 4 &pcfg_pull_none>;
1505 };
1506
1507 uart5_rts: uart5-rts {
1508 rockchip,pins =
1509 <3 RK_PA5 4 &pcfg_pull_none>;
1510 };
1511 };
1512
1513 spi0 {
1514 spi0_clk: spi0-clk {
1515 rockchip,pins =
1516 <1 RK_PB7 3 &pcfg_pull_up_4ma>;
1517 };
1518
1519 spi0_csn: spi0-csn {
1520 rockchip,pins =
1521 <1 RK_PB6 3 &pcfg_pull_up_4ma>;
1522 };
1523
1524 spi0_miso: spi0-miso {
1525 rockchip,pins =
1526 <1 RK_PB5 3 &pcfg_pull_up_4ma>;
1527 };
1528
1529 spi0_mosi: spi0-mosi {
1530 rockchip,pins =
1531 <1 RK_PB4 3 &pcfg_pull_up_4ma>;
1532 };
1533
1534 spi0_clk_hs: spi0-clk-hs {
1535 rockchip,pins =
1536 <1 RK_PB7 3 &pcfg_pull_up_8ma>;
1537 };
1538
1539 spi0_miso_hs: spi0-miso-hs {
1540 rockchip,pins =
1541 <1 RK_PB5 3 &pcfg_pull_up_8ma>;
1542 };
1543
1544 spi0_mosi_hs: spi0-mosi-hs {
1545 rockchip,pins =
1546 <1 RK_PB4 3 &pcfg_pull_up_8ma>;
1547 };
1548 };
1549
1550 spi1 {
1551 spi1_clk: spi1-clk {
1552 rockchip,pins =
1553 <3 RK_PB7 4 &pcfg_pull_up_4ma>;
1554 };
1555
1556 spi1_csn0: spi1-csn0 {
1557 rockchip,pins =
1558 <3 RK_PB1 4 &pcfg_pull_up_4ma>;
1559 };
1560
1561 spi1_csn1: spi1-csn1 {
1562 rockchip,pins =
1563 <3 RK_PB2 2 &pcfg_pull_up_4ma>;
1564 };
1565
1566 spi1_miso: spi1-miso {
1567 rockchip,pins =
1568 <3 RK_PB6 4 &pcfg_pull_up_4ma>;
1569 };
1570
1571 spi1_mosi: spi1-mosi {
1572 rockchip,pins =
1573 <3 RK_PB4 4 &pcfg_pull_up_4ma>;
1574 };
1575
1576 spi1_clk_hs: spi1-clk-hs {
1577 rockchip,pins =
1578 <3 RK_PB7 4 &pcfg_pull_up_8ma>;
1579 };
1580
1581 spi1_miso_hs: spi1-miso-hs {
1582 rockchip,pins =
1583 <3 RK_PB6 4 &pcfg_pull_up_8ma>;
1584 };
1585
1586 spi1_mosi_hs: spi1-mosi-hs {
1587 rockchip,pins =
1588 <3 RK_PB4 4 &pcfg_pull_up_8ma>;
1589 };
1590 };
1591
1592 pdm {
1593 pdm_clk0m0: pdm-clk0m0 {
1594 rockchip,pins =
1595 <3 RK_PC6 2 &pcfg_pull_none>;
1596 };
1597
1598 pdm_clk0m1: pdm-clk0m1 {
1599 rockchip,pins =
1600 <2 RK_PC6 1 &pcfg_pull_none>;
1601 };
1602
1603 pdm_clk1: pdm-clk1 {
1604 rockchip,pins =
1605 <3 RK_PC7 2 &pcfg_pull_none>;
1606 };
1607
1608 pdm_sdi0m0: pdm-sdi0m0 {
1609 rockchip,pins =
1610 <3 RK_PD3 2 &pcfg_pull_none>;
1611 };
1612
1613 pdm_sdi0m1: pdm-sdi0m1 {
1614 rockchip,pins =
1615 <2 RK_PC5 2 &pcfg_pull_none>;
1616 };
1617
1618 pdm_sdi1: pdm-sdi1 {
1619 rockchip,pins =
1620 <3 RK_PD0 2 &pcfg_pull_none>;
1621 };
1622
1623 pdm_sdi2: pdm-sdi2 {
1624 rockchip,pins =
1625 <3 RK_PD1 2 &pcfg_pull_none>;
1626 };
1627
1628 pdm_sdi3: pdm-sdi3 {
1629 rockchip,pins =
1630 <3 RK_PD2 2 &pcfg_pull_none>;
1631 };
1632
1633 pdm_clk0m0_sleep: pdm-clk0m0-sleep {
1634 rockchip,pins =
1635 <3 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
1636 };
1637
1638 pdm_clk0m_sleep1: pdm-clk0m1-sleep {
1639 rockchip,pins =
1640 <2 RK_PC6 RK_FUNC_GPIO &pcfg_input_high>;
1641 };
1642
1643 pdm_clk1_sleep: pdm-clk1-sleep {
1644 rockchip,pins =
1645 <3 RK_PC7 RK_FUNC_GPIO &pcfg_input_high>;
1646 };
1647
1648 pdm_sdi0m0_sleep: pdm-sdi0m0-sleep {
1649 rockchip,pins =
1650 <3 RK_PD3 RK_FUNC_GPIO &pcfg_input_high>;
1651 };
1652
1653 pdm_sdi0m1_sleep: pdm-sdi0m1-sleep {
1654 rockchip,pins =
1655 <2 RK_PC5 RK_FUNC_GPIO &pcfg_input_high>;
1656 };
1657
1658 pdm_sdi1_sleep: pdm-sdi1-sleep {
1659 rockchip,pins =
1660 <3 RK_PD0 RK_FUNC_GPIO &pcfg_input_high>;
1661 };
1662
1663 pdm_sdi2_sleep: pdm-sdi2-sleep {
1664 rockchip,pins =
1665 <3 RK_PD1 RK_FUNC_GPIO &pcfg_input_high>;
1666 };
1667
1668 pdm_sdi3_sleep: pdm-sdi3-sleep {
1669 rockchip,pins =
1670 <3 RK_PD2 RK_FUNC_GPIO &pcfg_input_high>;
1671 };
1672 };
1673
1674 i2s0 {
1675 i2s0_8ch_mclk: i2s0-8ch-mclk {
1676 rockchip,pins =
1677 <3 RK_PC1 2 &pcfg_pull_none>;
1678 };
1679
1680 i2s0_8ch_sclktx: i2s0-8ch-sclktx {
1681 rockchip,pins =
1682 <3 RK_PC3 2 &pcfg_pull_none>;
1683 };
1684
1685 i2s0_8ch_sclkrx: i2s0-8ch-sclkrx {
1686 rockchip,pins =
1687 <3 RK_PB4 2 &pcfg_pull_none>;
1688 };
1689
1690 i2s0_8ch_lrcktx: i2s0-8ch-lrcktx {
1691 rockchip,pins =
1692 <3 RK_PC2 2 &pcfg_pull_none>;
1693 };
1694
1695 i2s0_8ch_lrckrx: i2s0-8ch-lrckrx {
1696 rockchip,pins =
1697 <3 RK_PB5 2 &pcfg_pull_none>;
1698 };
1699
1700 i2s0_8ch_sdo0: i2s0-8ch-sdo0 {
1701 rockchip,pins =
1702 <3 RK_PC4 2 &pcfg_pull_none>;
1703 };
1704
1705 i2s0_8ch_sdo1: i2s0-8ch-sdo1 {
1706 rockchip,pins =
1707 <3 RK_PC0 2 &pcfg_pull_none>;
1708 };
1709
1710 i2s0_8ch_sdo2: i2s0-8ch-sdo2 {
1711 rockchip,pins =
1712 <3 RK_PB7 2 &pcfg_pull_none>;
1713 };
1714
1715 i2s0_8ch_sdo3: i2s0-8ch-sdo3 {
1716 rockchip,pins =
1717 <3 RK_PB6 2 &pcfg_pull_none>;
1718 };
1719
1720 i2s0_8ch_sdi0: i2s0-8ch-sdi0 {
1721 rockchip,pins =
1722 <3 RK_PC5 2 &pcfg_pull_none>;
1723 };
1724
1725 i2s0_8ch_sdi1: i2s0-8ch-sdi1 {
1726 rockchip,pins =
1727 <3 RK_PB3 2 &pcfg_pull_none>;
1728 };
1729
1730 i2s0_8ch_sdi2: i2s0-8ch-sdi2 {
1731 rockchip,pins =
1732 <3 RK_PB1 2 &pcfg_pull_none>;
1733 };
1734
1735 i2s0_8ch_sdi3: i2s0-8ch-sdi3 {
1736 rockchip,pins =
1737 <3 RK_PB0 2 &pcfg_pull_none>;
1738 };
1739 };
1740
1741 i2s1 {
1742 i2s1_2ch_mclk: i2s1-2ch-mclk {
1743 rockchip,pins =
1744 <2 RK_PC3 1 &pcfg_pull_none>;
1745 };
1746
1747 i2s1_2ch_sclk: i2s1-2ch-sclk {
1748 rockchip,pins =
1749 <2 RK_PC2 1 &pcfg_pull_none>;
1750 };
1751
1752 i2s1_2ch_lrck: i2s1-2ch-lrck {
1753 rockchip,pins =
1754 <2 RK_PC1 1 &pcfg_pull_none>;
1755 };
1756
1757 i2s1_2ch_sdi: i2s1-2ch-sdi {
1758 rockchip,pins =
1759 <2 RK_PC5 1 &pcfg_pull_none>;
1760 };
1761
1762 i2s1_2ch_sdo: i2s1-2ch-sdo {
1763 rockchip,pins =
1764 <2 RK_PC4 1 &pcfg_pull_none>;
1765 };
1766 };
1767
1768 i2s2 {
1769 i2s2_2ch_mclk: i2s2-2ch-mclk {
1770 rockchip,pins =
1771 <3 RK_PA1 2 &pcfg_pull_none>;
1772 };
1773
1774 i2s2_2ch_sclk: i2s2-2ch-sclk {
1775 rockchip,pins =
1776 <3 RK_PA2 2 &pcfg_pull_none>;
1777 };
1778
1779 i2s2_2ch_lrck: i2s2-2ch-lrck {
1780 rockchip,pins =
1781 <3 RK_PA3 2 &pcfg_pull_none>;
1782 };
1783
1784 i2s2_2ch_sdi: i2s2-2ch-sdi {
1785 rockchip,pins =
1786 <3 RK_PA5 2 &pcfg_pull_none>;
1787 };
1788
1789 i2s2_2ch_sdo: i2s2-2ch-sdo {
1790 rockchip,pins =
1791 <3 RK_PA7 2 &pcfg_pull_none>;
1792 };
1793 };
1794
1795 sdmmc {
1796 sdmmc_clk: sdmmc-clk {
1797 rockchip,pins =
1798 <1 RK_PD6 1 &pcfg_pull_none_8ma>;
1799 };
1800
1801 sdmmc_cmd: sdmmc-cmd {
1802 rockchip,pins =
1803 <1 RK_PD7 1 &pcfg_pull_up_8ma>;
1804 };
1805
1806 sdmmc_det: sdmmc-det {
1807 rockchip,pins =
1808 <0 RK_PA3 1 &pcfg_pull_up_8ma>;
1809 };
1810
1811 sdmmc_bus1: sdmmc-bus1 {
1812 rockchip,pins =
1813 <1 RK_PD2 1 &pcfg_pull_up_8ma>;
1814 };
1815
1816 sdmmc_bus4: sdmmc-bus4 {
1817 rockchip,pins =
1818 <1 RK_PD2 1 &pcfg_pull_up_8ma>,
1819 <1 RK_PD3 1 &pcfg_pull_up_8ma>,
1820 <1 RK_PD4 1 &pcfg_pull_up_8ma>,
1821 <1 RK_PD5 1 &pcfg_pull_up_8ma>;
1822 };
1823 };
1824
1825 sdio {
1826 sdio_clk: sdio-clk {
1827 rockchip,pins =
1828 <1 RK_PC5 1 &pcfg_pull_none>;
1829 };
1830
1831 sdio_cmd: sdio-cmd {
1832 rockchip,pins =
1833 <1 RK_PC4 1 &pcfg_pull_up>;
1834 };
1835
1836 sdio_bus4: sdio-bus4 {
1837 rockchip,pins =
1838 <1 RK_PC6 1 &pcfg_pull_up>,
1839 <1 RK_PC7 1 &pcfg_pull_up>,
1840 <1 RK_PD0 1 &pcfg_pull_up>,
1841 <1 RK_PD1 1 &pcfg_pull_up>;
1842 };
1843 };
1844
1845 emmc {
1846 emmc_clk: emmc-clk {
1847 rockchip,pins =
1848 <1 RK_PB1 2 &pcfg_pull_none_8ma>;
1849 };
1850
1851 emmc_cmd: emmc-cmd {
1852 rockchip,pins =
1853 <1 RK_PB2 2 &pcfg_pull_up_8ma>;
1854 };
1855
1856 emmc_rstnout: emmc-rstnout {
1857 rockchip,pins =
1858 <1 RK_PB3 2 &pcfg_pull_none>;
1859 };
1860
1861 emmc_bus1: emmc-bus1 {
1862 rockchip,pins =
1863 <1 RK_PA0 2 &pcfg_pull_up_8ma>;
1864 };
1865
1866 emmc_bus4: emmc-bus4 {
1867 rockchip,pins =
1868 <1 RK_PA0 2 &pcfg_pull_up_8ma>,
1869 <1 RK_PA1 2 &pcfg_pull_up_8ma>,
1870 <1 RK_PA2 2 &pcfg_pull_up_8ma>,
1871 <1 RK_PA3 2 &pcfg_pull_up_8ma>;
1872 };
1873
1874 emmc_bus8: emmc-bus8 {
1875 rockchip,pins =
1876 <1 RK_PA0 2 &pcfg_pull_up_8ma>,
1877 <1 RK_PA1 2 &pcfg_pull_up_8ma>,
1878 <1 RK_PA2 2 &pcfg_pull_up_8ma>,
1879 <1 RK_PA3 2 &pcfg_pull_up_8ma>,
1880 <1 RK_PA4 2 &pcfg_pull_up_8ma>,
1881 <1 RK_PA5 2 &pcfg_pull_up_8ma>,
1882 <1 RK_PA6 2 &pcfg_pull_up_8ma>,
1883 <1 RK_PA7 2 &pcfg_pull_up_8ma>;
1884 };
1885 };
1886
1887 flash {
1888 flash_cs0: flash-cs0 {
1889 rockchip,pins =
1890 <1 RK_PB0 1 &pcfg_pull_none>;
1891 };
1892
1893 flash_rdy: flash-rdy {
1894 rockchip,pins =
1895 <1 RK_PB1 1 &pcfg_pull_none>;
1896 };
1897
1898 flash_dqs: flash-dqs {
1899 rockchip,pins =
1900 <1 RK_PB2 1 &pcfg_pull_none>;
1901 };
1902
1903 flash_ale: flash-ale {
1904 rockchip,pins =
1905 <1 RK_PB3 1 &pcfg_pull_none>;
1906 };
1907
1908 flash_cle: flash-cle {
1909 rockchip,pins =
1910 <1 RK_PB4 1 &pcfg_pull_none>;
1911 };
1912
1913 flash_wrn: flash-wrn {
1914 rockchip,pins =
1915 <1 RK_PB5 1 &pcfg_pull_none>;
1916 };
1917
1918 flash_csl: flash-csl {
1919 rockchip,pins =
1920 <1 RK_PB6 1 &pcfg_pull_none>;
1921 };
1922
1923 flash_rdn: flash-rdn {
1924 rockchip,pins =
1925 <1 RK_PB7 1 &pcfg_pull_none>;
1926 };
1927
1928 flash_bus8: flash-bus8 {
1929 rockchip,pins =
1930 <1 RK_PA0 1 &pcfg_pull_up_12ma>,
1931 <1 RK_PA1 1 &pcfg_pull_up_12ma>,
1932 <1 RK_PA2 1 &pcfg_pull_up_12ma>,
1933 <1 RK_PA3 1 &pcfg_pull_up_12ma>,
1934 <1 RK_PA4 1 &pcfg_pull_up_12ma>,
1935 <1 RK_PA5 1 &pcfg_pull_up_12ma>,
1936 <1 RK_PA6 1 &pcfg_pull_up_12ma>,
1937 <1 RK_PA7 1 &pcfg_pull_up_12ma>;
1938 };
1939 };
1940
Chris Morgan51519002021-08-05 16:26:40 +08001941 serial_flash {
1942 sfc_bus4: sfc-bus4 {
1943 rockchip,pins =
1944 <1 RK_PA0 3 &pcfg_pull_none>,
1945 <1 RK_PA1 3 &pcfg_pull_none>,
1946 <1 RK_PA2 3 &pcfg_pull_none>,
1947 <1 RK_PA3 3 &pcfg_pull_none>;
1948 };
1949
1950 sfc_bus2: sfc-bus2 {
1951 rockchip,pins =
1952 <1 RK_PA0 3 &pcfg_pull_none>,
1953 <1 RK_PA1 3 &pcfg_pull_none>;
1954 };
1955
1956 sfc_cs: sfc-cs {
1957 rockchip,pins =
1958 <1 RK_PA4 3 &pcfg_pull_none>;
1959 };
1960
1961 sfc_clk: sfc-clk {
1962 rockchip,pins =
1963 <1 RK_PB1 3 &pcfg_pull_none>;
1964 };
1965 };
1966
Heiko Stuebnerdd611e92019-07-16 22:12:07 +02001967 lcdc {
1968 lcdc_rgb_dclk_pin: lcdc-rgb-dclk-pin {
1969 rockchip,pins =
1970 <3 RK_PA0 1 &pcfg_pull_none_12ma>;
1971 };
1972
1973 lcdc_rgb_m0_hsync_pin: lcdc-rgb-m0-hsync-pin {
1974 rockchip,pins =
1975 <3 RK_PA1 1 &pcfg_pull_none_12ma>;
1976 };
1977
1978 lcdc_rgb_m0_vsync_pin: lcdc-rgb-m0-vsync-pin {
1979 rockchip,pins =
1980 <3 RK_PA2 1 &pcfg_pull_none_12ma>;
1981 };
1982
1983 lcdc_rgb_m0_den_pin: lcdc-rgb-m0-den-pin {
1984 rockchip,pins =
1985 <3 RK_PA3 1 &pcfg_pull_none_12ma>;
1986 };
1987
1988 lcdc_rgb888_m0_data_pins: lcdc-rgb888-m0-data-pins {
1989 rockchip,pins =
1990 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
1991 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
1992 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
1993 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
1994 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
1995 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
1996 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
1997 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
1998 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
1999 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
2000 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2001 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
2002 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2003 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2004 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2005 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2006 <3 RK_PC7 1 &pcfg_pull_none_8ma>, /* lcdc_d19 */
2007 <3 RK_PC6 1 &pcfg_pull_none_8ma>, /* lcdc_d18 */
2008 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2009 <3 RK_PC4 1 &pcfg_pull_none_8ma>, /* lcdc_d16 */
2010 <3 RK_PD3 1 &pcfg_pull_none_8ma>, /* lcdc_d23 */
2011 <3 RK_PD2 1 &pcfg_pull_none_8ma>, /* lcdc_d22 */
2012 <3 RK_PD1 1 &pcfg_pull_none_8ma>, /* lcdc_d21 */
2013 <3 RK_PD0 1 &pcfg_pull_none_8ma>; /* lcdc_d20 */
2014 };
2015
2016 lcdc_rgb666_m0_data_pins: lcdc-rgb666-m0-data-pins {
2017 rockchip,pins =
2018 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
2019 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2020 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
2021 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2022 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2023 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2024 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
2025 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
2026 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
2027 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
2028 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2029 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
2030 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2031 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2032 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2033 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2034 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2035 <3 RK_PC4 1 &pcfg_pull_none_8ma>; /* lcdc_d16 */
2036 };
2037
2038 lcdc_rgb565_m0_data_pins: lcdc-rgb565-m0-data-pins {
2039 rockchip,pins =
2040 <3 RK_PA7 1 &pcfg_pull_none_8ma>, /* lcdc_d3 */
2041 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2042 <3 RK_PA5 1 &pcfg_pull_none_8ma>, /* lcdc_d1 */
2043 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2044 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2045 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2046 <3 RK_PB1 1 &pcfg_pull_none_8ma>, /* lcdc_d5 */
2047 <3 RK_PB0 1 &pcfg_pull_none_8ma>, /* lcdc_d4 */
2048 <3 RK_PB7 1 &pcfg_pull_none_8ma>, /* lcdc_d11 */
2049 <3 RK_PB6 1 &pcfg_pull_none_8ma>, /* lcdc_d10 */
2050 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2051 <3 RK_PB4 1 &pcfg_pull_none_8ma>, /* lcdc_d8 */
2052 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2053 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2054 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2055 <3 RK_PC0 1 &pcfg_pull_none_8ma>; /* lcdc_d12 */
2056 };
2057
2058 lcdc_rgb888_m1_data_pins: lcdc-rgb888-m1-data-pins {
2059 rockchip,pins =
2060 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2061 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2062 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2063 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2064 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2065 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2066 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2067 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2068 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2069 <3 RK_PC7 1 &pcfg_pull_none_8ma>, /* lcdc_d19 */
2070 <3 RK_PC6 1 &pcfg_pull_none_8ma>, /* lcdc_d18 */
2071 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2072 <3 RK_PC4 1 &pcfg_pull_none_8ma>, /* lcdc_d16 */
2073 <3 RK_PD3 1 &pcfg_pull_none_8ma>, /* lcdc_d23 */
2074 <3 RK_PD2 1 &pcfg_pull_none_8ma>, /* lcdc_d22 */
2075 <3 RK_PD1 1 &pcfg_pull_none_8ma>, /* lcdc_d21 */
2076 <3 RK_PD0 1 &pcfg_pull_none_8ma>; /* lcdc_d20 */
2077 };
2078
2079 lcdc_rgb666_m1_data_pins: lcdc-rgb666-m1-data-pins {
2080 rockchip,pins =
2081 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2082 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2083 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2084 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2085 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2086 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2087 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2088 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2089 <3 RK_PC0 1 &pcfg_pull_none_8ma>, /* lcdc_d12 */
2090 <3 RK_PC5 1 &pcfg_pull_none_8ma>, /* lcdc_d17 */
2091 <3 RK_PC4 1 &pcfg_pull_none_8ma>; /* lcdc_d16 */
2092 };
2093
2094 lcdc_rgb565_m1_data_pins: lcdc-rgb565-m1-data-pins {
2095 rockchip,pins =
2096 <3 RK_PA6 1 &pcfg_pull_none_8ma>, /* lcdc_d2 */
2097 <3 RK_PA4 1 &pcfg_pull_none_8ma>, /* lcdc_d0 */
2098 <3 RK_PB3 1 &pcfg_pull_none_8ma>, /* lcdc_d7 */
2099 <3 RK_PB2 1 &pcfg_pull_none_8ma>, /* lcdc_d6 */
2100 <3 RK_PB5 1 &pcfg_pull_none_8ma>, /* lcdc_d9 */
2101 <3 RK_PC3 1 &pcfg_pull_none_8ma>, /* lcdc_d15 */
2102 <3 RK_PC2 1 &pcfg_pull_none_8ma>, /* lcdc_d14 */
2103 <3 RK_PC1 1 &pcfg_pull_none_8ma>, /* lcdc_d13 */
2104 <3 RK_PC0 1 &pcfg_pull_none_8ma>; /* lcdc_d12 */
2105 };
2106 };
2107
2108 pwm0 {
2109 pwm0_pin: pwm0-pin {
2110 rockchip,pins =
2111 <0 RK_PB7 1 &pcfg_pull_none>;
2112 };
2113 };
2114
2115 pwm1 {
2116 pwm1_pin: pwm1-pin {
2117 rockchip,pins =
2118 <0 RK_PC0 1 &pcfg_pull_none>;
2119 };
2120 };
2121
2122 pwm2 {
2123 pwm2_pin: pwm2-pin {
2124 rockchip,pins =
2125 <2 RK_PB5 1 &pcfg_pull_none>;
2126 };
2127 };
2128
2129 pwm3 {
2130 pwm3_pin: pwm3-pin {
2131 rockchip,pins =
2132 <0 RK_PC1 1 &pcfg_pull_none>;
2133 };
2134 };
2135
2136 pwm4 {
2137 pwm4_pin: pwm4-pin {
2138 rockchip,pins =
2139 <3 RK_PC2 3 &pcfg_pull_none>;
2140 };
2141 };
2142
2143 pwm5 {
2144 pwm5_pin: pwm5-pin {
2145 rockchip,pins =
2146 <3 RK_PC3 3 &pcfg_pull_none>;
2147 };
2148 };
2149
2150 pwm6 {
2151 pwm6_pin: pwm6-pin {
2152 rockchip,pins =
2153 <3 RK_PC4 3 &pcfg_pull_none>;
2154 };
2155 };
2156
2157 pwm7 {
2158 pwm7_pin: pwm7-pin {
2159 rockchip,pins =
2160 <3 RK_PC5 3 &pcfg_pull_none>;
2161 };
2162 };
2163
2164 gmac {
2165 rmii_pins: rmii-pins {
2166 rockchip,pins =
2167 <2 RK_PA0 2 &pcfg_pull_none_12ma>, /* mac_txen */
2168 <2 RK_PA1 2 &pcfg_pull_none_12ma>, /* mac_txd1 */
2169 <2 RK_PA2 2 &pcfg_pull_none_12ma>, /* mac_txd0 */
2170 <2 RK_PA3 2 &pcfg_pull_none>, /* mac_rxd0 */
2171 <2 RK_PA4 2 &pcfg_pull_none>, /* mac_rxd1 */
2172 <2 RK_PA5 2 &pcfg_pull_none>, /* mac_rxer */
2173 <2 RK_PA6 2 &pcfg_pull_none>, /* mac_rxdv */
2174 <2 RK_PA7 2 &pcfg_pull_none>, /* mac_mdio */
2175 <2 RK_PB1 2 &pcfg_pull_none>; /* mac_mdc */
2176 };
2177
2178 mac_refclk_12ma: mac-refclk-12ma {
2179 rockchip,pins =
2180 <2 RK_PB2 2 &pcfg_pull_none_12ma>;
2181 };
2182
2183 mac_refclk: mac-refclk {
2184 rockchip,pins =
2185 <2 RK_PB2 2 &pcfg_pull_none>;
2186 };
2187 };
2188
2189 cif-m0 {
2190 cif_clkout_m0: cif-clkout-m0 {
2191 rockchip,pins =
2192 <2 RK_PB3 1 &pcfg_pull_none>;
2193 };
2194
2195 dvp_d2d9_m0: dvp-d2d9-m0 {
2196 rockchip,pins =
2197 <2 RK_PA0 1 &pcfg_pull_none>, /* cif_data2 */
2198 <2 RK_PA1 1 &pcfg_pull_none>, /* cif_data3 */
2199 <2 RK_PA2 1 &pcfg_pull_none>, /* cif_data4 */
2200 <2 RK_PA3 1 &pcfg_pull_none>, /* cif_data5 */
2201 <2 RK_PA4 1 &pcfg_pull_none>, /* cif_data6 */
2202 <2 RK_PA5 1 &pcfg_pull_none>, /* cif_data7 */
2203 <2 RK_PA6 1 &pcfg_pull_none>, /* cif_data8 */
2204 <2 RK_PA7 1 &pcfg_pull_none>, /* cif_data9 */
2205 <2 RK_PB0 1 &pcfg_pull_none>, /* cif_sync */
2206 <2 RK_PB1 1 &pcfg_pull_none>, /* cif_href */
2207 <2 RK_PB2 1 &pcfg_pull_none>, /* cif_clkin */
2208 <2 RK_PB3 1 &pcfg_pull_none>; /* cif_clkout */
2209 };
2210
2211 dvp_d0d1_m0: dvp-d0d1-m0 {
2212 rockchip,pins =
2213 <2 RK_PB4 1 &pcfg_pull_none>, /* cif_data0 */
2214 <2 RK_PB6 1 &pcfg_pull_none>; /* cif_data1 */
2215 };
2216
2217 dvp_d10d11_m0:d10-d11-m0 {
2218 rockchip,pins =
2219 <2 RK_PB7 1 &pcfg_pull_none>, /* cif_data10 */
2220 <2 RK_PC0 1 &pcfg_pull_none>; /* cif_data11 */
2221 };
2222 };
2223
2224 cif-m1 {
2225 cif_clkout_m1: cif-clkout-m1 {
2226 rockchip,pins =
2227 <3 RK_PD0 3 &pcfg_pull_none>;
2228 };
2229
2230 dvp_d2d9_m1: dvp-d2d9-m1 {
2231 rockchip,pins =
2232 <3 RK_PA3 3 &pcfg_pull_none>, /* cif_data2 */
2233 <3 RK_PA5 3 &pcfg_pull_none>, /* cif_data3 */
2234 <3 RK_PA7 3 &pcfg_pull_none>, /* cif_data4 */
2235 <3 RK_PB0 3 &pcfg_pull_none>, /* cif_data5 */
2236 <3 RK_PB1 3 &pcfg_pull_none>, /* cif_data6 */
2237 <3 RK_PB4 3 &pcfg_pull_none>, /* cif_data7 */
2238 <3 RK_PB6 3 &pcfg_pull_none>, /* cif_data8 */
2239 <3 RK_PB7 3 &pcfg_pull_none>, /* cif_data9 */
2240 <3 RK_PD1 3 &pcfg_pull_none>, /* cif_sync */
2241 <3 RK_PD2 3 &pcfg_pull_none>, /* cif_href */
2242 <3 RK_PD3 3 &pcfg_pull_none>, /* cif_clkin */
2243 <3 RK_PD0 3 &pcfg_pull_none>; /* cif_clkout */
2244 };
2245
2246 dvp_d0d1_m1: dvp-d0d1-m1 {
2247 rockchip,pins =
2248 <3 RK_PA1 3 &pcfg_pull_none>, /* cif_data0 */
2249 <3 RK_PA2 3 &pcfg_pull_none>; /* cif_data1 */
2250 };
2251
2252 dvp_d10d11_m1:d10-d11-m1 {
2253 rockchip,pins =
2254 <3 RK_PC6 3 &pcfg_pull_none>, /* cif_data10 */
2255 <3 RK_PC7 3 &pcfg_pull_none>; /* cif_data11 */
2256 };
2257 };
2258
2259 isp {
2260 isp_prelight: isp-prelight {
2261 rockchip,pins =
2262 <3 RK_PD1 4 &pcfg_pull_none>;
2263 };
2264 };
2265 };
2266};