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 status = "disabled";
1418 tcphy0_dp: dp-port {
1422 tcphy0_usb3: usb3-port {
1427 tcphy1: phy@ff800000 {
1428 compatible = "rockchip,rk3399-typec-phy";
1429 reg = <0x0 0xff800000 0x0 0x40000>;
1430 clocks = <&cru SCLK_UPHY1_TCPDCORE>,
1431 <&cru SCLK_UPHY1_TCPDPHY_REF>;
1432 clock-names = "tcpdcore", "tcpdphy-ref";
1433 assigned-clocks = <&cru SCLK_UPHY1_TCPDCORE>;
1434 assigned-clock-rates = <50000000>;
1435 power-domains = <&power RK3399_PD_TCPD1>;
1436 resets = <&cru SRST_UPHY1>,
1437 <&cru SRST_UPHY1_PIPE_L00>,
1438 <&cru SRST_P_UPHY1_TCPHY>;
1439 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
1440 rockchip,grf = <&grf>;
1441 status = "disabled";
1443 tcphy1_dp: dp-port {
1447 tcphy1_usb3: usb3-port {
1453 compatible = "snps,dw-wdt";
1454 reg = <0x0 0xff848000 0x0 0x100>;
1455 clocks = <&cru PCLK_WDT>;
1456 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH 0>;
1459 rktimer: rktimer@ff850000 {
1460 compatible = "rockchip,rk3399-timer";
1461 reg = <0x0 0xff850000 0x0 0x1000>;
1462 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH 0>;
1463 clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>;
1464 clock-names = "pclk", "timer";
1467 spdif: spdif@ff870000 {
1468 compatible = "rockchip,rk3399-spdif";
1469 reg = <0x0 0xff870000 0x0 0x1000>;
1470 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH 0>;
1471 dmas = <&dmac_bus 7>;
1473 clock-names = "mclk", "hclk";
1474 clocks = <&cru SCLK_SPDIF_8CH>, <&cru HCLK_SPDIF>;
1475 pinctrl-names = "default";
1476 pinctrl-0 = <&spdif_bus>;
1477 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1478 #sound-dai-cells = <0>;
1479 status = "disabled";
1482 i2s0: i2s@ff880000 {
1483 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
1484 reg = <0x0 0xff880000 0x0 0x1000>;
1485 rockchip,grf = <&grf>;
1486 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH 0>;
1487 dmas = <&dmac_bus 0>, <&dmac_bus 1>;
1488 dma-names = "tx", "rx";
1489 clock-names = "i2s_clk", "i2s_hclk";
1490 clocks = <&cru SCLK_I2S0_8CH>, <&cru HCLK_I2S0_8CH>;
1491 pinctrl-names = "default";
1492 pinctrl-0 = <&i2s0_8ch_bus>;
1493 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1494 #sound-dai-cells = <0>;
1495 status = "disabled";
1498 i2s1: i2s@ff890000 {
1499 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
1500 reg = <0x0 0xff890000 0x0 0x1000>;
1501 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH 0>;
1502 dmas = <&dmac_bus 2>, <&dmac_bus 3>;
1503 dma-names = "tx", "rx";
1504 clock-names = "i2s_clk", "i2s_hclk";
1505 clocks = <&cru SCLK_I2S1_8CH>, <&cru HCLK_I2S1_8CH>;
1506 pinctrl-names = "default";
1507 pinctrl-0 = <&i2s1_2ch_bus>;
1508 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1509 #sound-dai-cells = <0>;
1510 status = "disabled";
1513 i2s2: i2s@ff8a0000 {
1514 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
1515 reg = <0x0 0xff8a0000 0x0 0x1000>;
1516 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH 0>;
1517 dmas = <&dmac_bus 4>, <&dmac_bus 5>;
1518 dma-names = "tx", "rx";
1519 clock-names = "i2s_clk", "i2s_hclk";
1520 clocks = <&cru SCLK_I2S2_8CH>, <&cru HCLK_I2S2_8CH>;
1521 power-domains = <&power RK3399_PD_SDIOAUDIO>;
1522 #sound-dai-cells = <0>;
1523 status = "disabled";
1526 vopl: vop@ff8f0000 {
1527 compatible = "rockchip,rk3399-vop-lit";
1528 reg = <0x0 0xff8f0000 0x0 0x3efc>;
1529 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>;
1530 assigned-clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>;
1531 assigned-clock-rates = <400000000>, <100000000>;
1532 clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>;
1533 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1534 iommus = <&vopl_mmu>;
1535 power-domains = <&power RK3399_PD_VOPL>;
1536 resets = <&cru SRST_A_VOP1>, <&cru SRST_H_VOP1>, <&cru SRST_D_VOP1>;
1537 reset-names = "axi", "ahb", "dclk";
1538 status = "disabled";
1541 #address-cells = <1>;
1544 vopl_out_mipi: endpoint@0 {
1546 remote-endpoint = <&mipi_in_vopl>;
1549 vopl_out_edp: endpoint@1 {
1551 remote-endpoint = <&edp_in_vopl>;
1554 vopl_out_hdmi: endpoint@2 {
1556 remote-endpoint = <&hdmi_in_vopl>;
1559 vopl_out_mipi1: endpoint@3 {
1561 remote-endpoint = <&mipi1_in_vopl>;
1564 vopl_out_dp: endpoint@4 {
1566 remote-endpoint = <&dp_in_vopl>;
1571 vopl_mmu: iommu@ff8f3f00 {
1572 compatible = "rockchip,iommu";
1573 reg = <0x0 0xff8f3f00 0x0 0x100>;
1574 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>;
1575 interrupt-names = "vopl_mmu";
1576 clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>;
1577 clock-names = "aclk", "iface";
1578 power-domains = <&power RK3399_PD_VOPL>;
1580 status = "disabled";
1583 vopb: vop@ff900000 {
1584 compatible = "rockchip,rk3399-vop-big";
1585 reg = <0x0 0xff900000 0x0 0x3efc>;
1586 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>;
1587 assigned-clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>;
1588 assigned-clock-rates = <400000000>, <100000000>;
1589 clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>;
1590 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
1591 iommus = <&vopb_mmu>;
1592 power-domains = <&power RK3399_PD_VOPB>;
1593 resets = <&cru SRST_A_VOP0>, <&cru SRST_H_VOP0>, <&cru SRST_D_VOP0>;
1594 reset-names = "axi", "ahb", "dclk";
1595 status = "disabled";
1598 #address-cells = <1>;
1601 vopb_out_edp: endpoint@0 {
1603 remote-endpoint = <&edp_in_vopb>;
1606 vopb_out_mipi: endpoint@1 {
1608 remote-endpoint = <&mipi_in_vopb>;
1611 vopb_out_hdmi: endpoint@2 {
1613 remote-endpoint = <&hdmi_in_vopb>;
1616 vopb_out_mipi1: endpoint@3 {
1618 remote-endpoint = <&mipi1_in_vopb>;
1621 vopb_out_dp: endpoint@4 {
1623 remote-endpoint = <&dp_in_vopb>;
1628 vopb_mmu: iommu@ff903f00 {
1629 compatible = "rockchip,iommu";
1630 reg = <0x0 0xff903f00 0x0 0x100>;
1631 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>;
1632 interrupt-names = "vopb_mmu";
1633 clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>;
1634 clock-names = "aclk", "iface";
1635 power-domains = <&power RK3399_PD_VOPB>;
1637 status = "disabled";
1640 isp0_mmu: iommu@ff914000 {
1641 compatible = "rockchip,iommu";
1642 reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>;
1643 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH 0>;
1644 interrupt-names = "isp0_mmu";
1645 clocks = <&cru ACLK_ISP0_NOC>, <&cru HCLK_ISP0_NOC>;
1646 clock-names = "aclk", "iface";
1648 rockchip,disable-mmu-reset;
1649 status = "disabled";
1652 isp1_mmu: iommu@ff924000 {
1653 compatible = "rockchip,iommu";
1654 reg = <0x0 0xff924000 0x0 0x100>, <0x0 0xff925000 0x0 0x100>;
1655 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH 0>;
1656 interrupt-names = "isp1_mmu";
1657 clocks = <&cru ACLK_ISP1_NOC>, <&cru HCLK_ISP1_NOC>;
1658 clock-names = "aclk", "iface";
1660 rockchip,disable-mmu-reset;
1661 status = "disabled";
1664 hdmi_sound: hdmi-sound {
1665 compatible = "simple-audio-card";
1666 simple-audio-card,format = "i2s";
1667 simple-audio-card,mclk-fs = <256>;
1668 simple-audio-card,name = "hdmi-sound";
1669 status = "disabled";
1671 simple-audio-card,cpu {
1672 sound-dai = <&i2s2>;
1674 simple-audio-card,codec {
1675 sound-dai = <&hdmi>;
1679 hdmi: hdmi@ff940000 {
1680 compatible = "rockchip,rk3399-dw-hdmi";
1681 reg = <0x0 0xff940000 0x0 0x20000>;
1682 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH 0>;
1683 clocks = <&cru PCLK_HDMI_CTRL>,
1684 <&cru SCLK_HDMI_SFR>,
1686 <&cru PCLK_VIO_GRF>,
1687 <&cru SCLK_HDMI_CEC>;
1688 clock-names = "iahb", "isfr", "vpll", "grf", "cec";
1689 power-domains = <&power RK3399_PD_HDCP>;
1691 rockchip,grf = <&grf>;
1692 #sound-dai-cells = <0>;
1693 status = "disabled";
1697 #address-cells = <1>;
1700 hdmi_in_vopb: endpoint@0 {
1702 remote-endpoint = <&vopb_out_hdmi>;
1704 hdmi_in_vopl: endpoint@1 {
1706 remote-endpoint = <&vopl_out_hdmi>;
1712 mipi_dsi: mipi@ff960000 {
1713 compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi";
1714 reg = <0x0 0xff960000 0x0 0x8000>;
1715 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH 0>;
1716 clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI0>,
1717 <&cru SCLK_DPHY_TX0_CFG>, <&cru PCLK_VIO_GRF>;
1718 clock-names = "ref", "pclk", "phy_cfg", "grf";
1719 power-domains = <&power RK3399_PD_VIO>;
1720 resets = <&cru SRST_P_MIPI_DSI0>;
1721 reset-names = "apb";
1722 rockchip,grf = <&grf>;
1723 status = "disabled";
1726 #address-cells = <1>;
1731 #address-cells = <1>;
1734 mipi_in_vopb: endpoint@0 {
1736 remote-endpoint = <&vopb_out_mipi>;
1738 mipi_in_vopl: endpoint@1 {
1740 remote-endpoint = <&vopl_out_mipi>;
1746 mipi_dsi1: mipi@ff968000 {
1747 compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi";
1748 reg = <0x0 0xff968000 0x0 0x8000>;
1749 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH 0>;
1750 clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI1>,
1751 <&cru SCLK_DPHY_TX1RX1_CFG>, <&cru PCLK_VIO_GRF>;
1752 clock-names = "ref", "pclk", "phy_cfg", "grf";
1753 power-domains = <&power RK3399_PD_VIO>;
1754 resets = <&cru SRST_P_MIPI_DSI1>;
1755 reset-names = "apb";
1756 rockchip,grf = <&grf>;
1757 status = "disabled";
1760 #address-cells = <1>;
1765 #address-cells = <1>;
1768 mipi1_in_vopb: endpoint@0 {
1770 remote-endpoint = <&vopb_out_mipi1>;
1773 mipi1_in_vopl: endpoint@1 {
1775 remote-endpoint = <&vopl_out_mipi1>;
1782 compatible = "rockchip,rk3399-edp";
1783 reg = <0x0 0xff970000 0x0 0x8000>;
1784 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH 0>;
1785 clocks = <&cru PCLK_EDP>, <&cru PCLK_EDP_CTRL>, <&cru PCLK_VIO_GRF>;
1786 clock-names = "dp", "pclk", "grf";
1787 pinctrl-names = "default";
1788 pinctrl-0 = <&edp_hpd>;
1789 power-domains = <&power RK3399_PD_EDP>;
1790 resets = <&cru SRST_P_EDP_CTRL>;
1792 rockchip,grf = <&grf>;
1793 status = "disabled";
1796 #address-cells = <1>;
1800 #address-cells = <1>;
1803 edp_in_vopb: endpoint@0 {
1805 remote-endpoint = <&vopb_out_edp>;
1808 edp_in_vopl: endpoint@1 {
1810 remote-endpoint = <&vopl_out_edp>;
1817 compatible = "rockchip,rk3399-mali", "arm,mali-t860";
1818 reg = <0x0 0xff9a0000 0x0 0x10000>;
1819 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH 0>,
1820 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH 0>,
1821 <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH 0>;
1822 interrupt-names = "gpu", "job", "mmu";
1823 clocks = <&cru ACLK_GPU>;
1824 power-domains = <&power RK3399_PD_GPU>;
1825 status = "disabled";
1829 compatible = "rockchip,rk3399-pinctrl";
1830 rockchip,grf = <&grf>;
1831 rockchip,pmu = <&pmugrf>;
1832 #address-cells = <2>;
1836 gpio0: gpio0@ff720000 {
1837 compatible = "rockchip,gpio-bank";
1838 reg = <0x0 0xff720000 0x0 0x100>;
1839 clocks = <&pmucru PCLK_GPIO0_PMU>;
1840 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH 0>;
1843 #gpio-cells = <0x2>;
1845 interrupt-controller;
1846 #interrupt-cells = <0x2>;
1849 gpio1: gpio1@ff730000 {
1850 compatible = "rockchip,gpio-bank";
1851 reg = <0x0 0xff730000 0x0 0x100>;
1852 clocks = <&pmucru PCLK_GPIO1_PMU>;
1853 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH 0>;
1856 #gpio-cells = <0x2>;
1858 interrupt-controller;
1859 #interrupt-cells = <0x2>;
1862 gpio2: gpio2@ff780000 {
1863 compatible = "rockchip,gpio-bank";
1864 reg = <0x0 0xff780000 0x0 0x100>;
1865 clocks = <&cru PCLK_GPIO2>;
1866 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH 0>;
1869 #gpio-cells = <0x2>;
1871 interrupt-controller;
1872 #interrupt-cells = <0x2>;
1875 gpio3: gpio3@ff788000 {
1876 compatible = "rockchip,gpio-bank";
1877 reg = <0x0 0xff788000 0x0 0x100>;
1878 clocks = <&cru PCLK_GPIO3>;
1879 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH 0>;
1882 #gpio-cells = <0x2>;
1884 interrupt-controller;
1885 #interrupt-cells = <0x2>;
1888 gpio4: gpio4@ff790000 {
1889 compatible = "rockchip,gpio-bank";
1890 reg = <0x0 0xff790000 0x0 0x100>;
1891 clocks = <&cru PCLK_GPIO4>;
1892 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH 0>;
1895 #gpio-cells = <0x2>;
1897 interrupt-controller;
1898 #interrupt-cells = <0x2>;
1901 pcfg_pull_up: pcfg-pull-up {
1905 pcfg_pull_down: pcfg-pull-down {
1909 pcfg_pull_none: pcfg-pull-none {
1913 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
1915 drive-strength = <12>;
1918 pcfg_pull_none_13ma: pcfg-pull-none-13ma {
1920 drive-strength = <13>;
1923 pcfg_pull_none_18ma: pcfg-pull-none-18ma {
1925 drive-strength = <18>;
1928 pcfg_pull_none_20ma: pcfg-pull-none-20ma {
1930 drive-strength = <20>;
1933 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
1935 drive-strength = <2>;
1938 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
1940 drive-strength = <8>;
1943 pcfg_pull_up_18ma: pcfg-pull-up-18ma {
1945 drive-strength = <18>;
1948 pcfg_pull_up_20ma: pcfg-pull-up-20ma {
1950 drive-strength = <20>;
1953 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
1955 drive-strength = <4>;
1958 pcfg_pull_down_8ma: pcfg-pull-down-8ma {
1960 drive-strength = <8>;
1963 pcfg_pull_down_12ma: pcfg-pull-down-12ma {
1965 drive-strength = <12>;
1968 pcfg_pull_down_18ma: pcfg-pull-down-18ma {
1970 drive-strength = <18>;
1973 pcfg_pull_down_20ma: pcfg-pull-down-20ma {
1975 drive-strength = <20>;
1978 pcfg_output_high: pcfg-output-high {
1982 pcfg_output_low: pcfg-output-low {
1988 rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
1995 <4 23 RK_FUNC_2 &pcfg_pull_none>;
2000 rgmii_pins: rgmii-pins {
2003 <3 17 RK_FUNC_1 &pcfg_pull_none_13ma>,
2005 <3 14 RK_FUNC_1 &pcfg_pull_none>,
2007 <3 13 RK_FUNC_1 &pcfg_pull_none>,
2009 <3 12 RK_FUNC_1 &pcfg_pull_none_13ma>,
2011 <3 11 RK_FUNC_1 &pcfg_pull_none>,
2013 <3 9 RK_FUNC_1 &pcfg_pull_none>,
2015 <3 8 RK_FUNC_1 &pcfg_pull_none>,
2017 <3 7 RK_FUNC_1 &pcfg_pull_none>,
2019 <3 6 RK_FUNC_1 &pcfg_pull_none>,
2021 <3 5 RK_FUNC_1 &pcfg_pull_none_13ma>,
2023 <3 4 RK_FUNC_1 &pcfg_pull_none_13ma>,
2025 <3 3 RK_FUNC_1 &pcfg_pull_none>,
2027 <3 2 RK_FUNC_1 &pcfg_pull_none>,
2029 <3 1 RK_FUNC_1 &pcfg_pull_none_13ma>,
2031 <3 0 RK_FUNC_1 &pcfg_pull_none_13ma>;
2034 rmii_pins: rmii-pins {
2037 <3 13 RK_FUNC_1 &pcfg_pull_none>,
2039 <3 12 RK_FUNC_1 &pcfg_pull_none_13ma>,
2041 <3 11 RK_FUNC_1 &pcfg_pull_none>,
2043 <3 10 RK_FUNC_1 &pcfg_pull_none>,
2045 <3 9 RK_FUNC_1 &pcfg_pull_none>,
2047 <3 8 RK_FUNC_1 &pcfg_pull_none>,
2049 <3 7 RK_FUNC_1 &pcfg_pull_none>,
2051 <3 6 RK_FUNC_1 &pcfg_pull_none>,
2053 <3 5 RK_FUNC_1 &pcfg_pull_none_13ma>,
2055 <3 4 RK_FUNC_1 &pcfg_pull_none_13ma>;
2060 i2c0_xfer: i2c0-xfer {
2062 <1 15 RK_FUNC_2 &pcfg_pull_none>,
2063 <1 16 RK_FUNC_2 &pcfg_pull_none>;
2068 i2c1_xfer: i2c1-xfer {
2070 <4 2 RK_FUNC_1 &pcfg_pull_none>,
2071 <4 1 RK_FUNC_1 &pcfg_pull_none>;
2076 i2c2_xfer: i2c2-xfer {
2078 <2 1 RK_FUNC_2 &pcfg_pull_none_12ma>,
2079 <2 0 RK_FUNC_2 &pcfg_pull_none_12ma>;
2084 i2c3_xfer: i2c3-xfer {
2086 <4 17 RK_FUNC_1 &pcfg_pull_none>,
2087 <4 16 RK_FUNC_1 &pcfg_pull_none>;
2092 i2c4_xfer: i2c4-xfer {
2094 <1 12 RK_FUNC_1 &pcfg_pull_none>,
2095 <1 11 RK_FUNC_1 &pcfg_pull_none>;
2100 i2c5_xfer: i2c5-xfer {
2102 <3 11 RK_FUNC_2 &pcfg_pull_none>,
2103 <3 10 RK_FUNC_2 &pcfg_pull_none>;
2108 i2c6_xfer: i2c6-xfer {
2110 <2 10 RK_FUNC_2 &pcfg_pull_none>,
2111 <2 9 RK_FUNC_2 &pcfg_pull_none>;
2116 i2c7_xfer: i2c7-xfer {
2118 <2 8 RK_FUNC_2 &pcfg_pull_none>,
2119 <2 7 RK_FUNC_2 &pcfg_pull_none>;
2124 i2c8_xfer: i2c8-xfer {
2126 <1 21 RK_FUNC_1 &pcfg_pull_none>,
2127 <1 20 RK_FUNC_1 &pcfg_pull_none>;
2132 i2s0_2ch_bus: i2s0-2ch-bus {
2134 <3 24 RK_FUNC_1 &pcfg_pull_none>,
2135 <3 25 RK_FUNC_1 &pcfg_pull_none>,
2136 <3 26 RK_FUNC_1 &pcfg_pull_none>,
2137 <3 27 RK_FUNC_1 &pcfg_pull_none>,
2138 <3 31 RK_FUNC_1 &pcfg_pull_none>,
2139 <4 0 RK_FUNC_1 &pcfg_pull_none>;
2142 i2s0_8ch_bus: i2s0-8ch-bus {
2144 <3 24 RK_FUNC_1 &pcfg_pull_none>,
2145 <3 25 RK_FUNC_1 &pcfg_pull_none>,
2146 <3 26 RK_FUNC_1 &pcfg_pull_none>,
2147 <3 27 RK_FUNC_1 &pcfg_pull_none>,
2148 <3 28 RK_FUNC_1 &pcfg_pull_none>,
2149 <3 29 RK_FUNC_1 &pcfg_pull_none>,
2150 <3 30 RK_FUNC_1 &pcfg_pull_none>,
2151 <3 31 RK_FUNC_1 &pcfg_pull_none>,
2152 <4 0 RK_FUNC_1 &pcfg_pull_none>;
2157 i2s1_2ch_bus: i2s1-2ch-bus {
2159 <4 3 RK_FUNC_1 &pcfg_pull_none>,
2160 <4 4 RK_FUNC_1 &pcfg_pull_none>,
2161 <4 5 RK_FUNC_1 &pcfg_pull_none>,
2162 <4 6 RK_FUNC_1 &pcfg_pull_none>,
2163 <4 7 RK_FUNC_1 &pcfg_pull_none>;
2168 sdio0_bus1: sdio0-bus1 {
2170 <2 RK_PC4 RK_FUNC_1 &pcfg_pull_up>;
2173 sdio0_bus4: sdio0-bus4 {
2175 <2 RK_PC4 RK_FUNC_1 &pcfg_pull_up>,
2176 <2 RK_PC5 RK_FUNC_1 &pcfg_pull_up>,
2177 <2 RK_PC6 RK_FUNC_1 &pcfg_pull_up>,
2178 <2 RK_PC7 RK_FUNC_1 &pcfg_pull_up>;
2181 sdio0_cmd: sdio0-cmd {
2183 <2 RK_PD0 RK_FUNC_1 &pcfg_pull_up>;
2186 sdio0_clk: sdio0-clk {
2188 <2 RK_PD1 RK_FUNC_1 &pcfg_pull_none>;
2191 sdio0_cd: sdio0-cd {
2193 <2 RK_PD2 RK_FUNC_1 &pcfg_pull_up>;
2196 sdio0_pwr: sdio0-pwr {
2198 <2 RK_PD3 RK_FUNC_1 &pcfg_pull_up>;
2201 sdio0_bkpwr: sdio0-bkpwr {
2203 <2 RK_PD4 RK_FUNC_1 &pcfg_pull_up>;
2206 sdio0_wp: sdio0-wp {
2208 <0 RK_PA3 RK_FUNC_1 &pcfg_pull_up>;
2211 sdio0_int: sdio0-int {
2213 <0 RK_PA4 RK_FUNC_1 &pcfg_pull_up>;
2218 sdmmc_bus1: sdmmc-bus1 {
2220 <4 RK_PB0 RK_FUNC_1 &pcfg_pull_up>;
2223 sdmmc_bus4: sdmmc-bus4 {
2225 <4 RK_PB0 RK_FUNC_1 &pcfg_pull_up>,
2226 <4 RK_PB1 RK_FUNC_1 &pcfg_pull_up>,
2227 <4 RK_PB2 RK_FUNC_1 &pcfg_pull_up>,
2228 <4 RK_PB3 RK_FUNC_1 &pcfg_pull_up>;
2231 sdmmc_clk: sdmmc-clk {
2233 <4 RK_PB4 RK_FUNC_1 &pcfg_pull_none>;
2236 sdmmc_cmd: sdmmc-cmd {
2238 <4 RK_PB5 RK_FUNC_1 &pcfg_pull_up>;
2241 sdmmc_cd: sdmmc-cd {
2243 <0 RK_PA7 RK_FUNC_1 &pcfg_pull_up>;
2246 sdmmc_wp: sdmmc-wp {
2248 <0 RK_PB0 RK_FUNC_1 &pcfg_pull_up>;
2253 ap_pwroff: ap-pwroff {
2254 rockchip,pins = <1 5 RK_FUNC_1 &pcfg_pull_none>;
2257 ddrio_pwroff: ddrio-pwroff {
2258 rockchip,pins = <0 1 RK_FUNC_1 &pcfg_pull_none>;
2263 spdif_bus: spdif-bus {
2265 <4 21 RK_FUNC_1 &pcfg_pull_none>;
2268 spdif_bus_1: spdif-bus-1 {
2270 <3 RK_PC0 RK_FUNC_3 &pcfg_pull_none>;
2275 spi0_clk: spi0-clk {
2277 <3 6 RK_FUNC_2 &pcfg_pull_up>;
2279 spi0_cs0: spi0-cs0 {
2281 <3 7 RK_FUNC_2 &pcfg_pull_up>;
2283 spi0_cs1: spi0-cs1 {
2285 <3 8 RK_FUNC_2 &pcfg_pull_up>;
2289 <3 5 RK_FUNC_2 &pcfg_pull_up>;
2293 <3 4 RK_FUNC_2 &pcfg_pull_up>;
2298 spi1_clk: spi1-clk {
2300 <1 9 RK_FUNC_2 &pcfg_pull_up>;
2302 spi1_cs0: spi1-cs0 {
2304 <1 10 RK_FUNC_2 &pcfg_pull_up>;
2308 <1 7 RK_FUNC_2 &pcfg_pull_up>;
2312 <1 8 RK_FUNC_2 &pcfg_pull_up>;
2317 spi2_clk: spi2-clk {
2319 <2 11 RK_FUNC_1 &pcfg_pull_up>;
2321 spi2_cs0: spi2-cs0 {
2323 <2 12 RK_FUNC_1 &pcfg_pull_up>;
2327 <2 9 RK_FUNC_1 &pcfg_pull_up>;
2331 <2 10 RK_FUNC_1 &pcfg_pull_up>;
2336 spi3_clk: spi3-clk {
2338 <1 17 RK_FUNC_1 &pcfg_pull_up>;
2340 spi3_cs0: spi3-cs0 {
2342 <1 18 RK_FUNC_1 &pcfg_pull_up>;
2346 <1 15 RK_FUNC_1 &pcfg_pull_up>;
2350 <1 16 RK_FUNC_1 &pcfg_pull_up>;
2355 spi4_clk: spi4-clk {
2357 <3 2 RK_FUNC_2 &pcfg_pull_up>;
2359 spi4_cs0: spi4-cs0 {
2361 <3 3 RK_FUNC_2 &pcfg_pull_up>;
2365 <3 0 RK_FUNC_2 &pcfg_pull_up>;
2369 <3 1 RK_FUNC_2 &pcfg_pull_up>;
2374 spi5_clk: spi5-clk {
2376 <2 22 RK_FUNC_2 &pcfg_pull_up>;
2378 spi5_cs0: spi5-cs0 {
2380 <2 23 RK_FUNC_2 &pcfg_pull_up>;
2384 <2 20 RK_FUNC_2 &pcfg_pull_up>;
2388 <2 21 RK_FUNC_2 &pcfg_pull_up>;
2393 test_clkout0: test-clkout0 {
2395 <0 0 RK_FUNC_1 &pcfg_pull_none>;
2398 test_clkout1: test-clkout1 {
2400 <2 25 RK_FUNC_2 &pcfg_pull_none>;
2403 test_clkout2: test-clkout2 {
2405 <0 8 RK_FUNC_3 &pcfg_pull_none>;
2410 otp_gpio: otp-gpio {
2411 rockchip,pins = <1 6 RK_FUNC_GPIO &pcfg_pull_none>;
2415 rockchip,pins = <1 6 RK_FUNC_1 &pcfg_pull_none>;
2420 uart0_xfer: uart0-xfer {
2422 <2 16 RK_FUNC_1 &pcfg_pull_up>,
2423 <2 17 RK_FUNC_1 &pcfg_pull_none>;
2426 uart0_cts: uart0-cts {
2428 <2 18 RK_FUNC_1 &pcfg_pull_none>;
2431 uart0_rts: uart0-rts {
2433 <2 19 RK_FUNC_1 &pcfg_pull_none>;
2438 uart1_xfer: uart1-xfer {
2440 <3 12 RK_FUNC_2 &pcfg_pull_up>,
2441 <3 13 RK_FUNC_2 &pcfg_pull_none>;
2446 uart2a_xfer: uart2a-xfer {
2448 <4 8 RK_FUNC_2 &pcfg_pull_up>,
2449 <4 9 RK_FUNC_2 &pcfg_pull_none>;
2454 uart2b_xfer: uart2b-xfer {
2456 <4 16 RK_FUNC_2 &pcfg_pull_up>,
2457 <4 17 RK_FUNC_2 &pcfg_pull_none>;
2462 uart2c_xfer: uart2c-xfer {
2464 <4 19 RK_FUNC_1 &pcfg_pull_up>,
2465 <4 20 RK_FUNC_1 &pcfg_pull_none>;
2470 uart3_xfer: uart3-xfer {
2472 <3 14 RK_FUNC_2 &pcfg_pull_up>,
2473 <3 15 RK_FUNC_2 &pcfg_pull_none>;
2476 uart3_cts: uart3-cts {
2478 <3 18 RK_FUNC_2 &pcfg_pull_none>;
2481 uart3_rts: uart3-rts {
2483 <3 19 RK_FUNC_2 &pcfg_pull_none>;
2488 uart4_xfer: uart4-xfer {
2490 <1 7 RK_FUNC_1 &pcfg_pull_up>,
2491 <1 8 RK_FUNC_1 &pcfg_pull_none>;
2496 uarthdcp_xfer: uarthdcp-xfer {
2498 <4 21 RK_FUNC_2 &pcfg_pull_up>,
2499 <4 22 RK_FUNC_2 &pcfg_pull_none>;
2504 pwm0_pin: pwm0-pin {
2506 <4 RK_PC2 RK_FUNC_1 &pcfg_pull_none>;
2509 pwm0_pin_pull_down: pwm0-pin-pull-down {
2511 <4 RK_PC2 RK_FUNC_1 &pcfg_pull_down>;
2514 vop0_pwm_pin: vop0-pwm-pin {
2516 <4 RK_PC2 RK_FUNC_2 &pcfg_pull_none>;
2519 vop1_pwm_pin: vop1-pwm-pin {
2521 <4 RK_PC2 RK_FUNC_3 &pcfg_pull_none>;
2526 pwm1_pin: pwm1-pin {
2528 <4 RK_PC6 RK_FUNC_1 &pcfg_pull_none>;
2531 pwm1_pin_pull_down: pwm1-pin-pull-down {
2533 <4 RK_PC6 RK_FUNC_1 &pcfg_pull_down>;
2538 pwm2_pin: pwm2-pin {
2540 <1 RK_PC3 RK_FUNC_1 &pcfg_pull_none>;
2543 pwm2_pin_pull_down: pwm2-pin-pull-down {
2545 <1 RK_PC3 RK_FUNC_1 &pcfg_pull_down>;
2550 pwm3a_pin: pwm3a-pin {
2552 <0 RK_PA6 RK_FUNC_1 &pcfg_pull_none>;
2557 pwm3b_pin: pwm3b-pin {
2559 <1 RK_PB6 RK_FUNC_1 &pcfg_pull_none>;
2564 hdmi_i2c_xfer: hdmi-i2c-xfer {
2566 <4 RK_PC1 RK_FUNC_3 &pcfg_pull_none>,
2567 <4 RK_PC0 RK_FUNC_3 &pcfg_pull_none>;
2570 hdmi_cec: hdmi-cec {
2572 <4 RK_PC7 RK_FUNC_1 &pcfg_pull_none>;
2577 pcie_clkreqn_cpm: pci-clkreqn-cpm {
2579 <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
2582 pcie_clkreqnb_cpm: pci-clkreqnb-cpm {
2584 <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;