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", "arm,armv8";
73 enable-method = "psci";
74 clocks = <&cru ARMCLKL>;
75 #cooling-cells = <2>; /* min followed by max */
76 dynamic-power-coefficient = <100>;
81 compatible = "arm,cortex-a53", "arm,armv8";
83 enable-method = "psci";
84 clocks = <&cru ARMCLKL>;
85 #cooling-cells = <2>; /* min followed by max */
86 dynamic-power-coefficient = <100>;
91 compatible = "arm,cortex-a53", "arm,armv8";
93 enable-method = "psci";
94 clocks = <&cru ARMCLKL>;
95 #cooling-cells = <2>; /* min followed by max */
96 dynamic-power-coefficient = <100>;
101 compatible = "arm,cortex-a53", "arm,armv8";
103 enable-method = "psci";
104 clocks = <&cru ARMCLKL>;
105 #cooling-cells = <2>; /* min followed by max */
106 dynamic-power-coefficient = <100>;
111 compatible = "arm,cortex-a72", "arm,armv8";
113 enable-method = "psci";
114 clocks = <&cru ARMCLKB>;
115 #cooling-cells = <2>; /* min followed by max */
116 dynamic-power-coefficient = <436>;
121 compatible = "arm,cortex-a72", "arm,armv8";
123 enable-method = "psci";
124 clocks = <&cru ARMCLKB>;
125 #cooling-cells = <2>; /* min followed by max */
126 dynamic-power-coefficient = <436>;
131 compatible = "rockchip,display-subsystem";
132 ports = <&vopl_out>, <&vopb_out>;
136 compatible = "arm,cortex-a53-pmu";
137 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster0>;
141 compatible = "arm,cortex-a72-pmu";
142 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster1>;
146 compatible = "arm,psci-1.0";
151 compatible = "arm,armv8-timer";
152 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>,
153 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>,
154 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>,
155 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>;
156 arm,no-tick-in-suspend;
160 compatible = "fixed-clock";
161 clock-frequency = <24000000>;
162 clock-output-names = "xin24m";
167 compatible = "simple-bus";
168 #address-cells = <2>;
172 dmac_bus: dma-controller@ff6d0000 {
173 compatible = "arm,pl330", "arm,primecell";
174 reg = <0x0 0xff6d0000 0x0 0x4000>;
175 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH 0>,
176 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH 0>;
178 clocks = <&cru ACLK_DMAC0_PERILP>;
179 clock-names = "apb_pclk";
182 dmac_peri: dma-controller@ff6e0000 {
183 compatible = "arm,pl330", "arm,primecell";
184 reg = <0x0 0xff6e0000 0x0 0x4000>;
185 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH 0>,
186 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH 0>;
188 clocks = <&cru ACLK_DMAC1_PERILP>;
189 clock-names = "apb_pclk";
193 pcie0: pcie@f8000000 {
194 compatible = "rockchip,rk3399-pcie";
195 reg = <0x0 0xf8000000 0x0 0x2000000>,
196 <0x0 0xfd000000 0x0 0x1000000>;
197 reg-names = "axi-base", "apb-base";
198 #address-cells = <3>;
200 #interrupt-cells = <1>;
202 bus-range = <0x0 0x1f>;
203 clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>,
204 <&cru PCLK_PCIE>, <&cru SCLK_PCIE_PM>;
205 clock-names = "aclk", "aclk-perf",
207 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH 0>,
208 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH 0>,
209 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH 0>;
210 interrupt-names = "sys", "legacy", "client";
211 interrupt-map-mask = <0 0 0 7>;
212 interrupt-map = <0 0 0 1 &pcie0_intc 0>,
213 <0 0 0 2 &pcie0_intc 1>,
214 <0 0 0 3 &pcie0_intc 2>,
215 <0 0 0 4 &pcie0_intc 3>;
216 linux,pci-domain = <0>;
217 max-link-speed = <1>;
218 msi-map = <0x0 &its 0x0 0x1000>;
219 phys = <&pcie_phy 0>, <&pcie_phy 1>,
220 <&pcie_phy 2>, <&pcie_phy 3>;
221 phy-names = "pcie-phy-0", "pcie-phy-1",
222 "pcie-phy-2", "pcie-phy-3";
223 ranges = <0x83000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x1e00000
224 0x81000000 0x0 0xfbe00000 0x0 0xfbe00000 0x0 0x100000>;
225 resets = <&cru SRST_PCIE_CORE>, <&cru SRST_PCIE_MGMT>,
226 <&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE>,
227 <&cru SRST_PCIE_PM>, <&cru SRST_P_PCIE>,
229 reset-names = "core", "mgmt", "mgmt-sticky", "pipe",
230 "pm", "pclk", "aclk";
233 pcie0_intc: interrupt-controller {
234 interrupt-controller;
235 #address-cells = <0>;
236 #interrupt-cells = <1>;
240 gmac: ethernet@fe300000 {
241 compatible = "rockchip,rk3399-gmac";
242 reg = <0x0 0xfe300000 0x0 0x10000>;
243 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH 0>;
244 interrupt-names = "macirq";
245 clocks = <&cru SCLK_MAC>, <&cru SCLK_MAC_RX>,
246 <&cru SCLK_MAC_TX>, <&cru SCLK_MACREF>,
247 <&cru SCLK_MACREF_OUT>, <&cru ACLK_GMAC>,
249 clock-names = "stmmaceth", "mac_clk_rx",
250 "mac_clk_tx", "clk_mac_ref",
251 "clk_mac_refout", "aclk_mac",
253 power-domains = <&power RK3399_PD_GMAC>;
254 resets = <&cru SRST_A_GMAC>;
255 reset-names = "stmmaceth";
256 rockchip,grf = <&grf>;
260 sdio0: dwmmc@fe310000 {
261 compatible = "rockchip,rk3399-dw-mshc",
262 "rockchip,rk3288-dw-mshc";
263 reg = <0x0 0xfe310000 0x0 0x4000>;
264 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH 0>;
265 max-frequency = <150000000>;
266 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
267 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
268 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
269 fifo-depth = <0x100>;
270 power-domains = <&power RK3399_PD_SDIOAUDIO>;
271 resets = <&cru SRST_SDIO0>;
272 reset-names = "reset";
276 sdmmc: dwmmc@fe320000 {
277 compatible = "rockchip,rk3399-dw-mshc",
278 "rockchip,rk3288-dw-mshc";
279 reg = <0x0 0xfe320000 0x0 0x4000>;
280 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH 0>;
281 max-frequency = <150000000>;
282 assigned-clocks = <&cru HCLK_SD>;
283 assigned-clock-rates = <200000000>;
284 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
285 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
286 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
287 fifo-depth = <0x100>;
288 power-domains = <&power RK3399_PD_SD>;
289 resets = <&cru SRST_SDMMC>;
290 reset-names = "reset";
294 sdhci: sdhci@fe330000 {
295 compatible = "rockchip,rk3399-sdhci-5.1", "arasan,sdhci-5.1";
296 reg = <0x0 0xfe330000 0x0 0x10000>;
297 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH 0>;
298 arasan,soc-ctl-syscon = <&grf>;
299 assigned-clocks = <&cru SCLK_EMMC>;
300 assigned-clock-rates = <200000000>;
301 clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>;
302 clock-names = "clk_xin", "clk_ahb";
303 clock-output-names = "emmc_cardclock";
306 phy-names = "phy_arasan";
307 power-domains = <&power RK3399_PD_EMMC>;
311 usb_host0_ehci: usb@fe380000 {
312 compatible = "generic-ehci";
313 reg = <0x0 0xfe380000 0x0 0x20000>;
314 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH 0>;
315 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>,
317 clock-names = "usbhost", "arbiter",
319 phys = <&u2phy0_host>;
324 usb_host0_ohci: usb@fe3a0000 {
325 compatible = "generic-ohci";
326 reg = <0x0 0xfe3a0000 0x0 0x20000>;
327 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH 0>;
328 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>,
330 clock-names = "usbhost", "arbiter",
332 phys = <&u2phy0_host>;
337 usb_host1_ehci: usb@fe3c0000 {
338 compatible = "generic-ehci";
339 reg = <0x0 0xfe3c0000 0x0 0x20000>;
340 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH 0>;
341 clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST1_ARB>,
343 clock-names = "usbhost", "arbiter",
345 phys = <&u2phy1_host>;
350 usb_host1_ohci: usb@fe3e0000 {
351 compatible = "generic-ohci";
352 reg = <0x0 0xfe3e0000 0x0 0x20000>;
353 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH 0>;
354 clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST1_ARB>,
356 clock-names = "usbhost", "arbiter",
358 phys = <&u2phy1_host>;
363 usbdrd3_0: usb@fe800000 {
364 compatible = "rockchip,rk3399-dwc3";
365 #address-cells = <2>;
368 clocks = <&cru SCLK_USB3OTG0_REF>, <&cru SCLK_USB3OTG0_SUSPEND>,
369 <&cru ACLK_USB3OTG0>, <&cru ACLK_USB3_RKSOC_AXI_PERF>,
370 <&cru ACLK_USB3>, <&cru ACLK_USB3_GRF>;
371 clock-names = "ref_clk", "suspend_clk",
372 "bus_clk", "aclk_usb3_rksoc_axi_perf",
373 "aclk_usb3", "grf_clk";
374 resets = <&cru SRST_A_USB3_OTG0>;
375 reset-names = "usb3-otg";
378 usbdrd_dwc3_0: dwc3 {
379 compatible = "snps,dwc3";
380 reg = <0x0 0xfe800000 0x0 0x100000>;
381 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>;
383 phys = <&u2phy0_otg>, <&tcphy0_usb3>;
384 phy-names = "usb2-phy", "usb3-phy";
385 phy_type = "utmi_wide";
386 snps,dis_enblslpm_quirk;
387 snps,dis-u2-freeclk-exists-quirk;
388 snps,dis_u2_susphy_quirk;
389 snps,dis-del-phy-power-chg-quirk;
390 snps,dis-tx-ipgap-linecheck-quirk;
391 power-domains = <&power RK3399_PD_USB3>;
396 usbdrd3_1: usb@fe900000 {
397 compatible = "rockchip,rk3399-dwc3";
398 #address-cells = <2>;
401 clocks = <&cru SCLK_USB3OTG1_REF>, <&cru SCLK_USB3OTG1_SUSPEND>,
402 <&cru ACLK_USB3OTG1>, <&cru ACLK_USB3_RKSOC_AXI_PERF>,
403 <&cru ACLK_USB3>, <&cru ACLK_USB3_GRF>;
404 clock-names = "ref_clk", "suspend_clk",
405 "bus_clk", "aclk_usb3_rksoc_axi_perf",
406 "aclk_usb3", "grf_clk";
407 resets = <&cru SRST_A_USB3_OTG1>;
408 reset-names = "usb3-otg";
411 usbdrd_dwc3_1: dwc3 {
412 compatible = "snps,dwc3";
413 reg = <0x0 0xfe900000 0x0 0x100000>;
414 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 0>;
416 phys = <&u2phy1_otg>, <&tcphy1_usb3>;
417 phy-names = "usb2-phy", "usb3-phy";
418 phy_type = "utmi_wide";
419 snps,dis_enblslpm_quirk;
420 snps,dis-u2-freeclk-exists-quirk;
421 snps,dis_u2_susphy_quirk;
422 snps,dis-del-phy-power-chg-quirk;
423 snps,dis-tx-ipgap-linecheck-quirk;
424 power-domains = <&power RK3399_PD_USB3>;
429 cdn_dp: dp@fec00000 {
430 compatible = "rockchip,rk3399-cdn-dp";
431 reg = <0x0 0xfec00000 0x0 0x100000>;
432 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
433 assigned-clocks = <&cru SCLK_DP_CORE>, <&cru SCLK_SPDIF_REC_DPTX>;
434 assigned-clock-rates = <100000000>, <200000000>;
435 clocks = <&cru SCLK_DP_CORE>, <&cru PCLK_DP_CTRL>,
436 <&cru SCLK_SPDIF_REC_DPTX>, <&cru PCLK_VIO_GRF>;
437 clock-names = "core-clk", "pclk", "spdif", "grf";
438 phys = <&tcphy0_dp>, <&tcphy1_dp>;
439 power-domains = <&power RK3399_PD_HDCP>;
440 resets = <&cru SRST_DPTX_SPDIF_REC>, <&cru SRST_P_UPHY0_DPTX>,
441 <&cru SRST_P_UPHY0_APB>, <&cru SRST_DP_CORE>;
442 reset-names = "spdif", "dptx", "apb", "core";
443 rockchip,grf = <&grf>;
444 #sound-dai-cells = <1>;
449 #address-cells = <1>;
452 dp_in_vopb: endpoint@0 {
454 remote-endpoint = <&vopb_out_dp>;
457 dp_in_vopl: endpoint@1 {
459 remote-endpoint = <&vopl_out_dp>;
465 gic: interrupt-controller@fee00000 {
466 compatible = "arm,gic-v3";
467 #interrupt-cells = <4>;
468 #address-cells = <2>;
471 interrupt-controller;
473 reg = <0x0 0xfee00000 0 0x10000>, /* GICD */
474 <0x0 0xfef00000 0 0xc0000>, /* GICR */
475 <0x0 0xfff00000 0 0x10000>, /* GICC */
476 <0x0 0xfff10000 0 0x10000>, /* GICH */
477 <0x0 0xfff20000 0 0x10000>; /* GICV */
478 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
479 its: interrupt-controller@fee20000 {
480 compatible = "arm,gic-v3-its";
482 reg = <0x0 0xfee20000 0x0 0x20000>;
486 ppi_cluster0: interrupt-partition-0 {
487 affinity = <&cpu_l0 &cpu_l1 &cpu_l2 &cpu_l3>;
490 ppi_cluster1: interrupt-partition-1 {
491 affinity = <&cpu_b0 &cpu_b1>;
496 saradc: saradc@ff100000 {
497 compatible = "rockchip,rk3399-saradc";
498 reg = <0x0 0xff100000 0x0 0x100>;
499 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH 0>;
500 #io-channel-cells = <1>;
501 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
502 clock-names = "saradc", "apb_pclk";
503 resets = <&cru SRST_P_SARADC>;
504 reset-names = "saradc-apb";
509 compatible = "rockchip,rk3399-i2c";
510 reg = <0x0 0xff110000 0x0 0x1000>;
511 assigned-clocks = <&cru SCLK_I2C1>;
512 assigned-clock-rates = <200000000>;
513 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
514 clock-names = "i2c", "pclk";
515 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH 0>;
516 pinctrl-names = "default";
517 pinctrl-0 = <&i2c1_xfer>;
518 #address-cells = <1>;
524 compatible = "rockchip,rk3399-i2c";
525 reg = <0x0 0xff120000 0x0 0x1000>;
526 assigned-clocks = <&cru SCLK_I2C2>;
527 assigned-clock-rates = <200000000>;
528 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
529 clock-names = "i2c", "pclk";
530 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH 0>;
531 pinctrl-names = "default";
532 pinctrl-0 = <&i2c2_xfer>;
533 #address-cells = <1>;
539 compatible = "rockchip,rk3399-i2c";
540 reg = <0x0 0xff130000 0x0 0x1000>;
541 assigned-clocks = <&cru SCLK_I2C3>;
542 assigned-clock-rates = <200000000>;
543 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
544 clock-names = "i2c", "pclk";
545 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH 0>;
546 pinctrl-names = "default";
547 pinctrl-0 = <&i2c3_xfer>;
548 #address-cells = <1>;
554 compatible = "rockchip,rk3399-i2c";
555 reg = <0x0 0xff140000 0x0 0x1000>;
556 assigned-clocks = <&cru SCLK_I2C5>;
557 assigned-clock-rates = <200000000>;
558 clocks = <&cru SCLK_I2C5>, <&cru PCLK_I2C5>;
559 clock-names = "i2c", "pclk";
560 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH 0>;
561 pinctrl-names = "default";
562 pinctrl-0 = <&i2c5_xfer>;
563 #address-cells = <1>;
569 compatible = "rockchip,rk3399-i2c";
570 reg = <0x0 0xff150000 0x0 0x1000>;
571 assigned-clocks = <&cru SCLK_I2C6>;
572 assigned-clock-rates = <200000000>;
573 clocks = <&cru SCLK_I2C6>, <&cru PCLK_I2C6>;
574 clock-names = "i2c", "pclk";
575 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH 0>;
576 pinctrl-names = "default";
577 pinctrl-0 = <&i2c6_xfer>;
578 #address-cells = <1>;
584 compatible = "rockchip,rk3399-i2c";
585 reg = <0x0 0xff160000 0x0 0x1000>;
586 assigned-clocks = <&cru SCLK_I2C7>;
587 assigned-clock-rates = <200000000>;
588 clocks = <&cru SCLK_I2C7>, <&cru PCLK_I2C7>;
589 clock-names = "i2c", "pclk";
590 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH 0>;
591 pinctrl-names = "default";
592 pinctrl-0 = <&i2c7_xfer>;
593 #address-cells = <1>;
598 uart0: serial@ff180000 {
599 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
600 reg = <0x0 0xff180000 0x0 0x100>;
601 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
602 clock-names = "baudclk", "apb_pclk";
603 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH 0>;
606 pinctrl-names = "default";
607 pinctrl-0 = <&uart0_xfer>;
611 uart1: serial@ff190000 {
612 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
613 reg = <0x0 0xff190000 0x0 0x100>;
614 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
615 clock-names = "baudclk", "apb_pclk";
616 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH 0>;
619 pinctrl-names = "default";
620 pinctrl-0 = <&uart1_xfer>;
624 uart2: serial@ff1a0000 {
625 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
626 reg = <0x0 0xff1a0000 0x0 0x100>;
627 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
628 clock-names = "baudclk", "apb_pclk";
629 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH 0>;
632 pinctrl-names = "default";
633 pinctrl-0 = <&uart2c_xfer>;
637 uart3: serial@ff1b0000 {
638 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
639 reg = <0x0 0xff1b0000 0x0 0x100>;
640 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
641 clock-names = "baudclk", "apb_pclk";
642 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH 0>;
645 pinctrl-names = "default";
646 pinctrl-0 = <&uart3_xfer>;
651 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
652 reg = <0x0 0xff1c0000 0x0 0x1000>;
653 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
654 clock-names = "spiclk", "apb_pclk";
655 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH 0>;
656 pinctrl-names = "default";
657 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
658 #address-cells = <1>;
664 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
665 reg = <0x0 0xff1d0000 0x0 0x1000>;
666 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
667 clock-names = "spiclk", "apb_pclk";
668 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH 0>;
669 pinctrl-names = "default";
670 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
671 #address-cells = <1>;
677 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
678 reg = <0x0 0xff1e0000 0x0 0x1000>;
679 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
680 clock-names = "spiclk", "apb_pclk";
681 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH 0>;
682 pinctrl-names = "default";
683 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
684 #address-cells = <1>;
690 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
691 reg = <0x0 0xff1f0000 0x0 0x1000>;
692 clocks = <&cru SCLK_SPI4>, <&cru PCLK_SPI4>;
693 clock-names = "spiclk", "apb_pclk";
694 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH 0>;
695 pinctrl-names = "default";
696 pinctrl-0 = <&spi4_clk &spi4_tx &spi4_rx &spi4_cs0>;
697 #address-cells = <1>;
703 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
704 reg = <0x0 0xff200000 0x0 0x1000>;
705 clocks = <&cru SCLK_SPI5>, <&cru PCLK_SPI5>;
706 clock-names = "spiclk", "apb_pclk";
707 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH 0>;
708 pinctrl-names = "default";
709 pinctrl-0 = <&spi5_clk &spi5_tx &spi5_rx &spi5_cs0>;
710 power-domains = <&power RK3399_PD_SDIOAUDIO>;
711 #address-cells = <1>;
716 thermal_zones: thermal-zones {
718 polling-delay-passive = <100>;
719 polling-delay = <1000>;
721 thermal-sensors = <&tsadc 0>;
724 cpu_alert0: cpu_alert0 {
725 temperature = <70000>;
729 cpu_alert1: cpu_alert1 {
730 temperature = <75000>;
735 temperature = <95000>;
743 trip = <&cpu_alert0>;
745 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
748 trip = <&cpu_alert1>;
750 <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
751 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
757 polling-delay-passive = <100>;
758 polling-delay = <1000>;
760 thermal-sensors = <&tsadc 1>;
763 gpu_alert0: gpu_alert0 {
764 temperature = <75000>;
769 temperature = <95000>;
777 trip = <&gpu_alert0>;
779 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
785 tsadc: tsadc@ff260000 {
786 compatible = "rockchip,rk3399-tsadc";
787 reg = <0x0 0xff260000 0x0 0x100>;
788 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH 0>;
789 assigned-clocks = <&cru SCLK_TSADC>;
790 assigned-clock-rates = <750000>;
791 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
792 clock-names = "tsadc", "apb_pclk";
793 resets = <&cru SRST_TSADC>;
794 reset-names = "tsadc-apb";
795 rockchip,grf = <&grf>;
796 rockchip,hw-tshut-temp = <95000>;
797 pinctrl-names = "init", "default", "sleep";
798 pinctrl-0 = <&otp_gpio>;
799 pinctrl-1 = <&otp_out>;
800 pinctrl-2 = <&otp_gpio>;
801 #thermal-sensor-cells = <1>;
805 qos_emmc: qos@ffa58000 {
806 compatible = "syscon";
807 reg = <0x0 0xffa58000 0x0 0x20>;
810 qos_gmac: qos@ffa5c000 {
811 compatible = "syscon";
812 reg = <0x0 0xffa5c000 0x0 0x20>;
815 qos_pcie: qos@ffa60080 {
816 compatible = "syscon";
817 reg = <0x0 0xffa60080 0x0 0x20>;
820 qos_usb_host0: qos@ffa60100 {
821 compatible = "syscon";
822 reg = <0x0 0xffa60100 0x0 0x20>;
825 qos_usb_host1: qos@ffa60180 {
826 compatible = "syscon";
827 reg = <0x0 0xffa60180 0x0 0x20>;
830 qos_usb_otg0: qos@ffa70000 {
831 compatible = "syscon";
832 reg = <0x0 0xffa70000 0x0 0x20>;
835 qos_usb_otg1: qos@ffa70080 {
836 compatible = "syscon";
837 reg = <0x0 0xffa70080 0x0 0x20>;
840 qos_sd: qos@ffa74000 {
841 compatible = "syscon";
842 reg = <0x0 0xffa74000 0x0 0x20>;
845 qos_sdioaudio: qos@ffa76000 {
846 compatible = "syscon";
847 reg = <0x0 0xffa76000 0x0 0x20>;
850 qos_hdcp: qos@ffa90000 {
851 compatible = "syscon";
852 reg = <0x0 0xffa90000 0x0 0x20>;
855 qos_iep: qos@ffa98000 {
856 compatible = "syscon";
857 reg = <0x0 0xffa98000 0x0 0x20>;
860 qos_isp0_m0: qos@ffaa0000 {
861 compatible = "syscon";
862 reg = <0x0 0xffaa0000 0x0 0x20>;
865 qos_isp0_m1: qos@ffaa0080 {
866 compatible = "syscon";
867 reg = <0x0 0xffaa0080 0x0 0x20>;
870 qos_isp1_m0: qos@ffaa8000 {
871 compatible = "syscon";
872 reg = <0x0 0xffaa8000 0x0 0x20>;
875 qos_isp1_m1: qos@ffaa8080 {
876 compatible = "syscon";
877 reg = <0x0 0xffaa8080 0x0 0x20>;
880 qos_rga_r: qos@ffab0000 {
881 compatible = "syscon";
882 reg = <0x0 0xffab0000 0x0 0x20>;
885 qos_rga_w: qos@ffab0080 {
886 compatible = "syscon";
887 reg = <0x0 0xffab0080 0x0 0x20>;
890 qos_video_m0: qos@ffab8000 {
891 compatible = "syscon";
892 reg = <0x0 0xffab8000 0x0 0x20>;
895 qos_video_m1_r: qos@ffac0000 {
896 compatible = "syscon";
897 reg = <0x0 0xffac0000 0x0 0x20>;
900 qos_video_m1_w: qos@ffac0080 {
901 compatible = "syscon";
902 reg = <0x0 0xffac0080 0x0 0x20>;
905 qos_vop_big_r: qos@ffac8000 {
906 compatible = "syscon";
907 reg = <0x0 0xffac8000 0x0 0x20>;
910 qos_vop_big_w: qos@ffac8080 {
911 compatible = "syscon";
912 reg = <0x0 0xffac8080 0x0 0x20>;
915 qos_vop_little: qos@ffad0000 {
916 compatible = "syscon";
917 reg = <0x0 0xffad0000 0x0 0x20>;
920 qos_perihp: qos@ffad8080 {
921 compatible = "syscon";
922 reg = <0x0 0xffad8080 0x0 0x20>;
925 qos_gpu: qos@ffae0000 {
926 compatible = "syscon";
927 reg = <0x0 0xffae0000 0x0 0x20>;
930 pmu: power-management@ff310000 {
931 compatible = "rockchip,rk3399-pmu", "syscon", "simple-mfd";
932 reg = <0x0 0xff310000 0x0 0x1000>;
935 * Note: RK3399 supports 6 voltage domains including VD_CORE_L,
936 * VD_CORE_B, VD_CENTER, VD_GPU, VD_LOGIC and VD_PMU.
937 * Some of the power domains are grouped together for every
939 * The detail contents as below.
941 power: power-controller {
942 compatible = "rockchip,rk3399-power-controller";
943 #power-domain-cells = <1>;
944 #address-cells = <1>;
947 /* These power domains are grouped by VD_CENTER */
948 pd_iep@RK3399_PD_IEP {
949 reg = <RK3399_PD_IEP>;
950 clocks = <&cru ACLK_IEP>,
954 pd_rga@RK3399_PD_RGA {
955 reg = <RK3399_PD_RGA>;
956 clocks = <&cru ACLK_RGA>,
958 pm_qos = <&qos_rga_r>,
961 pd_vcodec@RK3399_PD_VCODEC {
962 reg = <RK3399_PD_VCODEC>;
963 clocks = <&cru ACLK_VCODEC>,
965 pm_qos = <&qos_video_m0>;
967 pd_vdu@RK3399_PD_VDU {
968 reg = <RK3399_PD_VDU>;
969 clocks = <&cru ACLK_VDU>,
971 pm_qos = <&qos_video_m1_r>,
975 /* These power domains are grouped by VD_GPU */
976 pd_gpu@RK3399_PD_GPU {
977 reg = <RK3399_PD_GPU>;
978 clocks = <&cru ACLK_GPU>;
982 /* These power domains are grouped by VD_LOGIC */
983 pd_edp@RK3399_PD_EDP {
984 reg = <RK3399_PD_EDP>;
985 clocks = <&cru PCLK_EDP_CTRL>;
987 pd_emmc@RK3399_PD_EMMC {
988 reg = <RK3399_PD_EMMC>;
989 clocks = <&cru ACLK_EMMC>;
990 pm_qos = <&qos_emmc>;
992 pd_gmac@RK3399_PD_GMAC {
993 reg = <RK3399_PD_GMAC>;
994 clocks = <&cru ACLK_GMAC>,
996 pm_qos = <&qos_gmac>;
999 reg = <RK3399_PD_SD>;
1000 clocks = <&cru HCLK_SDMMC>,
1004 pd_sdioaudio@RK3399_PD_SDIOAUDIO {
1005 reg = <RK3399_PD_SDIOAUDIO>;
1006 clocks = <&cru HCLK_SDIO>;
1007 pm_qos = <&qos_sdioaudio>;
1009 pd_usb3@RK3399_PD_USB3 {
1010 reg = <RK3399_PD_USB3>;
1011 clocks = <&cru ACLK_USB3>;
1012 pm_qos = <&qos_usb_otg0>,
1015 pd_vio@RK3399_PD_VIO {
1016 reg = <RK3399_PD_VIO>;
1017 #address-cells = <1>;
1020 pd_hdcp@RK3399_PD_HDCP {
1021 reg = <RK3399_PD_HDCP>;
1022 clocks = <&cru ACLK_HDCP>,
1025 pm_qos = <&qos_hdcp>;
1027 pd_isp0@RK3399_PD_ISP0 {
1028 reg = <RK3399_PD_ISP0>;
1029 clocks = <&cru ACLK_ISP0>,
1031 pm_qos = <&qos_isp0_m0>,
1034 pd_isp1@RK3399_PD_ISP1 {
1035 reg = <RK3399_PD_ISP1>;
1036 clocks = <&cru ACLK_ISP1>,
1038 pm_qos = <&qos_isp1_m0>,
1041 pd_tcpc0@RK3399_PD_TCPC0 {
1042 reg = <RK3399_PD_TCPD0>;
1043 clocks = <&cru SCLK_UPHY0_TCPDCORE>,
1044 <&cru SCLK_UPHY0_TCPDPHY_REF>;
1046 pd_tcpc1@RK3399_PD_TCPC1 {
1047 reg = <RK3399_PD_TCPD1>;
1048 clocks = <&cru SCLK_UPHY1_TCPDCORE>,
1049 <&cru SCLK_UPHY1_TCPDPHY_REF>;
1051 pd_vo@RK3399_PD_VO {
1052 reg = <RK3399_PD_VO>;
1053 #address-cells = <1>;
1056 pd_vopb@RK3399_PD_VOPB {
1057 reg = <RK3399_PD_VOPB>;
1058 clocks = <&cru ACLK_VOP0>,
1060 pm_qos = <&qos_vop_big_r>,
1063 pd_vopl@RK3399_PD_VOPL {
1064 reg = <RK3399_PD_VOPL>;
1065 clocks = <&cru ACLK_VOP1>,
1067 pm_qos = <&qos_vop_little>;
1074 pmugrf: syscon@ff320000 {
1075 compatible = "rockchip,rk3399-pmugrf", "syscon", "simple-mfd";
1076 reg = <0x0 0xff320000 0x0 0x1000>;
1077 #address-cells = <1>;
1080 pmu_io_domains: io-domains {
1081 compatible = "rockchip,rk3399-pmu-io-voltage-domain";
1082 status = "disabled";
1086 spi3: spi@ff350000 {
1087 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
1088 reg = <0x0 0xff350000 0x0 0x1000>;
1089 clocks = <&pmucru SCLK_SPI3_PMU>, <&pmucru PCLK_SPI3_PMU>;
1090 clock-names = "spiclk", "apb_pclk";
1091 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH 0>;
1092 pinctrl-names = "default";
1093 pinctrl-0 = <&spi3_clk &spi3_tx &spi3_rx &spi3_cs0>;
1094 #address-cells = <1>;
1096 status = "disabled";
1099 uart4: serial@ff370000 {
1100 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
1101 reg = <0x0 0xff370000 0x0 0x100>;
1102 clocks = <&pmucru SCLK_UART4_PMU>, <&pmucru PCLK_UART4_PMU>;
1103 clock-names = "baudclk", "apb_pclk";
1104 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH 0>;
1107 pinctrl-names = "default";
1108 pinctrl-0 = <&uart4_xfer>;
1109 status = "disabled";
1112 i2c0: i2c@ff3c0000 {
1113 compatible = "rockchip,rk3399-i2c";
1114 reg = <0x0 0xff3c0000 0x0 0x1000>;
1115 assigned-clocks = <&pmucru SCLK_I2C0_PMU>;
1116 assigned-clock-rates = <200000000>;
1117 clocks = <&pmucru SCLK_I2C0_PMU>, <&pmucru PCLK_I2C0_PMU>;
1118 clock-names = "i2c", "pclk";
1119 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH 0>;
1120 pinctrl-names = "default";
1121 pinctrl-0 = <&i2c0_xfer>;
1122 #address-cells = <1>;
1124 status = "disabled";
1127 i2c4: i2c@ff3d0000 {
1128 compatible = "rockchip,rk3399-i2c";
1129 reg = <0x0 0xff3d0000 0x0 0x1000>;
1130 assigned-clocks = <&pmucru SCLK_I2C4_PMU>;
1131 assigned-clock-rates = <200000000>;
1132 clocks = <&pmucru SCLK_I2C4_PMU>, <&pmucru PCLK_I2C4_PMU>;
1133 clock-names = "i2c", "pclk";
1134 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH 0>;
1135 pinctrl-names = "default";
1136 pinctrl-0 = <&i2c4_xfer>;
1137 #address-cells = <1>;
1139 status = "disabled";
1142 i2c8: i2c@ff3e0000 {
1143 compatible = "rockchip,rk3399-i2c";
1144 reg = <0x0 0xff3e0000 0x0 0x1000>;
1145 assigned-clocks = <&pmucru SCLK_I2C8_PMU>;
1146 assigned-clock-rates = <200000000>;
1147 clocks = <&pmucru SCLK_I2C8_PMU>, <&pmucru PCLK_I2C8_PMU>;
1148 clock-names = "i2c", "pclk";
1149 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH 0>;
1150 pinctrl-names = "default";
1151 pinctrl-0 = <&i2c8_xfer>;
1152 #address-cells = <1>;
1154 status = "disabled";
1157 pwm0: pwm@ff420000 {
1158 compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
1159 reg = <0x0 0xff420000 0x0 0x10>;
1161 pinctrl-names = "default";
1162 pinctrl-0 = <&pwm0_pin>;
1163 clocks = <&pmucru PCLK_RKPWM_PMU>;
1164 clock-names = "pwm";
1165 status = "disabled";
1168 pwm1: pwm@ff420010 {
1169 compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
1170 reg = <0x0 0xff420010 0x0 0x10>;
1172 pinctrl-names = "default";
1173 pinctrl-0 = <&pwm1_pin>;
1174 clocks = <&pmucru PCLK_RKPWM_PMU>;
1175 clock-names = "pwm";
1176 status = "disabled";
1179 pwm2: pwm@ff420020 {
1180 compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
1181 reg = <0x0 0xff420020 0x0 0x10>;
1183 pinctrl-names = "default";
1184 pinctrl-0 = <&pwm2_pin>;
1185 clocks = <&pmucru PCLK_RKPWM_PMU>;
1186 clock-names = "pwm";
1187 status = "disabled";
1190 pwm3: pwm@ff420030 {
1191 compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
1192 reg = <0x0 0xff420030 0x0 0x10>;
1194 pinctrl-names = "default";
1195 pinctrl-0 = <&pwm3a_pin>;
1196 clocks = <&pmucru PCLK_RKPWM_PMU>;
1197 clock-names = "pwm";
1198 status = "disabled";
1201 vpu_mmu: iommu@ff650800 {
1202 compatible = "rockchip,iommu";
1203 reg = <0x0 0xff650800 0x0 0x40>;
1204 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH 0>;
1205 interrupt-names = "vpu_mmu";
1206 clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
1207 clock-names = "aclk", "iface";
1209 status = "disabled";
1212 vdec_mmu: iommu@ff660480 {
1213 compatible = "rockchip,iommu";
1214 reg = <0x0 0xff660480 0x0 0x40>, <0x0 0xff6604c0 0x0 0x40>;
1215 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH 0>;
1216 interrupt-names = "vdec_mmu";
1217 clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>;
1218 clock-names = "aclk", "iface";
1220 status = "disabled";
1223 iep_mmu: iommu@ff670800 {
1224 compatible = "rockchip,iommu";
1225 reg = <0x0 0xff670800 0x0 0x40>;
1226 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH 0>;
1227 interrupt-names = "iep_mmu";
1228 clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>;
1229 clock-names = "aclk", "iface";
1231 status = "disabled";
1235 compatible = "rockchip,rk3399-rga";
1236 reg = <0x0 0xff680000 0x0 0x10000>;
1237 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH 0>;
1238 clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>;
1239 clock-names = "aclk", "hclk", "sclk";
1240 resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>;
1241 reset-names = "core", "axi", "ahb";
1242 power-domains = <&power RK3399_PD_RGA>;
1245 efuse0: efuse@ff690000 {
1246 compatible = "rockchip,rk3399-efuse";
1247 reg = <0x0 0xff690000 0x0 0x80>;
1248 #address-cells = <1>;
1250 clocks = <&cru PCLK_EFUSE1024NS>;
1251 clock-names = "pclk_efuse";
1257 cpub_leakage: cpu-leakage@17 {
1260 gpu_leakage: gpu-leakage@18 {
1263 center_leakage: center-leakage@19 {
1266 cpul_leakage: cpu-leakage@1a {
1269 logic_leakage: logic-leakage@1b {
1272 wafer_info: wafer-info@1c {
1277 pmucru: pmu-clock-controller@ff750000 {
1278 compatible = "rockchip,rk3399-pmucru";
1279 reg = <0x0 0xff750000 0x0 0x1000>;
1280 rockchip,grf = <&pmugrf>;
1283 assigned-clocks = <&pmucru PLL_PPLL>;
1284 assigned-clock-rates = <676000000>;
1287 cru: clock-controller@ff760000 {
1288 compatible = "rockchip,rk3399-cru";
1289 reg = <0x0 0xff760000 0x0 0x1000>;
1290 rockchip,grf = <&grf>;
1294 <&cru PLL_GPLL>, <&cru PLL_CPLL>,
1296 <&cru ACLK_PERIHP>, <&cru HCLK_PERIHP>,
1298 <&cru ACLK_PERILP0>, <&cru HCLK_PERILP0>,
1299 <&cru PCLK_PERILP0>, <&cru ACLK_CCI>,
1300 <&cru HCLK_PERILP1>, <&cru PCLK_PERILP1>,
1301 <&cru ACLK_VIO>, <&cru ACLK_HDCP>,
1302 <&cru ACLK_GIC_PRE>,
1304 assigned-clock-rates =
1305 <594000000>, <800000000>,
1307 <150000000>, <75000000>,
1309 <100000000>, <100000000>,
1310 <50000000>, <600000000>,
1311 <100000000>, <50000000>,
1312 <400000000>, <400000000>,
1317 grf: syscon@ff770000 {
1318 compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
1319 reg = <0x0 0xff770000 0x0 0x10000>;
1320 #address-cells = <1>;
1323 io_domains: io-domains {
1324 compatible = "rockchip,rk3399-io-voltage-domain";
1325 status = "disabled";
1328 u2phy0: usb2-phy@e450 {
1329 compatible = "rockchip,rk3399-usb2phy";
1330 reg = <0xe450 0x10>;
1331 clocks = <&cru SCLK_USB2PHY0_REF>;
1332 clock-names = "phyclk";
1334 clock-output-names = "clk_usbphy0_480m";
1335 status = "disabled";
1337 u2phy0_host: host-port {
1339 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>;
1340 interrupt-names = "linestate";
1341 status = "disabled";
1344 u2phy0_otg: otg-port {
1346 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
1347 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
1348 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
1349 interrupt-names = "otg-bvalid", "otg-id",
1351 status = "disabled";
1355 u2phy1: usb2-phy@e460 {
1356 compatible = "rockchip,rk3399-usb2phy";
1357 reg = <0xe460 0x10>;
1358 clocks = <&cru SCLK_USB2PHY1_REF>;
1359 clock-names = "phyclk";
1361 clock-output-names = "clk_usbphy1_480m";
1362 status = "disabled";
1364 u2phy1_host: host-port {
1366 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH 0>;
1367 interrupt-names = "linestate";
1368 status = "disabled";
1371 u2phy1_otg: otg-port {
1373 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>,
1374 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>,
1375 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>;
1376 interrupt-names = "otg-bvalid", "otg-id",
1378 status = "disabled";
1382 emmc_phy: phy@f780 {
1383 compatible = "rockchip,rk3399-emmc-phy";
1384 reg = <0xf780 0x24>;
1386 clock-names = "emmcclk";
1388 status = "disabled";
1391 pcie_phy: pcie-phy {
1392 compatible = "rockchip,rk3399-pcie-phy";
1393 clocks = <&cru SCLK_PCIEPHY_REF>;
1394 clock-names = "refclk";
1396 resets = <&cru SRST_PCIEPHY>;
1397 reset-names = "phy";
1398 status = "disabled";
1402 tcphy0: phy@ff7c0000 {
1403 compatible = "rockchip,rk3399-typec-phy";
1404 reg = <0x0 0xff7c0000 0x0 0x40000>;
1405 clocks = <&cru SCLK_UPHY0_TCPDCORE>,
1406 <&cru SCLK_UPHY0_TCPDPHY_REF>;
1407 clock-names = "tcpdcore", "tcpdphy-ref";
1408 assigned-clocks = <&cru SCLK_UPHY0_TCPDCORE>;
1409 assigned-clock-rates = <50000000>;
1410 power-domains = <&power RK3399_PD_TCPD0>;
1411 resets = <&cru SRST_UPHY0>,
1412 <&cru SRST_UPHY0_PIPE_L00>,
1413 <&cru SRST_P_UPHY0_TCPHY>;
1414 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
1415 rockchip,grf = <&grf>;
1416 rockchip,typec-conn-dir = <0xe580 0 16>;
1417 rockchip,usb3tousb2-en = <0xe580 3 19>;
1418 rockchip,external-psm = <0xe588 14 30>;
1419 rockchip,pipe-status = <0xe5c0 0 0>;
1420 status = "disabled";
1422 tcphy0_dp: dp-port {
1426 tcphy0_usb3: usb3-port {
1431 tcphy1: phy@ff800000 {
1432 compatible = "rockchip,rk3399-typec-phy";
1433 reg = <0x0 0xff800000 0x0 0x40000>;
1434 clocks = <&cru SCLK_UPHY1_TCPDCORE>,
1435 <&cru SCLK_UPHY1_TCPDPHY_REF>;
1436 clock-names = "tcpdcore", "tcpdphy-ref";
1437 assigned-clocks = <&cru SCLK_UPHY1_TCPDCORE>;
1438 assigned-clock-rates = <50000000>;
1439 power-domains = <&power RK3399_PD_TCPD1>;
1440 resets = <&cru SRST_UPHY1>,
1441 <&cru SRST_UPHY1_PIPE_L00>,
1442 <&cru SRST_P_UPHY1_TCPHY>;
1443 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
1444 rockchip,grf = <&grf>;
1445 rockchip,typec-conn-dir = <0xe58c 0 16>;
1446 rockchip,usb3tousb2-en = <0xe58c 3 19>;
1447 rockchip,external-psm = <0xe594 14 30>;
1448 rockchip,pipe-status = <0xe5c0 16 16>;
1449 status = "disabled";
1451 tcphy1_dp: dp-port {
1455 tcphy1_usb3: usb3-port {
1461 compatible = "snps,dw-wdt";
1462 reg = <0x0 0xff848000 0x0 0x100>;
1463 clocks = <&cru PCLK_WDT>;
1464 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH 0>;
1467 rktimer: rktimer@ff850000 {
1468 compatible = "rockchip,rk3399-timer";
1469 reg = <0x0 0xff850000 0x0 0x1000>;
1470 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH 0>;
1471 clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>;
1472 clock-names = "pclk", "timer";
1475 spdif: spdif@ff870000 {
1476 compatible = "rockchip,rk3399-spdif";
1477 reg = <0x0 0xff870000 0x0 0x1000>;
1478 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH 0>;
1479 dmas = <&dmac_bus 7>;
1481 clock-names = "mclk", "hclk";
1482 clocks = <&cru SCLK_SPDIF_8CH>, <&cru HCLK_SPDIF>;
1483 pinctrl-names = "default";
1484 pinctrl-0 = <&spdif_bus>;
1485 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1486 #sound-dai-cells = <0>;
1487 status = "disabled";
1490 i2s0: i2s@ff880000 {
1491 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
1492 reg = <0x0 0xff880000 0x0 0x1000>;
1493 rockchip,grf = <&grf>;
1494 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH 0>;
1495 dmas = <&dmac_bus 0>, <&dmac_bus 1>;
1496 dma-names = "tx", "rx";
1497 clock-names = "i2s_clk", "i2s_hclk";
1498 clocks = <&cru SCLK_I2S0_8CH>, <&cru HCLK_I2S0_8CH>;
1499 pinctrl-names = "default";
1500 pinctrl-0 = <&i2s0_8ch_bus>;
1501 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1502 #sound-dai-cells = <0>;
1503 status = "disabled";
1506 i2s1: i2s@ff890000 {
1507 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
1508 reg = <0x0 0xff890000 0x0 0x1000>;
1509 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH 0>;
1510 dmas = <&dmac_bus 2>, <&dmac_bus 3>;
1511 dma-names = "tx", "rx";
1512 clock-names = "i2s_clk", "i2s_hclk";
1513 clocks = <&cru SCLK_I2S1_8CH>, <&cru HCLK_I2S1_8CH>;
1514 pinctrl-names = "default";
1515 pinctrl-0 = <&i2s1_2ch_bus>;
1516 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1517 #sound-dai-cells = <0>;
1518 status = "disabled";
1521 i2s2: i2s@ff8a0000 {
1522 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
1523 reg = <0x0 0xff8a0000 0x0 0x1000>;
1524 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH 0>;
1525 dmas = <&dmac_bus 4>, <&dmac_bus 5>;
1526 dma-names = "tx", "rx";
1527 clock-names = "i2s_clk", "i2s_hclk";
1528 clocks = <&cru SCLK_I2S2_8CH>, <&cru HCLK_I2S2_8CH>;
1529 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1530 #sound-dai-cells = <0>;
1531 status = "disabled";
1534 vopl: vop@ff8f0000 {
1535 compatible = "rockchip,rk3399-vop-lit";
1536 reg = <0x0 0xff8f0000 0x0 0x3efc>;
1537 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>;
1538 assigned-clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>;
1539 assigned-clock-rates = <400000000>, <100000000>;
1540 clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>;
1541 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1542 iommus = <&vopl_mmu>;
1543 power-domains = <&power RK3399_PD_VOPL>;
1544 resets = <&cru SRST_A_VOP1>, <&cru SRST_H_VOP1>, <&cru SRST_D_VOP1>;
1545 reset-names = "axi", "ahb", "dclk";
1546 status = "disabled";
1549 #address-cells = <1>;
1552 vopl_out_mipi: endpoint@0 {
1554 remote-endpoint = <&mipi_in_vopl>;
1557 vopl_out_edp: endpoint@1 {
1559 remote-endpoint = <&edp_in_vopl>;
1562 vopl_out_hdmi: endpoint@2 {
1564 remote-endpoint = <&hdmi_in_vopl>;
1567 vopl_out_mipi1: endpoint@3 {
1569 remote-endpoint = <&mipi1_in_vopl>;
1572 vopl_out_dp: endpoint@4 {
1574 remote-endpoint = <&dp_in_vopl>;
1579 vopl_mmu: iommu@ff8f3f00 {
1580 compatible = "rockchip,iommu";
1581 reg = <0x0 0xff8f3f00 0x0 0x100>;
1582 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>;
1583 interrupt-names = "vopl_mmu";
1584 clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>;
1585 clock-names = "aclk", "iface";
1586 power-domains = <&power RK3399_PD_VOPL>;
1588 status = "disabled";
1591 vopb: vop@ff900000 {
1592 compatible = "rockchip,rk3399-vop-big";
1593 reg = <0x0 0xff900000 0x0 0x3efc>;
1594 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>;
1595 assigned-clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>;
1596 assigned-clock-rates = <400000000>, <100000000>;
1597 clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>;
1598 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1599 iommus = <&vopb_mmu>;
1600 power-domains = <&power RK3399_PD_VOPB>;
1601 resets = <&cru SRST_A_VOP0>, <&cru SRST_H_VOP0>, <&cru SRST_D_VOP0>;
1602 reset-names = "axi", "ahb", "dclk";
1603 status = "disabled";
1606 #address-cells = <1>;
1609 vopb_out_edp: endpoint@0 {
1611 remote-endpoint = <&edp_in_vopb>;
1614 vopb_out_mipi: endpoint@1 {
1616 remote-endpoint = <&mipi_in_vopb>;
1619 vopb_out_hdmi: endpoint@2 {
1621 remote-endpoint = <&hdmi_in_vopb>;
1624 vopb_out_mipi1: endpoint@3 {
1626 remote-endpoint = <&mipi1_in_vopb>;
1629 vopb_out_dp: endpoint@4 {
1631 remote-endpoint = <&dp_in_vopb>;
1636 vopb_mmu: iommu@ff903f00 {
1637 compatible = "rockchip,iommu";
1638 reg = <0x0 0xff903f00 0x0 0x100>;
1639 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>;
1640 interrupt-names = "vopb_mmu";
1641 clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>;
1642 clock-names = "aclk", "iface";
1643 power-domains = <&power RK3399_PD_VOPB>;
1645 status = "disabled";
1648 isp0_mmu: iommu@ff914000 {
1649 compatible = "rockchip,iommu";
1650 reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>;
1651 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH 0>;
1652 interrupt-names = "isp0_mmu";
1653 clocks = <&cru ACLK_ISP0_NOC>, <&cru HCLK_ISP0_NOC>;
1654 clock-names = "aclk", "iface";
1656 rockchip,disable-mmu-reset;
1657 status = "disabled";
1660 isp1_mmu: iommu@ff924000 {
1661 compatible = "rockchip,iommu";
1662 reg = <0x0 0xff924000 0x0 0x100>, <0x0 0xff925000 0x0 0x100>;
1663 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH 0>;
1664 interrupt-names = "isp1_mmu";
1665 clocks = <&cru ACLK_ISP1_NOC>, <&cru HCLK_ISP1_NOC>;
1666 clock-names = "aclk", "iface";
1668 rockchip,disable-mmu-reset;
1669 status = "disabled";
1672 hdmi_sound: hdmi-sound {
1673 compatible = "simple-audio-card";
1674 simple-audio-card,format = "i2s";
1675 simple-audio-card,mclk-fs = <256>;
1676 simple-audio-card,name = "hdmi-sound";
1677 status = "disabled";
1679 simple-audio-card,cpu {
1680 sound-dai = <&i2s2>;
1682 simple-audio-card,codec {
1683 sound-dai = <&hdmi>;
1687 hdmi: hdmi@ff940000 {
1688 compatible = "rockchip,rk3399-dw-hdmi";
1689 reg = <0x0 0xff940000 0x0 0x20000>;
1690 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH 0>;
1691 clocks = <&cru PCLK_HDMI_CTRL>,
1692 <&cru SCLK_HDMI_SFR>,
1694 <&cru PCLK_VIO_GRF>,
1695 <&cru SCLK_HDMI_CEC>;
1696 clock-names = "iahb", "isfr", "vpll", "grf", "cec";
1697 power-domains = <&power RK3399_PD_HDCP>;
1699 rockchip,grf = <&grf>;
1700 #sound-dai-cells = <0>;
1701 status = "disabled";
1705 #address-cells = <1>;
1708 hdmi_in_vopb: endpoint@0 {
1710 remote-endpoint = <&vopb_out_hdmi>;
1712 hdmi_in_vopl: endpoint@1 {
1714 remote-endpoint = <&vopl_out_hdmi>;
1720 mipi_dsi: mipi@ff960000 {
1721 compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi";
1722 reg = <0x0 0xff960000 0x0 0x8000>;
1723 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH 0>;
1724 clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI0>,
1725 <&cru SCLK_DPHY_TX0_CFG>, <&cru PCLK_VIO_GRF>;
1726 clock-names = "ref", "pclk", "phy_cfg", "grf";
1727 power-domains = <&power RK3399_PD_VIO>;
1728 resets = <&cru SRST_P_MIPI_DSI0>;
1729 reset-names = "apb";
1730 rockchip,grf = <&grf>;
1731 status = "disabled";
1734 #address-cells = <1>;
1739 #address-cells = <1>;
1742 mipi_in_vopb: endpoint@0 {
1744 remote-endpoint = <&vopb_out_mipi>;
1746 mipi_in_vopl: endpoint@1 {
1748 remote-endpoint = <&vopl_out_mipi>;
1754 mipi_dsi1: mipi@ff968000 {
1755 compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi";
1756 reg = <0x0 0xff968000 0x0 0x8000>;
1757 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH 0>;
1758 clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI1>,
1759 <&cru SCLK_DPHY_TX1RX1_CFG>, <&cru PCLK_VIO_GRF>;
1760 clock-names = "ref", "pclk", "phy_cfg", "grf";
1761 power-domains = <&power RK3399_PD_VIO>;
1762 resets = <&cru SRST_P_MIPI_DSI1>;
1763 reset-names = "apb";
1764 rockchip,grf = <&grf>;
1765 status = "disabled";
1768 #address-cells = <1>;
1773 #address-cells = <1>;
1776 mipi1_in_vopb: endpoint@0 {
1778 remote-endpoint = <&vopb_out_mipi1>;
1781 mipi1_in_vopl: endpoint@1 {
1783 remote-endpoint = <&vopl_out_mipi1>;
1790 compatible = "rockchip,rk3399-edp";
1791 reg = <0x0 0xff970000 0x0 0x8000>;
1792 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH 0>;
1793 clocks = <&cru PCLK_EDP>, <&cru PCLK_EDP_CTRL>, <&cru PCLK_VIO_GRF>;
1794 clock-names = "dp", "pclk", "grf";
1795 pinctrl-names = "default";
1796 pinctrl-0 = <&edp_hpd>;
1797 power-domains = <&power RK3399_PD_EDP>;
1798 resets = <&cru SRST_P_EDP_CTRL>;
1800 rockchip,grf = <&grf>;
1801 status = "disabled";
1804 #address-cells = <1>;
1808 #address-cells = <1>;
1811 edp_in_vopb: endpoint@0 {
1813 remote-endpoint = <&vopb_out_edp>;
1816 edp_in_vopl: endpoint@1 {
1818 remote-endpoint = <&vopl_out_edp>;
1825 compatible = "rockchip,rk3399-mali", "arm,mali-t860";
1826 reg = <0x0 0xff9a0000 0x0 0x10000>;
1827 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH 0>,
1828 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH 0>,
1829 <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH 0>;
1830 interrupt-names = "gpu", "job", "mmu";
1831 clocks = <&cru ACLK_GPU>;
1832 power-domains = <&power RK3399_PD_GPU>;
1833 status = "disabled";
1837 compatible = "rockchip,rk3399-pinctrl";
1838 rockchip,grf = <&grf>;
1839 rockchip,pmu = <&pmugrf>;
1840 #address-cells = <2>;
1844 gpio0: gpio0@ff720000 {
1845 compatible = "rockchip,gpio-bank";
1846 reg = <0x0 0xff720000 0x0 0x100>;
1847 clocks = <&pmucru PCLK_GPIO0_PMU>;
1848 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH 0>;
1851 #gpio-cells = <0x2>;
1853 interrupt-controller;
1854 #interrupt-cells = <0x2>;
1857 gpio1: gpio1@ff730000 {
1858 compatible = "rockchip,gpio-bank";
1859 reg = <0x0 0xff730000 0x0 0x100>;
1860 clocks = <&pmucru PCLK_GPIO1_PMU>;
1861 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH 0>;
1864 #gpio-cells = <0x2>;
1866 interrupt-controller;
1867 #interrupt-cells = <0x2>;
1870 gpio2: gpio2@ff780000 {
1871 compatible = "rockchip,gpio-bank";
1872 reg = <0x0 0xff780000 0x0 0x100>;
1873 clocks = <&cru PCLK_GPIO2>;
1874 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH 0>;
1877 #gpio-cells = <0x2>;
1879 interrupt-controller;
1880 #interrupt-cells = <0x2>;
1883 gpio3: gpio3@ff788000 {
1884 compatible = "rockchip,gpio-bank";
1885 reg = <0x0 0xff788000 0x0 0x100>;
1886 clocks = <&cru PCLK_GPIO3>;
1887 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH 0>;
1890 #gpio-cells = <0x2>;
1892 interrupt-controller;
1893 #interrupt-cells = <0x2>;
1896 gpio4: gpio4@ff790000 {
1897 compatible = "rockchip,gpio-bank";
1898 reg = <0x0 0xff790000 0x0 0x100>;
1899 clocks = <&cru PCLK_GPIO4>;
1900 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH 0>;
1903 #gpio-cells = <0x2>;
1905 interrupt-controller;
1906 #interrupt-cells = <0x2>;
1909 pcfg_pull_up: pcfg-pull-up {
1913 pcfg_pull_down: pcfg-pull-down {
1917 pcfg_pull_none: pcfg-pull-none {
1921 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
1923 drive-strength = <12>;
1926 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1928 drive-strength = <8>;
1931 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
1933 drive-strength = <4>;
1936 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1938 drive-strength = <2>;
1941 pcfg_pull_down_12ma: pcfg-pull-down-12ma {
1943 drive-strength = <12>;
1946 pcfg_pull_none_13ma: pcfg-pull-none-13ma {
1948 drive-strength = <13>;
1953 rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
1960 <4 23 RK_FUNC_2 &pcfg_pull_none>;
1965 rgmii_pins: rgmii-pins {
1968 <3 17 RK_FUNC_1 &pcfg_pull_none_13ma>,
1970 <3 14 RK_FUNC_1 &pcfg_pull_none>,
1972 <3 13 RK_FUNC_1 &pcfg_pull_none>,
1974 <3 12 RK_FUNC_1 &pcfg_pull_none_13ma>,
1976 <3 11 RK_FUNC_1 &pcfg_pull_none>,
1978 <3 9 RK_FUNC_1 &pcfg_pull_none>,
1980 <3 8 RK_FUNC_1 &pcfg_pull_none>,
1982 <3 7 RK_FUNC_1 &pcfg_pull_none>,
1984 <3 6 RK_FUNC_1 &pcfg_pull_none>,
1986 <3 5 RK_FUNC_1 &pcfg_pull_none_13ma>,
1988 <3 4 RK_FUNC_1 &pcfg_pull_none_13ma>,
1990 <3 3 RK_FUNC_1 &pcfg_pull_none>,
1992 <3 2 RK_FUNC_1 &pcfg_pull_none>,
1994 <3 1 RK_FUNC_1 &pcfg_pull_none_13ma>,
1996 <3 0 RK_FUNC_1 &pcfg_pull_none_13ma>;
1999 rmii_pins: rmii-pins {
2002 <3 13 RK_FUNC_1 &pcfg_pull_none>,
2004 <3 12 RK_FUNC_1 &pcfg_pull_none_13ma>,
2006 <3 11 RK_FUNC_1 &pcfg_pull_none>,
2008 <3 10 RK_FUNC_1 &pcfg_pull_none>,
2010 <3 9 RK_FUNC_1 &pcfg_pull_none>,
2012 <3 8 RK_FUNC_1 &pcfg_pull_none>,
2014 <3 7 RK_FUNC_1 &pcfg_pull_none>,
2016 <3 6 RK_FUNC_1 &pcfg_pull_none>,
2018 <3 5 RK_FUNC_1 &pcfg_pull_none_13ma>,
2020 <3 4 RK_FUNC_1 &pcfg_pull_none_13ma>;
2025 i2c0_xfer: i2c0-xfer {
2027 <1 15 RK_FUNC_2 &pcfg_pull_none>,
2028 <1 16 RK_FUNC_2 &pcfg_pull_none>;
2033 i2c1_xfer: i2c1-xfer {
2035 <4 2 RK_FUNC_1 &pcfg_pull_none>,
2036 <4 1 RK_FUNC_1 &pcfg_pull_none>;
2041 i2c2_xfer: i2c2-xfer {
2043 <2 1 RK_FUNC_2 &pcfg_pull_none_12ma>,
2044 <2 0 RK_FUNC_2 &pcfg_pull_none_12ma>;
2049 i2c3_xfer: i2c3-xfer {
2051 <4 17 RK_FUNC_1 &pcfg_pull_none>,
2052 <4 16 RK_FUNC_1 &pcfg_pull_none>;
2057 i2c4_xfer: i2c4-xfer {
2059 <1 12 RK_FUNC_1 &pcfg_pull_none>,
2060 <1 11 RK_FUNC_1 &pcfg_pull_none>;
2065 i2c5_xfer: i2c5-xfer {
2067 <3 11 RK_FUNC_2 &pcfg_pull_none>,
2068 <3 10 RK_FUNC_2 &pcfg_pull_none>;
2073 i2c6_xfer: i2c6-xfer {
2075 <2 10 RK_FUNC_2 &pcfg_pull_none>,
2076 <2 9 RK_FUNC_2 &pcfg_pull_none>;
2081 i2c7_xfer: i2c7-xfer {
2083 <2 8 RK_FUNC_2 &pcfg_pull_none>,
2084 <2 7 RK_FUNC_2 &pcfg_pull_none>;
2089 i2c8_xfer: i2c8-xfer {
2091 <1 21 RK_FUNC_1 &pcfg_pull_none>,
2092 <1 20 RK_FUNC_1 &pcfg_pull_none>;
2097 i2s0_2ch_bus: i2s0-2ch-bus {
2099 <3 24 RK_FUNC_1 &pcfg_pull_none>,
2100 <3 25 RK_FUNC_1 &pcfg_pull_none>,
2101 <3 26 RK_FUNC_1 &pcfg_pull_none>,
2102 <3 27 RK_FUNC_1 &pcfg_pull_none>,
2103 <3 31 RK_FUNC_1 &pcfg_pull_none>,
2104 <4 0 RK_FUNC_1 &pcfg_pull_none>;
2107 i2s0_8ch_bus: i2s0-8ch-bus {
2109 <3 24 RK_FUNC_1 &pcfg_pull_none>,
2110 <3 25 RK_FUNC_1 &pcfg_pull_none>,
2111 <3 26 RK_FUNC_1 &pcfg_pull_none>,
2112 <3 27 RK_FUNC_1 &pcfg_pull_none>,
2113 <3 28 RK_FUNC_1 &pcfg_pull_none>,
2114 <3 29 RK_FUNC_1 &pcfg_pull_none>,
2115 <3 30 RK_FUNC_1 &pcfg_pull_none>,
2116 <3 31 RK_FUNC_1 &pcfg_pull_none>,
2117 <4 0 RK_FUNC_1 &pcfg_pull_none>;
2122 i2s1_2ch_bus: i2s1-2ch-bus {
2124 <4 3 RK_FUNC_1 &pcfg_pull_none>,
2125 <4 4 RK_FUNC_1 &pcfg_pull_none>,
2126 <4 5 RK_FUNC_1 &pcfg_pull_none>,
2127 <4 6 RK_FUNC_1 &pcfg_pull_none>,
2128 <4 7 RK_FUNC_1 &pcfg_pull_none>;
2133 sdio0_bus1: sdio0-bus1 {
2135 <2 RK_PC4 RK_FUNC_1 &pcfg_pull_up>;
2138 sdio0_bus4: sdio0-bus4 {
2140 <2 RK_PC4 RK_FUNC_1 &pcfg_pull_up>,
2141 <2 RK_PC5 RK_FUNC_1 &pcfg_pull_up>,
2142 <2 RK_PC6 RK_FUNC_1 &pcfg_pull_up>,
2143 <2 RK_PC7 RK_FUNC_1 &pcfg_pull_up>;
2146 sdio0_cmd: sdio0-cmd {
2148 <2 RK_PD0 RK_FUNC_1 &pcfg_pull_up>;
2151 sdio0_clk: sdio0-clk {
2153 <2 RK_PD1 RK_FUNC_1 &pcfg_pull_none>;
2156 sdio0_cd: sdio0-cd {
2158 <2 RK_PD2 RK_FUNC_1 &pcfg_pull_up>;
2161 sdio0_pwr: sdio0-pwr {
2163 <2 RK_PD3 RK_FUNC_1 &pcfg_pull_up>;
2166 sdio0_bkpwr: sdio0-bkpwr {
2168 <2 RK_PD4 RK_FUNC_1 &pcfg_pull_up>;
2171 sdio0_wp: sdio0-wp {
2173 <0 RK_PA3 RK_FUNC_1 &pcfg_pull_up>;
2176 sdio0_int: sdio0-int {
2178 <0 RK_PA4 RK_FUNC_1 &pcfg_pull_up>;
2183 sdmmc_bus1: sdmmc-bus1 {
2185 <4 RK_PB0 RK_FUNC_1 &pcfg_pull_up>;
2188 sdmmc_bus4: sdmmc-bus4 {
2190 <4 RK_PB0 RK_FUNC_1 &pcfg_pull_up>,
2191 <4 RK_PB1 RK_FUNC_1 &pcfg_pull_up>,
2192 <4 RK_PB2 RK_FUNC_1 &pcfg_pull_up>,
2193 <4 RK_PB3 RK_FUNC_1 &pcfg_pull_up>;
2196 sdmmc_clk: sdmmc-clk {
2198 <4 RK_PB4 RK_FUNC_1 &pcfg_pull_none>;
2201 sdmmc_cmd: sdmmc-cmd {
2203 <4 RK_PB5 RK_FUNC_1 &pcfg_pull_up>;
2206 sdmmc_cd: sdmmc-cd {
2208 <0 RK_PA7 RK_FUNC_1 &pcfg_pull_up>;
2211 sdmmc_wp: sdmmc-wp {
2213 <0 RK_PB0 RK_FUNC_1 &pcfg_pull_up>;
2218 ap_pwroff: ap-pwroff {
2219 rockchip,pins = <1 5 RK_FUNC_1 &pcfg_pull_none>;
2222 ddrio_pwroff: ddrio-pwroff {
2223 rockchip,pins = <0 1 RK_FUNC_1 &pcfg_pull_none>;
2228 spdif_bus: spdif-bus {
2230 <4 21 RK_FUNC_1 &pcfg_pull_none>;
2233 spdif_bus_1: spdif-bus-1 {
2235 <3 RK_PC0 RK_FUNC_3 &pcfg_pull_none>;
2240 spi0_clk: spi0-clk {
2242 <3 6 RK_FUNC_2 &pcfg_pull_up>;
2244 spi0_cs0: spi0-cs0 {
2246 <3 7 RK_FUNC_2 &pcfg_pull_up>;
2248 spi0_cs1: spi0-cs1 {
2250 <3 8 RK_FUNC_2 &pcfg_pull_up>;
2254 <3 5 RK_FUNC_2 &pcfg_pull_up>;
2258 <3 4 RK_FUNC_2 &pcfg_pull_up>;
2263 spi1_clk: spi1-clk {
2265 <1 9 RK_FUNC_2 &pcfg_pull_up>;
2267 spi1_cs0: spi1-cs0 {
2269 <1 10 RK_FUNC_2 &pcfg_pull_up>;
2273 <1 7 RK_FUNC_2 &pcfg_pull_up>;
2277 <1 8 RK_FUNC_2 &pcfg_pull_up>;
2282 spi2_clk: spi2-clk {
2284 <2 11 RK_FUNC_1 &pcfg_pull_up>;
2286 spi2_cs0: spi2-cs0 {
2288 <2 12 RK_FUNC_1 &pcfg_pull_up>;
2292 <2 9 RK_FUNC_1 &pcfg_pull_up>;
2296 <2 10 RK_FUNC_1 &pcfg_pull_up>;
2301 spi3_clk: spi3-clk {
2303 <1 17 RK_FUNC_1 &pcfg_pull_up>;
2305 spi3_cs0: spi3-cs0 {
2307 <1 18 RK_FUNC_1 &pcfg_pull_up>;
2311 <1 15 RK_FUNC_1 &pcfg_pull_up>;
2315 <1 16 RK_FUNC_1 &pcfg_pull_up>;
2320 spi4_clk: spi4-clk {
2322 <3 2 RK_FUNC_2 &pcfg_pull_up>;
2324 spi4_cs0: spi4-cs0 {
2326 <3 3 RK_FUNC_2 &pcfg_pull_up>;
2330 <3 0 RK_FUNC_2 &pcfg_pull_up>;
2334 <3 1 RK_FUNC_2 &pcfg_pull_up>;
2339 spi5_clk: spi5-clk {
2341 <2 22 RK_FUNC_2 &pcfg_pull_up>;
2343 spi5_cs0: spi5-cs0 {
2345 <2 23 RK_FUNC_2 &pcfg_pull_up>;
2349 <2 20 RK_FUNC_2 &pcfg_pull_up>;
2353 <2 21 RK_FUNC_2 &pcfg_pull_up>;
2358 test_clkout0: test-clkout0 {
2360 <0 0 RK_FUNC_1 &pcfg_pull_none>;
2363 test_clkout1: test-clkout1 {
2365 <2 25 RK_FUNC_2 &pcfg_pull_none>;
2368 test_clkout2: test-clkout2 {
2370 <0 8 RK_FUNC_3 &pcfg_pull_none>;
2375 otp_gpio: otp-gpio {
2376 rockchip,pins = <1 6 RK_FUNC_GPIO &pcfg_pull_none>;
2380 rockchip,pins = <1 6 RK_FUNC_1 &pcfg_pull_none>;
2385 uart0_xfer: uart0-xfer {
2387 <2 16 RK_FUNC_1 &pcfg_pull_up>,
2388 <2 17 RK_FUNC_1 &pcfg_pull_none>;
2391 uart0_cts: uart0-cts {
2393 <2 18 RK_FUNC_1 &pcfg_pull_none>;
2396 uart0_rts: uart0-rts {
2398 <2 19 RK_FUNC_1 &pcfg_pull_none>;
2403 uart1_xfer: uart1-xfer {
2405 <3 12 RK_FUNC_2 &pcfg_pull_up>,
2406 <3 13 RK_FUNC_2 &pcfg_pull_none>;
2411 uart2a_xfer: uart2a-xfer {
2413 <4 8 RK_FUNC_2 &pcfg_pull_up>,
2414 <4 9 RK_FUNC_2 &pcfg_pull_none>;
2419 uart2b_xfer: uart2b-xfer {
2421 <4 16 RK_FUNC_2 &pcfg_pull_up>,
2422 <4 17 RK_FUNC_2 &pcfg_pull_none>;
2427 uart2c_xfer: uart2c-xfer {
2429 <4 19 RK_FUNC_1 &pcfg_pull_up>,
2430 <4 20 RK_FUNC_1 &pcfg_pull_none>;
2435 uart3_xfer: uart3-xfer {
2437 <3 14 RK_FUNC_2 &pcfg_pull_up>,
2438 <3 15 RK_FUNC_2 &pcfg_pull_none>;
2441 uart3_cts: uart3-cts {
2443 <3 18 RK_FUNC_2 &pcfg_pull_none>;
2446 uart3_rts: uart3-rts {
2448 <3 19 RK_FUNC_2 &pcfg_pull_none>;
2453 uart4_xfer: uart4-xfer {
2455 <1 7 RK_FUNC_1 &pcfg_pull_up>,
2456 <1 8 RK_FUNC_1 &pcfg_pull_none>;
2461 uarthdcp_xfer: uarthdcp-xfer {
2463 <4 21 RK_FUNC_2 &pcfg_pull_up>,
2464 <4 22 RK_FUNC_2 &pcfg_pull_none>;
2469 pwm0_pin: pwm0-pin {
2471 <4 18 RK_FUNC_1 &pcfg_pull_none>;
2474 vop0_pwm_pin: vop0-pwm-pin {
2476 <4 18 RK_FUNC_2 &pcfg_pull_none>;
2481 pwm1_pin: pwm1-pin {
2483 <4 22 RK_FUNC_1 &pcfg_pull_none>;
2486 vop1_pwm_pin: vop1-pwm-pin {
2488 <4 18 RK_FUNC_3 &pcfg_pull_none>;
2493 pwm2_pin: pwm2-pin {
2495 <1 19 RK_FUNC_1 &pcfg_pull_none>;
2500 pwm3a_pin: pwm3a-pin {
2502 <0 6 RK_FUNC_1 &pcfg_pull_none>;
2507 pwm3b_pin: pwm3b-pin {
2509 <1 14 RK_FUNC_1 &pcfg_pull_none>;
2514 hdmi_i2c_xfer: hdmi-i2c-xfer {
2516 <4 RK_PC1 RK_FUNC_3 &pcfg_pull_none>,
2517 <4 RK_PC0 RK_FUNC_3 &pcfg_pull_none>;
2520 hdmi_cec: hdmi-cec {
2522 <4 RK_PC7 RK_FUNC_1 &pcfg_pull_none>;
2527 pcie_clkreqn_cpm: pci-clkreqn-cpm {
2529 <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
2532 pcie_clkreqnb_cpm: pci-clkreqnb-cpm {
2534 <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;