1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
6 #include <dt-bindings/clock/rk3399-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/rk3399-power.h>
12 #include <dt-bindings/thermal/thermal.h>
15 compatible = "rockchip,rk3399";
17 interrupt-parent = <&gic>;
71 compatible = "arm,cortex-a53";
73 enable-method = "psci";
74 capacity-dmips-mhz = <485>;
75 clocks = <&cru ARMCLKL>;
76 #cooling-cells = <2>; /* min followed by max */
77 dynamic-power-coefficient = <100>;
78 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
83 compatible = "arm,cortex-a53";
85 enable-method = "psci";
86 capacity-dmips-mhz = <485>;
87 clocks = <&cru ARMCLKL>;
88 #cooling-cells = <2>; /* min followed by max */
89 dynamic-power-coefficient = <100>;
90 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
95 compatible = "arm,cortex-a53";
97 enable-method = "psci";
98 capacity-dmips-mhz = <485>;
99 clocks = <&cru ARMCLKL>;
100 #cooling-cells = <2>; /* min followed by max */
101 dynamic-power-coefficient = <100>;
102 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
107 compatible = "arm,cortex-a53";
109 enable-method = "psci";
110 capacity-dmips-mhz = <485>;
111 clocks = <&cru ARMCLKL>;
112 #cooling-cells = <2>; /* min followed by max */
113 dynamic-power-coefficient = <100>;
114 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
119 compatible = "arm,cortex-a72";
121 enable-method = "psci";
122 capacity-dmips-mhz = <1024>;
123 clocks = <&cru ARMCLKB>;
124 #cooling-cells = <2>; /* min followed by max */
125 dynamic-power-coefficient = <436>;
126 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
129 #cooling-cells = <2>;
130 duration-us = <10000>;
131 exit-latency-us = <500>;
137 compatible = "arm,cortex-a72";
139 enable-method = "psci";
140 capacity-dmips-mhz = <1024>;
141 clocks = <&cru ARMCLKB>;
142 #cooling-cells = <2>; /* min followed by max */
143 dynamic-power-coefficient = <436>;
144 cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
147 #cooling-cells = <2>;
148 duration-us = <10000>;
149 exit-latency-us = <500>;
154 entry-method = "psci";
156 CPU_SLEEP: cpu-sleep {
157 compatible = "arm,idle-state";
159 arm,psci-suspend-param = <0x0010000>;
160 entry-latency-us = <120>;
161 exit-latency-us = <250>;
162 min-residency-us = <900>;
165 CLUSTER_SLEEP: cluster-sleep {
166 compatible = "arm,idle-state";
168 arm,psci-suspend-param = <0x1010000>;
169 entry-latency-us = <400>;
170 exit-latency-us = <500>;
171 min-residency-us = <2000>;
177 compatible = "rockchip,display-subsystem";
178 ports = <&vopl_out>, <&vopb_out>;
181 dmc: memory-controller {
182 compatible = "rockchip,rk3399-dmc";
183 rockchip,pmu = <&pmugrf>;
184 devfreq-events = <&dfi>;
185 clocks = <&cru SCLK_DDRC>;
186 clock-names = "dmc_clk";
191 compatible = "arm,cortex-a53-pmu";
192 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster0>;
196 compatible = "arm,cortex-a72-pmu";
197 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster1>;
201 compatible = "arm,psci-1.0";
206 compatible = "arm,armv8-timer";
207 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>,
208 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>,
209 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>,
210 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>;
211 arm,no-tick-in-suspend;
215 compatible = "fixed-clock";
216 clock-frequency = <24000000>;
217 clock-output-names = "xin24m";
221 pcie0: pcie@f8000000 {
222 compatible = "rockchip,rk3399-pcie";
223 reg = <0x0 0xf8000000 0x0 0x2000000>,
224 <0x0 0xfd000000 0x0 0x1000000>;
225 reg-names = "axi-base", "apb-base";
227 #address-cells = <3>;
229 #interrupt-cells = <1>;
231 bus-range = <0x0 0x1f>;
232 clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>,
233 <&cru PCLK_PCIE>, <&cru SCLK_PCIE_PM>;
234 clock-names = "aclk", "aclk-perf",
236 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH 0>,
237 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH 0>,
238 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH 0>;
239 interrupt-names = "sys", "legacy", "client";
240 interrupt-map-mask = <0 0 0 7>;
241 interrupt-map = <0 0 0 1 &pcie0_intc 0>,
242 <0 0 0 2 &pcie0_intc 1>,
243 <0 0 0 3 &pcie0_intc 2>,
244 <0 0 0 4 &pcie0_intc 3>;
245 max-link-speed = <1>;
246 msi-map = <0x0 &its 0x0 0x1000>;
247 phys = <&pcie_phy 0>, <&pcie_phy 1>,
248 <&pcie_phy 2>, <&pcie_phy 3>;
249 phy-names = "pcie-phy-0", "pcie-phy-1",
250 "pcie-phy-2", "pcie-phy-3";
251 ranges = <0x82000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x1e00000>,
252 <0x81000000 0x0 0xfbe00000 0x0 0xfbe00000 0x0 0x100000>;
253 resets = <&cru SRST_PCIE_CORE>, <&cru SRST_PCIE_MGMT>,
254 <&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE>,
255 <&cru SRST_PCIE_PM>, <&cru SRST_P_PCIE>,
257 reset-names = "core", "mgmt", "mgmt-sticky", "pipe",
258 "pm", "pclk", "aclk";
261 pcie0_intc: interrupt-controller {
262 interrupt-controller;
263 #address-cells = <0>;
264 #interrupt-cells = <1>;
268 pcie0_ep: pcie-ep@f8000000 {
269 compatible = "rockchip,rk3399-pcie-ep";
270 reg = <0x0 0xfd000000 0x0 0x1000000>,
271 <0x0 0xfa000000 0x0 0x2000000>;
272 reg-names = "apb-base", "mem-base";
273 clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>,
274 <&cru PCLK_PCIE>, <&cru SCLK_PCIE_PM>;
275 clock-names = "aclk", "aclk-perf",
277 max-functions = /bits/ 8 <8>;
279 resets = <&cru SRST_PCIE_CORE>, <&cru SRST_PCIE_MGMT>,
280 <&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE>,
281 <&cru SRST_PCIE_PM>, <&cru SRST_P_PCIE>,
283 reset-names = "core", "mgmt", "mgmt-sticky", "pipe",
284 "pm", "pclk", "aclk";
285 phys = <&pcie_phy 0>, <&pcie_phy 1>,
286 <&pcie_phy 2>, <&pcie_phy 3>;
287 phy-names = "pcie-phy-0", "pcie-phy-1",
288 "pcie-phy-2", "pcie-phy-3";
289 rockchip,max-outbound-regions = <32>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&pcie_clkreqnb_cpm>;
295 gmac: ethernet@fe300000 {
296 compatible = "rockchip,rk3399-gmac";
297 reg = <0x0 0xfe300000 0x0 0x10000>;
298 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH 0>;
299 interrupt-names = "macirq";
300 clocks = <&cru SCLK_MAC>, <&cru SCLK_MAC_RX>,
301 <&cru SCLK_MAC_TX>, <&cru SCLK_MACREF>,
302 <&cru SCLK_MACREF_OUT>, <&cru ACLK_GMAC>,
304 clock-names = "stmmaceth", "mac_clk_rx",
305 "mac_clk_tx", "clk_mac_ref",
306 "clk_mac_refout", "aclk_mac",
308 power-domains = <&power RK3399_PD_GMAC>;
309 resets = <&cru SRST_A_GMAC>;
310 reset-names = "stmmaceth";
311 rockchip,grf = <&grf>;
316 sdio0: mmc@fe310000 {
317 compatible = "rockchip,rk3399-dw-mshc",
318 "rockchip,rk3288-dw-mshc";
319 reg = <0x0 0xfe310000 0x0 0x4000>;
320 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH 0>;
321 max-frequency = <150000000>;
322 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
323 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
324 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
325 fifo-depth = <0x100>;
326 power-domains = <&power RK3399_PD_SDIOAUDIO>;
327 resets = <&cru SRST_SDIO0>;
328 reset-names = "reset";
332 sdmmc: mmc@fe320000 {
333 compatible = "rockchip,rk3399-dw-mshc",
334 "rockchip,rk3288-dw-mshc";
335 reg = <0x0 0xfe320000 0x0 0x4000>;
336 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH 0>;
337 max-frequency = <150000000>;
338 assigned-clocks = <&cru HCLK_SD>;
339 assigned-clock-rates = <200000000>;
340 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
341 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
342 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
343 fifo-depth = <0x100>;
344 power-domains = <&power RK3399_PD_SD>;
345 resets = <&cru SRST_SDMMC>;
346 reset-names = "reset";
350 sdhci: mmc@fe330000 {
351 compatible = "rockchip,rk3399-sdhci-5.1", "arasan,sdhci-5.1";
352 reg = <0x0 0xfe330000 0x0 0x10000>;
353 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH 0>;
354 arasan,soc-ctl-syscon = <&grf>;
355 assigned-clocks = <&cru SCLK_EMMC>;
356 assigned-clock-rates = <200000000>;
357 clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>;
358 clock-names = "clk_xin", "clk_ahb";
359 clock-output-names = "emmc_cardclock";
362 phy-names = "phy_arasan";
363 power-domains = <&power RK3399_PD_EMMC>;
368 usb_host0_ehci: usb@fe380000 {
369 compatible = "generic-ehci";
370 reg = <0x0 0xfe380000 0x0 0x20000>;
371 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH 0>;
372 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>,
374 phys = <&u2phy0_host>;
379 usb_host0_ohci: usb@fe3a0000 {
380 compatible = "generic-ohci";
381 reg = <0x0 0xfe3a0000 0x0 0x20000>;
382 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH 0>;
383 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>,
385 phys = <&u2phy0_host>;
390 usb_host1_ehci: usb@fe3c0000 {
391 compatible = "generic-ehci";
392 reg = <0x0 0xfe3c0000 0x0 0x20000>;
393 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH 0>;
394 clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST1_ARB>,
396 phys = <&u2phy1_host>;
401 usb_host1_ohci: usb@fe3e0000 {
402 compatible = "generic-ohci";
403 reg = <0x0 0xfe3e0000 0x0 0x20000>;
404 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH 0>;
405 clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST1_ARB>,
407 phys = <&u2phy1_host>;
413 compatible = "arm,coresight-cpu-debug", "arm,primecell";
414 reg = <0 0xfe430000 0 0x1000>;
415 clocks = <&cru PCLK_COREDBG_L>;
416 clock-names = "apb_pclk";
421 compatible = "arm,coresight-cpu-debug", "arm,primecell";
422 reg = <0 0xfe432000 0 0x1000>;
423 clocks = <&cru PCLK_COREDBG_L>;
424 clock-names = "apb_pclk";
429 compatible = "arm,coresight-cpu-debug", "arm,primecell";
430 reg = <0 0xfe434000 0 0x1000>;
431 clocks = <&cru PCLK_COREDBG_L>;
432 clock-names = "apb_pclk";
437 compatible = "arm,coresight-cpu-debug", "arm,primecell";
438 reg = <0 0xfe436000 0 0x1000>;
439 clocks = <&cru PCLK_COREDBG_L>;
440 clock-names = "apb_pclk";
445 compatible = "arm,coresight-cpu-debug", "arm,primecell";
446 reg = <0 0xfe610000 0 0x1000>;
447 clocks = <&cru PCLK_COREDBG_B>;
448 clock-names = "apb_pclk";
453 compatible = "arm,coresight-cpu-debug", "arm,primecell";
454 reg = <0 0xfe710000 0 0x1000>;
455 clocks = <&cru PCLK_COREDBG_B>;
456 clock-names = "apb_pclk";
460 usbdrd3_0: usb@fe800000 {
461 compatible = "rockchip,rk3399-dwc3";
462 #address-cells = <2>;
465 clocks = <&cru SCLK_USB3OTG0_REF>, <&cru SCLK_USB3OTG0_SUSPEND>,
466 <&cru ACLK_USB3OTG0>, <&cru ACLK_USB3_RKSOC_AXI_PERF>,
467 <&cru ACLK_USB3>, <&cru ACLK_USB3_GRF>;
468 clock-names = "ref_clk", "suspend_clk",
469 "bus_clk", "aclk_usb3_rksoc_axi_perf",
470 "aclk_usb3", "grf_clk";
471 resets = <&cru SRST_A_USB3_OTG0>;
472 reset-names = "usb3-otg";
475 usbdrd_dwc3_0: usb@fe800000 {
476 compatible = "snps,dwc3";
477 reg = <0x0 0xfe800000 0x0 0x100000>;
478 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>;
479 clocks = <&cru SCLK_USB3OTG0_REF>, <&cru ACLK_USB3OTG0>,
480 <&cru SCLK_USB3OTG0_SUSPEND>;
481 clock-names = "ref", "bus_early", "suspend";
483 phys = <&u2phy0_otg>, <&tcphy0_usb3>;
484 phy-names = "usb2-phy", "usb3-phy";
485 phy_type = "utmi_wide";
486 snps,dis_enblslpm_quirk;
487 snps,dis-u2-freeclk-exists-quirk;
488 snps,dis_u2_susphy_quirk;
489 snps,dis-del-phy-power-chg-quirk;
490 snps,dis-tx-ipgap-linecheck-quirk;
491 power-domains = <&power RK3399_PD_USB3>;
496 usbdrd3_1: usb@fe900000 {
497 compatible = "rockchip,rk3399-dwc3";
498 #address-cells = <2>;
501 clocks = <&cru SCLK_USB3OTG1_REF>, <&cru SCLK_USB3OTG1_SUSPEND>,
502 <&cru ACLK_USB3OTG1>, <&cru ACLK_USB3_RKSOC_AXI_PERF>,
503 <&cru ACLK_USB3>, <&cru ACLK_USB3_GRF>;
504 clock-names = "ref_clk", "suspend_clk",
505 "bus_clk", "aclk_usb3_rksoc_axi_perf",
506 "aclk_usb3", "grf_clk";
507 resets = <&cru SRST_A_USB3_OTG1>;
508 reset-names = "usb3-otg";
511 usbdrd_dwc3_1: usb@fe900000 {
512 compatible = "snps,dwc3";
513 reg = <0x0 0xfe900000 0x0 0x100000>;
514 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 0>;
515 clocks = <&cru SCLK_USB3OTG1_REF>, <&cru ACLK_USB3OTG1>,
516 <&cru SCLK_USB3OTG1_SUSPEND>;
517 clock-names = "ref", "bus_early", "suspend";
519 phys = <&u2phy1_otg>, <&tcphy1_usb3>;
520 phy-names = "usb2-phy", "usb3-phy";
521 phy_type = "utmi_wide";
522 snps,dis_enblslpm_quirk;
523 snps,dis-u2-freeclk-exists-quirk;
524 snps,dis_u2_susphy_quirk;
525 snps,dis-del-phy-power-chg-quirk;
526 snps,dis-tx-ipgap-linecheck-quirk;
527 power-domains = <&power RK3399_PD_USB3>;
532 cdn_dp: dp@fec00000 {
533 compatible = "rockchip,rk3399-cdn-dp";
534 reg = <0x0 0xfec00000 0x0 0x100000>;
535 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
536 assigned-clocks = <&cru SCLK_DP_CORE>, <&cru SCLK_SPDIF_REC_DPTX>;
537 assigned-clock-rates = <100000000>, <200000000>;
538 clocks = <&cru SCLK_DP_CORE>, <&cru PCLK_DP_CTRL>,
539 <&cru SCLK_SPDIF_REC_DPTX>, <&cru PCLK_VIO_GRF>;
540 clock-names = "core-clk", "pclk", "spdif", "grf";
541 phys = <&tcphy0_dp>, <&tcphy1_dp>;
542 power-domains = <&power RK3399_PD_HDCP>;
543 resets = <&cru SRST_DPTX_SPDIF_REC>, <&cru SRST_P_UPHY0_DPTX>,
544 <&cru SRST_P_UPHY0_APB>, <&cru SRST_DP_CORE>;
545 reset-names = "spdif", "dptx", "apb", "core";
546 rockchip,grf = <&grf>;
547 #sound-dai-cells = <1>;
552 #address-cells = <1>;
555 dp_in_vopb: endpoint@0 {
557 remote-endpoint = <&vopb_out_dp>;
560 dp_in_vopl: endpoint@1 {
562 remote-endpoint = <&vopl_out_dp>;
568 gic: interrupt-controller@fee00000 {
569 compatible = "arm,gic-v3";
570 #interrupt-cells = <4>;
571 #address-cells = <2>;
574 interrupt-controller;
576 reg = <0x0 0xfee00000 0 0x10000>, /* GICD */
577 <0x0 0xfef00000 0 0xc0000>, /* GICR */
578 <0x0 0xfff00000 0 0x10000>, /* GICC */
579 <0x0 0xfff10000 0 0x10000>, /* GICH */
580 <0x0 0xfff20000 0 0x10000>; /* GICV */
581 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
582 its: msi-controller@fee20000 {
583 compatible = "arm,gic-v3-its";
586 reg = <0x0 0xfee20000 0x0 0x20000>;
590 ppi_cluster0: interrupt-partition-0 {
591 affinity = <&cpu_l0 &cpu_l1 &cpu_l2 &cpu_l3>;
594 ppi_cluster1: interrupt-partition-1 {
595 affinity = <&cpu_b0 &cpu_b1>;
600 saradc: saradc@ff100000 {
601 compatible = "rockchip,rk3399-saradc";
602 reg = <0x0 0xff100000 0x0 0x100>;
603 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH 0>;
604 #io-channel-cells = <1>;
605 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
606 clock-names = "saradc", "apb_pclk";
607 resets = <&cru SRST_P_SARADC>;
608 reset-names = "saradc-apb";
612 crypto0: crypto@ff8b0000 {
613 compatible = "rockchip,rk3399-crypto";
614 reg = <0x0 0xff8b0000 0x0 0x4000>;
615 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH 0>;
616 clocks = <&cru HCLK_M_CRYPTO0>, <&cru HCLK_S_CRYPTO0>, <&cru SCLK_CRYPTO0>;
617 clock-names = "hclk_master", "hclk_slave", "sclk";
618 resets = <&cru SRST_CRYPTO0>, <&cru SRST_CRYPTO0_S>, <&cru SRST_CRYPTO0_M>;
619 reset-names = "master", "slave", "crypto-rst";
622 crypto1: crypto@ff8b8000 {
623 compatible = "rockchip,rk3399-crypto";
624 reg = <0x0 0xff8b8000 0x0 0x4000>;
625 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH 0>;
626 clocks = <&cru HCLK_M_CRYPTO1>, <&cru HCLK_S_CRYPTO1>, <&cru SCLK_CRYPTO1>;
627 clock-names = "hclk_master", "hclk_slave", "sclk";
628 resets = <&cru SRST_CRYPTO1>, <&cru SRST_CRYPTO1_S>, <&cru SRST_CRYPTO1_M>;
629 reset-names = "master", "slave", "crypto-rst";
633 compatible = "rockchip,rk3399-i2c";
634 reg = <0x0 0xff110000 0x0 0x1000>;
635 assigned-clocks = <&cru SCLK_I2C1>;
636 assigned-clock-rates = <200000000>;
637 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
638 clock-names = "i2c", "pclk";
639 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH 0>;
640 pinctrl-names = "default";
641 pinctrl-0 = <&i2c1_xfer>;
642 #address-cells = <1>;
648 compatible = "rockchip,rk3399-i2c";
649 reg = <0x0 0xff120000 0x0 0x1000>;
650 assigned-clocks = <&cru SCLK_I2C2>;
651 assigned-clock-rates = <200000000>;
652 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
653 clock-names = "i2c", "pclk";
654 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH 0>;
655 pinctrl-names = "default";
656 pinctrl-0 = <&i2c2_xfer>;
657 #address-cells = <1>;
663 compatible = "rockchip,rk3399-i2c";
664 reg = <0x0 0xff130000 0x0 0x1000>;
665 assigned-clocks = <&cru SCLK_I2C3>;
666 assigned-clock-rates = <200000000>;
667 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
668 clock-names = "i2c", "pclk";
669 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH 0>;
670 pinctrl-names = "default";
671 pinctrl-0 = <&i2c3_xfer>;
672 #address-cells = <1>;
678 compatible = "rockchip,rk3399-i2c";
679 reg = <0x0 0xff140000 0x0 0x1000>;
680 assigned-clocks = <&cru SCLK_I2C5>;
681 assigned-clock-rates = <200000000>;
682 clocks = <&cru SCLK_I2C5>, <&cru PCLK_I2C5>;
683 clock-names = "i2c", "pclk";
684 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH 0>;
685 pinctrl-names = "default";
686 pinctrl-0 = <&i2c5_xfer>;
687 #address-cells = <1>;
693 compatible = "rockchip,rk3399-i2c";
694 reg = <0x0 0xff150000 0x0 0x1000>;
695 assigned-clocks = <&cru SCLK_I2C6>;
696 assigned-clock-rates = <200000000>;
697 clocks = <&cru SCLK_I2C6>, <&cru PCLK_I2C6>;
698 clock-names = "i2c", "pclk";
699 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH 0>;
700 pinctrl-names = "default";
701 pinctrl-0 = <&i2c6_xfer>;
702 #address-cells = <1>;
708 compatible = "rockchip,rk3399-i2c";
709 reg = <0x0 0xff160000 0x0 0x1000>;
710 assigned-clocks = <&cru SCLK_I2C7>;
711 assigned-clock-rates = <200000000>;
712 clocks = <&cru SCLK_I2C7>, <&cru PCLK_I2C7>;
713 clock-names = "i2c", "pclk";
714 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH 0>;
715 pinctrl-names = "default";
716 pinctrl-0 = <&i2c7_xfer>;
717 #address-cells = <1>;
722 uart0: serial@ff180000 {
723 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
724 reg = <0x0 0xff180000 0x0 0x100>;
725 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
726 clock-names = "baudclk", "apb_pclk";
727 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH 0>;
730 pinctrl-names = "default";
731 pinctrl-0 = <&uart0_xfer>;
735 uart1: serial@ff190000 {
736 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
737 reg = <0x0 0xff190000 0x0 0x100>;
738 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
739 clock-names = "baudclk", "apb_pclk";
740 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH 0>;
743 pinctrl-names = "default";
744 pinctrl-0 = <&uart1_xfer>;
748 uart2: serial@ff1a0000 {
749 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
750 reg = <0x0 0xff1a0000 0x0 0x100>;
751 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
752 clock-names = "baudclk", "apb_pclk";
753 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH 0>;
756 pinctrl-names = "default";
757 pinctrl-0 = <&uart2c_xfer>;
761 uart3: serial@ff1b0000 {
762 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
763 reg = <0x0 0xff1b0000 0x0 0x100>;
764 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
765 clock-names = "baudclk", "apb_pclk";
766 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH 0>;
769 pinctrl-names = "default";
770 pinctrl-0 = <&uart3_xfer>;
775 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
776 reg = <0x0 0xff1c0000 0x0 0x1000>;
777 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
778 clock-names = "spiclk", "apb_pclk";
779 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH 0>;
780 dmas = <&dmac_peri 10>, <&dmac_peri 11>;
781 dma-names = "tx", "rx";
782 pinctrl-names = "default";
783 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
784 #address-cells = <1>;
790 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
791 reg = <0x0 0xff1d0000 0x0 0x1000>;
792 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
793 clock-names = "spiclk", "apb_pclk";
794 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH 0>;
795 dmas = <&dmac_peri 12>, <&dmac_peri 13>;
796 dma-names = "tx", "rx";
797 pinctrl-names = "default";
798 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
799 #address-cells = <1>;
805 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
806 reg = <0x0 0xff1e0000 0x0 0x1000>;
807 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
808 clock-names = "spiclk", "apb_pclk";
809 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH 0>;
810 dmas = <&dmac_peri 14>, <&dmac_peri 15>;
811 dma-names = "tx", "rx";
812 pinctrl-names = "default";
813 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
814 #address-cells = <1>;
820 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
821 reg = <0x0 0xff1f0000 0x0 0x1000>;
822 clocks = <&cru SCLK_SPI4>, <&cru PCLK_SPI4>;
823 clock-names = "spiclk", "apb_pclk";
824 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH 0>;
825 dmas = <&dmac_peri 18>, <&dmac_peri 19>;
826 dma-names = "tx", "rx";
827 pinctrl-names = "default";
828 pinctrl-0 = <&spi4_clk &spi4_tx &spi4_rx &spi4_cs0>;
829 #address-cells = <1>;
835 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
836 reg = <0x0 0xff200000 0x0 0x1000>;
837 clocks = <&cru SCLK_SPI5>, <&cru PCLK_SPI5>;
838 clock-names = "spiclk", "apb_pclk";
839 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH 0>;
840 dmas = <&dmac_bus 8>, <&dmac_bus 9>;
841 dma-names = "tx", "rx";
842 pinctrl-names = "default";
843 pinctrl-0 = <&spi5_clk &spi5_tx &spi5_rx &spi5_cs0>;
844 power-domains = <&power RK3399_PD_SDIOAUDIO>;
845 #address-cells = <1>;
850 thermal_zones: thermal-zones {
851 cpu_thermal: cpu-thermal {
852 polling-delay-passive = <100>;
853 polling-delay = <1000>;
855 thermal-sensors = <&tsadc 0>;
858 cpu_alert0: cpu_alert0 {
859 temperature = <70000>;
863 cpu_alert1: cpu_alert1 {
864 temperature = <75000>;
869 temperature = <95000>;
877 trip = <&cpu_alert0>;
879 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
880 <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
883 trip = <&cpu_alert1>;
885 <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
886 <&cpu_l1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
887 <&cpu_l2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
888 <&cpu_l3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
889 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
890 <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
895 gpu_thermal: gpu-thermal {
896 polling-delay-passive = <100>;
897 polling-delay = <1000>;
899 thermal-sensors = <&tsadc 1>;
902 gpu_alert0: gpu_alert0 {
903 temperature = <75000>;
908 temperature = <95000>;
916 trip = <&gpu_alert0>;
918 <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
924 tsadc: tsadc@ff260000 {
925 compatible = "rockchip,rk3399-tsadc";
926 reg = <0x0 0xff260000 0x0 0x100>;
927 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH 0>;
928 assigned-clocks = <&cru SCLK_TSADC>;
929 assigned-clock-rates = <750000>;
930 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
931 clock-names = "tsadc", "apb_pclk";
932 resets = <&cru SRST_TSADC>;
933 reset-names = "tsadc-apb";
934 rockchip,grf = <&grf>;
935 rockchip,hw-tshut-temp = <95000>;
936 pinctrl-names = "init", "default", "sleep";
937 pinctrl-0 = <&otp_pin>;
938 pinctrl-1 = <&otp_out>;
939 pinctrl-2 = <&otp_pin>;
940 #thermal-sensor-cells = <1>;
944 qos_emmc: qos@ffa58000 {
945 compatible = "rockchip,rk3399-qos", "syscon";
946 reg = <0x0 0xffa58000 0x0 0x20>;
949 qos_gmac: qos@ffa5c000 {
950 compatible = "rockchip,rk3399-qos", "syscon";
951 reg = <0x0 0xffa5c000 0x0 0x20>;
954 qos_pcie: qos@ffa60080 {
955 compatible = "rockchip,rk3399-qos", "syscon";
956 reg = <0x0 0xffa60080 0x0 0x20>;
959 qos_usb_host0: qos@ffa60100 {
960 compatible = "rockchip,rk3399-qos", "syscon";
961 reg = <0x0 0xffa60100 0x0 0x20>;
964 qos_usb_host1: qos@ffa60180 {
965 compatible = "rockchip,rk3399-qos", "syscon";
966 reg = <0x0 0xffa60180 0x0 0x20>;
969 qos_usb_otg0: qos@ffa70000 {
970 compatible = "rockchip,rk3399-qos", "syscon";
971 reg = <0x0 0xffa70000 0x0 0x20>;
974 qos_usb_otg1: qos@ffa70080 {
975 compatible = "rockchip,rk3399-qos", "syscon";
976 reg = <0x0 0xffa70080 0x0 0x20>;
979 qos_sd: qos@ffa74000 {
980 compatible = "rockchip,rk3399-qos", "syscon";
981 reg = <0x0 0xffa74000 0x0 0x20>;
984 qos_sdioaudio: qos@ffa76000 {
985 compatible = "rockchip,rk3399-qos", "syscon";
986 reg = <0x0 0xffa76000 0x0 0x20>;
989 qos_hdcp: qos@ffa90000 {
990 compatible = "rockchip,rk3399-qos", "syscon";
991 reg = <0x0 0xffa90000 0x0 0x20>;
994 qos_iep: qos@ffa98000 {
995 compatible = "rockchip,rk3399-qos", "syscon";
996 reg = <0x0 0xffa98000 0x0 0x20>;
999 qos_isp0_m0: qos@ffaa0000 {
1000 compatible = "rockchip,rk3399-qos", "syscon";
1001 reg = <0x0 0xffaa0000 0x0 0x20>;
1004 qos_isp0_m1: qos@ffaa0080 {
1005 compatible = "rockchip,rk3399-qos", "syscon";
1006 reg = <0x0 0xffaa0080 0x0 0x20>;
1009 qos_isp1_m0: qos@ffaa8000 {
1010 compatible = "rockchip,rk3399-qos", "syscon";
1011 reg = <0x0 0xffaa8000 0x0 0x20>;
1014 qos_isp1_m1: qos@ffaa8080 {
1015 compatible = "rockchip,rk3399-qos", "syscon";
1016 reg = <0x0 0xffaa8080 0x0 0x20>;
1019 qos_rga_r: qos@ffab0000 {
1020 compatible = "rockchip,rk3399-qos", "syscon";
1021 reg = <0x0 0xffab0000 0x0 0x20>;
1024 qos_rga_w: qos@ffab0080 {
1025 compatible = "rockchip,rk3399-qos", "syscon";
1026 reg = <0x0 0xffab0080 0x0 0x20>;
1029 qos_video_m0: qos@ffab8000 {
1030 compatible = "rockchip,rk3399-qos", "syscon";
1031 reg = <0x0 0xffab8000 0x0 0x20>;
1034 qos_video_m1_r: qos@ffac0000 {
1035 compatible = "rockchip,rk3399-qos", "syscon";
1036 reg = <0x0 0xffac0000 0x0 0x20>;
1039 qos_video_m1_w: qos@ffac0080 {
1040 compatible = "rockchip,rk3399-qos", "syscon";
1041 reg = <0x0 0xffac0080 0x0 0x20>;
1044 qos_vop_big_r: qos@ffac8000 {
1045 compatible = "rockchip,rk3399-qos", "syscon";
1046 reg = <0x0 0xffac8000 0x0 0x20>;
1049 qos_vop_big_w: qos@ffac8080 {
1050 compatible = "rockchip,rk3399-qos", "syscon";
1051 reg = <0x0 0xffac8080 0x0 0x20>;
1054 qos_vop_little: qos@ffad0000 {
1055 compatible = "rockchip,rk3399-qos", "syscon";
1056 reg = <0x0 0xffad0000 0x0 0x20>;
1059 qos_perihp: qos@ffad8080 {
1060 compatible = "rockchip,rk3399-qos", "syscon";
1061 reg = <0x0 0xffad8080 0x0 0x20>;
1064 qos_gpu: qos@ffae0000 {
1065 compatible = "rockchip,rk3399-qos", "syscon";
1066 reg = <0x0 0xffae0000 0x0 0x20>;
1069 pmu: power-management@ff310000 {
1070 compatible = "rockchip,rk3399-pmu", "syscon", "simple-mfd";
1071 reg = <0x0 0xff310000 0x0 0x1000>;
1074 * Note: RK3399 supports 6 voltage domains including VD_CORE_L,
1075 * VD_CORE_B, VD_CENTER, VD_GPU, VD_LOGIC and VD_PMU.
1076 * Some of the power domains are grouped together for every
1078 * The detail contents as below.
1080 power: power-controller {
1081 compatible = "rockchip,rk3399-power-controller";
1082 #power-domain-cells = <1>;
1083 #address-cells = <1>;
1086 /* These power domains are grouped by VD_CENTER */
1087 power-domain@RK3399_PD_IEP {
1088 reg = <RK3399_PD_IEP>;
1089 clocks = <&cru ACLK_IEP>,
1091 pm_qos = <&qos_iep>;
1092 #power-domain-cells = <0>;
1094 power-domain@RK3399_PD_RGA {
1095 reg = <RK3399_PD_RGA>;
1096 clocks = <&cru ACLK_RGA>,
1098 pm_qos = <&qos_rga_r>,
1100 #power-domain-cells = <0>;
1102 power-domain@RK3399_PD_VCODEC {
1103 reg = <RK3399_PD_VCODEC>;
1104 clocks = <&cru ACLK_VCODEC>,
1106 pm_qos = <&qos_video_m0>;
1107 #power-domain-cells = <0>;
1109 power-domain@RK3399_PD_VDU {
1110 reg = <RK3399_PD_VDU>;
1111 clocks = <&cru ACLK_VDU>,
1113 pm_qos = <&qos_video_m1_r>,
1115 #power-domain-cells = <0>;
1118 /* These power domains are grouped by VD_GPU */
1119 power-domain@RK3399_PD_GPU {
1120 reg = <RK3399_PD_GPU>;
1121 clocks = <&cru ACLK_GPU>;
1122 pm_qos = <&qos_gpu>;
1123 #power-domain-cells = <0>;
1126 /* These power domains are grouped by VD_LOGIC */
1127 power-domain@RK3399_PD_EDP {
1128 reg = <RK3399_PD_EDP>;
1129 clocks = <&cru PCLK_EDP_CTRL>;
1130 #power-domain-cells = <0>;
1132 power-domain@RK3399_PD_EMMC {
1133 reg = <RK3399_PD_EMMC>;
1134 clocks = <&cru ACLK_EMMC>;
1135 pm_qos = <&qos_emmc>;
1136 #power-domain-cells = <0>;
1138 power-domain@RK3399_PD_GMAC {
1139 reg = <RK3399_PD_GMAC>;
1140 clocks = <&cru ACLK_GMAC>,
1142 pm_qos = <&qos_gmac>;
1143 #power-domain-cells = <0>;
1145 power-domain@RK3399_PD_SD {
1146 reg = <RK3399_PD_SD>;
1147 clocks = <&cru HCLK_SDMMC>,
1150 #power-domain-cells = <0>;
1152 power-domain@RK3399_PD_SDIOAUDIO {
1153 reg = <RK3399_PD_SDIOAUDIO>;
1154 clocks = <&cru HCLK_SDIO>;
1155 pm_qos = <&qos_sdioaudio>;
1156 #power-domain-cells = <0>;
1158 power-domain@RK3399_PD_TCPD0 {
1159 reg = <RK3399_PD_TCPD0>;
1160 clocks = <&cru SCLK_UPHY0_TCPDCORE>,
1161 <&cru SCLK_UPHY0_TCPDPHY_REF>;
1162 #power-domain-cells = <0>;
1164 power-domain@RK3399_PD_TCPD1 {
1165 reg = <RK3399_PD_TCPD1>;
1166 clocks = <&cru SCLK_UPHY1_TCPDCORE>,
1167 <&cru SCLK_UPHY1_TCPDPHY_REF>;
1168 #power-domain-cells = <0>;
1170 power-domain@RK3399_PD_USB3 {
1171 reg = <RK3399_PD_USB3>;
1172 clocks = <&cru ACLK_USB3>;
1173 pm_qos = <&qos_usb_otg0>,
1175 #power-domain-cells = <0>;
1177 power-domain@RK3399_PD_VIO {
1178 reg = <RK3399_PD_VIO>;
1179 #power-domain-cells = <1>;
1180 #address-cells = <1>;
1183 power-domain@RK3399_PD_HDCP {
1184 reg = <RK3399_PD_HDCP>;
1185 clocks = <&cru ACLK_HDCP>,
1188 pm_qos = <&qos_hdcp>;
1189 #power-domain-cells = <0>;
1191 power-domain@RK3399_PD_ISP0 {
1192 reg = <RK3399_PD_ISP0>;
1193 clocks = <&cru ACLK_ISP0>,
1195 pm_qos = <&qos_isp0_m0>,
1197 #power-domain-cells = <0>;
1199 power-domain@RK3399_PD_ISP1 {
1200 reg = <RK3399_PD_ISP1>;
1201 clocks = <&cru ACLK_ISP1>,
1203 pm_qos = <&qos_isp1_m0>,
1205 #power-domain-cells = <0>;
1207 power-domain@RK3399_PD_VO {
1208 reg = <RK3399_PD_VO>;
1209 #power-domain-cells = <1>;
1210 #address-cells = <1>;
1213 power-domain@RK3399_PD_VOPB {
1214 reg = <RK3399_PD_VOPB>;
1215 clocks = <&cru ACLK_VOP0>,
1217 pm_qos = <&qos_vop_big_r>,
1219 #power-domain-cells = <0>;
1221 power-domain@RK3399_PD_VOPL {
1222 reg = <RK3399_PD_VOPL>;
1223 clocks = <&cru ACLK_VOP1>,
1225 pm_qos = <&qos_vop_little>;
1226 #power-domain-cells = <0>;
1233 pmugrf: syscon@ff320000 {
1234 compatible = "rockchip,rk3399-pmugrf", "syscon", "simple-mfd";
1235 reg = <0x0 0xff320000 0x0 0x1000>;
1237 pmu_io_domains: io-domains {
1238 compatible = "rockchip,rk3399-pmu-io-voltage-domain";
1239 status = "disabled";
1243 spi3: spi@ff350000 {
1244 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
1245 reg = <0x0 0xff350000 0x0 0x1000>;
1246 clocks = <&pmucru SCLK_SPI3_PMU>, <&pmucru PCLK_SPI3_PMU>;
1247 clock-names = "spiclk", "apb_pclk";
1248 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH 0>;
1249 pinctrl-names = "default";
1250 pinctrl-0 = <&spi3_clk &spi3_tx &spi3_rx &spi3_cs0>;
1251 #address-cells = <1>;
1253 status = "disabled";
1256 uart4: serial@ff370000 {
1257 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
1258 reg = <0x0 0xff370000 0x0 0x100>;
1259 clocks = <&pmucru SCLK_UART4_PMU>, <&pmucru PCLK_UART4_PMU>;
1260 clock-names = "baudclk", "apb_pclk";
1261 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH 0>;
1264 pinctrl-names = "default";
1265 pinctrl-0 = <&uart4_xfer>;
1266 status = "disabled";
1269 i2c0: i2c@ff3c0000 {
1270 compatible = "rockchip,rk3399-i2c";
1271 reg = <0x0 0xff3c0000 0x0 0x1000>;
1272 assigned-clocks = <&pmucru SCLK_I2C0_PMU>;
1273 assigned-clock-rates = <200000000>;
1274 clocks = <&pmucru SCLK_I2C0_PMU>, <&pmucru PCLK_I2C0_PMU>;
1275 clock-names = "i2c", "pclk";
1276 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH 0>;
1277 pinctrl-names = "default";
1278 pinctrl-0 = <&i2c0_xfer>;
1279 #address-cells = <1>;
1281 status = "disabled";
1284 i2c4: i2c@ff3d0000 {
1285 compatible = "rockchip,rk3399-i2c";
1286 reg = <0x0 0xff3d0000 0x0 0x1000>;
1287 assigned-clocks = <&pmucru SCLK_I2C4_PMU>;
1288 assigned-clock-rates = <200000000>;
1289 clocks = <&pmucru SCLK_I2C4_PMU>, <&pmucru PCLK_I2C4_PMU>;
1290 clock-names = "i2c", "pclk";
1291 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH 0>;
1292 pinctrl-names = "default";
1293 pinctrl-0 = <&i2c4_xfer>;
1294 #address-cells = <1>;
1296 status = "disabled";
1299 i2c8: i2c@ff3e0000 {
1300 compatible = "rockchip,rk3399-i2c";
1301 reg = <0x0 0xff3e0000 0x0 0x1000>;
1302 assigned-clocks = <&pmucru SCLK_I2C8_PMU>;
1303 assigned-clock-rates = <200000000>;
1304 clocks = <&pmucru SCLK_I2C8_PMU>, <&pmucru PCLK_I2C8_PMU>;
1305 clock-names = "i2c", "pclk";
1306 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH 0>;
1307 pinctrl-names = "default";
1308 pinctrl-0 = <&i2c8_xfer>;
1309 #address-cells = <1>;
1311 status = "disabled";
1314 pwm0: pwm@ff420000 {
1315 compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
1316 reg = <0x0 0xff420000 0x0 0x10>;
1318 pinctrl-names = "default";
1319 pinctrl-0 = <&pwm0_pin>;
1320 clocks = <&pmucru PCLK_RKPWM_PMU>;
1321 status = "disabled";
1324 pwm1: pwm@ff420010 {
1325 compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
1326 reg = <0x0 0xff420010 0x0 0x10>;
1328 pinctrl-names = "default";
1329 pinctrl-0 = <&pwm1_pin>;
1330 clocks = <&pmucru PCLK_RKPWM_PMU>;
1331 status = "disabled";
1334 pwm2: pwm@ff420020 {
1335 compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
1336 reg = <0x0 0xff420020 0x0 0x10>;
1338 pinctrl-names = "default";
1339 pinctrl-0 = <&pwm2_pin>;
1340 clocks = <&pmucru PCLK_RKPWM_PMU>;
1341 status = "disabled";
1344 pwm3: pwm@ff420030 {
1345 compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
1346 reg = <0x0 0xff420030 0x0 0x10>;
1348 pinctrl-names = "default";
1349 pinctrl-0 = <&pwm3a_pin>;
1350 clocks = <&pmucru PCLK_RKPWM_PMU>;
1351 status = "disabled";
1355 reg = <0x00 0xff630000 0x00 0x4000>;
1356 compatible = "rockchip,rk3399-dfi";
1357 rockchip,pmu = <&pmugrf>;
1358 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH 0>;
1359 clocks = <&cru PCLK_DDR_MON>;
1360 clock-names = "pclk_ddr_mon";
1361 status = "disabled";
1364 vpu: video-codec@ff650000 {
1365 compatible = "rockchip,rk3399-vpu";
1366 reg = <0x0 0xff650000 0x0 0x800>;
1367 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH 0>,
1368 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH 0>;
1369 interrupt-names = "vepu", "vdpu";
1370 clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
1371 clock-names = "aclk", "hclk";
1372 iommus = <&vpu_mmu>;
1373 power-domains = <&power RK3399_PD_VCODEC>;
1376 vpu_mmu: iommu@ff650800 {
1377 compatible = "rockchip,iommu";
1378 reg = <0x0 0xff650800 0x0 0x40>;
1379 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH 0>;
1380 clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
1381 clock-names = "aclk", "iface";
1383 power-domains = <&power RK3399_PD_VCODEC>;
1386 vdec: video-codec@ff660000 {
1387 compatible = "rockchip,rk3399-vdec";
1388 reg = <0x0 0xff660000 0x0 0x400>;
1389 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
1390 clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>,
1391 <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>;
1392 clock-names = "axi", "ahb", "cabac", "core";
1393 iommus = <&vdec_mmu>;
1394 power-domains = <&power RK3399_PD_VDU>;
1397 vdec_mmu: iommu@ff660480 {
1398 compatible = "rockchip,iommu";
1399 reg = <0x0 0xff660480 0x0 0x40>, <0x0 0xff6604c0 0x0 0x40>;
1400 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH 0>;
1401 clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>;
1402 clock-names = "aclk", "iface";
1403 power-domains = <&power RK3399_PD_VDU>;
1407 iep_mmu: iommu@ff670800 {
1408 compatible = "rockchip,iommu";
1409 reg = <0x0 0xff670800 0x0 0x40>;
1410 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH 0>;
1411 clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>;
1412 clock-names = "aclk", "iface";
1414 status = "disabled";
1418 compatible = "rockchip,rk3399-rga";
1419 reg = <0x0 0xff680000 0x0 0x10000>;
1420 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH 0>;
1421 clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>;
1422 clock-names = "aclk", "hclk", "sclk";
1423 resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>;
1424 reset-names = "core", "axi", "ahb";
1425 power-domains = <&power RK3399_PD_RGA>;
1428 efuse0: efuse@ff690000 {
1429 compatible = "rockchip,rk3399-efuse";
1430 reg = <0x0 0xff690000 0x0 0x80>;
1431 #address-cells = <1>;
1433 clocks = <&cru PCLK_EFUSE1024NS>;
1434 clock-names = "pclk_efuse";
1440 cpub_leakage: cpu-leakage@17 {
1443 gpu_leakage: gpu-leakage@18 {
1446 center_leakage: center-leakage@19 {
1449 cpul_leakage: cpu-leakage@1a {
1452 logic_leakage: logic-leakage@1b {
1455 wafer_info: wafer-info@1c {
1460 dmac_bus: dma-controller@ff6d0000 {
1461 compatible = "arm,pl330", "arm,primecell";
1462 reg = <0x0 0xff6d0000 0x0 0x4000>;
1463 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH 0>,
1464 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH 0>;
1466 arm,pl330-periph-burst;
1467 clocks = <&cru ACLK_DMAC0_PERILP>;
1468 clock-names = "apb_pclk";
1471 dmac_peri: dma-controller@ff6e0000 {
1472 compatible = "arm,pl330", "arm,primecell";
1473 reg = <0x0 0xff6e0000 0x0 0x4000>;
1474 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH 0>,
1475 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH 0>;
1477 arm,pl330-periph-burst;
1478 clocks = <&cru ACLK_DMAC1_PERILP>;
1479 clock-names = "apb_pclk";
1482 pmucru: clock-controller@ff750000 {
1483 compatible = "rockchip,rk3399-pmucru";
1484 reg = <0x0 0xff750000 0x0 0x1000>;
1486 clock-names = "xin24m";
1487 rockchip,grf = <&pmugrf>;
1490 assigned-clocks = <&pmucru PLL_PPLL>;
1491 assigned-clock-rates = <676000000>;
1494 cru: clock-controller@ff760000 {
1495 compatible = "rockchip,rk3399-cru";
1496 reg = <0x0 0xff760000 0x0 0x1000>;
1498 clock-names = "xin24m";
1499 rockchip,grf = <&grf>;
1503 <&cru PLL_GPLL>, <&cru PLL_CPLL>,
1505 <&cru ACLK_PERIHP>, <&cru HCLK_PERIHP>,
1507 <&cru ACLK_PERILP0>, <&cru HCLK_PERILP0>,
1508 <&cru PCLK_PERILP0>, <&cru ACLK_CCI>,
1509 <&cru HCLK_PERILP1>, <&cru PCLK_PERILP1>,
1510 <&cru ACLK_VIO>, <&cru ACLK_HDCP>,
1511 <&cru ACLK_GIC_PRE>,
1514 assigned-clock-rates =
1515 <594000000>, <800000000>,
1517 <150000000>, <75000000>,
1519 <100000000>, <100000000>,
1520 <50000000>, <600000000>,
1521 <100000000>, <50000000>,
1522 <400000000>, <400000000>,
1528 grf: syscon@ff770000 {
1529 compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
1530 reg = <0x0 0xff770000 0x0 0x10000>;
1531 #address-cells = <1>;
1534 io_domains: io-domains {
1535 compatible = "rockchip,rk3399-io-voltage-domain";
1536 status = "disabled";
1539 mipi_dphy_rx0: mipi-dphy-rx0 {
1540 compatible = "rockchip,rk3399-mipi-dphy-rx0";
1541 clocks = <&cru SCLK_MIPIDPHY_REF>,
1542 <&cru SCLK_DPHY_RX0_CFG>,
1543 <&cru PCLK_VIO_GRF>;
1544 clock-names = "dphy-ref", "dphy-cfg", "grf";
1545 power-domains = <&power RK3399_PD_VIO>;
1547 status = "disabled";
1550 u2phy0: usb2phy@e450 {
1551 compatible = "rockchip,rk3399-usb2phy";
1552 reg = <0xe450 0x10>;
1553 clocks = <&cru SCLK_USB2PHY0_REF>;
1554 clock-names = "phyclk";
1556 clock-output-names = "clk_usbphy0_480m";
1557 status = "disabled";
1559 u2phy0_host: host-port {
1561 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>;
1562 interrupt-names = "linestate";
1563 status = "disabled";
1566 u2phy0_otg: otg-port {
1568 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
1569 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
1570 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
1571 interrupt-names = "otg-bvalid", "otg-id",
1573 status = "disabled";
1577 u2phy1: usb2phy@e460 {
1578 compatible = "rockchip,rk3399-usb2phy";
1579 reg = <0xe460 0x10>;
1580 clocks = <&cru SCLK_USB2PHY1_REF>;
1581 clock-names = "phyclk";
1583 clock-output-names = "clk_usbphy1_480m";
1584 status = "disabled";
1586 u2phy1_host: host-port {
1588 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH 0>;
1589 interrupt-names = "linestate";
1590 status = "disabled";
1593 u2phy1_otg: otg-port {
1595 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>,
1596 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>,
1597 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>;
1598 interrupt-names = "otg-bvalid", "otg-id",
1600 status = "disabled";
1604 emmc_phy: phy@f780 {
1605 compatible = "rockchip,rk3399-emmc-phy";
1606 reg = <0xf780 0x24>;
1608 clock-names = "emmcclk";
1609 drive-impedance-ohm = <50>;
1611 status = "disabled";
1614 pcie_phy: pcie-phy {
1615 compatible = "rockchip,rk3399-pcie-phy";
1616 clocks = <&cru SCLK_PCIEPHY_REF>;
1617 clock-names = "refclk";
1619 resets = <&cru SRST_PCIEPHY>;
1620 reset-names = "phy";
1621 status = "disabled";
1625 tcphy0: phy@ff7c0000 {
1626 compatible = "rockchip,rk3399-typec-phy";
1627 reg = <0x0 0xff7c0000 0x0 0x40000>;
1628 clocks = <&cru SCLK_UPHY0_TCPDCORE>,
1629 <&cru SCLK_UPHY0_TCPDPHY_REF>;
1630 clock-names = "tcpdcore", "tcpdphy-ref";
1631 assigned-clocks = <&cru SCLK_UPHY0_TCPDCORE>;
1632 assigned-clock-rates = <50000000>;
1633 power-domains = <&power RK3399_PD_TCPD0>;
1634 resets = <&cru SRST_UPHY0>,
1635 <&cru SRST_UPHY0_PIPE_L00>,
1636 <&cru SRST_P_UPHY0_TCPHY>;
1637 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
1638 rockchip,grf = <&grf>;
1639 status = "disabled";
1641 tcphy0_dp: dp-port {
1645 tcphy0_usb3: usb3-port {
1650 tcphy1: phy@ff800000 {
1651 compatible = "rockchip,rk3399-typec-phy";
1652 reg = <0x0 0xff800000 0x0 0x40000>;
1653 clocks = <&cru SCLK_UPHY1_TCPDCORE>,
1654 <&cru SCLK_UPHY1_TCPDPHY_REF>;
1655 clock-names = "tcpdcore", "tcpdphy-ref";
1656 assigned-clocks = <&cru SCLK_UPHY1_TCPDCORE>;
1657 assigned-clock-rates = <50000000>;
1658 power-domains = <&power RK3399_PD_TCPD1>;
1659 resets = <&cru SRST_UPHY1>,
1660 <&cru SRST_UPHY1_PIPE_L00>,
1661 <&cru SRST_P_UPHY1_TCPHY>;
1662 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
1663 rockchip,grf = <&grf>;
1664 status = "disabled";
1666 tcphy1_dp: dp-port {
1670 tcphy1_usb3: usb3-port {
1676 compatible = "rockchip,rk3399-wdt", "snps,dw-wdt";
1677 reg = <0x0 0xff848000 0x0 0x100>;
1678 clocks = <&cru PCLK_WDT>;
1679 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH 0>;
1682 rktimer: rktimer@ff850000 {
1683 compatible = "rockchip,rk3399-timer";
1684 reg = <0x0 0xff850000 0x0 0x1000>;
1685 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH 0>;
1686 clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>;
1687 clock-names = "pclk", "timer";
1690 spdif: spdif@ff870000 {
1691 compatible = "rockchip,rk3399-spdif";
1692 reg = <0x0 0xff870000 0x0 0x1000>;
1693 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH 0>;
1694 dmas = <&dmac_bus 7>;
1696 clock-names = "mclk", "hclk";
1697 clocks = <&cru SCLK_SPDIF_8CH>, <&cru HCLK_SPDIF>;
1698 pinctrl-names = "default";
1699 pinctrl-0 = <&spdif_bus>;
1700 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1701 #sound-dai-cells = <0>;
1702 status = "disabled";
1705 i2s0: i2s@ff880000 {
1706 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
1707 reg = <0x0 0xff880000 0x0 0x1000>;
1708 rockchip,grf = <&grf>;
1709 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH 0>;
1710 dmas = <&dmac_bus 0>, <&dmac_bus 1>;
1711 dma-names = "tx", "rx";
1712 clock-names = "i2s_clk", "i2s_hclk";
1713 clocks = <&cru SCLK_I2S0_8CH>, <&cru HCLK_I2S0_8CH>;
1714 pinctrl-names = "bclk_on", "bclk_off";
1715 pinctrl-0 = <&i2s0_8ch_bus>;
1716 pinctrl-1 = <&i2s0_8ch_bus_bclk_off>;
1717 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1718 #sound-dai-cells = <0>;
1719 status = "disabled";
1722 i2s1: i2s@ff890000 {
1723 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
1724 reg = <0x0 0xff890000 0x0 0x1000>;
1725 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH 0>;
1726 dmas = <&dmac_bus 2>, <&dmac_bus 3>;
1727 dma-names = "tx", "rx";
1728 clock-names = "i2s_clk", "i2s_hclk";
1729 clocks = <&cru SCLK_I2S1_8CH>, <&cru HCLK_I2S1_8CH>;
1730 pinctrl-names = "default";
1731 pinctrl-0 = <&i2s1_2ch_bus>;
1732 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1733 #sound-dai-cells = <0>;
1734 status = "disabled";
1737 i2s2: i2s@ff8a0000 {
1738 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
1739 reg = <0x0 0xff8a0000 0x0 0x1000>;
1740 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH 0>;
1741 dmas = <&dmac_bus 4>, <&dmac_bus 5>;
1742 dma-names = "tx", "rx";
1743 clock-names = "i2s_clk", "i2s_hclk";
1744 clocks = <&cru SCLK_I2S2_8CH>, <&cru HCLK_I2S2_8CH>;
1745 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1746 #sound-dai-cells = <0>;
1747 status = "disabled";
1750 vopl: vop@ff8f0000 {
1751 compatible = "rockchip,rk3399-vop-lit";
1752 reg = <0x0 0xff8f0000 0x0 0x2000>, <0x0 0xff8f2000 0x0 0x400>;
1753 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>;
1754 assigned-clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>;
1755 assigned-clock-rates = <400000000>, <100000000>;
1756 clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>;
1757 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1758 iommus = <&vopl_mmu>;
1759 power-domains = <&power RK3399_PD_VOPL>;
1760 resets = <&cru SRST_A_VOP1>, <&cru SRST_H_VOP1>, <&cru SRST_D_VOP1>;
1761 reset-names = "axi", "ahb", "dclk";
1762 status = "disabled";
1765 #address-cells = <1>;
1768 vopl_out_mipi: endpoint@0 {
1770 remote-endpoint = <&mipi_in_vopl>;
1773 vopl_out_edp: endpoint@1 {
1775 remote-endpoint = <&edp_in_vopl>;
1778 vopl_out_hdmi: endpoint@2 {
1780 remote-endpoint = <&hdmi_in_vopl>;
1783 vopl_out_mipi1: endpoint@3 {
1785 remote-endpoint = <&mipi1_in_vopl>;
1788 vopl_out_dp: endpoint@4 {
1790 remote-endpoint = <&dp_in_vopl>;
1795 vopl_mmu: iommu@ff8f3f00 {
1796 compatible = "rockchip,iommu";
1797 reg = <0x0 0xff8f3f00 0x0 0x100>;
1798 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>;
1799 clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>;
1800 clock-names = "aclk", "iface";
1801 power-domains = <&power RK3399_PD_VOPL>;
1803 status = "disabled";
1806 vopb: vop@ff900000 {
1807 compatible = "rockchip,rk3399-vop-big";
1808 reg = <0x0 0xff900000 0x0 0x2000>, <0x0 0xff902000 0x0 0x1000>;
1809 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>;
1810 assigned-clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>;
1811 assigned-clock-rates = <400000000>, <100000000>;
1812 clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>;
1813 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1814 iommus = <&vopb_mmu>;
1815 power-domains = <&power RK3399_PD_VOPB>;
1816 resets = <&cru SRST_A_VOP0>, <&cru SRST_H_VOP0>, <&cru SRST_D_VOP0>;
1817 reset-names = "axi", "ahb", "dclk";
1818 status = "disabled";
1821 #address-cells = <1>;
1824 vopb_out_edp: endpoint@0 {
1826 remote-endpoint = <&edp_in_vopb>;
1829 vopb_out_mipi: endpoint@1 {
1831 remote-endpoint = <&mipi_in_vopb>;
1834 vopb_out_hdmi: endpoint@2 {
1836 remote-endpoint = <&hdmi_in_vopb>;
1839 vopb_out_mipi1: endpoint@3 {
1841 remote-endpoint = <&mipi1_in_vopb>;
1844 vopb_out_dp: endpoint@4 {
1846 remote-endpoint = <&dp_in_vopb>;
1851 vopb_mmu: iommu@ff903f00 {
1852 compatible = "rockchip,iommu";
1853 reg = <0x0 0xff903f00 0x0 0x100>;
1854 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>;
1855 clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>;
1856 clock-names = "aclk", "iface";
1857 power-domains = <&power RK3399_PD_VOPB>;
1859 status = "disabled";
1862 isp0: isp0@ff910000 {
1863 compatible = "rockchip,rk3399-cif-isp";
1864 reg = <0x0 0xff910000 0x0 0x4000>;
1865 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH 0>;
1866 clocks = <&cru SCLK_ISP0>,
1867 <&cru ACLK_ISP0_WRAPPER>,
1868 <&cru HCLK_ISP0_WRAPPER>;
1869 clock-names = "isp", "aclk", "hclk";
1870 iommus = <&isp0_mmu>;
1871 phys = <&mipi_dphy_rx0>;
1873 power-domains = <&power RK3399_PD_ISP0>;
1874 status = "disabled";
1877 #address-cells = <1>;
1882 #address-cells = <1>;
1888 isp0_mmu: iommu@ff914000 {
1889 compatible = "rockchip,iommu";
1890 reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>;
1891 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH 0>;
1892 clocks = <&cru ACLK_ISP0_WRAPPER>, <&cru HCLK_ISP0_WRAPPER>;
1893 clock-names = "aclk", "iface";
1895 power-domains = <&power RK3399_PD_ISP0>;
1896 rockchip,disable-mmu-reset;
1899 isp1: isp1@ff920000 {
1900 compatible = "rockchip,rk3399-cif-isp";
1901 reg = <0x0 0xff920000 0x0 0x4000>;
1902 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH 0>;
1903 clocks = <&cru SCLK_ISP1>,
1904 <&cru ACLK_ISP1_WRAPPER>,
1905 <&cru HCLK_ISP1_WRAPPER>;
1906 clock-names = "isp", "aclk", "hclk";
1907 iommus = <&isp1_mmu>;
1908 phys = <&mipi_dsi1>;
1910 power-domains = <&power RK3399_PD_ISP1>;
1911 status = "disabled";
1914 #address-cells = <1>;
1919 #address-cells = <1>;
1925 isp1_mmu: iommu@ff924000 {
1926 compatible = "rockchip,iommu";
1927 reg = <0x0 0xff924000 0x0 0x100>, <0x0 0xff925000 0x0 0x100>;
1928 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH 0>;
1929 clocks = <&cru ACLK_ISP1_WRAPPER>, <&cru HCLK_ISP1_WRAPPER>;
1930 clock-names = "aclk", "iface";
1932 power-domains = <&power RK3399_PD_ISP1>;
1933 rockchip,disable-mmu-reset;
1936 hdmi_sound: hdmi-sound {
1937 compatible = "simple-audio-card";
1938 simple-audio-card,format = "i2s";
1939 simple-audio-card,mclk-fs = <256>;
1940 simple-audio-card,name = "hdmi-sound";
1941 status = "disabled";
1943 simple-audio-card,cpu {
1944 sound-dai = <&i2s2>;
1946 simple-audio-card,codec {
1947 sound-dai = <&hdmi>;
1951 hdmi: hdmi@ff940000 {
1952 compatible = "rockchip,rk3399-dw-hdmi";
1953 reg = <0x0 0xff940000 0x0 0x20000>;
1954 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH 0>;
1955 clocks = <&cru PCLK_HDMI_CTRL>,
1956 <&cru SCLK_HDMI_SFR>,
1957 <&cru SCLK_HDMI_CEC>,
1958 <&cru PCLK_VIO_GRF>,
1960 clock-names = "iahb", "isfr", "cec", "grf", "ref";
1961 power-domains = <&power RK3399_PD_HDCP>;
1963 rockchip,grf = <&grf>;
1964 #sound-dai-cells = <0>;
1965 status = "disabled";
1969 #address-cells = <1>;
1972 hdmi_in_vopb: endpoint@0 {
1974 remote-endpoint = <&vopb_out_hdmi>;
1976 hdmi_in_vopl: endpoint@1 {
1978 remote-endpoint = <&vopl_out_hdmi>;
1984 mipi_dsi: dsi@ff960000 {
1985 compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi";
1986 reg = <0x0 0xff960000 0x0 0x8000>;
1987 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH 0>;
1988 clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI0>,
1989 <&cru SCLK_DPHY_TX0_CFG>, <&cru PCLK_VIO_GRF>;
1990 clock-names = "ref", "pclk", "phy_cfg", "grf";
1991 power-domains = <&power RK3399_PD_VIO>;
1992 resets = <&cru SRST_P_MIPI_DSI0>;
1993 reset-names = "apb";
1994 rockchip,grf = <&grf>;
1995 #address-cells = <1>;
1997 status = "disabled";
2000 #address-cells = <1>;
2005 #address-cells = <1>;
2008 mipi_in_vopb: endpoint@0 {
2010 remote-endpoint = <&vopb_out_mipi>;
2013 mipi_in_vopl: endpoint@1 {
2015 remote-endpoint = <&vopl_out_mipi>;
2025 mipi_dsi1: dsi@ff968000 {
2026 compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi";
2027 reg = <0x0 0xff968000 0x0 0x8000>;
2028 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH 0>;
2029 clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI1>,
2030 <&cru SCLK_DPHY_TX1RX1_CFG>, <&cru PCLK_VIO_GRF>;
2031 clock-names = "ref", "pclk", "phy_cfg", "grf";
2032 power-domains = <&power RK3399_PD_VIO>;
2033 resets = <&cru SRST_P_MIPI_DSI1>;
2034 reset-names = "apb";
2035 rockchip,grf = <&grf>;
2036 #address-cells = <1>;
2039 status = "disabled";
2042 #address-cells = <1>;
2047 #address-cells = <1>;
2050 mipi1_in_vopb: endpoint@0 {
2052 remote-endpoint = <&vopb_out_mipi1>;
2055 mipi1_in_vopl: endpoint@1 {
2057 remote-endpoint = <&vopl_out_mipi1>;
2068 compatible = "rockchip,rk3399-edp";
2069 reg = <0x0 0xff970000 0x0 0x8000>;
2070 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH 0>;
2071 clocks = <&cru PCLK_EDP>, <&cru PCLK_EDP_CTRL>, <&cru PCLK_VIO_GRF>;
2072 clock-names = "dp", "pclk", "grf";
2073 pinctrl-names = "default";
2074 pinctrl-0 = <&edp_hpd>;
2075 power-domains = <&power RK3399_PD_EDP>;
2076 resets = <&cru SRST_P_EDP_CTRL>;
2078 rockchip,grf = <&grf>;
2079 status = "disabled";
2082 #address-cells = <1>;
2087 #address-cells = <1>;
2090 edp_in_vopb: endpoint@0 {
2092 remote-endpoint = <&vopb_out_edp>;
2095 edp_in_vopl: endpoint@1 {
2097 remote-endpoint = <&vopl_out_edp>;
2108 compatible = "rockchip,rk3399-mali", "arm,mali-t860";
2109 reg = <0x0 0xff9a0000 0x0 0x10000>;
2110 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH 0>,
2111 <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH 0>,
2112 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH 0>;
2113 interrupt-names = "job", "mmu", "gpu";
2114 clocks = <&cru ACLK_GPU>;
2115 #cooling-cells = <2>;
2116 power-domains = <&power RK3399_PD_GPU>;
2117 status = "disabled";
2121 compatible = "rockchip,rk3399-pinctrl";
2122 rockchip,grf = <&grf>;
2123 rockchip,pmu = <&pmugrf>;
2124 #address-cells = <2>;
2128 gpio0: gpio@ff720000 {
2129 compatible = "rockchip,gpio-bank";
2130 reg = <0x0 0xff720000 0x0 0x100>;
2131 clocks = <&pmucru PCLK_GPIO0_PMU>;
2132 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH 0>;
2135 #gpio-cells = <0x2>;
2137 interrupt-controller;
2138 #interrupt-cells = <0x2>;
2141 gpio1: gpio@ff730000 {
2142 compatible = "rockchip,gpio-bank";
2143 reg = <0x0 0xff730000 0x0 0x100>;
2144 clocks = <&pmucru PCLK_GPIO1_PMU>;
2145 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH 0>;
2148 #gpio-cells = <0x2>;
2150 interrupt-controller;
2151 #interrupt-cells = <0x2>;
2154 gpio2: gpio@ff780000 {
2155 compatible = "rockchip,gpio-bank";
2156 reg = <0x0 0xff780000 0x0 0x100>;
2157 clocks = <&cru PCLK_GPIO2>;
2158 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH 0>;
2161 #gpio-cells = <0x2>;
2163 interrupt-controller;
2164 #interrupt-cells = <0x2>;
2167 gpio3: gpio@ff788000 {
2168 compatible = "rockchip,gpio-bank";
2169 reg = <0x0 0xff788000 0x0 0x100>;
2170 clocks = <&cru PCLK_GPIO3>;
2171 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH 0>;
2174 #gpio-cells = <0x2>;
2176 interrupt-controller;
2177 #interrupt-cells = <0x2>;
2180 gpio4: gpio@ff790000 {
2181 compatible = "rockchip,gpio-bank";
2182 reg = <0x0 0xff790000 0x0 0x100>;
2183 clocks = <&cru PCLK_GPIO4>;
2184 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH 0>;
2187 #gpio-cells = <0x2>;
2189 interrupt-controller;
2190 #interrupt-cells = <0x2>;
2193 pcfg_pull_up: pcfg-pull-up {
2197 pcfg_pull_down: pcfg-pull-down {
2201 pcfg_pull_none: pcfg-pull-none {
2205 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
2207 drive-strength = <12>;
2210 pcfg_pull_none_13ma: pcfg-pull-none-13ma {
2212 drive-strength = <13>;
2215 pcfg_pull_none_18ma: pcfg-pull-none-18ma {
2217 drive-strength = <18>;
2220 pcfg_pull_none_20ma: pcfg-pull-none-20ma {
2222 drive-strength = <20>;
2225 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
2227 drive-strength = <2>;
2230 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
2232 drive-strength = <8>;
2235 pcfg_pull_up_18ma: pcfg-pull-up-18ma {
2237 drive-strength = <18>;
2240 pcfg_pull_up_20ma: pcfg-pull-up-20ma {
2242 drive-strength = <20>;
2245 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
2247 drive-strength = <4>;
2250 pcfg_pull_down_8ma: pcfg-pull-down-8ma {
2252 drive-strength = <8>;
2255 pcfg_pull_down_12ma: pcfg-pull-down-12ma {
2257 drive-strength = <12>;
2260 pcfg_pull_down_18ma: pcfg-pull-down-18ma {
2262 drive-strength = <18>;
2265 pcfg_pull_down_20ma: pcfg-pull-down-20ma {
2267 drive-strength = <20>;
2270 pcfg_output_high: pcfg-output-high {
2274 pcfg_output_low: pcfg-output-low {
2278 pcfg_input_enable: pcfg-input-enable {
2282 pcfg_input_pull_up: pcfg-input-pull-up {
2287 pcfg_input_pull_down: pcfg-input-pull-down {
2294 rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
2299 cif_clkin: cif-clkin {
2301 <2 RK_PB2 3 &pcfg_pull_none>;
2304 cif_clkouta: cif-clkouta {
2306 <2 RK_PB3 3 &pcfg_pull_none>;
2313 <4 RK_PC7 2 &pcfg_pull_none>;
2318 rgmii_pins: rgmii-pins {
2321 <3 RK_PC1 1 &pcfg_pull_none_13ma>,
2323 <3 RK_PB6 1 &pcfg_pull_none>,
2325 <3 RK_PB5 1 &pcfg_pull_none>,
2327 <3 RK_PB4 1 &pcfg_pull_none_13ma>,
2329 <3 RK_PB3 1 &pcfg_pull_none>,
2331 <3 RK_PB1 1 &pcfg_pull_none>,
2333 <3 RK_PB0 1 &pcfg_pull_none>,
2335 <3 RK_PA7 1 &pcfg_pull_none>,
2337 <3 RK_PA6 1 &pcfg_pull_none>,
2339 <3 RK_PA5 1 &pcfg_pull_none_13ma>,
2341 <3 RK_PA4 1 &pcfg_pull_none_13ma>,
2343 <3 RK_PA3 1 &pcfg_pull_none>,
2345 <3 RK_PA2 1 &pcfg_pull_none>,
2347 <3 RK_PA1 1 &pcfg_pull_none_13ma>,
2349 <3 RK_PA0 1 &pcfg_pull_none_13ma>;
2352 rmii_pins: rmii-pins {
2355 <3 RK_PB5 1 &pcfg_pull_none>,
2357 <3 RK_PB4 1 &pcfg_pull_none_13ma>,
2359 <3 RK_PB3 1 &pcfg_pull_none>,
2361 <3 RK_PB2 1 &pcfg_pull_none>,
2363 <3 RK_PB1 1 &pcfg_pull_none>,
2365 <3 RK_PB0 1 &pcfg_pull_none>,
2367 <3 RK_PA7 1 &pcfg_pull_none>,
2369 <3 RK_PA6 1 &pcfg_pull_none>,
2371 <3 RK_PA5 1 &pcfg_pull_none_13ma>,
2373 <3 RK_PA4 1 &pcfg_pull_none_13ma>;
2378 i2c0_xfer: i2c0-xfer {
2380 <1 RK_PB7 2 &pcfg_pull_none>,
2381 <1 RK_PC0 2 &pcfg_pull_none>;
2386 i2c1_xfer: i2c1-xfer {
2388 <4 RK_PA2 1 &pcfg_pull_none>,
2389 <4 RK_PA1 1 &pcfg_pull_none>;
2394 i2c2_xfer: i2c2-xfer {
2396 <2 RK_PA1 2 &pcfg_pull_none_12ma>,
2397 <2 RK_PA0 2 &pcfg_pull_none_12ma>;
2402 i2c3_xfer: i2c3-xfer {
2404 <4 RK_PC1 1 &pcfg_pull_none>,
2405 <4 RK_PC0 1 &pcfg_pull_none>;
2410 i2c4_xfer: i2c4-xfer {
2412 <1 RK_PB4 1 &pcfg_pull_none>,
2413 <1 RK_PB3 1 &pcfg_pull_none>;
2418 i2c5_xfer: i2c5-xfer {
2420 <3 RK_PB3 2 &pcfg_pull_none>,
2421 <3 RK_PB2 2 &pcfg_pull_none>;
2426 i2c6_xfer: i2c6-xfer {
2428 <2 RK_PB2 2 &pcfg_pull_none>,
2429 <2 RK_PB1 2 &pcfg_pull_none>;
2434 i2c7_xfer: i2c7-xfer {
2436 <2 RK_PB0 2 &pcfg_pull_none>,
2437 <2 RK_PA7 2 &pcfg_pull_none>;
2442 i2c8_xfer: i2c8-xfer {
2444 <1 RK_PC5 1 &pcfg_pull_none>,
2445 <1 RK_PC4 1 &pcfg_pull_none>;
2450 i2s0_2ch_bus: i2s0-2ch-bus {
2452 <3 RK_PD0 1 &pcfg_pull_none>,
2453 <3 RK_PD1 1 &pcfg_pull_none>,
2454 <3 RK_PD2 1 &pcfg_pull_none>,
2455 <3 RK_PD3 1 &pcfg_pull_none>,
2456 <3 RK_PD7 1 &pcfg_pull_none>,
2457 <4 RK_PA0 1 &pcfg_pull_none>;
2460 i2s0_2ch_bus_bclk_off: i2s0-2ch-bus-bclk-off {
2462 <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>,
2463 <3 RK_PD1 1 &pcfg_pull_none>,
2464 <3 RK_PD2 1 &pcfg_pull_none>,
2465 <3 RK_PD3 1 &pcfg_pull_none>,
2466 <3 RK_PD7 1 &pcfg_pull_none>,
2467 <4 RK_PA0 1 &pcfg_pull_none>;
2470 i2s0_8ch_bus: i2s0-8ch-bus {
2472 <3 RK_PD0 1 &pcfg_pull_none>,
2473 <3 RK_PD1 1 &pcfg_pull_none>,
2474 <3 RK_PD2 1 &pcfg_pull_none>,
2475 <3 RK_PD3 1 &pcfg_pull_none>,
2476 <3 RK_PD4 1 &pcfg_pull_none>,
2477 <3 RK_PD5 1 &pcfg_pull_none>,
2478 <3 RK_PD6 1 &pcfg_pull_none>,
2479 <3 RK_PD7 1 &pcfg_pull_none>,
2480 <4 RK_PA0 1 &pcfg_pull_none>;
2483 i2s0_8ch_bus_bclk_off: i2s0-8ch-bus-bclk-off {
2485 <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>,
2486 <3 RK_PD1 1 &pcfg_pull_none>,
2487 <3 RK_PD2 1 &pcfg_pull_none>,
2488 <3 RK_PD3 1 &pcfg_pull_none>,
2489 <3 RK_PD4 1 &pcfg_pull_none>,
2490 <3 RK_PD5 1 &pcfg_pull_none>,
2491 <3 RK_PD6 1 &pcfg_pull_none>,
2492 <3 RK_PD7 1 &pcfg_pull_none>,
2493 <4 RK_PA0 1 &pcfg_pull_none>;
2498 i2s1_2ch_bus: i2s1-2ch-bus {
2500 <4 RK_PA3 1 &pcfg_pull_none>,
2501 <4 RK_PA4 1 &pcfg_pull_none>,
2502 <4 RK_PA5 1 &pcfg_pull_none>,
2503 <4 RK_PA6 1 &pcfg_pull_none>,
2504 <4 RK_PA7 1 &pcfg_pull_none>;
2507 i2s1_2ch_bus_bclk_off: i2s1-2ch-bus-bclk-off {
2509 <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>,
2510 <4 RK_PA4 1 &pcfg_pull_none>,
2511 <4 RK_PA5 1 &pcfg_pull_none>,
2512 <4 RK_PA6 1 &pcfg_pull_none>,
2513 <4 RK_PA7 1 &pcfg_pull_none>;
2518 sdio0_bus1: sdio0-bus1 {
2520 <2 RK_PC4 1 &pcfg_pull_up>;
2523 sdio0_bus4: sdio0-bus4 {
2525 <2 RK_PC4 1 &pcfg_pull_up>,
2526 <2 RK_PC5 1 &pcfg_pull_up>,
2527 <2 RK_PC6 1 &pcfg_pull_up>,
2528 <2 RK_PC7 1 &pcfg_pull_up>;
2531 sdio0_cmd: sdio0-cmd {
2533 <2 RK_PD0 1 &pcfg_pull_up>;
2536 sdio0_clk: sdio0-clk {
2538 <2 RK_PD1 1 &pcfg_pull_none>;
2541 sdio0_cd: sdio0-cd {
2543 <2 RK_PD2 1 &pcfg_pull_up>;
2546 sdio0_pwr: sdio0-pwr {
2548 <2 RK_PD3 1 &pcfg_pull_up>;
2551 sdio0_bkpwr: sdio0-bkpwr {
2553 <2 RK_PD4 1 &pcfg_pull_up>;
2556 sdio0_wp: sdio0-wp {
2558 <0 RK_PA3 1 &pcfg_pull_up>;
2561 sdio0_int: sdio0-int {
2563 <0 RK_PA4 1 &pcfg_pull_up>;
2568 sdmmc_bus1: sdmmc-bus1 {
2570 <4 RK_PB0 1 &pcfg_pull_up>;
2573 sdmmc_bus4: sdmmc-bus4 {
2575 <4 RK_PB0 1 &pcfg_pull_up>,
2576 <4 RK_PB1 1 &pcfg_pull_up>,
2577 <4 RK_PB2 1 &pcfg_pull_up>,
2578 <4 RK_PB3 1 &pcfg_pull_up>;
2581 sdmmc_clk: sdmmc-clk {
2583 <4 RK_PB4 1 &pcfg_pull_none>;
2586 sdmmc_cmd: sdmmc-cmd {
2588 <4 RK_PB5 1 &pcfg_pull_up>;
2591 sdmmc_cd: sdmmc-cd {
2593 <0 RK_PA7 1 &pcfg_pull_up>;
2596 sdmmc_wp: sdmmc-wp {
2598 <0 RK_PB0 1 &pcfg_pull_up>;
2603 ap_pwroff: ap-pwroff {
2604 rockchip,pins = <1 RK_PA5 1 &pcfg_pull_none>;
2607 ddrio_pwroff: ddrio-pwroff {
2608 rockchip,pins = <0 RK_PA1 1 &pcfg_pull_none>;
2613 spdif_bus: spdif-bus {
2615 <4 RK_PC5 1 &pcfg_pull_none>;
2618 spdif_bus_1: spdif-bus-1 {
2620 <3 RK_PC0 3 &pcfg_pull_none>;
2625 spi0_clk: spi0-clk {
2627 <3 RK_PA6 2 &pcfg_pull_up>;
2629 spi0_cs0: spi0-cs0 {
2631 <3 RK_PA7 2 &pcfg_pull_up>;
2633 spi0_cs1: spi0-cs1 {
2635 <3 RK_PB0 2 &pcfg_pull_up>;
2639 <3 RK_PA5 2 &pcfg_pull_up>;
2643 <3 RK_PA4 2 &pcfg_pull_up>;
2648 spi1_clk: spi1-clk {
2650 <1 RK_PB1 2 &pcfg_pull_up>;
2652 spi1_cs0: spi1-cs0 {
2654 <1 RK_PB2 2 &pcfg_pull_up>;
2658 <1 RK_PA7 2 &pcfg_pull_up>;
2662 <1 RK_PB0 2 &pcfg_pull_up>;
2667 spi2_clk: spi2-clk {
2669 <2 RK_PB3 1 &pcfg_pull_up>;
2671 spi2_cs0: spi2-cs0 {
2673 <2 RK_PB4 1 &pcfg_pull_up>;
2677 <2 RK_PB1 1 &pcfg_pull_up>;
2681 <2 RK_PB2 1 &pcfg_pull_up>;
2686 spi3_clk: spi3-clk {
2688 <1 RK_PC1 1 &pcfg_pull_up>;
2690 spi3_cs0: spi3-cs0 {
2692 <1 RK_PC2 1 &pcfg_pull_up>;
2696 <1 RK_PB7 1 &pcfg_pull_up>;
2700 <1 RK_PC0 1 &pcfg_pull_up>;
2705 spi4_clk: spi4-clk {
2707 <3 RK_PA2 2 &pcfg_pull_up>;
2709 spi4_cs0: spi4-cs0 {
2711 <3 RK_PA3 2 &pcfg_pull_up>;
2715 <3 RK_PA0 2 &pcfg_pull_up>;
2719 <3 RK_PA1 2 &pcfg_pull_up>;
2724 spi5_clk: spi5-clk {
2726 <2 RK_PC6 2 &pcfg_pull_up>;
2728 spi5_cs0: spi5-cs0 {
2730 <2 RK_PC7 2 &pcfg_pull_up>;
2734 <2 RK_PC4 2 &pcfg_pull_up>;
2738 <2 RK_PC5 2 &pcfg_pull_up>;
2743 test_clkout0: test-clkout0 {
2745 <0 RK_PA0 1 &pcfg_pull_none>;
2748 test_clkout1: test-clkout1 {
2750 <2 RK_PD1 2 &pcfg_pull_none>;
2753 test_clkout2: test-clkout2 {
2755 <0 RK_PB0 3 &pcfg_pull_none>;
2761 rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
2765 rockchip,pins = <1 RK_PA6 1 &pcfg_pull_none>;
2770 uart0_xfer: uart0-xfer {
2772 <2 RK_PC0 1 &pcfg_pull_up>,
2773 <2 RK_PC1 1 &pcfg_pull_none>;
2776 uart0_cts: uart0-cts {
2778 <2 RK_PC2 1 &pcfg_pull_none>;
2781 uart0_rts: uart0-rts {
2783 <2 RK_PC3 1 &pcfg_pull_none>;
2788 uart1_xfer: uart1-xfer {
2790 <3 RK_PB4 2 &pcfg_pull_up>,
2791 <3 RK_PB5 2 &pcfg_pull_none>;
2796 uart2a_xfer: uart2a-xfer {
2798 <4 RK_PB0 2 &pcfg_pull_up>,
2799 <4 RK_PB1 2 &pcfg_pull_none>;
2804 uart2b_xfer: uart2b-xfer {
2806 <4 RK_PC0 2 &pcfg_pull_up>,
2807 <4 RK_PC1 2 &pcfg_pull_none>;
2812 uart2c_xfer: uart2c-xfer {
2814 <4 RK_PC3 1 &pcfg_pull_up>,
2815 <4 RK_PC4 1 &pcfg_pull_none>;
2820 uart3_xfer: uart3-xfer {
2822 <3 RK_PB6 2 &pcfg_pull_up>,
2823 <3 RK_PB7 2 &pcfg_pull_none>;
2826 uart3_cts: uart3-cts {
2828 <3 RK_PC0 2 &pcfg_pull_none>;
2831 uart3_rts: uart3-rts {
2833 <3 RK_PC1 2 &pcfg_pull_none>;
2838 uart4_xfer: uart4-xfer {
2840 <1 RK_PA7 1 &pcfg_pull_up>,
2841 <1 RK_PB0 1 &pcfg_pull_none>;
2846 uarthdcp_xfer: uarthdcp-xfer {
2848 <4 RK_PC5 2 &pcfg_pull_up>,
2849 <4 RK_PC6 2 &pcfg_pull_none>;
2854 pwm0_pin: pwm0-pin {
2856 <4 RK_PC2 1 &pcfg_pull_none>;
2859 pwm0_pin_pull_down: pwm0-pin-pull-down {
2861 <4 RK_PC2 1 &pcfg_pull_down>;
2864 vop0_pwm_pin: vop0-pwm-pin {
2866 <4 RK_PC2 2 &pcfg_pull_none>;
2869 vop1_pwm_pin: vop1-pwm-pin {
2871 <4 RK_PC2 3 &pcfg_pull_none>;
2876 pwm1_pin: pwm1-pin {
2878 <4 RK_PC6 1 &pcfg_pull_none>;
2881 pwm1_pin_pull_down: pwm1-pin-pull-down {
2883 <4 RK_PC6 1 &pcfg_pull_down>;
2888 pwm2_pin: pwm2-pin {
2890 <1 RK_PC3 1 &pcfg_pull_none>;
2893 pwm2_pin_pull_down: pwm2-pin-pull-down {
2895 <1 RK_PC3 1 &pcfg_pull_down>;
2900 pwm3a_pin: pwm3a-pin {
2902 <0 RK_PA6 1 &pcfg_pull_none>;
2907 pwm3b_pin: pwm3b-pin {
2909 <1 RK_PB6 1 &pcfg_pull_none>;
2914 hdmi_i2c_xfer: hdmi-i2c-xfer {
2916 <4 RK_PC1 3 &pcfg_pull_none>,
2917 <4 RK_PC0 3 &pcfg_pull_none>;
2920 hdmi_cec: hdmi-cec {
2922 <4 RK_PC7 1 &pcfg_pull_none>;
2927 pcie_clkreqn_cpm: pci-clkreqn-cpm {
2929 <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
2932 pcie_clkreqnb_cpm: pci-clkreqnb-cpm {
2934 <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;