1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd 4c66ec88fSEmmanuel Vadot */ 5c66ec88fSEmmanuel Vadot 6c66ec88fSEmmanuel Vadot#include <dt-bindings/clock/rk3399-cru.h> 7c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 8c66ec88fSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 9c66ec88fSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 10c66ec88fSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h> 11c66ec88fSEmmanuel Vadot#include <dt-bindings/power/rk3399-power.h> 12c66ec88fSEmmanuel Vadot#include <dt-bindings/thermal/thermal.h> 13c66ec88fSEmmanuel Vadot 14c66ec88fSEmmanuel Vadot/ { 15c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399"; 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot interrupt-parent = <&gic>; 18c66ec88fSEmmanuel Vadot #address-cells = <2>; 19c66ec88fSEmmanuel Vadot #size-cells = <2>; 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot aliases { 22c66ec88fSEmmanuel Vadot ethernet0 = &gmac; 23c66ec88fSEmmanuel Vadot i2c0 = &i2c0; 24c66ec88fSEmmanuel Vadot i2c1 = &i2c1; 25c66ec88fSEmmanuel Vadot i2c2 = &i2c2; 26c66ec88fSEmmanuel Vadot i2c3 = &i2c3; 27c66ec88fSEmmanuel Vadot i2c4 = &i2c4; 28c66ec88fSEmmanuel Vadot i2c5 = &i2c5; 29c66ec88fSEmmanuel Vadot i2c6 = &i2c6; 30c66ec88fSEmmanuel Vadot i2c7 = &i2c7; 31c66ec88fSEmmanuel Vadot i2c8 = &i2c8; 32c66ec88fSEmmanuel Vadot serial0 = &uart0; 33c66ec88fSEmmanuel Vadot serial1 = &uart1; 34c66ec88fSEmmanuel Vadot serial2 = &uart2; 35c66ec88fSEmmanuel Vadot serial3 = &uart3; 36c66ec88fSEmmanuel Vadot serial4 = &uart4; 37c66ec88fSEmmanuel Vadot }; 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot cpus { 40c66ec88fSEmmanuel Vadot #address-cells = <2>; 41c66ec88fSEmmanuel Vadot #size-cells = <0>; 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot cpu-map { 44c66ec88fSEmmanuel Vadot cluster0 { 45c66ec88fSEmmanuel Vadot core0 { 46c66ec88fSEmmanuel Vadot cpu = <&cpu_l0>; 47c66ec88fSEmmanuel Vadot }; 48c66ec88fSEmmanuel Vadot core1 { 49c66ec88fSEmmanuel Vadot cpu = <&cpu_l1>; 50c66ec88fSEmmanuel Vadot }; 51c66ec88fSEmmanuel Vadot core2 { 52c66ec88fSEmmanuel Vadot cpu = <&cpu_l2>; 53c66ec88fSEmmanuel Vadot }; 54c66ec88fSEmmanuel Vadot core3 { 55c66ec88fSEmmanuel Vadot cpu = <&cpu_l3>; 56c66ec88fSEmmanuel Vadot }; 57c66ec88fSEmmanuel Vadot }; 58c66ec88fSEmmanuel Vadot 59c66ec88fSEmmanuel Vadot cluster1 { 60c66ec88fSEmmanuel Vadot core0 { 61c66ec88fSEmmanuel Vadot cpu = <&cpu_b0>; 62c66ec88fSEmmanuel Vadot }; 63c66ec88fSEmmanuel Vadot core1 { 64c66ec88fSEmmanuel Vadot cpu = <&cpu_b1>; 65c66ec88fSEmmanuel Vadot }; 66c66ec88fSEmmanuel Vadot }; 67c66ec88fSEmmanuel Vadot }; 68c66ec88fSEmmanuel Vadot 69c66ec88fSEmmanuel Vadot cpu_l0: cpu@0 { 70c66ec88fSEmmanuel Vadot device_type = "cpu"; 71c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a53"; 72c66ec88fSEmmanuel Vadot reg = <0x0 0x0>; 73c66ec88fSEmmanuel Vadot enable-method = "psci"; 74c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <485>; 75c66ec88fSEmmanuel Vadot clocks = <&cru ARMCLKL>; 76c66ec88fSEmmanuel Vadot #cooling-cells = <2>; /* min followed by max */ 77c66ec88fSEmmanuel Vadot dynamic-power-coefficient = <100>; 78c66ec88fSEmmanuel Vadot cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>; 79c66ec88fSEmmanuel Vadot }; 80c66ec88fSEmmanuel Vadot 81c66ec88fSEmmanuel Vadot cpu_l1: cpu@1 { 82c66ec88fSEmmanuel Vadot device_type = "cpu"; 83c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a53"; 84c66ec88fSEmmanuel Vadot reg = <0x0 0x1>; 85c66ec88fSEmmanuel Vadot enable-method = "psci"; 86c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <485>; 87c66ec88fSEmmanuel Vadot clocks = <&cru ARMCLKL>; 88c66ec88fSEmmanuel Vadot #cooling-cells = <2>; /* min followed by max */ 89c66ec88fSEmmanuel Vadot dynamic-power-coefficient = <100>; 90c66ec88fSEmmanuel Vadot cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>; 91c66ec88fSEmmanuel Vadot }; 92c66ec88fSEmmanuel Vadot 93c66ec88fSEmmanuel Vadot cpu_l2: cpu@2 { 94c66ec88fSEmmanuel Vadot device_type = "cpu"; 95c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a53"; 96c66ec88fSEmmanuel Vadot reg = <0x0 0x2>; 97c66ec88fSEmmanuel Vadot enable-method = "psci"; 98c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <485>; 99c66ec88fSEmmanuel Vadot clocks = <&cru ARMCLKL>; 100c66ec88fSEmmanuel Vadot #cooling-cells = <2>; /* min followed by max */ 101c66ec88fSEmmanuel Vadot dynamic-power-coefficient = <100>; 102c66ec88fSEmmanuel Vadot cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>; 103c66ec88fSEmmanuel Vadot }; 104c66ec88fSEmmanuel Vadot 105c66ec88fSEmmanuel Vadot cpu_l3: cpu@3 { 106c66ec88fSEmmanuel Vadot device_type = "cpu"; 107c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a53"; 108c66ec88fSEmmanuel Vadot reg = <0x0 0x3>; 109c66ec88fSEmmanuel Vadot enable-method = "psci"; 110c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <485>; 111c66ec88fSEmmanuel Vadot clocks = <&cru ARMCLKL>; 112c66ec88fSEmmanuel Vadot #cooling-cells = <2>; /* min followed by max */ 113c66ec88fSEmmanuel Vadot dynamic-power-coefficient = <100>; 114c66ec88fSEmmanuel Vadot cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>; 115c66ec88fSEmmanuel Vadot }; 116c66ec88fSEmmanuel Vadot 117c66ec88fSEmmanuel Vadot cpu_b0: cpu@100 { 118c66ec88fSEmmanuel Vadot device_type = "cpu"; 119c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a72"; 120c66ec88fSEmmanuel Vadot reg = <0x0 0x100>; 121c66ec88fSEmmanuel Vadot enable-method = "psci"; 122c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <1024>; 123c66ec88fSEmmanuel Vadot clocks = <&cru ARMCLKB>; 124c66ec88fSEmmanuel Vadot #cooling-cells = <2>; /* min followed by max */ 125c66ec88fSEmmanuel Vadot dynamic-power-coefficient = <436>; 126c66ec88fSEmmanuel Vadot cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>; 127*8cc087a1SEmmanuel Vadot 128*8cc087a1SEmmanuel Vadot thermal-idle { 129*8cc087a1SEmmanuel Vadot #cooling-cells = <2>; 130*8cc087a1SEmmanuel Vadot duration-us = <10000>; 131*8cc087a1SEmmanuel Vadot exit-latency-us = <500>; 132*8cc087a1SEmmanuel Vadot }; 133c66ec88fSEmmanuel Vadot }; 134c66ec88fSEmmanuel Vadot 135c66ec88fSEmmanuel Vadot cpu_b1: cpu@101 { 136c66ec88fSEmmanuel Vadot device_type = "cpu"; 137c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a72"; 138c66ec88fSEmmanuel Vadot reg = <0x0 0x101>; 139c66ec88fSEmmanuel Vadot enable-method = "psci"; 140c66ec88fSEmmanuel Vadot capacity-dmips-mhz = <1024>; 141c66ec88fSEmmanuel Vadot clocks = <&cru ARMCLKB>; 142c66ec88fSEmmanuel Vadot #cooling-cells = <2>; /* min followed by max */ 143c66ec88fSEmmanuel Vadot dynamic-power-coefficient = <436>; 144c66ec88fSEmmanuel Vadot cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>; 145*8cc087a1SEmmanuel Vadot 146*8cc087a1SEmmanuel Vadot thermal-idle { 147*8cc087a1SEmmanuel Vadot #cooling-cells = <2>; 148*8cc087a1SEmmanuel Vadot duration-us = <10000>; 149*8cc087a1SEmmanuel Vadot exit-latency-us = <500>; 150*8cc087a1SEmmanuel Vadot }; 151c66ec88fSEmmanuel Vadot }; 152c66ec88fSEmmanuel Vadot 153c66ec88fSEmmanuel Vadot idle-states { 154c66ec88fSEmmanuel Vadot entry-method = "psci"; 155c66ec88fSEmmanuel Vadot 156c66ec88fSEmmanuel Vadot CPU_SLEEP: cpu-sleep { 157c66ec88fSEmmanuel Vadot compatible = "arm,idle-state"; 158c66ec88fSEmmanuel Vadot local-timer-stop; 159c66ec88fSEmmanuel Vadot arm,psci-suspend-param = <0x0010000>; 160c66ec88fSEmmanuel Vadot entry-latency-us = <120>; 161c66ec88fSEmmanuel Vadot exit-latency-us = <250>; 162c66ec88fSEmmanuel Vadot min-residency-us = <900>; 163c66ec88fSEmmanuel Vadot }; 164c66ec88fSEmmanuel Vadot 165c66ec88fSEmmanuel Vadot CLUSTER_SLEEP: cluster-sleep { 166c66ec88fSEmmanuel Vadot compatible = "arm,idle-state"; 167c66ec88fSEmmanuel Vadot local-timer-stop; 168c66ec88fSEmmanuel Vadot arm,psci-suspend-param = <0x1010000>; 169c66ec88fSEmmanuel Vadot entry-latency-us = <400>; 170c66ec88fSEmmanuel Vadot exit-latency-us = <500>; 171c66ec88fSEmmanuel Vadot min-residency-us = <2000>; 172c66ec88fSEmmanuel Vadot }; 173c66ec88fSEmmanuel Vadot }; 174c66ec88fSEmmanuel Vadot }; 175c66ec88fSEmmanuel Vadot 176c66ec88fSEmmanuel Vadot display-subsystem { 177c66ec88fSEmmanuel Vadot compatible = "rockchip,display-subsystem"; 178c66ec88fSEmmanuel Vadot ports = <&vopl_out>, <&vopb_out>; 179c66ec88fSEmmanuel Vadot }; 180c66ec88fSEmmanuel Vadot 181c66ec88fSEmmanuel Vadot pmu_a53 { 182c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a53-pmu"; 183c66ec88fSEmmanuel Vadot interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster0>; 184c66ec88fSEmmanuel Vadot }; 185c66ec88fSEmmanuel Vadot 186c66ec88fSEmmanuel Vadot pmu_a72 { 187c66ec88fSEmmanuel Vadot compatible = "arm,cortex-a72-pmu"; 188c66ec88fSEmmanuel Vadot interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &ppi_cluster1>; 189c66ec88fSEmmanuel Vadot }; 190c66ec88fSEmmanuel Vadot 191c66ec88fSEmmanuel Vadot psci { 192c66ec88fSEmmanuel Vadot compatible = "arm,psci-1.0"; 193c66ec88fSEmmanuel Vadot method = "smc"; 194c66ec88fSEmmanuel Vadot }; 195c66ec88fSEmmanuel Vadot 196c66ec88fSEmmanuel Vadot timer { 197c66ec88fSEmmanuel Vadot compatible = "arm,armv8-timer"; 198c66ec88fSEmmanuel Vadot interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>, 199c66ec88fSEmmanuel Vadot <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>, 200c66ec88fSEmmanuel Vadot <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>, 201c66ec88fSEmmanuel Vadot <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>; 202c66ec88fSEmmanuel Vadot arm,no-tick-in-suspend; 203c66ec88fSEmmanuel Vadot }; 204c66ec88fSEmmanuel Vadot 205c66ec88fSEmmanuel Vadot xin24m: xin24m { 206c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 207c66ec88fSEmmanuel Vadot clock-frequency = <24000000>; 208c66ec88fSEmmanuel Vadot clock-output-names = "xin24m"; 209c66ec88fSEmmanuel Vadot #clock-cells = <0>; 210c66ec88fSEmmanuel Vadot }; 211c66ec88fSEmmanuel Vadot 212c66ec88fSEmmanuel Vadot pcie0: pcie@f8000000 { 213c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pcie"; 214c66ec88fSEmmanuel Vadot reg = <0x0 0xf8000000 0x0 0x2000000>, 215c66ec88fSEmmanuel Vadot <0x0 0xfd000000 0x0 0x1000000>; 216c66ec88fSEmmanuel Vadot reg-names = "axi-base", "apb-base"; 2175def4c47SEmmanuel Vadot device_type = "pci"; 218c66ec88fSEmmanuel Vadot #address-cells = <3>; 219c66ec88fSEmmanuel Vadot #size-cells = <2>; 220c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 221c66ec88fSEmmanuel Vadot aspm-no-l0s; 222c66ec88fSEmmanuel Vadot bus-range = <0x0 0x1f>; 223c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>, 224c66ec88fSEmmanuel Vadot <&cru PCLK_PCIE>, <&cru SCLK_PCIE_PM>; 225c66ec88fSEmmanuel Vadot clock-names = "aclk", "aclk-perf", 226c66ec88fSEmmanuel Vadot "hclk", "pm"; 227c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH 0>, 228c66ec88fSEmmanuel Vadot <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH 0>, 229c66ec88fSEmmanuel Vadot <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH 0>; 230c66ec88fSEmmanuel Vadot interrupt-names = "sys", "legacy", "client"; 231c66ec88fSEmmanuel Vadot interrupt-map-mask = <0 0 0 7>; 232c66ec88fSEmmanuel Vadot interrupt-map = <0 0 0 1 &pcie0_intc 0>, 233c66ec88fSEmmanuel Vadot <0 0 0 2 &pcie0_intc 1>, 234c66ec88fSEmmanuel Vadot <0 0 0 3 &pcie0_intc 2>, 235c66ec88fSEmmanuel Vadot <0 0 0 4 &pcie0_intc 3>; 236c66ec88fSEmmanuel Vadot max-link-speed = <1>; 237c66ec88fSEmmanuel Vadot msi-map = <0x0 &its 0x0 0x1000>; 238c66ec88fSEmmanuel Vadot phys = <&pcie_phy 0>, <&pcie_phy 1>, 239c66ec88fSEmmanuel Vadot <&pcie_phy 2>, <&pcie_phy 3>; 240c66ec88fSEmmanuel Vadot phy-names = "pcie-phy-0", "pcie-phy-1", 241c66ec88fSEmmanuel Vadot "pcie-phy-2", "pcie-phy-3"; 2425956d97fSEmmanuel Vadot ranges = <0x82000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x1e00000>, 2435def4c47SEmmanuel Vadot <0x81000000 0x0 0xfbe00000 0x0 0xfbe00000 0x0 0x100000>; 244c66ec88fSEmmanuel Vadot resets = <&cru SRST_PCIE_CORE>, <&cru SRST_PCIE_MGMT>, 245c66ec88fSEmmanuel Vadot <&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE>, 246c66ec88fSEmmanuel Vadot <&cru SRST_PCIE_PM>, <&cru SRST_P_PCIE>, 247c66ec88fSEmmanuel Vadot <&cru SRST_A_PCIE>; 248c66ec88fSEmmanuel Vadot reset-names = "core", "mgmt", "mgmt-sticky", "pipe", 249c66ec88fSEmmanuel Vadot "pm", "pclk", "aclk"; 250c66ec88fSEmmanuel Vadot status = "disabled"; 251c66ec88fSEmmanuel Vadot 252c66ec88fSEmmanuel Vadot pcie0_intc: interrupt-controller { 253c66ec88fSEmmanuel Vadot interrupt-controller; 254c66ec88fSEmmanuel Vadot #address-cells = <0>; 255c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 256c66ec88fSEmmanuel Vadot }; 257c66ec88fSEmmanuel Vadot }; 258c66ec88fSEmmanuel Vadot 259c66ec88fSEmmanuel Vadot gmac: ethernet@fe300000 { 260c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-gmac"; 261c66ec88fSEmmanuel Vadot reg = <0x0 0xfe300000 0x0 0x10000>; 262c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH 0>; 263c66ec88fSEmmanuel Vadot interrupt-names = "macirq"; 264c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_MAC>, <&cru SCLK_MAC_RX>, 265c66ec88fSEmmanuel Vadot <&cru SCLK_MAC_TX>, <&cru SCLK_MACREF>, 266c66ec88fSEmmanuel Vadot <&cru SCLK_MACREF_OUT>, <&cru ACLK_GMAC>, 267c66ec88fSEmmanuel Vadot <&cru PCLK_GMAC>; 268c66ec88fSEmmanuel Vadot clock-names = "stmmaceth", "mac_clk_rx", 269c66ec88fSEmmanuel Vadot "mac_clk_tx", "clk_mac_ref", 270c66ec88fSEmmanuel Vadot "clk_mac_refout", "aclk_mac", 271c66ec88fSEmmanuel Vadot "pclk_mac"; 272c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_GMAC>; 273c66ec88fSEmmanuel Vadot resets = <&cru SRST_A_GMAC>; 274c66ec88fSEmmanuel Vadot reset-names = "stmmaceth"; 275c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 276c66ec88fSEmmanuel Vadot snps,txpbl = <0x4>; 277c66ec88fSEmmanuel Vadot status = "disabled"; 278c66ec88fSEmmanuel Vadot }; 279c66ec88fSEmmanuel Vadot 280c66ec88fSEmmanuel Vadot sdio0: mmc@fe310000 { 281c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-dw-mshc", 282c66ec88fSEmmanuel Vadot "rockchip,rk3288-dw-mshc"; 283c66ec88fSEmmanuel Vadot reg = <0x0 0xfe310000 0x0 0x4000>; 284c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH 0>; 285c66ec88fSEmmanuel Vadot max-frequency = <150000000>; 286c66ec88fSEmmanuel Vadot clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, 287c66ec88fSEmmanuel Vadot <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; 288c66ec88fSEmmanuel Vadot clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 289c66ec88fSEmmanuel Vadot fifo-depth = <0x100>; 290c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_SDIOAUDIO>; 291c66ec88fSEmmanuel Vadot resets = <&cru SRST_SDIO0>; 292c66ec88fSEmmanuel Vadot reset-names = "reset"; 293c66ec88fSEmmanuel Vadot status = "disabled"; 294c66ec88fSEmmanuel Vadot }; 295c66ec88fSEmmanuel Vadot 296c66ec88fSEmmanuel Vadot sdmmc: mmc@fe320000 { 297c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-dw-mshc", 298c66ec88fSEmmanuel Vadot "rockchip,rk3288-dw-mshc"; 299c66ec88fSEmmanuel Vadot reg = <0x0 0xfe320000 0x0 0x4000>; 300c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH 0>; 301c66ec88fSEmmanuel Vadot max-frequency = <150000000>; 302c66ec88fSEmmanuel Vadot assigned-clocks = <&cru HCLK_SD>; 303c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 304c66ec88fSEmmanuel Vadot clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, 305c66ec88fSEmmanuel Vadot <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; 306c66ec88fSEmmanuel Vadot clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 307c66ec88fSEmmanuel Vadot fifo-depth = <0x100>; 308c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_SD>; 309c66ec88fSEmmanuel Vadot resets = <&cru SRST_SDMMC>; 310c66ec88fSEmmanuel Vadot reset-names = "reset"; 311c66ec88fSEmmanuel Vadot status = "disabled"; 312c66ec88fSEmmanuel Vadot }; 313c66ec88fSEmmanuel Vadot 3145def4c47SEmmanuel Vadot sdhci: mmc@fe330000 { 315c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-sdhci-5.1", "arasan,sdhci-5.1"; 316c66ec88fSEmmanuel Vadot reg = <0x0 0xfe330000 0x0 0x10000>; 317c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH 0>; 318c66ec88fSEmmanuel Vadot arasan,soc-ctl-syscon = <&grf>; 319c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_EMMC>; 320c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 321c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>; 322c66ec88fSEmmanuel Vadot clock-names = "clk_xin", "clk_ahb"; 323c66ec88fSEmmanuel Vadot clock-output-names = "emmc_cardclock"; 324c66ec88fSEmmanuel Vadot #clock-cells = <0>; 325c66ec88fSEmmanuel Vadot phys = <&emmc_phy>; 326c66ec88fSEmmanuel Vadot phy-names = "phy_arasan"; 327c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_EMMC>; 328c66ec88fSEmmanuel Vadot disable-cqe-dcmd; 329c66ec88fSEmmanuel Vadot status = "disabled"; 330c66ec88fSEmmanuel Vadot }; 331c66ec88fSEmmanuel Vadot 332c66ec88fSEmmanuel Vadot usb_host0_ehci: usb@fe380000 { 333c66ec88fSEmmanuel Vadot compatible = "generic-ehci"; 334c66ec88fSEmmanuel Vadot reg = <0x0 0xfe380000 0x0 0x20000>; 335c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH 0>; 336c66ec88fSEmmanuel Vadot clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>, 337c66ec88fSEmmanuel Vadot <&u2phy0>; 338c66ec88fSEmmanuel Vadot phys = <&u2phy0_host>; 339c66ec88fSEmmanuel Vadot phy-names = "usb"; 340c66ec88fSEmmanuel Vadot status = "disabled"; 341c66ec88fSEmmanuel Vadot }; 342c66ec88fSEmmanuel Vadot 343c66ec88fSEmmanuel Vadot usb_host0_ohci: usb@fe3a0000 { 344c66ec88fSEmmanuel Vadot compatible = "generic-ohci"; 345c66ec88fSEmmanuel Vadot reg = <0x0 0xfe3a0000 0x0 0x20000>; 346c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH 0>; 347c66ec88fSEmmanuel Vadot clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>, 348c66ec88fSEmmanuel Vadot <&u2phy0>; 349c66ec88fSEmmanuel Vadot phys = <&u2phy0_host>; 350c66ec88fSEmmanuel Vadot phy-names = "usb"; 351c66ec88fSEmmanuel Vadot status = "disabled"; 352c66ec88fSEmmanuel Vadot }; 353c66ec88fSEmmanuel Vadot 354c66ec88fSEmmanuel Vadot usb_host1_ehci: usb@fe3c0000 { 355c66ec88fSEmmanuel Vadot compatible = "generic-ehci"; 356c66ec88fSEmmanuel Vadot reg = <0x0 0xfe3c0000 0x0 0x20000>; 357c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH 0>; 358c66ec88fSEmmanuel Vadot clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST1_ARB>, 359c66ec88fSEmmanuel Vadot <&u2phy1>; 360c66ec88fSEmmanuel Vadot phys = <&u2phy1_host>; 361c66ec88fSEmmanuel Vadot phy-names = "usb"; 362c66ec88fSEmmanuel Vadot status = "disabled"; 363c66ec88fSEmmanuel Vadot }; 364c66ec88fSEmmanuel Vadot 365c66ec88fSEmmanuel Vadot usb_host1_ohci: usb@fe3e0000 { 366c66ec88fSEmmanuel Vadot compatible = "generic-ohci"; 367c66ec88fSEmmanuel Vadot reg = <0x0 0xfe3e0000 0x0 0x20000>; 368c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH 0>; 369c66ec88fSEmmanuel Vadot clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST1_ARB>, 370c66ec88fSEmmanuel Vadot <&u2phy1>; 371c66ec88fSEmmanuel Vadot phys = <&u2phy1_host>; 372c66ec88fSEmmanuel Vadot phy-names = "usb"; 373c66ec88fSEmmanuel Vadot status = "disabled"; 374c66ec88fSEmmanuel Vadot }; 375c66ec88fSEmmanuel Vadot 376*8cc087a1SEmmanuel Vadot debug@fe430000 { 377*8cc087a1SEmmanuel Vadot compatible = "arm,coresight-cpu-debug", "arm,primecell"; 378*8cc087a1SEmmanuel Vadot reg = <0 0xfe430000 0 0x1000>; 379*8cc087a1SEmmanuel Vadot clocks = <&cru PCLK_COREDBG_L>; 380*8cc087a1SEmmanuel Vadot clock-names = "apb_pclk"; 381*8cc087a1SEmmanuel Vadot cpu = <&cpu_l0>; 382*8cc087a1SEmmanuel Vadot }; 383*8cc087a1SEmmanuel Vadot 384*8cc087a1SEmmanuel Vadot debug@fe432000 { 385*8cc087a1SEmmanuel Vadot compatible = "arm,coresight-cpu-debug", "arm,primecell"; 386*8cc087a1SEmmanuel Vadot reg = <0 0xfe432000 0 0x1000>; 387*8cc087a1SEmmanuel Vadot clocks = <&cru PCLK_COREDBG_L>; 388*8cc087a1SEmmanuel Vadot clock-names = "apb_pclk"; 389*8cc087a1SEmmanuel Vadot cpu = <&cpu_l1>; 390*8cc087a1SEmmanuel Vadot }; 391*8cc087a1SEmmanuel Vadot 392*8cc087a1SEmmanuel Vadot debug@fe434000 { 393*8cc087a1SEmmanuel Vadot compatible = "arm,coresight-cpu-debug", "arm,primecell"; 394*8cc087a1SEmmanuel Vadot reg = <0 0xfe434000 0 0x1000>; 395*8cc087a1SEmmanuel Vadot clocks = <&cru PCLK_COREDBG_L>; 396*8cc087a1SEmmanuel Vadot clock-names = "apb_pclk"; 397*8cc087a1SEmmanuel Vadot cpu = <&cpu_l2>; 398*8cc087a1SEmmanuel Vadot }; 399*8cc087a1SEmmanuel Vadot 400*8cc087a1SEmmanuel Vadot debug@fe436000 { 401*8cc087a1SEmmanuel Vadot compatible = "arm,coresight-cpu-debug", "arm,primecell"; 402*8cc087a1SEmmanuel Vadot reg = <0 0xfe436000 0 0x1000>; 403*8cc087a1SEmmanuel Vadot clocks = <&cru PCLK_COREDBG_L>; 404*8cc087a1SEmmanuel Vadot clock-names = "apb_pclk"; 405*8cc087a1SEmmanuel Vadot cpu = <&cpu_l3>; 406*8cc087a1SEmmanuel Vadot }; 407*8cc087a1SEmmanuel Vadot 408*8cc087a1SEmmanuel Vadot debug@fe610000 { 409*8cc087a1SEmmanuel Vadot compatible = "arm,coresight-cpu-debug", "arm,primecell"; 410*8cc087a1SEmmanuel Vadot reg = <0 0xfe610000 0 0x1000>; 411*8cc087a1SEmmanuel Vadot clocks = <&cru PCLK_COREDBG_B>; 412*8cc087a1SEmmanuel Vadot clock-names = "apb_pclk"; 413*8cc087a1SEmmanuel Vadot cpu = <&cpu_b0>; 414*8cc087a1SEmmanuel Vadot }; 415*8cc087a1SEmmanuel Vadot 416*8cc087a1SEmmanuel Vadot debug@fe710000 { 417*8cc087a1SEmmanuel Vadot compatible = "arm,coresight-cpu-debug", "arm,primecell"; 418*8cc087a1SEmmanuel Vadot reg = <0 0xfe710000 0 0x1000>; 419*8cc087a1SEmmanuel Vadot clocks = <&cru PCLK_COREDBG_B>; 420*8cc087a1SEmmanuel Vadot clock-names = "apb_pclk"; 421*8cc087a1SEmmanuel Vadot cpu = <&cpu_b1>; 422*8cc087a1SEmmanuel Vadot }; 423*8cc087a1SEmmanuel Vadot 424c66ec88fSEmmanuel Vadot usbdrd3_0: usb@fe800000 { 425c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-dwc3"; 426c66ec88fSEmmanuel Vadot #address-cells = <2>; 427c66ec88fSEmmanuel Vadot #size-cells = <2>; 428c66ec88fSEmmanuel Vadot ranges; 429c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_USB3OTG0_REF>, <&cru SCLK_USB3OTG0_SUSPEND>, 430c66ec88fSEmmanuel Vadot <&cru ACLK_USB3OTG0>, <&cru ACLK_USB3_RKSOC_AXI_PERF>, 431c66ec88fSEmmanuel Vadot <&cru ACLK_USB3>, <&cru ACLK_USB3_GRF>; 432c66ec88fSEmmanuel Vadot clock-names = "ref_clk", "suspend_clk", 433c66ec88fSEmmanuel Vadot "bus_clk", "aclk_usb3_rksoc_axi_perf", 434c66ec88fSEmmanuel Vadot "aclk_usb3", "grf_clk"; 435c66ec88fSEmmanuel Vadot resets = <&cru SRST_A_USB3_OTG0>; 436c66ec88fSEmmanuel Vadot reset-names = "usb3-otg"; 437c66ec88fSEmmanuel Vadot status = "disabled"; 438c66ec88fSEmmanuel Vadot 439c66ec88fSEmmanuel Vadot usbdrd_dwc3_0: usb@fe800000 { 440c66ec88fSEmmanuel Vadot compatible = "snps,dwc3"; 441c66ec88fSEmmanuel Vadot reg = <0x0 0xfe800000 0x0 0x100000>; 442c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>; 443c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_USB3OTG0_REF>, <&cru ACLK_USB3OTG0>, 444c66ec88fSEmmanuel Vadot <&cru SCLK_USB3OTG0_SUSPEND>; 445c66ec88fSEmmanuel Vadot clock-names = "ref", "bus_early", "suspend"; 446c66ec88fSEmmanuel Vadot dr_mode = "otg"; 447c66ec88fSEmmanuel Vadot phys = <&u2phy0_otg>, <&tcphy0_usb3>; 448c66ec88fSEmmanuel Vadot phy-names = "usb2-phy", "usb3-phy"; 449c66ec88fSEmmanuel Vadot phy_type = "utmi_wide"; 450c66ec88fSEmmanuel Vadot snps,dis_enblslpm_quirk; 451c66ec88fSEmmanuel Vadot snps,dis-u2-freeclk-exists-quirk; 452c66ec88fSEmmanuel Vadot snps,dis_u2_susphy_quirk; 453c66ec88fSEmmanuel Vadot snps,dis-del-phy-power-chg-quirk; 454c66ec88fSEmmanuel Vadot snps,dis-tx-ipgap-linecheck-quirk; 455c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_USB3>; 456c66ec88fSEmmanuel Vadot status = "disabled"; 457c66ec88fSEmmanuel Vadot }; 458c66ec88fSEmmanuel Vadot }; 459c66ec88fSEmmanuel Vadot 460c66ec88fSEmmanuel Vadot usbdrd3_1: usb@fe900000 { 461c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-dwc3"; 462c66ec88fSEmmanuel Vadot #address-cells = <2>; 463c66ec88fSEmmanuel Vadot #size-cells = <2>; 464c66ec88fSEmmanuel Vadot ranges; 465c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_USB3OTG1_REF>, <&cru SCLK_USB3OTG1_SUSPEND>, 466c66ec88fSEmmanuel Vadot <&cru ACLK_USB3OTG1>, <&cru ACLK_USB3_RKSOC_AXI_PERF>, 467c66ec88fSEmmanuel Vadot <&cru ACLK_USB3>, <&cru ACLK_USB3_GRF>; 468c66ec88fSEmmanuel Vadot clock-names = "ref_clk", "suspend_clk", 469c66ec88fSEmmanuel Vadot "bus_clk", "aclk_usb3_rksoc_axi_perf", 470c66ec88fSEmmanuel Vadot "aclk_usb3", "grf_clk"; 471c66ec88fSEmmanuel Vadot resets = <&cru SRST_A_USB3_OTG1>; 472c66ec88fSEmmanuel Vadot reset-names = "usb3-otg"; 473c66ec88fSEmmanuel Vadot status = "disabled"; 474c66ec88fSEmmanuel Vadot 475c66ec88fSEmmanuel Vadot usbdrd_dwc3_1: usb@fe900000 { 476c66ec88fSEmmanuel Vadot compatible = "snps,dwc3"; 477c66ec88fSEmmanuel Vadot reg = <0x0 0xfe900000 0x0 0x100000>; 478c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 0>; 479c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_USB3OTG1_REF>, <&cru ACLK_USB3OTG1>, 480c66ec88fSEmmanuel Vadot <&cru SCLK_USB3OTG1_SUSPEND>; 481c66ec88fSEmmanuel Vadot clock-names = "ref", "bus_early", "suspend"; 482c66ec88fSEmmanuel Vadot dr_mode = "otg"; 483c66ec88fSEmmanuel Vadot phys = <&u2phy1_otg>, <&tcphy1_usb3>; 484c66ec88fSEmmanuel Vadot phy-names = "usb2-phy", "usb3-phy"; 485c66ec88fSEmmanuel Vadot phy_type = "utmi_wide"; 486c66ec88fSEmmanuel Vadot snps,dis_enblslpm_quirk; 487c66ec88fSEmmanuel Vadot snps,dis-u2-freeclk-exists-quirk; 488c66ec88fSEmmanuel Vadot snps,dis_u2_susphy_quirk; 489c66ec88fSEmmanuel Vadot snps,dis-del-phy-power-chg-quirk; 490c66ec88fSEmmanuel Vadot snps,dis-tx-ipgap-linecheck-quirk; 491c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_USB3>; 492c66ec88fSEmmanuel Vadot status = "disabled"; 493c66ec88fSEmmanuel Vadot }; 494c66ec88fSEmmanuel Vadot }; 495c66ec88fSEmmanuel Vadot 496c66ec88fSEmmanuel Vadot cdn_dp: dp@fec00000 { 497c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-cdn-dp"; 498c66ec88fSEmmanuel Vadot reg = <0x0 0xfec00000 0x0 0x100000>; 499c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH 0>; 500c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_DP_CORE>, <&cru SCLK_SPDIF_REC_DPTX>; 501c66ec88fSEmmanuel Vadot assigned-clock-rates = <100000000>, <200000000>; 502c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_DP_CORE>, <&cru PCLK_DP_CTRL>, 503c66ec88fSEmmanuel Vadot <&cru SCLK_SPDIF_REC_DPTX>, <&cru PCLK_VIO_GRF>; 504c66ec88fSEmmanuel Vadot clock-names = "core-clk", "pclk", "spdif", "grf"; 505c66ec88fSEmmanuel Vadot phys = <&tcphy0_dp>, <&tcphy1_dp>; 506c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_HDCP>; 507c66ec88fSEmmanuel Vadot resets = <&cru SRST_DPTX_SPDIF_REC>, <&cru SRST_P_UPHY0_DPTX>, 508c66ec88fSEmmanuel Vadot <&cru SRST_P_UPHY0_APB>, <&cru SRST_DP_CORE>; 509c66ec88fSEmmanuel Vadot reset-names = "spdif", "dptx", "apb", "core"; 510c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 511c66ec88fSEmmanuel Vadot #sound-dai-cells = <1>; 512c66ec88fSEmmanuel Vadot status = "disabled"; 513c66ec88fSEmmanuel Vadot 514c66ec88fSEmmanuel Vadot ports { 515c66ec88fSEmmanuel Vadot dp_in: port { 516c66ec88fSEmmanuel Vadot #address-cells = <1>; 517c66ec88fSEmmanuel Vadot #size-cells = <0>; 518c66ec88fSEmmanuel Vadot 519c66ec88fSEmmanuel Vadot dp_in_vopb: endpoint@0 { 520c66ec88fSEmmanuel Vadot reg = <0>; 521c66ec88fSEmmanuel Vadot remote-endpoint = <&vopb_out_dp>; 522c66ec88fSEmmanuel Vadot }; 523c66ec88fSEmmanuel Vadot 524c66ec88fSEmmanuel Vadot dp_in_vopl: endpoint@1 { 525c66ec88fSEmmanuel Vadot reg = <1>; 526c66ec88fSEmmanuel Vadot remote-endpoint = <&vopl_out_dp>; 527c66ec88fSEmmanuel Vadot }; 528c66ec88fSEmmanuel Vadot }; 529c66ec88fSEmmanuel Vadot }; 530c66ec88fSEmmanuel Vadot }; 531c66ec88fSEmmanuel Vadot 532c66ec88fSEmmanuel Vadot gic: interrupt-controller@fee00000 { 533c66ec88fSEmmanuel Vadot compatible = "arm,gic-v3"; 534c66ec88fSEmmanuel Vadot #interrupt-cells = <4>; 535c66ec88fSEmmanuel Vadot #address-cells = <2>; 536c66ec88fSEmmanuel Vadot #size-cells = <2>; 537c66ec88fSEmmanuel Vadot ranges; 538c66ec88fSEmmanuel Vadot interrupt-controller; 539c66ec88fSEmmanuel Vadot 540c66ec88fSEmmanuel Vadot reg = <0x0 0xfee00000 0 0x10000>, /* GICD */ 541c66ec88fSEmmanuel Vadot <0x0 0xfef00000 0 0xc0000>, /* GICR */ 542c66ec88fSEmmanuel Vadot <0x0 0xfff00000 0 0x10000>, /* GICC */ 543c66ec88fSEmmanuel Vadot <0x0 0xfff10000 0 0x10000>, /* GICH */ 544c66ec88fSEmmanuel Vadot <0x0 0xfff20000 0 0x10000>; /* GICV */ 545c66ec88fSEmmanuel Vadot interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>; 546c66ec88fSEmmanuel Vadot its: interrupt-controller@fee20000 { 547c66ec88fSEmmanuel Vadot compatible = "arm,gic-v3-its"; 548c66ec88fSEmmanuel Vadot msi-controller; 549c66ec88fSEmmanuel Vadot #msi-cells = <1>; 550c66ec88fSEmmanuel Vadot reg = <0x0 0xfee20000 0x0 0x20000>; 551c66ec88fSEmmanuel Vadot }; 552c66ec88fSEmmanuel Vadot 553c66ec88fSEmmanuel Vadot ppi-partitions { 554c66ec88fSEmmanuel Vadot ppi_cluster0: interrupt-partition-0 { 555c66ec88fSEmmanuel Vadot affinity = <&cpu_l0 &cpu_l1 &cpu_l2 &cpu_l3>; 556c66ec88fSEmmanuel Vadot }; 557c66ec88fSEmmanuel Vadot 558c66ec88fSEmmanuel Vadot ppi_cluster1: interrupt-partition-1 { 559c66ec88fSEmmanuel Vadot affinity = <&cpu_b0 &cpu_b1>; 560c66ec88fSEmmanuel Vadot }; 561c66ec88fSEmmanuel Vadot }; 562c66ec88fSEmmanuel Vadot }; 563c66ec88fSEmmanuel Vadot 564c66ec88fSEmmanuel Vadot saradc: saradc@ff100000 { 565c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-saradc"; 566c66ec88fSEmmanuel Vadot reg = <0x0 0xff100000 0x0 0x100>; 567c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH 0>; 568c66ec88fSEmmanuel Vadot #io-channel-cells = <1>; 569c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>; 570c66ec88fSEmmanuel Vadot clock-names = "saradc", "apb_pclk"; 571c66ec88fSEmmanuel Vadot resets = <&cru SRST_P_SARADC>; 572c66ec88fSEmmanuel Vadot reset-names = "saradc-apb"; 573c66ec88fSEmmanuel Vadot status = "disabled"; 574c66ec88fSEmmanuel Vadot }; 575c66ec88fSEmmanuel Vadot 576c66ec88fSEmmanuel Vadot i2c1: i2c@ff110000 { 577c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2c"; 578c66ec88fSEmmanuel Vadot reg = <0x0 0xff110000 0x0 0x1000>; 579c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_I2C1>; 580c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 581c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>; 582c66ec88fSEmmanuel Vadot clock-names = "i2c", "pclk"; 583c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH 0>; 584c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 585c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c1_xfer>; 586c66ec88fSEmmanuel Vadot #address-cells = <1>; 587c66ec88fSEmmanuel Vadot #size-cells = <0>; 588c66ec88fSEmmanuel Vadot status = "disabled"; 589c66ec88fSEmmanuel Vadot }; 590c66ec88fSEmmanuel Vadot 591c66ec88fSEmmanuel Vadot i2c2: i2c@ff120000 { 592c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2c"; 593c66ec88fSEmmanuel Vadot reg = <0x0 0xff120000 0x0 0x1000>; 594c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_I2C2>; 595c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 596c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>; 597c66ec88fSEmmanuel Vadot clock-names = "i2c", "pclk"; 598c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH 0>; 599c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 600c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c2_xfer>; 601c66ec88fSEmmanuel Vadot #address-cells = <1>; 602c66ec88fSEmmanuel Vadot #size-cells = <0>; 603c66ec88fSEmmanuel Vadot status = "disabled"; 604c66ec88fSEmmanuel Vadot }; 605c66ec88fSEmmanuel Vadot 606c66ec88fSEmmanuel Vadot i2c3: i2c@ff130000 { 607c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2c"; 608c66ec88fSEmmanuel Vadot reg = <0x0 0xff130000 0x0 0x1000>; 609c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_I2C3>; 610c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 611c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>; 612c66ec88fSEmmanuel Vadot clock-names = "i2c", "pclk"; 613c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH 0>; 614c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 615c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c3_xfer>; 616c66ec88fSEmmanuel Vadot #address-cells = <1>; 617c66ec88fSEmmanuel Vadot #size-cells = <0>; 618c66ec88fSEmmanuel Vadot status = "disabled"; 619c66ec88fSEmmanuel Vadot }; 620c66ec88fSEmmanuel Vadot 621c66ec88fSEmmanuel Vadot i2c5: i2c@ff140000 { 622c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2c"; 623c66ec88fSEmmanuel Vadot reg = <0x0 0xff140000 0x0 0x1000>; 624c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_I2C5>; 625c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 626c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_I2C5>, <&cru PCLK_I2C5>; 627c66ec88fSEmmanuel Vadot clock-names = "i2c", "pclk"; 628c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH 0>; 629c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 630c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c5_xfer>; 631c66ec88fSEmmanuel Vadot #address-cells = <1>; 632c66ec88fSEmmanuel Vadot #size-cells = <0>; 633c66ec88fSEmmanuel Vadot status = "disabled"; 634c66ec88fSEmmanuel Vadot }; 635c66ec88fSEmmanuel Vadot 636c66ec88fSEmmanuel Vadot i2c6: i2c@ff150000 { 637c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2c"; 638c66ec88fSEmmanuel Vadot reg = <0x0 0xff150000 0x0 0x1000>; 639c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_I2C6>; 640c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 641c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_I2C6>, <&cru PCLK_I2C6>; 642c66ec88fSEmmanuel Vadot clock-names = "i2c", "pclk"; 643c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH 0>; 644c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 645c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c6_xfer>; 646c66ec88fSEmmanuel Vadot #address-cells = <1>; 647c66ec88fSEmmanuel Vadot #size-cells = <0>; 648c66ec88fSEmmanuel Vadot status = "disabled"; 649c66ec88fSEmmanuel Vadot }; 650c66ec88fSEmmanuel Vadot 651c66ec88fSEmmanuel Vadot i2c7: i2c@ff160000 { 652c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2c"; 653c66ec88fSEmmanuel Vadot reg = <0x0 0xff160000 0x0 0x1000>; 654c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_I2C7>; 655c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 656c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_I2C7>, <&cru PCLK_I2C7>; 657c66ec88fSEmmanuel Vadot clock-names = "i2c", "pclk"; 658c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH 0>; 659c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 660c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c7_xfer>; 661c66ec88fSEmmanuel Vadot #address-cells = <1>; 662c66ec88fSEmmanuel Vadot #size-cells = <0>; 663c66ec88fSEmmanuel Vadot status = "disabled"; 664c66ec88fSEmmanuel Vadot }; 665c66ec88fSEmmanuel Vadot 666c66ec88fSEmmanuel Vadot uart0: serial@ff180000 { 667c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart"; 668c66ec88fSEmmanuel Vadot reg = <0x0 0xff180000 0x0 0x100>; 669c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 670c66ec88fSEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 671c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH 0>; 672c66ec88fSEmmanuel Vadot reg-shift = <2>; 673c66ec88fSEmmanuel Vadot reg-io-width = <4>; 674c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 675c66ec88fSEmmanuel Vadot pinctrl-0 = <&uart0_xfer>; 676c66ec88fSEmmanuel Vadot status = "disabled"; 677c66ec88fSEmmanuel Vadot }; 678c66ec88fSEmmanuel Vadot 679c66ec88fSEmmanuel Vadot uart1: serial@ff190000 { 680c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart"; 681c66ec88fSEmmanuel Vadot reg = <0x0 0xff190000 0x0 0x100>; 682c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; 683c66ec88fSEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 684c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH 0>; 685c66ec88fSEmmanuel Vadot reg-shift = <2>; 686c66ec88fSEmmanuel Vadot reg-io-width = <4>; 687c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 688c66ec88fSEmmanuel Vadot pinctrl-0 = <&uart1_xfer>; 689c66ec88fSEmmanuel Vadot status = "disabled"; 690c66ec88fSEmmanuel Vadot }; 691c66ec88fSEmmanuel Vadot 692c66ec88fSEmmanuel Vadot uart2: serial@ff1a0000 { 693c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart"; 694c66ec88fSEmmanuel Vadot reg = <0x0 0xff1a0000 0x0 0x100>; 695c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; 696c66ec88fSEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 697c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH 0>; 698c66ec88fSEmmanuel Vadot reg-shift = <2>; 699c66ec88fSEmmanuel Vadot reg-io-width = <4>; 700c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 701c66ec88fSEmmanuel Vadot pinctrl-0 = <&uart2c_xfer>; 702c66ec88fSEmmanuel Vadot status = "disabled"; 703c66ec88fSEmmanuel Vadot }; 704c66ec88fSEmmanuel Vadot 705c66ec88fSEmmanuel Vadot uart3: serial@ff1b0000 { 706c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart"; 707c66ec88fSEmmanuel Vadot reg = <0x0 0xff1b0000 0x0 0x100>; 708c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>; 709c66ec88fSEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 710c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH 0>; 711c66ec88fSEmmanuel Vadot reg-shift = <2>; 712c66ec88fSEmmanuel Vadot reg-io-width = <4>; 713c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 714c66ec88fSEmmanuel Vadot pinctrl-0 = <&uart3_xfer>; 715c66ec88fSEmmanuel Vadot status = "disabled"; 716c66ec88fSEmmanuel Vadot }; 717c66ec88fSEmmanuel Vadot 718c66ec88fSEmmanuel Vadot spi0: spi@ff1c0000 { 719c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi"; 720c66ec88fSEmmanuel Vadot reg = <0x0 0xff1c0000 0x0 0x1000>; 721c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>; 722c66ec88fSEmmanuel Vadot clock-names = "spiclk", "apb_pclk"; 723c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH 0>; 724c66ec88fSEmmanuel Vadot dmas = <&dmac_peri 10>, <&dmac_peri 11>; 725c66ec88fSEmmanuel Vadot dma-names = "tx", "rx"; 726c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 727c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>; 728c66ec88fSEmmanuel Vadot #address-cells = <1>; 729c66ec88fSEmmanuel Vadot #size-cells = <0>; 730c66ec88fSEmmanuel Vadot status = "disabled"; 731c66ec88fSEmmanuel Vadot }; 732c66ec88fSEmmanuel Vadot 733c66ec88fSEmmanuel Vadot spi1: spi@ff1d0000 { 734c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi"; 735c66ec88fSEmmanuel Vadot reg = <0x0 0xff1d0000 0x0 0x1000>; 736c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>; 737c66ec88fSEmmanuel Vadot clock-names = "spiclk", "apb_pclk"; 738c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH 0>; 739c66ec88fSEmmanuel Vadot dmas = <&dmac_peri 12>, <&dmac_peri 13>; 740c66ec88fSEmmanuel Vadot dma-names = "tx", "rx"; 741c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 742c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>; 743c66ec88fSEmmanuel Vadot #address-cells = <1>; 744c66ec88fSEmmanuel Vadot #size-cells = <0>; 745c66ec88fSEmmanuel Vadot status = "disabled"; 746c66ec88fSEmmanuel Vadot }; 747c66ec88fSEmmanuel Vadot 748c66ec88fSEmmanuel Vadot spi2: spi@ff1e0000 { 749c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi"; 750c66ec88fSEmmanuel Vadot reg = <0x0 0xff1e0000 0x0 0x1000>; 751c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>; 752c66ec88fSEmmanuel Vadot clock-names = "spiclk", "apb_pclk"; 753c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH 0>; 754c66ec88fSEmmanuel Vadot dmas = <&dmac_peri 14>, <&dmac_peri 15>; 755c66ec88fSEmmanuel Vadot dma-names = "tx", "rx"; 756c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 757c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>; 758c66ec88fSEmmanuel Vadot #address-cells = <1>; 759c66ec88fSEmmanuel Vadot #size-cells = <0>; 760c66ec88fSEmmanuel Vadot status = "disabled"; 761c66ec88fSEmmanuel Vadot }; 762c66ec88fSEmmanuel Vadot 763c66ec88fSEmmanuel Vadot spi4: spi@ff1f0000 { 764c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi"; 765c66ec88fSEmmanuel Vadot reg = <0x0 0xff1f0000 0x0 0x1000>; 766c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_SPI4>, <&cru PCLK_SPI4>; 767c66ec88fSEmmanuel Vadot clock-names = "spiclk", "apb_pclk"; 768c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH 0>; 769c66ec88fSEmmanuel Vadot dmas = <&dmac_peri 18>, <&dmac_peri 19>; 770c66ec88fSEmmanuel Vadot dma-names = "tx", "rx"; 771c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 772c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi4_clk &spi4_tx &spi4_rx &spi4_cs0>; 773c66ec88fSEmmanuel Vadot #address-cells = <1>; 774c66ec88fSEmmanuel Vadot #size-cells = <0>; 775c66ec88fSEmmanuel Vadot status = "disabled"; 776c66ec88fSEmmanuel Vadot }; 777c66ec88fSEmmanuel Vadot 778c66ec88fSEmmanuel Vadot spi5: spi@ff200000 { 779c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi"; 780c66ec88fSEmmanuel Vadot reg = <0x0 0xff200000 0x0 0x1000>; 781c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_SPI5>, <&cru PCLK_SPI5>; 782c66ec88fSEmmanuel Vadot clock-names = "spiclk", "apb_pclk"; 783c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH 0>; 784c66ec88fSEmmanuel Vadot dmas = <&dmac_bus 8>, <&dmac_bus 9>; 785c66ec88fSEmmanuel Vadot dma-names = "tx", "rx"; 786c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 787c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi5_clk &spi5_tx &spi5_rx &spi5_cs0>; 788c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_SDIOAUDIO>; 789c66ec88fSEmmanuel Vadot #address-cells = <1>; 790c66ec88fSEmmanuel Vadot #size-cells = <0>; 791c66ec88fSEmmanuel Vadot status = "disabled"; 792c66ec88fSEmmanuel Vadot }; 793c66ec88fSEmmanuel Vadot 794c66ec88fSEmmanuel Vadot thermal_zones: thermal-zones { 7955def4c47SEmmanuel Vadot cpu_thermal: cpu-thermal { 796c66ec88fSEmmanuel Vadot polling-delay-passive = <100>; 797c66ec88fSEmmanuel Vadot polling-delay = <1000>; 798c66ec88fSEmmanuel Vadot 799c66ec88fSEmmanuel Vadot thermal-sensors = <&tsadc 0>; 800c66ec88fSEmmanuel Vadot 801c66ec88fSEmmanuel Vadot trips { 802c66ec88fSEmmanuel Vadot cpu_alert0: cpu_alert0 { 803c66ec88fSEmmanuel Vadot temperature = <70000>; 804c66ec88fSEmmanuel Vadot hysteresis = <2000>; 805c66ec88fSEmmanuel Vadot type = "passive"; 806c66ec88fSEmmanuel Vadot }; 807c66ec88fSEmmanuel Vadot cpu_alert1: cpu_alert1 { 808c66ec88fSEmmanuel Vadot temperature = <75000>; 809c66ec88fSEmmanuel Vadot hysteresis = <2000>; 810c66ec88fSEmmanuel Vadot type = "passive"; 811c66ec88fSEmmanuel Vadot }; 812c66ec88fSEmmanuel Vadot cpu_crit: cpu_crit { 813c66ec88fSEmmanuel Vadot temperature = <95000>; 814c66ec88fSEmmanuel Vadot hysteresis = <2000>; 815c66ec88fSEmmanuel Vadot type = "critical"; 816c66ec88fSEmmanuel Vadot }; 817c66ec88fSEmmanuel Vadot }; 818c66ec88fSEmmanuel Vadot 819c66ec88fSEmmanuel Vadot cooling-maps { 820c66ec88fSEmmanuel Vadot map0 { 821c66ec88fSEmmanuel Vadot trip = <&cpu_alert0>; 822c66ec88fSEmmanuel Vadot cooling-device = 823c66ec88fSEmmanuel Vadot <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 824c66ec88fSEmmanuel Vadot <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 825c66ec88fSEmmanuel Vadot }; 826c66ec88fSEmmanuel Vadot map1 { 827c66ec88fSEmmanuel Vadot trip = <&cpu_alert1>; 828c66ec88fSEmmanuel Vadot cooling-device = 829c66ec88fSEmmanuel Vadot <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 830c66ec88fSEmmanuel Vadot <&cpu_l1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 831c66ec88fSEmmanuel Vadot <&cpu_l2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 832c66ec88fSEmmanuel Vadot <&cpu_l3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 833c66ec88fSEmmanuel Vadot <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 834c66ec88fSEmmanuel Vadot <&cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 835c66ec88fSEmmanuel Vadot }; 836c66ec88fSEmmanuel Vadot }; 837c66ec88fSEmmanuel Vadot }; 838c66ec88fSEmmanuel Vadot 8395def4c47SEmmanuel Vadot gpu_thermal: gpu-thermal { 840c66ec88fSEmmanuel Vadot polling-delay-passive = <100>; 841c66ec88fSEmmanuel Vadot polling-delay = <1000>; 842c66ec88fSEmmanuel Vadot 843c66ec88fSEmmanuel Vadot thermal-sensors = <&tsadc 1>; 844c66ec88fSEmmanuel Vadot 845c66ec88fSEmmanuel Vadot trips { 846c66ec88fSEmmanuel Vadot gpu_alert0: gpu_alert0 { 847c66ec88fSEmmanuel Vadot temperature = <75000>; 848c66ec88fSEmmanuel Vadot hysteresis = <2000>; 849c66ec88fSEmmanuel Vadot type = "passive"; 850c66ec88fSEmmanuel Vadot }; 851c66ec88fSEmmanuel Vadot gpu_crit: gpu_crit { 852c66ec88fSEmmanuel Vadot temperature = <95000>; 853c66ec88fSEmmanuel Vadot hysteresis = <2000>; 854c66ec88fSEmmanuel Vadot type = "critical"; 855c66ec88fSEmmanuel Vadot }; 856c66ec88fSEmmanuel Vadot }; 857c66ec88fSEmmanuel Vadot 858c66ec88fSEmmanuel Vadot cooling-maps { 859c66ec88fSEmmanuel Vadot map0 { 860c66ec88fSEmmanuel Vadot trip = <&gpu_alert0>; 861c66ec88fSEmmanuel Vadot cooling-device = 862c66ec88fSEmmanuel Vadot <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 863c66ec88fSEmmanuel Vadot }; 864c66ec88fSEmmanuel Vadot }; 865c66ec88fSEmmanuel Vadot }; 866c66ec88fSEmmanuel Vadot }; 867c66ec88fSEmmanuel Vadot 868c66ec88fSEmmanuel Vadot tsadc: tsadc@ff260000 { 869c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-tsadc"; 870c66ec88fSEmmanuel Vadot reg = <0x0 0xff260000 0x0 0x100>; 871c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH 0>; 872c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_TSADC>; 873c66ec88fSEmmanuel Vadot assigned-clock-rates = <750000>; 874c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>; 875c66ec88fSEmmanuel Vadot clock-names = "tsadc", "apb_pclk"; 876c66ec88fSEmmanuel Vadot resets = <&cru SRST_TSADC>; 877c66ec88fSEmmanuel Vadot reset-names = "tsadc-apb"; 878c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 879c66ec88fSEmmanuel Vadot rockchip,hw-tshut-temp = <95000>; 880c66ec88fSEmmanuel Vadot pinctrl-names = "init", "default", "sleep"; 881c66ec88fSEmmanuel Vadot pinctrl-0 = <&otp_pin>; 882c66ec88fSEmmanuel Vadot pinctrl-1 = <&otp_out>; 883c66ec88fSEmmanuel Vadot pinctrl-2 = <&otp_pin>; 884c66ec88fSEmmanuel Vadot #thermal-sensor-cells = <1>; 885c66ec88fSEmmanuel Vadot status = "disabled"; 886c66ec88fSEmmanuel Vadot }; 887c66ec88fSEmmanuel Vadot 888c66ec88fSEmmanuel Vadot qos_emmc: qos@ffa58000 { 8895def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 890c66ec88fSEmmanuel Vadot reg = <0x0 0xffa58000 0x0 0x20>; 891c66ec88fSEmmanuel Vadot }; 892c66ec88fSEmmanuel Vadot 893c66ec88fSEmmanuel Vadot qos_gmac: qos@ffa5c000 { 8945def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 895c66ec88fSEmmanuel Vadot reg = <0x0 0xffa5c000 0x0 0x20>; 896c66ec88fSEmmanuel Vadot }; 897c66ec88fSEmmanuel Vadot 898c66ec88fSEmmanuel Vadot qos_pcie: qos@ffa60080 { 8995def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 900c66ec88fSEmmanuel Vadot reg = <0x0 0xffa60080 0x0 0x20>; 901c66ec88fSEmmanuel Vadot }; 902c66ec88fSEmmanuel Vadot 903c66ec88fSEmmanuel Vadot qos_usb_host0: qos@ffa60100 { 9045def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 905c66ec88fSEmmanuel Vadot reg = <0x0 0xffa60100 0x0 0x20>; 906c66ec88fSEmmanuel Vadot }; 907c66ec88fSEmmanuel Vadot 908c66ec88fSEmmanuel Vadot qos_usb_host1: qos@ffa60180 { 9095def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 910c66ec88fSEmmanuel Vadot reg = <0x0 0xffa60180 0x0 0x20>; 911c66ec88fSEmmanuel Vadot }; 912c66ec88fSEmmanuel Vadot 913c66ec88fSEmmanuel Vadot qos_usb_otg0: qos@ffa70000 { 9145def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 915c66ec88fSEmmanuel Vadot reg = <0x0 0xffa70000 0x0 0x20>; 916c66ec88fSEmmanuel Vadot }; 917c66ec88fSEmmanuel Vadot 918c66ec88fSEmmanuel Vadot qos_usb_otg1: qos@ffa70080 { 9195def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 920c66ec88fSEmmanuel Vadot reg = <0x0 0xffa70080 0x0 0x20>; 921c66ec88fSEmmanuel Vadot }; 922c66ec88fSEmmanuel Vadot 923c66ec88fSEmmanuel Vadot qos_sd: qos@ffa74000 { 9245def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 925c66ec88fSEmmanuel Vadot reg = <0x0 0xffa74000 0x0 0x20>; 926c66ec88fSEmmanuel Vadot }; 927c66ec88fSEmmanuel Vadot 928c66ec88fSEmmanuel Vadot qos_sdioaudio: qos@ffa76000 { 9295def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 930c66ec88fSEmmanuel Vadot reg = <0x0 0xffa76000 0x0 0x20>; 931c66ec88fSEmmanuel Vadot }; 932c66ec88fSEmmanuel Vadot 933c66ec88fSEmmanuel Vadot qos_hdcp: qos@ffa90000 { 9345def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 935c66ec88fSEmmanuel Vadot reg = <0x0 0xffa90000 0x0 0x20>; 936c66ec88fSEmmanuel Vadot }; 937c66ec88fSEmmanuel Vadot 938c66ec88fSEmmanuel Vadot qos_iep: qos@ffa98000 { 9395def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 940c66ec88fSEmmanuel Vadot reg = <0x0 0xffa98000 0x0 0x20>; 941c66ec88fSEmmanuel Vadot }; 942c66ec88fSEmmanuel Vadot 943c66ec88fSEmmanuel Vadot qos_isp0_m0: qos@ffaa0000 { 9445def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 945c66ec88fSEmmanuel Vadot reg = <0x0 0xffaa0000 0x0 0x20>; 946c66ec88fSEmmanuel Vadot }; 947c66ec88fSEmmanuel Vadot 948c66ec88fSEmmanuel Vadot qos_isp0_m1: qos@ffaa0080 { 9495def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 950c66ec88fSEmmanuel Vadot reg = <0x0 0xffaa0080 0x0 0x20>; 951c66ec88fSEmmanuel Vadot }; 952c66ec88fSEmmanuel Vadot 953c66ec88fSEmmanuel Vadot qos_isp1_m0: qos@ffaa8000 { 9545def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 955c66ec88fSEmmanuel Vadot reg = <0x0 0xffaa8000 0x0 0x20>; 956c66ec88fSEmmanuel Vadot }; 957c66ec88fSEmmanuel Vadot 958c66ec88fSEmmanuel Vadot qos_isp1_m1: qos@ffaa8080 { 9595def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 960c66ec88fSEmmanuel Vadot reg = <0x0 0xffaa8080 0x0 0x20>; 961c66ec88fSEmmanuel Vadot }; 962c66ec88fSEmmanuel Vadot 963c66ec88fSEmmanuel Vadot qos_rga_r: qos@ffab0000 { 9645def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 965c66ec88fSEmmanuel Vadot reg = <0x0 0xffab0000 0x0 0x20>; 966c66ec88fSEmmanuel Vadot }; 967c66ec88fSEmmanuel Vadot 968c66ec88fSEmmanuel Vadot qos_rga_w: qos@ffab0080 { 9695def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 970c66ec88fSEmmanuel Vadot reg = <0x0 0xffab0080 0x0 0x20>; 971c66ec88fSEmmanuel Vadot }; 972c66ec88fSEmmanuel Vadot 973c66ec88fSEmmanuel Vadot qos_video_m0: qos@ffab8000 { 9745def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 975c66ec88fSEmmanuel Vadot reg = <0x0 0xffab8000 0x0 0x20>; 976c66ec88fSEmmanuel Vadot }; 977c66ec88fSEmmanuel Vadot 978c66ec88fSEmmanuel Vadot qos_video_m1_r: qos@ffac0000 { 9795def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 980c66ec88fSEmmanuel Vadot reg = <0x0 0xffac0000 0x0 0x20>; 981c66ec88fSEmmanuel Vadot }; 982c66ec88fSEmmanuel Vadot 983c66ec88fSEmmanuel Vadot qos_video_m1_w: qos@ffac0080 { 9845def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 985c66ec88fSEmmanuel Vadot reg = <0x0 0xffac0080 0x0 0x20>; 986c66ec88fSEmmanuel Vadot }; 987c66ec88fSEmmanuel Vadot 988c66ec88fSEmmanuel Vadot qos_vop_big_r: qos@ffac8000 { 9895def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 990c66ec88fSEmmanuel Vadot reg = <0x0 0xffac8000 0x0 0x20>; 991c66ec88fSEmmanuel Vadot }; 992c66ec88fSEmmanuel Vadot 993c66ec88fSEmmanuel Vadot qos_vop_big_w: qos@ffac8080 { 9945def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 995c66ec88fSEmmanuel Vadot reg = <0x0 0xffac8080 0x0 0x20>; 996c66ec88fSEmmanuel Vadot }; 997c66ec88fSEmmanuel Vadot 998c66ec88fSEmmanuel Vadot qos_vop_little: qos@ffad0000 { 9995def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 1000c66ec88fSEmmanuel Vadot reg = <0x0 0xffad0000 0x0 0x20>; 1001c66ec88fSEmmanuel Vadot }; 1002c66ec88fSEmmanuel Vadot 1003c66ec88fSEmmanuel Vadot qos_perihp: qos@ffad8080 { 10045def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 1005c66ec88fSEmmanuel Vadot reg = <0x0 0xffad8080 0x0 0x20>; 1006c66ec88fSEmmanuel Vadot }; 1007c66ec88fSEmmanuel Vadot 1008c66ec88fSEmmanuel Vadot qos_gpu: qos@ffae0000 { 10095def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-qos", "syscon"; 1010c66ec88fSEmmanuel Vadot reg = <0x0 0xffae0000 0x0 0x20>; 1011c66ec88fSEmmanuel Vadot }; 1012c66ec88fSEmmanuel Vadot 1013c66ec88fSEmmanuel Vadot pmu: power-management@ff310000 { 1014c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pmu", "syscon", "simple-mfd"; 1015c66ec88fSEmmanuel Vadot reg = <0x0 0xff310000 0x0 0x1000>; 1016c66ec88fSEmmanuel Vadot 1017c66ec88fSEmmanuel Vadot /* 1018c66ec88fSEmmanuel Vadot * Note: RK3399 supports 6 voltage domains including VD_CORE_L, 1019c66ec88fSEmmanuel Vadot * VD_CORE_B, VD_CENTER, VD_GPU, VD_LOGIC and VD_PMU. 1020c66ec88fSEmmanuel Vadot * Some of the power domains are grouped together for every 1021c66ec88fSEmmanuel Vadot * voltage domain. 1022c66ec88fSEmmanuel Vadot * The detail contents as below. 1023c66ec88fSEmmanuel Vadot */ 1024c66ec88fSEmmanuel Vadot power: power-controller { 1025c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-power-controller"; 1026c66ec88fSEmmanuel Vadot #power-domain-cells = <1>; 1027c66ec88fSEmmanuel Vadot #address-cells = <1>; 1028c66ec88fSEmmanuel Vadot #size-cells = <0>; 1029c66ec88fSEmmanuel Vadot 1030c66ec88fSEmmanuel Vadot /* These power domains are grouped by VD_CENTER */ 10315956d97fSEmmanuel Vadot power-domain@RK3399_PD_IEP { 1032c66ec88fSEmmanuel Vadot reg = <RK3399_PD_IEP>; 1033c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_IEP>, 1034c66ec88fSEmmanuel Vadot <&cru HCLK_IEP>; 1035c66ec88fSEmmanuel Vadot pm_qos = <&qos_iep>; 10365956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1037c66ec88fSEmmanuel Vadot }; 10385956d97fSEmmanuel Vadot power-domain@RK3399_PD_RGA { 1039c66ec88fSEmmanuel Vadot reg = <RK3399_PD_RGA>; 1040c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_RGA>, 1041c66ec88fSEmmanuel Vadot <&cru HCLK_RGA>; 1042c66ec88fSEmmanuel Vadot pm_qos = <&qos_rga_r>, 1043c66ec88fSEmmanuel Vadot <&qos_rga_w>; 10445956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1045c66ec88fSEmmanuel Vadot }; 10465956d97fSEmmanuel Vadot power-domain@RK3399_PD_VCODEC { 1047c66ec88fSEmmanuel Vadot reg = <RK3399_PD_VCODEC>; 1048c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VCODEC>, 1049c66ec88fSEmmanuel Vadot <&cru HCLK_VCODEC>; 1050c66ec88fSEmmanuel Vadot pm_qos = <&qos_video_m0>; 10515956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1052c66ec88fSEmmanuel Vadot }; 10535956d97fSEmmanuel Vadot power-domain@RK3399_PD_VDU { 1054c66ec88fSEmmanuel Vadot reg = <RK3399_PD_VDU>; 1055c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VDU>, 1056c66ec88fSEmmanuel Vadot <&cru HCLK_VDU>; 1057c66ec88fSEmmanuel Vadot pm_qos = <&qos_video_m1_r>, 1058c66ec88fSEmmanuel Vadot <&qos_video_m1_w>; 10595956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1060c66ec88fSEmmanuel Vadot }; 1061c66ec88fSEmmanuel Vadot 1062c66ec88fSEmmanuel Vadot /* These power domains are grouped by VD_GPU */ 10635956d97fSEmmanuel Vadot power-domain@RK3399_PD_GPU { 1064c66ec88fSEmmanuel Vadot reg = <RK3399_PD_GPU>; 1065c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_GPU>; 1066c66ec88fSEmmanuel Vadot pm_qos = <&qos_gpu>; 10675956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1068c66ec88fSEmmanuel Vadot }; 1069c66ec88fSEmmanuel Vadot 1070c66ec88fSEmmanuel Vadot /* These power domains are grouped by VD_LOGIC */ 10715956d97fSEmmanuel Vadot power-domain@RK3399_PD_EDP { 1072c66ec88fSEmmanuel Vadot reg = <RK3399_PD_EDP>; 1073c66ec88fSEmmanuel Vadot clocks = <&cru PCLK_EDP_CTRL>; 10745956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1075c66ec88fSEmmanuel Vadot }; 10765956d97fSEmmanuel Vadot power-domain@RK3399_PD_EMMC { 1077c66ec88fSEmmanuel Vadot reg = <RK3399_PD_EMMC>; 1078c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_EMMC>; 1079c66ec88fSEmmanuel Vadot pm_qos = <&qos_emmc>; 10805956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1081c66ec88fSEmmanuel Vadot }; 10825956d97fSEmmanuel Vadot power-domain@RK3399_PD_GMAC { 1083c66ec88fSEmmanuel Vadot reg = <RK3399_PD_GMAC>; 1084c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_GMAC>, 1085c66ec88fSEmmanuel Vadot <&cru PCLK_GMAC>; 1086c66ec88fSEmmanuel Vadot pm_qos = <&qos_gmac>; 10875956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1088c66ec88fSEmmanuel Vadot }; 10895956d97fSEmmanuel Vadot power-domain@RK3399_PD_SD { 1090c66ec88fSEmmanuel Vadot reg = <RK3399_PD_SD>; 1091c66ec88fSEmmanuel Vadot clocks = <&cru HCLK_SDMMC>, 1092c66ec88fSEmmanuel Vadot <&cru SCLK_SDMMC>; 1093c66ec88fSEmmanuel Vadot pm_qos = <&qos_sd>; 10945956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1095c66ec88fSEmmanuel Vadot }; 10965956d97fSEmmanuel Vadot power-domain@RK3399_PD_SDIOAUDIO { 1097c66ec88fSEmmanuel Vadot reg = <RK3399_PD_SDIOAUDIO>; 1098c66ec88fSEmmanuel Vadot clocks = <&cru HCLK_SDIO>; 1099c66ec88fSEmmanuel Vadot pm_qos = <&qos_sdioaudio>; 11005956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1101c66ec88fSEmmanuel Vadot }; 11025956d97fSEmmanuel Vadot power-domain@RK3399_PD_TCPD0 { 1103c66ec88fSEmmanuel Vadot reg = <RK3399_PD_TCPD0>; 1104c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_UPHY0_TCPDCORE>, 1105c66ec88fSEmmanuel Vadot <&cru SCLK_UPHY0_TCPDPHY_REF>; 11065956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1107c66ec88fSEmmanuel Vadot }; 11085956d97fSEmmanuel Vadot power-domain@RK3399_PD_TCPD1 { 1109c66ec88fSEmmanuel Vadot reg = <RK3399_PD_TCPD1>; 1110c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_UPHY1_TCPDCORE>, 1111c66ec88fSEmmanuel Vadot <&cru SCLK_UPHY1_TCPDPHY_REF>; 11125956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1113c66ec88fSEmmanuel Vadot }; 11145956d97fSEmmanuel Vadot power-domain@RK3399_PD_USB3 { 1115c66ec88fSEmmanuel Vadot reg = <RK3399_PD_USB3>; 1116c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_USB3>; 1117c66ec88fSEmmanuel Vadot pm_qos = <&qos_usb_otg0>, 1118c66ec88fSEmmanuel Vadot <&qos_usb_otg1>; 11195956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1120c66ec88fSEmmanuel Vadot }; 11215956d97fSEmmanuel Vadot power-domain@RK3399_PD_VIO { 1122c66ec88fSEmmanuel Vadot reg = <RK3399_PD_VIO>; 11235956d97fSEmmanuel Vadot #power-domain-cells = <1>; 1124c66ec88fSEmmanuel Vadot #address-cells = <1>; 1125c66ec88fSEmmanuel Vadot #size-cells = <0>; 1126c66ec88fSEmmanuel Vadot 11275956d97fSEmmanuel Vadot power-domain@RK3399_PD_HDCP { 1128c66ec88fSEmmanuel Vadot reg = <RK3399_PD_HDCP>; 1129c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_HDCP>, 1130c66ec88fSEmmanuel Vadot <&cru HCLK_HDCP>, 1131c66ec88fSEmmanuel Vadot <&cru PCLK_HDCP>; 1132c66ec88fSEmmanuel Vadot pm_qos = <&qos_hdcp>; 11335956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1134c66ec88fSEmmanuel Vadot }; 11355956d97fSEmmanuel Vadot power-domain@RK3399_PD_ISP0 { 1136c66ec88fSEmmanuel Vadot reg = <RK3399_PD_ISP0>; 1137c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_ISP0>, 1138c66ec88fSEmmanuel Vadot <&cru HCLK_ISP0>; 1139c66ec88fSEmmanuel Vadot pm_qos = <&qos_isp0_m0>, 1140c66ec88fSEmmanuel Vadot <&qos_isp0_m1>; 11415956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1142c66ec88fSEmmanuel Vadot }; 11435956d97fSEmmanuel Vadot power-domain@RK3399_PD_ISP1 { 1144c66ec88fSEmmanuel Vadot reg = <RK3399_PD_ISP1>; 1145c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_ISP1>, 1146c66ec88fSEmmanuel Vadot <&cru HCLK_ISP1>; 1147c66ec88fSEmmanuel Vadot pm_qos = <&qos_isp1_m0>, 1148c66ec88fSEmmanuel Vadot <&qos_isp1_m1>; 11495956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1150c66ec88fSEmmanuel Vadot }; 11515956d97fSEmmanuel Vadot power-domain@RK3399_PD_VO { 1152c66ec88fSEmmanuel Vadot reg = <RK3399_PD_VO>; 11535956d97fSEmmanuel Vadot #power-domain-cells = <1>; 1154c66ec88fSEmmanuel Vadot #address-cells = <1>; 1155c66ec88fSEmmanuel Vadot #size-cells = <0>; 1156c66ec88fSEmmanuel Vadot 11575956d97fSEmmanuel Vadot power-domain@RK3399_PD_VOPB { 1158c66ec88fSEmmanuel Vadot reg = <RK3399_PD_VOPB>; 1159c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VOP0>, 1160c66ec88fSEmmanuel Vadot <&cru HCLK_VOP0>; 1161c66ec88fSEmmanuel Vadot pm_qos = <&qos_vop_big_r>, 1162c66ec88fSEmmanuel Vadot <&qos_vop_big_w>; 11635956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1164c66ec88fSEmmanuel Vadot }; 11655956d97fSEmmanuel Vadot power-domain@RK3399_PD_VOPL { 1166c66ec88fSEmmanuel Vadot reg = <RK3399_PD_VOPL>; 1167c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VOP1>, 1168c66ec88fSEmmanuel Vadot <&cru HCLK_VOP1>; 1169c66ec88fSEmmanuel Vadot pm_qos = <&qos_vop_little>; 11705956d97fSEmmanuel Vadot #power-domain-cells = <0>; 1171c66ec88fSEmmanuel Vadot }; 1172c66ec88fSEmmanuel Vadot }; 1173c66ec88fSEmmanuel Vadot }; 1174c66ec88fSEmmanuel Vadot }; 1175c66ec88fSEmmanuel Vadot }; 1176c66ec88fSEmmanuel Vadot 1177c66ec88fSEmmanuel Vadot pmugrf: syscon@ff320000 { 1178c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pmugrf", "syscon", "simple-mfd"; 1179c66ec88fSEmmanuel Vadot reg = <0x0 0xff320000 0x0 0x1000>; 1180c66ec88fSEmmanuel Vadot 1181c66ec88fSEmmanuel Vadot pmu_io_domains: io-domains { 1182c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pmu-io-voltage-domain"; 1183c66ec88fSEmmanuel Vadot status = "disabled"; 1184c66ec88fSEmmanuel Vadot }; 1185c66ec88fSEmmanuel Vadot }; 1186c66ec88fSEmmanuel Vadot 1187c66ec88fSEmmanuel Vadot spi3: spi@ff350000 { 1188c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi"; 1189c66ec88fSEmmanuel Vadot reg = <0x0 0xff350000 0x0 0x1000>; 1190c66ec88fSEmmanuel Vadot clocks = <&pmucru SCLK_SPI3_PMU>, <&pmucru PCLK_SPI3_PMU>; 1191c66ec88fSEmmanuel Vadot clock-names = "spiclk", "apb_pclk"; 1192c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH 0>; 1193c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1194c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi3_clk &spi3_tx &spi3_rx &spi3_cs0>; 1195c66ec88fSEmmanuel Vadot #address-cells = <1>; 1196c66ec88fSEmmanuel Vadot #size-cells = <0>; 1197c66ec88fSEmmanuel Vadot status = "disabled"; 1198c66ec88fSEmmanuel Vadot }; 1199c66ec88fSEmmanuel Vadot 1200c66ec88fSEmmanuel Vadot uart4: serial@ff370000 { 1201c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart"; 1202c66ec88fSEmmanuel Vadot reg = <0x0 0xff370000 0x0 0x100>; 1203c66ec88fSEmmanuel Vadot clocks = <&pmucru SCLK_UART4_PMU>, <&pmucru PCLK_UART4_PMU>; 1204c66ec88fSEmmanuel Vadot clock-names = "baudclk", "apb_pclk"; 1205c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH 0>; 1206c66ec88fSEmmanuel Vadot reg-shift = <2>; 1207c66ec88fSEmmanuel Vadot reg-io-width = <4>; 1208c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1209c66ec88fSEmmanuel Vadot pinctrl-0 = <&uart4_xfer>; 1210c66ec88fSEmmanuel Vadot status = "disabled"; 1211c66ec88fSEmmanuel Vadot }; 1212c66ec88fSEmmanuel Vadot 1213c66ec88fSEmmanuel Vadot i2c0: i2c@ff3c0000 { 1214c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2c"; 1215c66ec88fSEmmanuel Vadot reg = <0x0 0xff3c0000 0x0 0x1000>; 1216c66ec88fSEmmanuel Vadot assigned-clocks = <&pmucru SCLK_I2C0_PMU>; 1217c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 1218c66ec88fSEmmanuel Vadot clocks = <&pmucru SCLK_I2C0_PMU>, <&pmucru PCLK_I2C0_PMU>; 1219c66ec88fSEmmanuel Vadot clock-names = "i2c", "pclk"; 1220c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH 0>; 1221c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1222c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c0_xfer>; 1223c66ec88fSEmmanuel Vadot #address-cells = <1>; 1224c66ec88fSEmmanuel Vadot #size-cells = <0>; 1225c66ec88fSEmmanuel Vadot status = "disabled"; 1226c66ec88fSEmmanuel Vadot }; 1227c66ec88fSEmmanuel Vadot 1228c66ec88fSEmmanuel Vadot i2c4: i2c@ff3d0000 { 1229c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2c"; 1230c66ec88fSEmmanuel Vadot reg = <0x0 0xff3d0000 0x0 0x1000>; 1231c66ec88fSEmmanuel Vadot assigned-clocks = <&pmucru SCLK_I2C4_PMU>; 1232c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 1233c66ec88fSEmmanuel Vadot clocks = <&pmucru SCLK_I2C4_PMU>, <&pmucru PCLK_I2C4_PMU>; 1234c66ec88fSEmmanuel Vadot clock-names = "i2c", "pclk"; 1235c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH 0>; 1236c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1237c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c4_xfer>; 1238c66ec88fSEmmanuel Vadot #address-cells = <1>; 1239c66ec88fSEmmanuel Vadot #size-cells = <0>; 1240c66ec88fSEmmanuel Vadot status = "disabled"; 1241c66ec88fSEmmanuel Vadot }; 1242c66ec88fSEmmanuel Vadot 1243c66ec88fSEmmanuel Vadot i2c8: i2c@ff3e0000 { 1244c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2c"; 1245c66ec88fSEmmanuel Vadot reg = <0x0 0xff3e0000 0x0 0x1000>; 1246c66ec88fSEmmanuel Vadot assigned-clocks = <&pmucru SCLK_I2C8_PMU>; 1247c66ec88fSEmmanuel Vadot assigned-clock-rates = <200000000>; 1248c66ec88fSEmmanuel Vadot clocks = <&pmucru SCLK_I2C8_PMU>, <&pmucru PCLK_I2C8_PMU>; 1249c66ec88fSEmmanuel Vadot clock-names = "i2c", "pclk"; 1250c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH 0>; 1251c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1252c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c8_xfer>; 1253c66ec88fSEmmanuel Vadot #address-cells = <1>; 1254c66ec88fSEmmanuel Vadot #size-cells = <0>; 1255c66ec88fSEmmanuel Vadot status = "disabled"; 1256c66ec88fSEmmanuel Vadot }; 1257c66ec88fSEmmanuel Vadot 1258c66ec88fSEmmanuel Vadot pwm0: pwm@ff420000 { 1259c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm"; 1260c66ec88fSEmmanuel Vadot reg = <0x0 0xff420000 0x0 0x10>; 1261c66ec88fSEmmanuel Vadot #pwm-cells = <3>; 1262c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1263c66ec88fSEmmanuel Vadot pinctrl-0 = <&pwm0_pin>; 1264c66ec88fSEmmanuel Vadot clocks = <&pmucru PCLK_RKPWM_PMU>; 1265c66ec88fSEmmanuel Vadot status = "disabled"; 1266c66ec88fSEmmanuel Vadot }; 1267c66ec88fSEmmanuel Vadot 1268c66ec88fSEmmanuel Vadot pwm1: pwm@ff420010 { 1269c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm"; 1270c66ec88fSEmmanuel Vadot reg = <0x0 0xff420010 0x0 0x10>; 1271c66ec88fSEmmanuel Vadot #pwm-cells = <3>; 1272c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1273c66ec88fSEmmanuel Vadot pinctrl-0 = <&pwm1_pin>; 1274c66ec88fSEmmanuel Vadot clocks = <&pmucru PCLK_RKPWM_PMU>; 1275c66ec88fSEmmanuel Vadot status = "disabled"; 1276c66ec88fSEmmanuel Vadot }; 1277c66ec88fSEmmanuel Vadot 1278c66ec88fSEmmanuel Vadot pwm2: pwm@ff420020 { 1279c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm"; 1280c66ec88fSEmmanuel Vadot reg = <0x0 0xff420020 0x0 0x10>; 1281c66ec88fSEmmanuel Vadot #pwm-cells = <3>; 1282c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1283c66ec88fSEmmanuel Vadot pinctrl-0 = <&pwm2_pin>; 1284c66ec88fSEmmanuel Vadot clocks = <&pmucru PCLK_RKPWM_PMU>; 1285c66ec88fSEmmanuel Vadot status = "disabled"; 1286c66ec88fSEmmanuel Vadot }; 1287c66ec88fSEmmanuel Vadot 1288c66ec88fSEmmanuel Vadot pwm3: pwm@ff420030 { 1289c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm"; 1290c66ec88fSEmmanuel Vadot reg = <0x0 0xff420030 0x0 0x10>; 1291c66ec88fSEmmanuel Vadot #pwm-cells = <3>; 1292c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1293c66ec88fSEmmanuel Vadot pinctrl-0 = <&pwm3a_pin>; 1294c66ec88fSEmmanuel Vadot clocks = <&pmucru PCLK_RKPWM_PMU>; 1295c66ec88fSEmmanuel Vadot status = "disabled"; 1296c66ec88fSEmmanuel Vadot }; 1297c66ec88fSEmmanuel Vadot 1298c66ec88fSEmmanuel Vadot vpu: video-codec@ff650000 { 1299c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-vpu"; 1300c66ec88fSEmmanuel Vadot reg = <0x0 0xff650000 0x0 0x800>; 1301c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH 0>, 1302c66ec88fSEmmanuel Vadot <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH 0>; 1303c66ec88fSEmmanuel Vadot interrupt-names = "vepu", "vdpu"; 1304c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; 1305c66ec88fSEmmanuel Vadot clock-names = "aclk", "hclk"; 1306c66ec88fSEmmanuel Vadot iommus = <&vpu_mmu>; 1307c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VCODEC>; 1308c66ec88fSEmmanuel Vadot }; 1309c66ec88fSEmmanuel Vadot 1310c66ec88fSEmmanuel Vadot vpu_mmu: iommu@ff650800 { 1311c66ec88fSEmmanuel Vadot compatible = "rockchip,iommu"; 1312c66ec88fSEmmanuel Vadot reg = <0x0 0xff650800 0x0 0x40>; 1313c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH 0>; 1314c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; 1315c66ec88fSEmmanuel Vadot clock-names = "aclk", "iface"; 1316c66ec88fSEmmanuel Vadot #iommu-cells = <0>; 1317c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VCODEC>; 1318c66ec88fSEmmanuel Vadot }; 1319c66ec88fSEmmanuel Vadot 1320c66ec88fSEmmanuel Vadot vdec: video-codec@ff660000 { 1321c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-vdec"; 1322c66ec88fSEmmanuel Vadot reg = <0x0 0xff660000 0x0 0x400>; 1323c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>; 1324c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>, 1325c66ec88fSEmmanuel Vadot <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>; 1326c66ec88fSEmmanuel Vadot clock-names = "axi", "ahb", "cabac", "core"; 1327c66ec88fSEmmanuel Vadot iommus = <&vdec_mmu>; 1328c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VDU>; 1329c66ec88fSEmmanuel Vadot }; 1330c66ec88fSEmmanuel Vadot 1331c66ec88fSEmmanuel Vadot vdec_mmu: iommu@ff660480 { 1332c66ec88fSEmmanuel Vadot compatible = "rockchip,iommu"; 1333c66ec88fSEmmanuel Vadot reg = <0x0 0xff660480 0x0 0x40>, <0x0 0xff6604c0 0x0 0x40>; 1334c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH 0>; 1335c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>; 1336c66ec88fSEmmanuel Vadot clock-names = "aclk", "iface"; 1337c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VDU>; 1338c66ec88fSEmmanuel Vadot #iommu-cells = <0>; 1339c66ec88fSEmmanuel Vadot }; 1340c66ec88fSEmmanuel Vadot 1341c66ec88fSEmmanuel Vadot iep_mmu: iommu@ff670800 { 1342c66ec88fSEmmanuel Vadot compatible = "rockchip,iommu"; 1343c66ec88fSEmmanuel Vadot reg = <0x0 0xff670800 0x0 0x40>; 1344c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH 0>; 1345c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_IEP>, <&cru HCLK_IEP>; 1346c66ec88fSEmmanuel Vadot clock-names = "aclk", "iface"; 1347c66ec88fSEmmanuel Vadot #iommu-cells = <0>; 1348c66ec88fSEmmanuel Vadot status = "disabled"; 1349c66ec88fSEmmanuel Vadot }; 1350c66ec88fSEmmanuel Vadot 1351c66ec88fSEmmanuel Vadot rga: rga@ff680000 { 1352c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-rga"; 1353c66ec88fSEmmanuel Vadot reg = <0x0 0xff680000 0x0 0x10000>; 1354c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH 0>; 1355c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>; 1356c66ec88fSEmmanuel Vadot clock-names = "aclk", "hclk", "sclk"; 1357c66ec88fSEmmanuel Vadot resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>; 1358c66ec88fSEmmanuel Vadot reset-names = "core", "axi", "ahb"; 1359c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_RGA>; 1360c66ec88fSEmmanuel Vadot }; 1361c66ec88fSEmmanuel Vadot 1362c66ec88fSEmmanuel Vadot efuse0: efuse@ff690000 { 1363c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-efuse"; 1364c66ec88fSEmmanuel Vadot reg = <0x0 0xff690000 0x0 0x80>; 1365c66ec88fSEmmanuel Vadot #address-cells = <1>; 1366c66ec88fSEmmanuel Vadot #size-cells = <1>; 1367c66ec88fSEmmanuel Vadot clocks = <&cru PCLK_EFUSE1024NS>; 1368c66ec88fSEmmanuel Vadot clock-names = "pclk_efuse"; 1369c66ec88fSEmmanuel Vadot 1370c66ec88fSEmmanuel Vadot /* Data cells */ 1371c66ec88fSEmmanuel Vadot cpu_id: cpu-id@7 { 1372c66ec88fSEmmanuel Vadot reg = <0x07 0x10>; 1373c66ec88fSEmmanuel Vadot }; 1374c66ec88fSEmmanuel Vadot cpub_leakage: cpu-leakage@17 { 1375c66ec88fSEmmanuel Vadot reg = <0x17 0x1>; 1376c66ec88fSEmmanuel Vadot }; 1377c66ec88fSEmmanuel Vadot gpu_leakage: gpu-leakage@18 { 1378c66ec88fSEmmanuel Vadot reg = <0x18 0x1>; 1379c66ec88fSEmmanuel Vadot }; 1380c66ec88fSEmmanuel Vadot center_leakage: center-leakage@19 { 1381c66ec88fSEmmanuel Vadot reg = <0x19 0x1>; 1382c66ec88fSEmmanuel Vadot }; 1383c66ec88fSEmmanuel Vadot cpul_leakage: cpu-leakage@1a { 1384c66ec88fSEmmanuel Vadot reg = <0x1a 0x1>; 1385c66ec88fSEmmanuel Vadot }; 1386c66ec88fSEmmanuel Vadot logic_leakage: logic-leakage@1b { 1387c66ec88fSEmmanuel Vadot reg = <0x1b 0x1>; 1388c66ec88fSEmmanuel Vadot }; 1389c66ec88fSEmmanuel Vadot wafer_info: wafer-info@1c { 1390c66ec88fSEmmanuel Vadot reg = <0x1c 0x1>; 1391c66ec88fSEmmanuel Vadot }; 1392c66ec88fSEmmanuel Vadot }; 1393c66ec88fSEmmanuel Vadot 13945def4c47SEmmanuel Vadot dmac_bus: dma-controller@ff6d0000 { 13955def4c47SEmmanuel Vadot compatible = "arm,pl330", "arm,primecell"; 13965def4c47SEmmanuel Vadot reg = <0x0 0xff6d0000 0x0 0x4000>; 13975def4c47SEmmanuel Vadot interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH 0>, 13985def4c47SEmmanuel Vadot <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH 0>; 13995def4c47SEmmanuel Vadot #dma-cells = <1>; 14005def4c47SEmmanuel Vadot arm,pl330-periph-burst; 14015def4c47SEmmanuel Vadot clocks = <&cru ACLK_DMAC0_PERILP>; 14025def4c47SEmmanuel Vadot clock-names = "apb_pclk"; 14035def4c47SEmmanuel Vadot }; 14045def4c47SEmmanuel Vadot 14055def4c47SEmmanuel Vadot dmac_peri: dma-controller@ff6e0000 { 14065def4c47SEmmanuel Vadot compatible = "arm,pl330", "arm,primecell"; 14075def4c47SEmmanuel Vadot reg = <0x0 0xff6e0000 0x0 0x4000>; 14085def4c47SEmmanuel Vadot interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH 0>, 14095def4c47SEmmanuel Vadot <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH 0>; 14105def4c47SEmmanuel Vadot #dma-cells = <1>; 14115def4c47SEmmanuel Vadot arm,pl330-periph-burst; 14125def4c47SEmmanuel Vadot clocks = <&cru ACLK_DMAC1_PERILP>; 14135def4c47SEmmanuel Vadot clock-names = "apb_pclk"; 14145def4c47SEmmanuel Vadot }; 14155def4c47SEmmanuel Vadot 1416c66ec88fSEmmanuel Vadot pmucru: pmu-clock-controller@ff750000 { 1417c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pmucru"; 1418c66ec88fSEmmanuel Vadot reg = <0x0 0xff750000 0x0 0x1000>; 1419c66ec88fSEmmanuel Vadot rockchip,grf = <&pmugrf>; 1420c66ec88fSEmmanuel Vadot #clock-cells = <1>; 1421c66ec88fSEmmanuel Vadot #reset-cells = <1>; 1422c66ec88fSEmmanuel Vadot assigned-clocks = <&pmucru PLL_PPLL>; 1423c66ec88fSEmmanuel Vadot assigned-clock-rates = <676000000>; 1424c66ec88fSEmmanuel Vadot }; 1425c66ec88fSEmmanuel Vadot 1426c66ec88fSEmmanuel Vadot cru: clock-controller@ff760000 { 1427c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-cru"; 1428c66ec88fSEmmanuel Vadot reg = <0x0 0xff760000 0x0 0x1000>; 1429c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 1430c66ec88fSEmmanuel Vadot #clock-cells = <1>; 1431c66ec88fSEmmanuel Vadot #reset-cells = <1>; 1432c66ec88fSEmmanuel Vadot assigned-clocks = 1433c66ec88fSEmmanuel Vadot <&cru PLL_GPLL>, <&cru PLL_CPLL>, 1434c66ec88fSEmmanuel Vadot <&cru PLL_NPLL>, 1435c66ec88fSEmmanuel Vadot <&cru ACLK_PERIHP>, <&cru HCLK_PERIHP>, 1436c66ec88fSEmmanuel Vadot <&cru PCLK_PERIHP>, 1437c66ec88fSEmmanuel Vadot <&cru ACLK_PERILP0>, <&cru HCLK_PERILP0>, 1438c66ec88fSEmmanuel Vadot <&cru PCLK_PERILP0>, <&cru ACLK_CCI>, 1439c66ec88fSEmmanuel Vadot <&cru HCLK_PERILP1>, <&cru PCLK_PERILP1>, 1440c66ec88fSEmmanuel Vadot <&cru ACLK_VIO>, <&cru ACLK_HDCP>, 1441c66ec88fSEmmanuel Vadot <&cru ACLK_GIC_PRE>, 1442c66ec88fSEmmanuel Vadot <&cru PCLK_DDR>; 1443c66ec88fSEmmanuel Vadot assigned-clock-rates = 1444c66ec88fSEmmanuel Vadot <594000000>, <800000000>, 1445c66ec88fSEmmanuel Vadot <1000000000>, 1446c66ec88fSEmmanuel Vadot <150000000>, <75000000>, 1447c66ec88fSEmmanuel Vadot <37500000>, 1448c66ec88fSEmmanuel Vadot <100000000>, <100000000>, 1449c66ec88fSEmmanuel Vadot <50000000>, <600000000>, 1450c66ec88fSEmmanuel Vadot <100000000>, <50000000>, 1451c66ec88fSEmmanuel Vadot <400000000>, <400000000>, 1452c66ec88fSEmmanuel Vadot <200000000>, 1453c66ec88fSEmmanuel Vadot <200000000>; 1454c66ec88fSEmmanuel Vadot }; 1455c66ec88fSEmmanuel Vadot 1456c66ec88fSEmmanuel Vadot grf: syscon@ff770000 { 1457c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; 1458c66ec88fSEmmanuel Vadot reg = <0x0 0xff770000 0x0 0x10000>; 1459c66ec88fSEmmanuel Vadot #address-cells = <1>; 1460c66ec88fSEmmanuel Vadot #size-cells = <1>; 1461c66ec88fSEmmanuel Vadot 1462c66ec88fSEmmanuel Vadot io_domains: io-domains { 1463c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-io-voltage-domain"; 1464c66ec88fSEmmanuel Vadot status = "disabled"; 1465c66ec88fSEmmanuel Vadot }; 1466c66ec88fSEmmanuel Vadot 1467c66ec88fSEmmanuel Vadot mipi_dphy_rx0: mipi-dphy-rx0 { 1468c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-mipi-dphy-rx0"; 1469c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_MIPIDPHY_REF>, 1470c66ec88fSEmmanuel Vadot <&cru SCLK_DPHY_RX0_CFG>, 1471c66ec88fSEmmanuel Vadot <&cru PCLK_VIO_GRF>; 1472c66ec88fSEmmanuel Vadot clock-names = "dphy-ref", "dphy-cfg", "grf"; 1473c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VIO>; 1474c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1475c66ec88fSEmmanuel Vadot status = "disabled"; 1476c66ec88fSEmmanuel Vadot }; 1477c66ec88fSEmmanuel Vadot 14785956d97fSEmmanuel Vadot u2phy0: usb2phy@e450 { 1479c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-usb2phy"; 1480c66ec88fSEmmanuel Vadot reg = <0xe450 0x10>; 1481c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_USB2PHY0_REF>; 1482c66ec88fSEmmanuel Vadot clock-names = "phyclk"; 1483c66ec88fSEmmanuel Vadot #clock-cells = <0>; 1484c66ec88fSEmmanuel Vadot clock-output-names = "clk_usbphy0_480m"; 1485c66ec88fSEmmanuel Vadot status = "disabled"; 1486c66ec88fSEmmanuel Vadot 1487c66ec88fSEmmanuel Vadot u2phy0_host: host-port { 1488c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1489c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>; 1490c66ec88fSEmmanuel Vadot interrupt-names = "linestate"; 1491c66ec88fSEmmanuel Vadot status = "disabled"; 1492c66ec88fSEmmanuel Vadot }; 1493c66ec88fSEmmanuel Vadot 1494c66ec88fSEmmanuel Vadot u2phy0_otg: otg-port { 1495c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1496c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>, 1497c66ec88fSEmmanuel Vadot <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>, 1498c66ec88fSEmmanuel Vadot <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>; 1499c66ec88fSEmmanuel Vadot interrupt-names = "otg-bvalid", "otg-id", 1500c66ec88fSEmmanuel Vadot "linestate"; 1501c66ec88fSEmmanuel Vadot status = "disabled"; 1502c66ec88fSEmmanuel Vadot }; 1503c66ec88fSEmmanuel Vadot }; 1504c66ec88fSEmmanuel Vadot 15055956d97fSEmmanuel Vadot u2phy1: usb2phy@e460 { 1506c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-usb2phy"; 1507c66ec88fSEmmanuel Vadot reg = <0xe460 0x10>; 1508c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_USB2PHY1_REF>; 1509c66ec88fSEmmanuel Vadot clock-names = "phyclk"; 1510c66ec88fSEmmanuel Vadot #clock-cells = <0>; 1511c66ec88fSEmmanuel Vadot clock-output-names = "clk_usbphy1_480m"; 1512c66ec88fSEmmanuel Vadot status = "disabled"; 1513c66ec88fSEmmanuel Vadot 1514c66ec88fSEmmanuel Vadot u2phy1_host: host-port { 1515c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1516c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH 0>; 1517c66ec88fSEmmanuel Vadot interrupt-names = "linestate"; 1518c66ec88fSEmmanuel Vadot status = "disabled"; 1519c66ec88fSEmmanuel Vadot }; 1520c66ec88fSEmmanuel Vadot 1521c66ec88fSEmmanuel Vadot u2phy1_otg: otg-port { 1522c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1523c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>, 1524c66ec88fSEmmanuel Vadot <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>, 1525c66ec88fSEmmanuel Vadot <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>; 1526c66ec88fSEmmanuel Vadot interrupt-names = "otg-bvalid", "otg-id", 1527c66ec88fSEmmanuel Vadot "linestate"; 1528c66ec88fSEmmanuel Vadot status = "disabled"; 1529c66ec88fSEmmanuel Vadot }; 1530c66ec88fSEmmanuel Vadot }; 1531c66ec88fSEmmanuel Vadot 1532c66ec88fSEmmanuel Vadot emmc_phy: phy@f780 { 1533c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-emmc-phy"; 1534c66ec88fSEmmanuel Vadot reg = <0xf780 0x24>; 1535c66ec88fSEmmanuel Vadot clocks = <&sdhci>; 1536c66ec88fSEmmanuel Vadot clock-names = "emmcclk"; 1537c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1538c66ec88fSEmmanuel Vadot status = "disabled"; 1539c66ec88fSEmmanuel Vadot }; 1540c66ec88fSEmmanuel Vadot 1541c66ec88fSEmmanuel Vadot pcie_phy: pcie-phy { 1542c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pcie-phy"; 1543c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_PCIEPHY_REF>; 1544c66ec88fSEmmanuel Vadot clock-names = "refclk"; 1545c66ec88fSEmmanuel Vadot #phy-cells = <1>; 1546c66ec88fSEmmanuel Vadot resets = <&cru SRST_PCIEPHY>; 1547c66ec88fSEmmanuel Vadot drive-impedance-ohm = <50>; 1548c66ec88fSEmmanuel Vadot reset-names = "phy"; 1549c66ec88fSEmmanuel Vadot status = "disabled"; 1550c66ec88fSEmmanuel Vadot }; 1551c66ec88fSEmmanuel Vadot }; 1552c66ec88fSEmmanuel Vadot 1553c66ec88fSEmmanuel Vadot tcphy0: phy@ff7c0000 { 1554c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-typec-phy"; 1555c66ec88fSEmmanuel Vadot reg = <0x0 0xff7c0000 0x0 0x40000>; 1556c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_UPHY0_TCPDCORE>, 1557c66ec88fSEmmanuel Vadot <&cru SCLK_UPHY0_TCPDPHY_REF>; 1558c66ec88fSEmmanuel Vadot clock-names = "tcpdcore", "tcpdphy-ref"; 1559c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_UPHY0_TCPDCORE>; 1560c66ec88fSEmmanuel Vadot assigned-clock-rates = <50000000>; 1561c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_TCPD0>; 1562c66ec88fSEmmanuel Vadot resets = <&cru SRST_UPHY0>, 1563c66ec88fSEmmanuel Vadot <&cru SRST_UPHY0_PIPE_L00>, 1564c66ec88fSEmmanuel Vadot <&cru SRST_P_UPHY0_TCPHY>; 1565c66ec88fSEmmanuel Vadot reset-names = "uphy", "uphy-pipe", "uphy-tcphy"; 1566c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 1567c66ec88fSEmmanuel Vadot status = "disabled"; 1568c66ec88fSEmmanuel Vadot 1569c66ec88fSEmmanuel Vadot tcphy0_dp: dp-port { 1570c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1571c66ec88fSEmmanuel Vadot }; 1572c66ec88fSEmmanuel Vadot 1573c66ec88fSEmmanuel Vadot tcphy0_usb3: usb3-port { 1574c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1575c66ec88fSEmmanuel Vadot }; 1576c66ec88fSEmmanuel Vadot }; 1577c66ec88fSEmmanuel Vadot 1578c66ec88fSEmmanuel Vadot tcphy1: phy@ff800000 { 1579c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-typec-phy"; 1580c66ec88fSEmmanuel Vadot reg = <0x0 0xff800000 0x0 0x40000>; 1581c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_UPHY1_TCPDCORE>, 1582c66ec88fSEmmanuel Vadot <&cru SCLK_UPHY1_TCPDPHY_REF>; 1583c66ec88fSEmmanuel Vadot clock-names = "tcpdcore", "tcpdphy-ref"; 1584c66ec88fSEmmanuel Vadot assigned-clocks = <&cru SCLK_UPHY1_TCPDCORE>; 1585c66ec88fSEmmanuel Vadot assigned-clock-rates = <50000000>; 1586c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_TCPD1>; 1587c66ec88fSEmmanuel Vadot resets = <&cru SRST_UPHY1>, 1588c66ec88fSEmmanuel Vadot <&cru SRST_UPHY1_PIPE_L00>, 1589c66ec88fSEmmanuel Vadot <&cru SRST_P_UPHY1_TCPHY>; 1590c66ec88fSEmmanuel Vadot reset-names = "uphy", "uphy-pipe", "uphy-tcphy"; 1591c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 1592c66ec88fSEmmanuel Vadot status = "disabled"; 1593c66ec88fSEmmanuel Vadot 1594c66ec88fSEmmanuel Vadot tcphy1_dp: dp-port { 1595c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1596c66ec88fSEmmanuel Vadot }; 1597c66ec88fSEmmanuel Vadot 1598c66ec88fSEmmanuel Vadot tcphy1_usb3: usb3-port { 1599c66ec88fSEmmanuel Vadot #phy-cells = <0>; 1600c66ec88fSEmmanuel Vadot }; 1601c66ec88fSEmmanuel Vadot }; 1602c66ec88fSEmmanuel Vadot 1603c66ec88fSEmmanuel Vadot watchdog@ff848000 { 16042eb4d8dcSEmmanuel Vadot compatible = "rockchip,rk3399-wdt", "snps,dw-wdt"; 1605c66ec88fSEmmanuel Vadot reg = <0x0 0xff848000 0x0 0x100>; 1606c66ec88fSEmmanuel Vadot clocks = <&cru PCLK_WDT>; 1607c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH 0>; 1608c66ec88fSEmmanuel Vadot }; 1609c66ec88fSEmmanuel Vadot 1610c66ec88fSEmmanuel Vadot rktimer: rktimer@ff850000 { 1611c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-timer"; 1612c66ec88fSEmmanuel Vadot reg = <0x0 0xff850000 0x0 0x1000>; 1613c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH 0>; 1614c66ec88fSEmmanuel Vadot clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>; 1615c66ec88fSEmmanuel Vadot clock-names = "pclk", "timer"; 1616c66ec88fSEmmanuel Vadot }; 1617c66ec88fSEmmanuel Vadot 1618c66ec88fSEmmanuel Vadot spdif: spdif@ff870000 { 1619c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-spdif"; 1620c66ec88fSEmmanuel Vadot reg = <0x0 0xff870000 0x0 0x1000>; 1621c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH 0>; 1622c66ec88fSEmmanuel Vadot dmas = <&dmac_bus 7>; 1623c66ec88fSEmmanuel Vadot dma-names = "tx"; 1624c66ec88fSEmmanuel Vadot clock-names = "mclk", "hclk"; 1625c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_SPDIF_8CH>, <&cru HCLK_SPDIF>; 1626c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1627c66ec88fSEmmanuel Vadot pinctrl-0 = <&spdif_bus>; 1628c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_SDIOAUDIO>; 1629c66ec88fSEmmanuel Vadot #sound-dai-cells = <0>; 1630c66ec88fSEmmanuel Vadot status = "disabled"; 1631c66ec88fSEmmanuel Vadot }; 1632c66ec88fSEmmanuel Vadot 1633c66ec88fSEmmanuel Vadot i2s0: i2s@ff880000 { 1634c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s"; 1635c66ec88fSEmmanuel Vadot reg = <0x0 0xff880000 0x0 0x1000>; 1636c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 1637c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH 0>; 1638c66ec88fSEmmanuel Vadot dmas = <&dmac_bus 0>, <&dmac_bus 1>; 1639c66ec88fSEmmanuel Vadot dma-names = "tx", "rx"; 1640c66ec88fSEmmanuel Vadot clock-names = "i2s_clk", "i2s_hclk"; 1641c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_I2S0_8CH>, <&cru HCLK_I2S0_8CH>; 1642c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1643c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2s0_8ch_bus>; 1644c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_SDIOAUDIO>; 1645c66ec88fSEmmanuel Vadot #sound-dai-cells = <0>; 1646c66ec88fSEmmanuel Vadot status = "disabled"; 1647c66ec88fSEmmanuel Vadot }; 1648c66ec88fSEmmanuel Vadot 1649c66ec88fSEmmanuel Vadot i2s1: i2s@ff890000 { 1650c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s"; 1651c66ec88fSEmmanuel Vadot reg = <0x0 0xff890000 0x0 0x1000>; 1652c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH 0>; 1653c66ec88fSEmmanuel Vadot dmas = <&dmac_bus 2>, <&dmac_bus 3>; 1654c66ec88fSEmmanuel Vadot dma-names = "tx", "rx"; 1655c66ec88fSEmmanuel Vadot clock-names = "i2s_clk", "i2s_hclk"; 1656c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_I2S1_8CH>, <&cru HCLK_I2S1_8CH>; 1657c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1658c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2s1_2ch_bus>; 1659c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_SDIOAUDIO>; 1660c66ec88fSEmmanuel Vadot #sound-dai-cells = <0>; 1661c66ec88fSEmmanuel Vadot status = "disabled"; 1662c66ec88fSEmmanuel Vadot }; 1663c66ec88fSEmmanuel Vadot 1664c66ec88fSEmmanuel Vadot i2s2: i2s@ff8a0000 { 1665c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s"; 1666c66ec88fSEmmanuel Vadot reg = <0x0 0xff8a0000 0x0 0x1000>; 1667c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH 0>; 1668c66ec88fSEmmanuel Vadot dmas = <&dmac_bus 4>, <&dmac_bus 5>; 1669c66ec88fSEmmanuel Vadot dma-names = "tx", "rx"; 1670c66ec88fSEmmanuel Vadot clock-names = "i2s_clk", "i2s_hclk"; 1671c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_I2S2_8CH>, <&cru HCLK_I2S2_8CH>; 1672c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_SDIOAUDIO>; 1673c66ec88fSEmmanuel Vadot #sound-dai-cells = <0>; 1674c66ec88fSEmmanuel Vadot status = "disabled"; 1675c66ec88fSEmmanuel Vadot }; 1676c66ec88fSEmmanuel Vadot 1677c66ec88fSEmmanuel Vadot vopl: vop@ff8f0000 { 1678c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-vop-lit"; 1679c66ec88fSEmmanuel Vadot reg = <0x0 0xff8f0000 0x0 0x3efc>; 1680c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>; 1681c66ec88fSEmmanuel Vadot assigned-clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>; 1682c66ec88fSEmmanuel Vadot assigned-clock-rates = <400000000>, <100000000>; 1683c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>; 1684c66ec88fSEmmanuel Vadot clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; 1685c66ec88fSEmmanuel Vadot iommus = <&vopl_mmu>; 1686c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VOPL>; 1687c66ec88fSEmmanuel Vadot resets = <&cru SRST_A_VOP1>, <&cru SRST_H_VOP1>, <&cru SRST_D_VOP1>; 1688c66ec88fSEmmanuel Vadot reset-names = "axi", "ahb", "dclk"; 1689c66ec88fSEmmanuel Vadot status = "disabled"; 1690c66ec88fSEmmanuel Vadot 1691c66ec88fSEmmanuel Vadot vopl_out: port { 1692c66ec88fSEmmanuel Vadot #address-cells = <1>; 1693c66ec88fSEmmanuel Vadot #size-cells = <0>; 1694c66ec88fSEmmanuel Vadot 1695c66ec88fSEmmanuel Vadot vopl_out_mipi: endpoint@0 { 1696c66ec88fSEmmanuel Vadot reg = <0>; 1697c66ec88fSEmmanuel Vadot remote-endpoint = <&mipi_in_vopl>; 1698c66ec88fSEmmanuel Vadot }; 1699c66ec88fSEmmanuel Vadot 1700c66ec88fSEmmanuel Vadot vopl_out_edp: endpoint@1 { 1701c66ec88fSEmmanuel Vadot reg = <1>; 1702c66ec88fSEmmanuel Vadot remote-endpoint = <&edp_in_vopl>; 1703c66ec88fSEmmanuel Vadot }; 1704c66ec88fSEmmanuel Vadot 1705c66ec88fSEmmanuel Vadot vopl_out_hdmi: endpoint@2 { 1706c66ec88fSEmmanuel Vadot reg = <2>; 1707c66ec88fSEmmanuel Vadot remote-endpoint = <&hdmi_in_vopl>; 1708c66ec88fSEmmanuel Vadot }; 1709c66ec88fSEmmanuel Vadot 1710c66ec88fSEmmanuel Vadot vopl_out_mipi1: endpoint@3 { 1711c66ec88fSEmmanuel Vadot reg = <3>; 1712c66ec88fSEmmanuel Vadot remote-endpoint = <&mipi1_in_vopl>; 1713c66ec88fSEmmanuel Vadot }; 1714c66ec88fSEmmanuel Vadot 1715c66ec88fSEmmanuel Vadot vopl_out_dp: endpoint@4 { 1716c66ec88fSEmmanuel Vadot reg = <4>; 1717c66ec88fSEmmanuel Vadot remote-endpoint = <&dp_in_vopl>; 1718c66ec88fSEmmanuel Vadot }; 1719c66ec88fSEmmanuel Vadot }; 1720c66ec88fSEmmanuel Vadot }; 1721c66ec88fSEmmanuel Vadot 1722c66ec88fSEmmanuel Vadot vopl_mmu: iommu@ff8f3f00 { 1723c66ec88fSEmmanuel Vadot compatible = "rockchip,iommu"; 1724c66ec88fSEmmanuel Vadot reg = <0x0 0xff8f3f00 0x0 0x100>; 1725c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>; 1726c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>; 1727c66ec88fSEmmanuel Vadot clock-names = "aclk", "iface"; 1728c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VOPL>; 1729c66ec88fSEmmanuel Vadot #iommu-cells = <0>; 1730c66ec88fSEmmanuel Vadot status = "disabled"; 1731c66ec88fSEmmanuel Vadot }; 1732c66ec88fSEmmanuel Vadot 1733c66ec88fSEmmanuel Vadot vopb: vop@ff900000 { 1734c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-vop-big"; 1735c66ec88fSEmmanuel Vadot reg = <0x0 0xff900000 0x0 0x3efc>; 1736c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>; 1737c66ec88fSEmmanuel Vadot assigned-clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>; 1738c66ec88fSEmmanuel Vadot assigned-clock-rates = <400000000>, <100000000>; 1739c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>; 1740c66ec88fSEmmanuel Vadot clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; 1741c66ec88fSEmmanuel Vadot iommus = <&vopb_mmu>; 1742c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VOPB>; 1743c66ec88fSEmmanuel Vadot resets = <&cru SRST_A_VOP0>, <&cru SRST_H_VOP0>, <&cru SRST_D_VOP0>; 1744c66ec88fSEmmanuel Vadot reset-names = "axi", "ahb", "dclk"; 1745c66ec88fSEmmanuel Vadot status = "disabled"; 1746c66ec88fSEmmanuel Vadot 1747c66ec88fSEmmanuel Vadot vopb_out: port { 1748c66ec88fSEmmanuel Vadot #address-cells = <1>; 1749c66ec88fSEmmanuel Vadot #size-cells = <0>; 1750c66ec88fSEmmanuel Vadot 1751c66ec88fSEmmanuel Vadot vopb_out_edp: endpoint@0 { 1752c66ec88fSEmmanuel Vadot reg = <0>; 1753c66ec88fSEmmanuel Vadot remote-endpoint = <&edp_in_vopb>; 1754c66ec88fSEmmanuel Vadot }; 1755c66ec88fSEmmanuel Vadot 1756c66ec88fSEmmanuel Vadot vopb_out_mipi: endpoint@1 { 1757c66ec88fSEmmanuel Vadot reg = <1>; 1758c66ec88fSEmmanuel Vadot remote-endpoint = <&mipi_in_vopb>; 1759c66ec88fSEmmanuel Vadot }; 1760c66ec88fSEmmanuel Vadot 1761c66ec88fSEmmanuel Vadot vopb_out_hdmi: endpoint@2 { 1762c66ec88fSEmmanuel Vadot reg = <2>; 1763c66ec88fSEmmanuel Vadot remote-endpoint = <&hdmi_in_vopb>; 1764c66ec88fSEmmanuel Vadot }; 1765c66ec88fSEmmanuel Vadot 1766c66ec88fSEmmanuel Vadot vopb_out_mipi1: endpoint@3 { 1767c66ec88fSEmmanuel Vadot reg = <3>; 1768c66ec88fSEmmanuel Vadot remote-endpoint = <&mipi1_in_vopb>; 1769c66ec88fSEmmanuel Vadot }; 1770c66ec88fSEmmanuel Vadot 1771c66ec88fSEmmanuel Vadot vopb_out_dp: endpoint@4 { 1772c66ec88fSEmmanuel Vadot reg = <4>; 1773c66ec88fSEmmanuel Vadot remote-endpoint = <&dp_in_vopb>; 1774c66ec88fSEmmanuel Vadot }; 1775c66ec88fSEmmanuel Vadot }; 1776c66ec88fSEmmanuel Vadot }; 1777c66ec88fSEmmanuel Vadot 1778c66ec88fSEmmanuel Vadot vopb_mmu: iommu@ff903f00 { 1779c66ec88fSEmmanuel Vadot compatible = "rockchip,iommu"; 1780c66ec88fSEmmanuel Vadot reg = <0x0 0xff903f00 0x0 0x100>; 1781c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>; 1782c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_VOP0>, <&cru HCLK_VOP0>; 1783c66ec88fSEmmanuel Vadot clock-names = "aclk", "iface"; 1784c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VOPB>; 1785c66ec88fSEmmanuel Vadot #iommu-cells = <0>; 1786c66ec88fSEmmanuel Vadot status = "disabled"; 1787c66ec88fSEmmanuel Vadot }; 1788c66ec88fSEmmanuel Vadot 17895def4c47SEmmanuel Vadot isp0: isp0@ff910000 { 17905def4c47SEmmanuel Vadot compatible = "rockchip,rk3399-cif-isp"; 17915def4c47SEmmanuel Vadot reg = <0x0 0xff910000 0x0 0x4000>; 17925def4c47SEmmanuel Vadot interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH 0>; 17935def4c47SEmmanuel Vadot clocks = <&cru SCLK_ISP0>, 17945def4c47SEmmanuel Vadot <&cru ACLK_ISP0_WRAPPER>, 17955def4c47SEmmanuel Vadot <&cru HCLK_ISP0_WRAPPER>; 17965def4c47SEmmanuel Vadot clock-names = "isp", "aclk", "hclk"; 17975def4c47SEmmanuel Vadot iommus = <&isp0_mmu>; 17985def4c47SEmmanuel Vadot phys = <&mipi_dphy_rx0>; 17995def4c47SEmmanuel Vadot phy-names = "dphy"; 18005def4c47SEmmanuel Vadot power-domains = <&power RK3399_PD_ISP0>; 18015def4c47SEmmanuel Vadot status = "disabled"; 18025def4c47SEmmanuel Vadot 18035def4c47SEmmanuel Vadot ports { 18045def4c47SEmmanuel Vadot #address-cells = <1>; 18055def4c47SEmmanuel Vadot #size-cells = <0>; 18065def4c47SEmmanuel Vadot 18075def4c47SEmmanuel Vadot port@0 { 18085def4c47SEmmanuel Vadot reg = <0>; 18095def4c47SEmmanuel Vadot #address-cells = <1>; 18105def4c47SEmmanuel Vadot #size-cells = <0>; 18115def4c47SEmmanuel Vadot }; 18125def4c47SEmmanuel Vadot }; 18135def4c47SEmmanuel Vadot }; 18145def4c47SEmmanuel Vadot 1815c66ec88fSEmmanuel Vadot isp0_mmu: iommu@ff914000 { 1816c66ec88fSEmmanuel Vadot compatible = "rockchip,iommu"; 1817c66ec88fSEmmanuel Vadot reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>; 1818c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH 0>; 1819c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_ISP0_WRAPPER>, <&cru HCLK_ISP0_WRAPPER>; 1820c66ec88fSEmmanuel Vadot clock-names = "aclk", "iface"; 1821c66ec88fSEmmanuel Vadot #iommu-cells = <0>; 1822c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_ISP0>; 1823c66ec88fSEmmanuel Vadot rockchip,disable-mmu-reset; 1824c66ec88fSEmmanuel Vadot }; 1825c66ec88fSEmmanuel Vadot 1826*8cc087a1SEmmanuel Vadot isp1: isp1@ff920000 { 1827*8cc087a1SEmmanuel Vadot compatible = "rockchip,rk3399-cif-isp"; 1828*8cc087a1SEmmanuel Vadot reg = <0x0 0xff920000 0x0 0x4000>; 1829*8cc087a1SEmmanuel Vadot interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH 0>; 1830*8cc087a1SEmmanuel Vadot clocks = <&cru SCLK_ISP1>, 1831*8cc087a1SEmmanuel Vadot <&cru ACLK_ISP1_WRAPPER>, 1832*8cc087a1SEmmanuel Vadot <&cru HCLK_ISP1_WRAPPER>; 1833*8cc087a1SEmmanuel Vadot clock-names = "isp", "aclk", "hclk"; 1834*8cc087a1SEmmanuel Vadot iommus = <&isp1_mmu>; 1835*8cc087a1SEmmanuel Vadot phys = <&mipi_dsi1>; 1836*8cc087a1SEmmanuel Vadot phy-names = "dphy"; 1837*8cc087a1SEmmanuel Vadot power-domains = <&power RK3399_PD_ISP1>; 1838*8cc087a1SEmmanuel Vadot status = "disabled"; 1839*8cc087a1SEmmanuel Vadot 1840*8cc087a1SEmmanuel Vadot ports { 1841*8cc087a1SEmmanuel Vadot #address-cells = <1>; 1842*8cc087a1SEmmanuel Vadot #size-cells = <0>; 1843*8cc087a1SEmmanuel Vadot 1844*8cc087a1SEmmanuel Vadot port@0 { 1845*8cc087a1SEmmanuel Vadot reg = <0>; 1846*8cc087a1SEmmanuel Vadot #address-cells = <1>; 1847*8cc087a1SEmmanuel Vadot #size-cells = <0>; 1848*8cc087a1SEmmanuel Vadot }; 1849*8cc087a1SEmmanuel Vadot }; 1850*8cc087a1SEmmanuel Vadot }; 1851*8cc087a1SEmmanuel Vadot 1852c66ec88fSEmmanuel Vadot isp1_mmu: iommu@ff924000 { 1853c66ec88fSEmmanuel Vadot compatible = "rockchip,iommu"; 1854c66ec88fSEmmanuel Vadot reg = <0x0 0xff924000 0x0 0x100>, <0x0 0xff925000 0x0 0x100>; 1855c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH 0>; 1856c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_ISP1_WRAPPER>, <&cru HCLK_ISP1_WRAPPER>; 1857c66ec88fSEmmanuel Vadot clock-names = "aclk", "iface"; 1858c66ec88fSEmmanuel Vadot #iommu-cells = <0>; 1859c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_ISP1>; 1860c66ec88fSEmmanuel Vadot rockchip,disable-mmu-reset; 1861c66ec88fSEmmanuel Vadot }; 1862c66ec88fSEmmanuel Vadot 1863c66ec88fSEmmanuel Vadot hdmi_sound: hdmi-sound { 1864c66ec88fSEmmanuel Vadot compatible = "simple-audio-card"; 1865c66ec88fSEmmanuel Vadot simple-audio-card,format = "i2s"; 1866c66ec88fSEmmanuel Vadot simple-audio-card,mclk-fs = <256>; 1867c66ec88fSEmmanuel Vadot simple-audio-card,name = "hdmi-sound"; 1868c66ec88fSEmmanuel Vadot status = "disabled"; 1869c66ec88fSEmmanuel Vadot 1870c66ec88fSEmmanuel Vadot simple-audio-card,cpu { 1871c66ec88fSEmmanuel Vadot sound-dai = <&i2s2>; 1872c66ec88fSEmmanuel Vadot }; 1873c66ec88fSEmmanuel Vadot simple-audio-card,codec { 1874c66ec88fSEmmanuel Vadot sound-dai = <&hdmi>; 1875c66ec88fSEmmanuel Vadot }; 1876c66ec88fSEmmanuel Vadot }; 1877c66ec88fSEmmanuel Vadot 1878c66ec88fSEmmanuel Vadot hdmi: hdmi@ff940000 { 1879c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-dw-hdmi"; 1880c66ec88fSEmmanuel Vadot reg = <0x0 0xff940000 0x0 0x20000>; 1881c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH 0>; 1882c66ec88fSEmmanuel Vadot clocks = <&cru PCLK_HDMI_CTRL>, 1883c66ec88fSEmmanuel Vadot <&cru SCLK_HDMI_SFR>, 1884c66ec88fSEmmanuel Vadot <&cru PLL_VPLL>, 1885c66ec88fSEmmanuel Vadot <&cru PCLK_VIO_GRF>, 1886c66ec88fSEmmanuel Vadot <&cru SCLK_HDMI_CEC>; 1887c66ec88fSEmmanuel Vadot clock-names = "iahb", "isfr", "vpll", "grf", "cec"; 1888c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_HDCP>; 1889c66ec88fSEmmanuel Vadot reg-io-width = <4>; 1890c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 1891c66ec88fSEmmanuel Vadot #sound-dai-cells = <0>; 1892c66ec88fSEmmanuel Vadot status = "disabled"; 1893c66ec88fSEmmanuel Vadot 1894c66ec88fSEmmanuel Vadot ports { 1895c66ec88fSEmmanuel Vadot hdmi_in: port { 1896c66ec88fSEmmanuel Vadot #address-cells = <1>; 1897c66ec88fSEmmanuel Vadot #size-cells = <0>; 1898c66ec88fSEmmanuel Vadot 1899c66ec88fSEmmanuel Vadot hdmi_in_vopb: endpoint@0 { 1900c66ec88fSEmmanuel Vadot reg = <0>; 1901c66ec88fSEmmanuel Vadot remote-endpoint = <&vopb_out_hdmi>; 1902c66ec88fSEmmanuel Vadot }; 1903c66ec88fSEmmanuel Vadot hdmi_in_vopl: endpoint@1 { 1904c66ec88fSEmmanuel Vadot reg = <1>; 1905c66ec88fSEmmanuel Vadot remote-endpoint = <&vopl_out_hdmi>; 1906c66ec88fSEmmanuel Vadot }; 1907c66ec88fSEmmanuel Vadot }; 1908c66ec88fSEmmanuel Vadot }; 1909c66ec88fSEmmanuel Vadot }; 1910c66ec88fSEmmanuel Vadot 1911c66ec88fSEmmanuel Vadot mipi_dsi: mipi@ff960000 { 1912c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi"; 1913c66ec88fSEmmanuel Vadot reg = <0x0 0xff960000 0x0 0x8000>; 1914c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH 0>; 1915c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI0>, 1916c66ec88fSEmmanuel Vadot <&cru SCLK_DPHY_TX0_CFG>, <&cru PCLK_VIO_GRF>; 1917c66ec88fSEmmanuel Vadot clock-names = "ref", "pclk", "phy_cfg", "grf"; 1918c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VIO>; 1919c66ec88fSEmmanuel Vadot resets = <&cru SRST_P_MIPI_DSI0>; 1920c66ec88fSEmmanuel Vadot reset-names = "apb"; 1921c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 1922c66ec88fSEmmanuel Vadot #address-cells = <1>; 1923c66ec88fSEmmanuel Vadot #size-cells = <0>; 1924c66ec88fSEmmanuel Vadot status = "disabled"; 1925c66ec88fSEmmanuel Vadot 1926c66ec88fSEmmanuel Vadot ports { 1927c66ec88fSEmmanuel Vadot #address-cells = <1>; 1928c66ec88fSEmmanuel Vadot #size-cells = <0>; 1929c66ec88fSEmmanuel Vadot 1930c66ec88fSEmmanuel Vadot mipi_in: port@0 { 1931c66ec88fSEmmanuel Vadot reg = <0>; 1932c66ec88fSEmmanuel Vadot #address-cells = <1>; 1933c66ec88fSEmmanuel Vadot #size-cells = <0>; 1934c66ec88fSEmmanuel Vadot 1935c66ec88fSEmmanuel Vadot mipi_in_vopb: endpoint@0 { 1936c66ec88fSEmmanuel Vadot reg = <0>; 1937c66ec88fSEmmanuel Vadot remote-endpoint = <&vopb_out_mipi>; 1938c66ec88fSEmmanuel Vadot }; 1939c66ec88fSEmmanuel Vadot mipi_in_vopl: endpoint@1 { 1940c66ec88fSEmmanuel Vadot reg = <1>; 1941c66ec88fSEmmanuel Vadot remote-endpoint = <&vopl_out_mipi>; 1942c66ec88fSEmmanuel Vadot }; 1943c66ec88fSEmmanuel Vadot }; 1944c66ec88fSEmmanuel Vadot }; 1945c66ec88fSEmmanuel Vadot }; 1946c66ec88fSEmmanuel Vadot 1947c66ec88fSEmmanuel Vadot mipi_dsi1: mipi@ff968000 { 1948c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi"; 1949c66ec88fSEmmanuel Vadot reg = <0x0 0xff968000 0x0 0x8000>; 1950c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH 0>; 1951c66ec88fSEmmanuel Vadot clocks = <&cru SCLK_DPHY_PLL>, <&cru PCLK_MIPI_DSI1>, 1952c66ec88fSEmmanuel Vadot <&cru SCLK_DPHY_TX1RX1_CFG>, <&cru PCLK_VIO_GRF>; 1953c66ec88fSEmmanuel Vadot clock-names = "ref", "pclk", "phy_cfg", "grf"; 1954c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_VIO>; 1955c66ec88fSEmmanuel Vadot resets = <&cru SRST_P_MIPI_DSI1>; 1956c66ec88fSEmmanuel Vadot reset-names = "apb"; 1957c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 1958c66ec88fSEmmanuel Vadot #address-cells = <1>; 1959c66ec88fSEmmanuel Vadot #size-cells = <0>; 1960*8cc087a1SEmmanuel Vadot #phy-cells = <0>; 1961c66ec88fSEmmanuel Vadot status = "disabled"; 1962c66ec88fSEmmanuel Vadot 1963c66ec88fSEmmanuel Vadot ports { 1964c66ec88fSEmmanuel Vadot #address-cells = <1>; 1965c66ec88fSEmmanuel Vadot #size-cells = <0>; 1966c66ec88fSEmmanuel Vadot 1967c66ec88fSEmmanuel Vadot mipi1_in: port@0 { 1968c66ec88fSEmmanuel Vadot reg = <0>; 1969c66ec88fSEmmanuel Vadot #address-cells = <1>; 1970c66ec88fSEmmanuel Vadot #size-cells = <0>; 1971c66ec88fSEmmanuel Vadot 1972c66ec88fSEmmanuel Vadot mipi1_in_vopb: endpoint@0 { 1973c66ec88fSEmmanuel Vadot reg = <0>; 1974c66ec88fSEmmanuel Vadot remote-endpoint = <&vopb_out_mipi1>; 1975c66ec88fSEmmanuel Vadot }; 1976c66ec88fSEmmanuel Vadot 1977c66ec88fSEmmanuel Vadot mipi1_in_vopl: endpoint@1 { 1978c66ec88fSEmmanuel Vadot reg = <1>; 1979c66ec88fSEmmanuel Vadot remote-endpoint = <&vopl_out_mipi1>; 1980c66ec88fSEmmanuel Vadot }; 1981c66ec88fSEmmanuel Vadot }; 1982c66ec88fSEmmanuel Vadot }; 1983c66ec88fSEmmanuel Vadot }; 1984c66ec88fSEmmanuel Vadot 1985c66ec88fSEmmanuel Vadot edp: edp@ff970000 { 1986c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-edp"; 1987c66ec88fSEmmanuel Vadot reg = <0x0 0xff970000 0x0 0x8000>; 1988c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH 0>; 1989c66ec88fSEmmanuel Vadot clocks = <&cru PCLK_EDP>, <&cru PCLK_EDP_CTRL>, <&cru PCLK_VIO_GRF>; 1990c66ec88fSEmmanuel Vadot clock-names = "dp", "pclk", "grf"; 1991c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 1992c66ec88fSEmmanuel Vadot pinctrl-0 = <&edp_hpd>; 1993c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_EDP>; 1994c66ec88fSEmmanuel Vadot resets = <&cru SRST_P_EDP_CTRL>; 1995c66ec88fSEmmanuel Vadot reset-names = "dp"; 1996c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 1997c66ec88fSEmmanuel Vadot status = "disabled"; 1998c66ec88fSEmmanuel Vadot 1999c66ec88fSEmmanuel Vadot ports { 2000c66ec88fSEmmanuel Vadot #address-cells = <1>; 2001c66ec88fSEmmanuel Vadot #size-cells = <0>; 2002c66ec88fSEmmanuel Vadot edp_in: port@0 { 2003c66ec88fSEmmanuel Vadot reg = <0>; 2004c66ec88fSEmmanuel Vadot #address-cells = <1>; 2005c66ec88fSEmmanuel Vadot #size-cells = <0>; 2006c66ec88fSEmmanuel Vadot 2007c66ec88fSEmmanuel Vadot edp_in_vopb: endpoint@0 { 2008c66ec88fSEmmanuel Vadot reg = <0>; 2009c66ec88fSEmmanuel Vadot remote-endpoint = <&vopb_out_edp>; 2010c66ec88fSEmmanuel Vadot }; 2011c66ec88fSEmmanuel Vadot 2012c66ec88fSEmmanuel Vadot edp_in_vopl: endpoint@1 { 2013c66ec88fSEmmanuel Vadot reg = <1>; 2014c66ec88fSEmmanuel Vadot remote-endpoint = <&vopl_out_edp>; 2015c66ec88fSEmmanuel Vadot }; 2016c66ec88fSEmmanuel Vadot }; 2017c66ec88fSEmmanuel Vadot }; 2018c66ec88fSEmmanuel Vadot }; 2019c66ec88fSEmmanuel Vadot 2020c66ec88fSEmmanuel Vadot gpu: gpu@ff9a0000 { 2021c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-mali", "arm,mali-t860"; 2022c66ec88fSEmmanuel Vadot reg = <0x0 0xff9a0000 0x0 0x10000>; 2023c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH 0>, 2024c66ec88fSEmmanuel Vadot <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH 0>, 2025c66ec88fSEmmanuel Vadot <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH 0>; 2026c66ec88fSEmmanuel Vadot interrupt-names = "job", "mmu", "gpu"; 2027c66ec88fSEmmanuel Vadot clocks = <&cru ACLK_GPU>; 2028c66ec88fSEmmanuel Vadot #cooling-cells = <2>; 2029c66ec88fSEmmanuel Vadot power-domains = <&power RK3399_PD_GPU>; 2030c66ec88fSEmmanuel Vadot status = "disabled"; 2031c66ec88fSEmmanuel Vadot }; 2032c66ec88fSEmmanuel Vadot 2033c66ec88fSEmmanuel Vadot pinctrl: pinctrl { 2034c66ec88fSEmmanuel Vadot compatible = "rockchip,rk3399-pinctrl"; 2035c66ec88fSEmmanuel Vadot rockchip,grf = <&grf>; 2036c66ec88fSEmmanuel Vadot rockchip,pmu = <&pmugrf>; 2037c66ec88fSEmmanuel Vadot #address-cells = <2>; 2038c66ec88fSEmmanuel Vadot #size-cells = <2>; 2039c66ec88fSEmmanuel Vadot ranges; 2040c66ec88fSEmmanuel Vadot 2041*8cc087a1SEmmanuel Vadot gpio0: gpio@ff720000 { 2042c66ec88fSEmmanuel Vadot compatible = "rockchip,gpio-bank"; 2043c66ec88fSEmmanuel Vadot reg = <0x0 0xff720000 0x0 0x100>; 2044c66ec88fSEmmanuel Vadot clocks = <&pmucru PCLK_GPIO0_PMU>; 2045c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH 0>; 2046c66ec88fSEmmanuel Vadot 2047c66ec88fSEmmanuel Vadot gpio-controller; 2048c66ec88fSEmmanuel Vadot #gpio-cells = <0x2>; 2049c66ec88fSEmmanuel Vadot 2050c66ec88fSEmmanuel Vadot interrupt-controller; 2051c66ec88fSEmmanuel Vadot #interrupt-cells = <0x2>; 2052c66ec88fSEmmanuel Vadot }; 2053c66ec88fSEmmanuel Vadot 2054*8cc087a1SEmmanuel Vadot gpio1: gpio@ff730000 { 2055c66ec88fSEmmanuel Vadot compatible = "rockchip,gpio-bank"; 2056c66ec88fSEmmanuel Vadot reg = <0x0 0xff730000 0x0 0x100>; 2057c66ec88fSEmmanuel Vadot clocks = <&pmucru PCLK_GPIO1_PMU>; 2058c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH 0>; 2059c66ec88fSEmmanuel Vadot 2060c66ec88fSEmmanuel Vadot gpio-controller; 2061c66ec88fSEmmanuel Vadot #gpio-cells = <0x2>; 2062c66ec88fSEmmanuel Vadot 2063c66ec88fSEmmanuel Vadot interrupt-controller; 2064c66ec88fSEmmanuel Vadot #interrupt-cells = <0x2>; 2065c66ec88fSEmmanuel Vadot }; 2066c66ec88fSEmmanuel Vadot 2067*8cc087a1SEmmanuel Vadot gpio2: gpio@ff780000 { 2068c66ec88fSEmmanuel Vadot compatible = "rockchip,gpio-bank"; 2069c66ec88fSEmmanuel Vadot reg = <0x0 0xff780000 0x0 0x100>; 2070c66ec88fSEmmanuel Vadot clocks = <&cru PCLK_GPIO2>; 2071c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH 0>; 2072c66ec88fSEmmanuel Vadot 2073c66ec88fSEmmanuel Vadot gpio-controller; 2074c66ec88fSEmmanuel Vadot #gpio-cells = <0x2>; 2075c66ec88fSEmmanuel Vadot 2076c66ec88fSEmmanuel Vadot interrupt-controller; 2077c66ec88fSEmmanuel Vadot #interrupt-cells = <0x2>; 2078c66ec88fSEmmanuel Vadot }; 2079c66ec88fSEmmanuel Vadot 2080*8cc087a1SEmmanuel Vadot gpio3: gpio@ff788000 { 2081c66ec88fSEmmanuel Vadot compatible = "rockchip,gpio-bank"; 2082c66ec88fSEmmanuel Vadot reg = <0x0 0xff788000 0x0 0x100>; 2083c66ec88fSEmmanuel Vadot clocks = <&cru PCLK_GPIO3>; 2084c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH 0>; 2085c66ec88fSEmmanuel Vadot 2086c66ec88fSEmmanuel Vadot gpio-controller; 2087c66ec88fSEmmanuel Vadot #gpio-cells = <0x2>; 2088c66ec88fSEmmanuel Vadot 2089c66ec88fSEmmanuel Vadot interrupt-controller; 2090c66ec88fSEmmanuel Vadot #interrupt-cells = <0x2>; 2091c66ec88fSEmmanuel Vadot }; 2092c66ec88fSEmmanuel Vadot 2093*8cc087a1SEmmanuel Vadot gpio4: gpio@ff790000 { 2094c66ec88fSEmmanuel Vadot compatible = "rockchip,gpio-bank"; 2095c66ec88fSEmmanuel Vadot reg = <0x0 0xff790000 0x0 0x100>; 2096c66ec88fSEmmanuel Vadot clocks = <&cru PCLK_GPIO4>; 2097c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH 0>; 2098c66ec88fSEmmanuel Vadot 2099c66ec88fSEmmanuel Vadot gpio-controller; 2100c66ec88fSEmmanuel Vadot #gpio-cells = <0x2>; 2101c66ec88fSEmmanuel Vadot 2102c66ec88fSEmmanuel Vadot interrupt-controller; 2103c66ec88fSEmmanuel Vadot #interrupt-cells = <0x2>; 2104c66ec88fSEmmanuel Vadot }; 2105c66ec88fSEmmanuel Vadot 2106c66ec88fSEmmanuel Vadot pcfg_pull_up: pcfg-pull-up { 2107c66ec88fSEmmanuel Vadot bias-pull-up; 2108c66ec88fSEmmanuel Vadot }; 2109c66ec88fSEmmanuel Vadot 2110c66ec88fSEmmanuel Vadot pcfg_pull_down: pcfg-pull-down { 2111c66ec88fSEmmanuel Vadot bias-pull-down; 2112c66ec88fSEmmanuel Vadot }; 2113c66ec88fSEmmanuel Vadot 2114c66ec88fSEmmanuel Vadot pcfg_pull_none: pcfg-pull-none { 2115c66ec88fSEmmanuel Vadot bias-disable; 2116c66ec88fSEmmanuel Vadot }; 2117c66ec88fSEmmanuel Vadot 2118c66ec88fSEmmanuel Vadot pcfg_pull_none_12ma: pcfg-pull-none-12ma { 2119c66ec88fSEmmanuel Vadot bias-disable; 2120c66ec88fSEmmanuel Vadot drive-strength = <12>; 2121c66ec88fSEmmanuel Vadot }; 2122c66ec88fSEmmanuel Vadot 2123c66ec88fSEmmanuel Vadot pcfg_pull_none_13ma: pcfg-pull-none-13ma { 2124c66ec88fSEmmanuel Vadot bias-disable; 2125c66ec88fSEmmanuel Vadot drive-strength = <13>; 2126c66ec88fSEmmanuel Vadot }; 2127c66ec88fSEmmanuel Vadot 2128c66ec88fSEmmanuel Vadot pcfg_pull_none_18ma: pcfg-pull-none-18ma { 2129c66ec88fSEmmanuel Vadot bias-disable; 2130c66ec88fSEmmanuel Vadot drive-strength = <18>; 2131c66ec88fSEmmanuel Vadot }; 2132c66ec88fSEmmanuel Vadot 2133c66ec88fSEmmanuel Vadot pcfg_pull_none_20ma: pcfg-pull-none-20ma { 2134c66ec88fSEmmanuel Vadot bias-disable; 2135c66ec88fSEmmanuel Vadot drive-strength = <20>; 2136c66ec88fSEmmanuel Vadot }; 2137c66ec88fSEmmanuel Vadot 2138c66ec88fSEmmanuel Vadot pcfg_pull_up_2ma: pcfg-pull-up-2ma { 2139c66ec88fSEmmanuel Vadot bias-pull-up; 2140c66ec88fSEmmanuel Vadot drive-strength = <2>; 2141c66ec88fSEmmanuel Vadot }; 2142c66ec88fSEmmanuel Vadot 2143c66ec88fSEmmanuel Vadot pcfg_pull_up_8ma: pcfg-pull-up-8ma { 2144c66ec88fSEmmanuel Vadot bias-pull-up; 2145c66ec88fSEmmanuel Vadot drive-strength = <8>; 2146c66ec88fSEmmanuel Vadot }; 2147c66ec88fSEmmanuel Vadot 2148c66ec88fSEmmanuel Vadot pcfg_pull_up_18ma: pcfg-pull-up-18ma { 2149c66ec88fSEmmanuel Vadot bias-pull-up; 2150c66ec88fSEmmanuel Vadot drive-strength = <18>; 2151c66ec88fSEmmanuel Vadot }; 2152c66ec88fSEmmanuel Vadot 2153c66ec88fSEmmanuel Vadot pcfg_pull_up_20ma: pcfg-pull-up-20ma { 2154c66ec88fSEmmanuel Vadot bias-pull-up; 2155c66ec88fSEmmanuel Vadot drive-strength = <20>; 2156c66ec88fSEmmanuel Vadot }; 2157c66ec88fSEmmanuel Vadot 2158c66ec88fSEmmanuel Vadot pcfg_pull_down_4ma: pcfg-pull-down-4ma { 2159c66ec88fSEmmanuel Vadot bias-pull-down; 2160c66ec88fSEmmanuel Vadot drive-strength = <4>; 2161c66ec88fSEmmanuel Vadot }; 2162c66ec88fSEmmanuel Vadot 2163c66ec88fSEmmanuel Vadot pcfg_pull_down_8ma: pcfg-pull-down-8ma { 2164c66ec88fSEmmanuel Vadot bias-pull-down; 2165c66ec88fSEmmanuel Vadot drive-strength = <8>; 2166c66ec88fSEmmanuel Vadot }; 2167c66ec88fSEmmanuel Vadot 2168c66ec88fSEmmanuel Vadot pcfg_pull_down_12ma: pcfg-pull-down-12ma { 2169c66ec88fSEmmanuel Vadot bias-pull-down; 2170c66ec88fSEmmanuel Vadot drive-strength = <12>; 2171c66ec88fSEmmanuel Vadot }; 2172c66ec88fSEmmanuel Vadot 2173c66ec88fSEmmanuel Vadot pcfg_pull_down_18ma: pcfg-pull-down-18ma { 2174c66ec88fSEmmanuel Vadot bias-pull-down; 2175c66ec88fSEmmanuel Vadot drive-strength = <18>; 2176c66ec88fSEmmanuel Vadot }; 2177c66ec88fSEmmanuel Vadot 2178c66ec88fSEmmanuel Vadot pcfg_pull_down_20ma: pcfg-pull-down-20ma { 2179c66ec88fSEmmanuel Vadot bias-pull-down; 2180c66ec88fSEmmanuel Vadot drive-strength = <20>; 2181c66ec88fSEmmanuel Vadot }; 2182c66ec88fSEmmanuel Vadot 2183c66ec88fSEmmanuel Vadot pcfg_output_high: pcfg-output-high { 2184c66ec88fSEmmanuel Vadot output-high; 2185c66ec88fSEmmanuel Vadot }; 2186c66ec88fSEmmanuel Vadot 2187c66ec88fSEmmanuel Vadot pcfg_output_low: pcfg-output-low { 2188c66ec88fSEmmanuel Vadot output-low; 2189c66ec88fSEmmanuel Vadot }; 2190c66ec88fSEmmanuel Vadot 2191c66ec88fSEmmanuel Vadot clock { 2192c66ec88fSEmmanuel Vadot clk_32k: clk-32k { 2193c66ec88fSEmmanuel Vadot rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>; 2194c66ec88fSEmmanuel Vadot }; 2195c66ec88fSEmmanuel Vadot }; 2196c66ec88fSEmmanuel Vadot 2197*8cc087a1SEmmanuel Vadot cif { 2198*8cc087a1SEmmanuel Vadot cif_clkin: cif-clkin { 2199*8cc087a1SEmmanuel Vadot rockchip,pins = 2200*8cc087a1SEmmanuel Vadot <2 RK_PB2 3 &pcfg_pull_none>; 2201*8cc087a1SEmmanuel Vadot }; 2202*8cc087a1SEmmanuel Vadot 2203*8cc087a1SEmmanuel Vadot cif_clkouta: cif-clkouta { 2204*8cc087a1SEmmanuel Vadot rockchip,pins = 2205*8cc087a1SEmmanuel Vadot <2 RK_PB3 3 &pcfg_pull_none>; 2206*8cc087a1SEmmanuel Vadot }; 2207*8cc087a1SEmmanuel Vadot }; 2208*8cc087a1SEmmanuel Vadot 2209c66ec88fSEmmanuel Vadot edp { 2210c66ec88fSEmmanuel Vadot edp_hpd: edp-hpd { 2211c66ec88fSEmmanuel Vadot rockchip,pins = 2212c66ec88fSEmmanuel Vadot <4 RK_PC7 2 &pcfg_pull_none>; 2213c66ec88fSEmmanuel Vadot }; 2214c66ec88fSEmmanuel Vadot }; 2215c66ec88fSEmmanuel Vadot 2216c66ec88fSEmmanuel Vadot gmac { 2217c66ec88fSEmmanuel Vadot rgmii_pins: rgmii-pins { 2218c66ec88fSEmmanuel Vadot rockchip,pins = 2219c66ec88fSEmmanuel Vadot /* mac_txclk */ 2220c66ec88fSEmmanuel Vadot <3 RK_PC1 1 &pcfg_pull_none_13ma>, 2221c66ec88fSEmmanuel Vadot /* mac_rxclk */ 2222c66ec88fSEmmanuel Vadot <3 RK_PB6 1 &pcfg_pull_none>, 2223c66ec88fSEmmanuel Vadot /* mac_mdio */ 2224c66ec88fSEmmanuel Vadot <3 RK_PB5 1 &pcfg_pull_none>, 2225c66ec88fSEmmanuel Vadot /* mac_txen */ 2226c66ec88fSEmmanuel Vadot <3 RK_PB4 1 &pcfg_pull_none_13ma>, 2227c66ec88fSEmmanuel Vadot /* mac_clk */ 2228c66ec88fSEmmanuel Vadot <3 RK_PB3 1 &pcfg_pull_none>, 2229c66ec88fSEmmanuel Vadot /* mac_rxdv */ 2230c66ec88fSEmmanuel Vadot <3 RK_PB1 1 &pcfg_pull_none>, 2231c66ec88fSEmmanuel Vadot /* mac_mdc */ 2232c66ec88fSEmmanuel Vadot <3 RK_PB0 1 &pcfg_pull_none>, 2233c66ec88fSEmmanuel Vadot /* mac_rxd1 */ 2234c66ec88fSEmmanuel Vadot <3 RK_PA7 1 &pcfg_pull_none>, 2235c66ec88fSEmmanuel Vadot /* mac_rxd0 */ 2236c66ec88fSEmmanuel Vadot <3 RK_PA6 1 &pcfg_pull_none>, 2237c66ec88fSEmmanuel Vadot /* mac_txd1 */ 2238c66ec88fSEmmanuel Vadot <3 RK_PA5 1 &pcfg_pull_none_13ma>, 2239c66ec88fSEmmanuel Vadot /* mac_txd0 */ 2240c66ec88fSEmmanuel Vadot <3 RK_PA4 1 &pcfg_pull_none_13ma>, 2241c66ec88fSEmmanuel Vadot /* mac_rxd3 */ 2242c66ec88fSEmmanuel Vadot <3 RK_PA3 1 &pcfg_pull_none>, 2243c66ec88fSEmmanuel Vadot /* mac_rxd2 */ 2244c66ec88fSEmmanuel Vadot <3 RK_PA2 1 &pcfg_pull_none>, 2245c66ec88fSEmmanuel Vadot /* mac_txd3 */ 2246c66ec88fSEmmanuel Vadot <3 RK_PA1 1 &pcfg_pull_none_13ma>, 2247c66ec88fSEmmanuel Vadot /* mac_txd2 */ 2248c66ec88fSEmmanuel Vadot <3 RK_PA0 1 &pcfg_pull_none_13ma>; 2249c66ec88fSEmmanuel Vadot }; 2250c66ec88fSEmmanuel Vadot 2251c66ec88fSEmmanuel Vadot rmii_pins: rmii-pins { 2252c66ec88fSEmmanuel Vadot rockchip,pins = 2253c66ec88fSEmmanuel Vadot /* mac_mdio */ 2254c66ec88fSEmmanuel Vadot <3 RK_PB5 1 &pcfg_pull_none>, 2255c66ec88fSEmmanuel Vadot /* mac_txen */ 2256c66ec88fSEmmanuel Vadot <3 RK_PB4 1 &pcfg_pull_none_13ma>, 2257c66ec88fSEmmanuel Vadot /* mac_clk */ 2258c66ec88fSEmmanuel Vadot <3 RK_PB3 1 &pcfg_pull_none>, 2259c66ec88fSEmmanuel Vadot /* mac_rxer */ 2260c66ec88fSEmmanuel Vadot <3 RK_PB2 1 &pcfg_pull_none>, 2261c66ec88fSEmmanuel Vadot /* mac_rxdv */ 2262c66ec88fSEmmanuel Vadot <3 RK_PB1 1 &pcfg_pull_none>, 2263c66ec88fSEmmanuel Vadot /* mac_mdc */ 2264c66ec88fSEmmanuel Vadot <3 RK_PB0 1 &pcfg_pull_none>, 2265c66ec88fSEmmanuel Vadot /* mac_rxd1 */ 2266c66ec88fSEmmanuel Vadot <3 RK_PA7 1 &pcfg_pull_none>, 2267c66ec88fSEmmanuel Vadot /* mac_rxd0 */ 2268c66ec88fSEmmanuel Vadot <3 RK_PA6 1 &pcfg_pull_none>, 2269c66ec88fSEmmanuel Vadot /* mac_txd1 */ 2270c66ec88fSEmmanuel Vadot <3 RK_PA5 1 &pcfg_pull_none_13ma>, 2271c66ec88fSEmmanuel Vadot /* mac_txd0 */ 2272c66ec88fSEmmanuel Vadot <3 RK_PA4 1 &pcfg_pull_none_13ma>; 2273c66ec88fSEmmanuel Vadot }; 2274c66ec88fSEmmanuel Vadot }; 2275c66ec88fSEmmanuel Vadot 2276c66ec88fSEmmanuel Vadot i2c0 { 2277c66ec88fSEmmanuel Vadot i2c0_xfer: i2c0-xfer { 2278c66ec88fSEmmanuel Vadot rockchip,pins = 2279c66ec88fSEmmanuel Vadot <1 RK_PB7 2 &pcfg_pull_none>, 2280c66ec88fSEmmanuel Vadot <1 RK_PC0 2 &pcfg_pull_none>; 2281c66ec88fSEmmanuel Vadot }; 2282c66ec88fSEmmanuel Vadot }; 2283c66ec88fSEmmanuel Vadot 2284c66ec88fSEmmanuel Vadot i2c1 { 2285c66ec88fSEmmanuel Vadot i2c1_xfer: i2c1-xfer { 2286c66ec88fSEmmanuel Vadot rockchip,pins = 2287c66ec88fSEmmanuel Vadot <4 RK_PA2 1 &pcfg_pull_none>, 2288c66ec88fSEmmanuel Vadot <4 RK_PA1 1 &pcfg_pull_none>; 2289c66ec88fSEmmanuel Vadot }; 2290c66ec88fSEmmanuel Vadot }; 2291c66ec88fSEmmanuel Vadot 2292c66ec88fSEmmanuel Vadot i2c2 { 2293c66ec88fSEmmanuel Vadot i2c2_xfer: i2c2-xfer { 2294c66ec88fSEmmanuel Vadot rockchip,pins = 2295c66ec88fSEmmanuel Vadot <2 RK_PA1 2 &pcfg_pull_none_12ma>, 2296c66ec88fSEmmanuel Vadot <2 RK_PA0 2 &pcfg_pull_none_12ma>; 2297c66ec88fSEmmanuel Vadot }; 2298c66ec88fSEmmanuel Vadot }; 2299c66ec88fSEmmanuel Vadot 2300c66ec88fSEmmanuel Vadot i2c3 { 2301c66ec88fSEmmanuel Vadot i2c3_xfer: i2c3-xfer { 2302c66ec88fSEmmanuel Vadot rockchip,pins = 2303c66ec88fSEmmanuel Vadot <4 RK_PC1 1 &pcfg_pull_none>, 2304c66ec88fSEmmanuel Vadot <4 RK_PC0 1 &pcfg_pull_none>; 2305c66ec88fSEmmanuel Vadot }; 2306c66ec88fSEmmanuel Vadot }; 2307c66ec88fSEmmanuel Vadot 2308c66ec88fSEmmanuel Vadot i2c4 { 2309c66ec88fSEmmanuel Vadot i2c4_xfer: i2c4-xfer { 2310c66ec88fSEmmanuel Vadot rockchip,pins = 2311c66ec88fSEmmanuel Vadot <1 RK_PB4 1 &pcfg_pull_none>, 2312c66ec88fSEmmanuel Vadot <1 RK_PB3 1 &pcfg_pull_none>; 2313c66ec88fSEmmanuel Vadot }; 2314c66ec88fSEmmanuel Vadot }; 2315c66ec88fSEmmanuel Vadot 2316c66ec88fSEmmanuel Vadot i2c5 { 2317c66ec88fSEmmanuel Vadot i2c5_xfer: i2c5-xfer { 2318c66ec88fSEmmanuel Vadot rockchip,pins = 2319c66ec88fSEmmanuel Vadot <3 RK_PB3 2 &pcfg_pull_none>, 2320c66ec88fSEmmanuel Vadot <3 RK_PB2 2 &pcfg_pull_none>; 2321c66ec88fSEmmanuel Vadot }; 2322c66ec88fSEmmanuel Vadot }; 2323c66ec88fSEmmanuel Vadot 2324c66ec88fSEmmanuel Vadot i2c6 { 2325c66ec88fSEmmanuel Vadot i2c6_xfer: i2c6-xfer { 2326c66ec88fSEmmanuel Vadot rockchip,pins = 2327c66ec88fSEmmanuel Vadot <2 RK_PB2 2 &pcfg_pull_none>, 2328c66ec88fSEmmanuel Vadot <2 RK_PB1 2 &pcfg_pull_none>; 2329c66ec88fSEmmanuel Vadot }; 2330c66ec88fSEmmanuel Vadot }; 2331c66ec88fSEmmanuel Vadot 2332c66ec88fSEmmanuel Vadot i2c7 { 2333c66ec88fSEmmanuel Vadot i2c7_xfer: i2c7-xfer { 2334c66ec88fSEmmanuel Vadot rockchip,pins = 2335c66ec88fSEmmanuel Vadot <2 RK_PB0 2 &pcfg_pull_none>, 2336c66ec88fSEmmanuel Vadot <2 RK_PA7 2 &pcfg_pull_none>; 2337c66ec88fSEmmanuel Vadot }; 2338c66ec88fSEmmanuel Vadot }; 2339c66ec88fSEmmanuel Vadot 2340c66ec88fSEmmanuel Vadot i2c8 { 2341c66ec88fSEmmanuel Vadot i2c8_xfer: i2c8-xfer { 2342c66ec88fSEmmanuel Vadot rockchip,pins = 2343c66ec88fSEmmanuel Vadot <1 RK_PC5 1 &pcfg_pull_none>, 2344c66ec88fSEmmanuel Vadot <1 RK_PC4 1 &pcfg_pull_none>; 2345c66ec88fSEmmanuel Vadot }; 2346c66ec88fSEmmanuel Vadot }; 2347c66ec88fSEmmanuel Vadot 2348c66ec88fSEmmanuel Vadot i2s0 { 2349c66ec88fSEmmanuel Vadot i2s0_2ch_bus: i2s0-2ch-bus { 2350c66ec88fSEmmanuel Vadot rockchip,pins = 2351c66ec88fSEmmanuel Vadot <3 RK_PD0 1 &pcfg_pull_none>, 2352c66ec88fSEmmanuel Vadot <3 RK_PD1 1 &pcfg_pull_none>, 2353c66ec88fSEmmanuel Vadot <3 RK_PD2 1 &pcfg_pull_none>, 2354c66ec88fSEmmanuel Vadot <3 RK_PD3 1 &pcfg_pull_none>, 2355c66ec88fSEmmanuel Vadot <3 RK_PD7 1 &pcfg_pull_none>, 2356c66ec88fSEmmanuel Vadot <4 RK_PA0 1 &pcfg_pull_none>; 2357c66ec88fSEmmanuel Vadot }; 2358c66ec88fSEmmanuel Vadot 2359c66ec88fSEmmanuel Vadot i2s0_8ch_bus: i2s0-8ch-bus { 2360c66ec88fSEmmanuel Vadot rockchip,pins = 2361c66ec88fSEmmanuel Vadot <3 RK_PD0 1 &pcfg_pull_none>, 2362c66ec88fSEmmanuel Vadot <3 RK_PD1 1 &pcfg_pull_none>, 2363c66ec88fSEmmanuel Vadot <3 RK_PD2 1 &pcfg_pull_none>, 2364c66ec88fSEmmanuel Vadot <3 RK_PD3 1 &pcfg_pull_none>, 2365c66ec88fSEmmanuel Vadot <3 RK_PD4 1 &pcfg_pull_none>, 2366c66ec88fSEmmanuel Vadot <3 RK_PD5 1 &pcfg_pull_none>, 2367c66ec88fSEmmanuel Vadot <3 RK_PD6 1 &pcfg_pull_none>, 2368c66ec88fSEmmanuel Vadot <3 RK_PD7 1 &pcfg_pull_none>, 2369c66ec88fSEmmanuel Vadot <4 RK_PA0 1 &pcfg_pull_none>; 2370c66ec88fSEmmanuel Vadot }; 2371c66ec88fSEmmanuel Vadot }; 2372c66ec88fSEmmanuel Vadot 2373c66ec88fSEmmanuel Vadot i2s1 { 2374c66ec88fSEmmanuel Vadot i2s1_2ch_bus: i2s1-2ch-bus { 2375c66ec88fSEmmanuel Vadot rockchip,pins = 2376c66ec88fSEmmanuel Vadot <4 RK_PA3 1 &pcfg_pull_none>, 2377c66ec88fSEmmanuel Vadot <4 RK_PA4 1 &pcfg_pull_none>, 2378c66ec88fSEmmanuel Vadot <4 RK_PA5 1 &pcfg_pull_none>, 2379c66ec88fSEmmanuel Vadot <4 RK_PA6 1 &pcfg_pull_none>, 2380c66ec88fSEmmanuel Vadot <4 RK_PA7 1 &pcfg_pull_none>; 2381c66ec88fSEmmanuel Vadot }; 2382c66ec88fSEmmanuel Vadot }; 2383c66ec88fSEmmanuel Vadot 2384c66ec88fSEmmanuel Vadot sdio0 { 2385c66ec88fSEmmanuel Vadot sdio0_bus1: sdio0-bus1 { 2386c66ec88fSEmmanuel Vadot rockchip,pins = 2387c66ec88fSEmmanuel Vadot <2 RK_PC4 1 &pcfg_pull_up>; 2388c66ec88fSEmmanuel Vadot }; 2389c66ec88fSEmmanuel Vadot 2390c66ec88fSEmmanuel Vadot sdio0_bus4: sdio0-bus4 { 2391c66ec88fSEmmanuel Vadot rockchip,pins = 2392c66ec88fSEmmanuel Vadot <2 RK_PC4 1 &pcfg_pull_up>, 2393c66ec88fSEmmanuel Vadot <2 RK_PC5 1 &pcfg_pull_up>, 2394c66ec88fSEmmanuel Vadot <2 RK_PC6 1 &pcfg_pull_up>, 2395c66ec88fSEmmanuel Vadot <2 RK_PC7 1 &pcfg_pull_up>; 2396c66ec88fSEmmanuel Vadot }; 2397c66ec88fSEmmanuel Vadot 2398c66ec88fSEmmanuel Vadot sdio0_cmd: sdio0-cmd { 2399c66ec88fSEmmanuel Vadot rockchip,pins = 2400c66ec88fSEmmanuel Vadot <2 RK_PD0 1 &pcfg_pull_up>; 2401c66ec88fSEmmanuel Vadot }; 2402c66ec88fSEmmanuel Vadot 2403c66ec88fSEmmanuel Vadot sdio0_clk: sdio0-clk { 2404c66ec88fSEmmanuel Vadot rockchip,pins = 2405c66ec88fSEmmanuel Vadot <2 RK_PD1 1 &pcfg_pull_none>; 2406c66ec88fSEmmanuel Vadot }; 2407c66ec88fSEmmanuel Vadot 2408c66ec88fSEmmanuel Vadot sdio0_cd: sdio0-cd { 2409c66ec88fSEmmanuel Vadot rockchip,pins = 2410c66ec88fSEmmanuel Vadot <2 RK_PD2 1 &pcfg_pull_up>; 2411c66ec88fSEmmanuel Vadot }; 2412c66ec88fSEmmanuel Vadot 2413c66ec88fSEmmanuel Vadot sdio0_pwr: sdio0-pwr { 2414c66ec88fSEmmanuel Vadot rockchip,pins = 2415c66ec88fSEmmanuel Vadot <2 RK_PD3 1 &pcfg_pull_up>; 2416c66ec88fSEmmanuel Vadot }; 2417c66ec88fSEmmanuel Vadot 2418c66ec88fSEmmanuel Vadot sdio0_bkpwr: sdio0-bkpwr { 2419c66ec88fSEmmanuel Vadot rockchip,pins = 2420c66ec88fSEmmanuel Vadot <2 RK_PD4 1 &pcfg_pull_up>; 2421c66ec88fSEmmanuel Vadot }; 2422c66ec88fSEmmanuel Vadot 2423c66ec88fSEmmanuel Vadot sdio0_wp: sdio0-wp { 2424c66ec88fSEmmanuel Vadot rockchip,pins = 2425c66ec88fSEmmanuel Vadot <0 RK_PA3 1 &pcfg_pull_up>; 2426c66ec88fSEmmanuel Vadot }; 2427c66ec88fSEmmanuel Vadot 2428c66ec88fSEmmanuel Vadot sdio0_int: sdio0-int { 2429c66ec88fSEmmanuel Vadot rockchip,pins = 2430c66ec88fSEmmanuel Vadot <0 RK_PA4 1 &pcfg_pull_up>; 2431c66ec88fSEmmanuel Vadot }; 2432c66ec88fSEmmanuel Vadot }; 2433c66ec88fSEmmanuel Vadot 2434c66ec88fSEmmanuel Vadot sdmmc { 2435c66ec88fSEmmanuel Vadot sdmmc_bus1: sdmmc-bus1 { 2436c66ec88fSEmmanuel Vadot rockchip,pins = 2437c66ec88fSEmmanuel Vadot <4 RK_PB0 1 &pcfg_pull_up>; 2438c66ec88fSEmmanuel Vadot }; 2439c66ec88fSEmmanuel Vadot 2440c66ec88fSEmmanuel Vadot sdmmc_bus4: sdmmc-bus4 { 2441c66ec88fSEmmanuel Vadot rockchip,pins = 2442c66ec88fSEmmanuel Vadot <4 RK_PB0 1 &pcfg_pull_up>, 2443c66ec88fSEmmanuel Vadot <4 RK_PB1 1 &pcfg_pull_up>, 2444c66ec88fSEmmanuel Vadot <4 RK_PB2 1 &pcfg_pull_up>, 2445c66ec88fSEmmanuel Vadot <4 RK_PB3 1 &pcfg_pull_up>; 2446c66ec88fSEmmanuel Vadot }; 2447c66ec88fSEmmanuel Vadot 2448c66ec88fSEmmanuel Vadot sdmmc_clk: sdmmc-clk { 2449c66ec88fSEmmanuel Vadot rockchip,pins = 2450c66ec88fSEmmanuel Vadot <4 RK_PB4 1 &pcfg_pull_none>; 2451c66ec88fSEmmanuel Vadot }; 2452c66ec88fSEmmanuel Vadot 2453c66ec88fSEmmanuel Vadot sdmmc_cmd: sdmmc-cmd { 2454c66ec88fSEmmanuel Vadot rockchip,pins = 2455c66ec88fSEmmanuel Vadot <4 RK_PB5 1 &pcfg_pull_up>; 2456c66ec88fSEmmanuel Vadot }; 2457c66ec88fSEmmanuel Vadot 2458c66ec88fSEmmanuel Vadot sdmmc_cd: sdmmc-cd { 2459c66ec88fSEmmanuel Vadot rockchip,pins = 2460c66ec88fSEmmanuel Vadot <0 RK_PA7 1 &pcfg_pull_up>; 2461c66ec88fSEmmanuel Vadot }; 2462c66ec88fSEmmanuel Vadot 2463c66ec88fSEmmanuel Vadot sdmmc_wp: sdmmc-wp { 2464c66ec88fSEmmanuel Vadot rockchip,pins = 2465c66ec88fSEmmanuel Vadot <0 RK_PB0 1 &pcfg_pull_up>; 2466c66ec88fSEmmanuel Vadot }; 2467c66ec88fSEmmanuel Vadot }; 2468c66ec88fSEmmanuel Vadot 24695956d97fSEmmanuel Vadot suspend { 2470c66ec88fSEmmanuel Vadot ap_pwroff: ap-pwroff { 2471c66ec88fSEmmanuel Vadot rockchip,pins = <1 RK_PA5 1 &pcfg_pull_none>; 2472c66ec88fSEmmanuel Vadot }; 2473c66ec88fSEmmanuel Vadot 2474c66ec88fSEmmanuel Vadot ddrio_pwroff: ddrio-pwroff { 2475c66ec88fSEmmanuel Vadot rockchip,pins = <0 RK_PA1 1 &pcfg_pull_none>; 2476c66ec88fSEmmanuel Vadot }; 2477c66ec88fSEmmanuel Vadot }; 2478c66ec88fSEmmanuel Vadot 2479c66ec88fSEmmanuel Vadot spdif { 2480c66ec88fSEmmanuel Vadot spdif_bus: spdif-bus { 2481c66ec88fSEmmanuel Vadot rockchip,pins = 2482c66ec88fSEmmanuel Vadot <4 RK_PC5 1 &pcfg_pull_none>; 2483c66ec88fSEmmanuel Vadot }; 2484c66ec88fSEmmanuel Vadot 2485c66ec88fSEmmanuel Vadot spdif_bus_1: spdif-bus-1 { 2486c66ec88fSEmmanuel Vadot rockchip,pins = 2487c66ec88fSEmmanuel Vadot <3 RK_PC0 3 &pcfg_pull_none>; 2488c66ec88fSEmmanuel Vadot }; 2489c66ec88fSEmmanuel Vadot }; 2490c66ec88fSEmmanuel Vadot 2491c66ec88fSEmmanuel Vadot spi0 { 2492c66ec88fSEmmanuel Vadot spi0_clk: spi0-clk { 2493c66ec88fSEmmanuel Vadot rockchip,pins = 2494c66ec88fSEmmanuel Vadot <3 RK_PA6 2 &pcfg_pull_up>; 2495c66ec88fSEmmanuel Vadot }; 2496c66ec88fSEmmanuel Vadot spi0_cs0: spi0-cs0 { 2497c66ec88fSEmmanuel Vadot rockchip,pins = 2498c66ec88fSEmmanuel Vadot <3 RK_PA7 2 &pcfg_pull_up>; 2499c66ec88fSEmmanuel Vadot }; 2500c66ec88fSEmmanuel Vadot spi0_cs1: spi0-cs1 { 2501c66ec88fSEmmanuel Vadot rockchip,pins = 2502c66ec88fSEmmanuel Vadot <3 RK_PB0 2 &pcfg_pull_up>; 2503c66ec88fSEmmanuel Vadot }; 2504c66ec88fSEmmanuel Vadot spi0_tx: spi0-tx { 2505c66ec88fSEmmanuel Vadot rockchip,pins = 2506c66ec88fSEmmanuel Vadot <3 RK_PA5 2 &pcfg_pull_up>; 2507c66ec88fSEmmanuel Vadot }; 2508c66ec88fSEmmanuel Vadot spi0_rx: spi0-rx { 2509c66ec88fSEmmanuel Vadot rockchip,pins = 2510c66ec88fSEmmanuel Vadot <3 RK_PA4 2 &pcfg_pull_up>; 2511c66ec88fSEmmanuel Vadot }; 2512c66ec88fSEmmanuel Vadot }; 2513c66ec88fSEmmanuel Vadot 2514c66ec88fSEmmanuel Vadot spi1 { 2515c66ec88fSEmmanuel Vadot spi1_clk: spi1-clk { 2516c66ec88fSEmmanuel Vadot rockchip,pins = 2517c66ec88fSEmmanuel Vadot <1 RK_PB1 2 &pcfg_pull_up>; 2518c66ec88fSEmmanuel Vadot }; 2519c66ec88fSEmmanuel Vadot spi1_cs0: spi1-cs0 { 2520c66ec88fSEmmanuel Vadot rockchip,pins = 2521c66ec88fSEmmanuel Vadot <1 RK_PB2 2 &pcfg_pull_up>; 2522c66ec88fSEmmanuel Vadot }; 2523c66ec88fSEmmanuel Vadot spi1_rx: spi1-rx { 2524c66ec88fSEmmanuel Vadot rockchip,pins = 2525c66ec88fSEmmanuel Vadot <1 RK_PA7 2 &pcfg_pull_up>; 2526c66ec88fSEmmanuel Vadot }; 2527c66ec88fSEmmanuel Vadot spi1_tx: spi1-tx { 2528c66ec88fSEmmanuel Vadot rockchip,pins = 2529c66ec88fSEmmanuel Vadot <1 RK_PB0 2 &pcfg_pull_up>; 2530c66ec88fSEmmanuel Vadot }; 2531c66ec88fSEmmanuel Vadot }; 2532c66ec88fSEmmanuel Vadot 2533c66ec88fSEmmanuel Vadot spi2 { 2534c66ec88fSEmmanuel Vadot spi2_clk: spi2-clk { 2535c66ec88fSEmmanuel Vadot rockchip,pins = 2536c66ec88fSEmmanuel Vadot <2 RK_PB3 1 &pcfg_pull_up>; 2537c66ec88fSEmmanuel Vadot }; 2538c66ec88fSEmmanuel Vadot spi2_cs0: spi2-cs0 { 2539c66ec88fSEmmanuel Vadot rockchip,pins = 2540c66ec88fSEmmanuel Vadot <2 RK_PB4 1 &pcfg_pull_up>; 2541c66ec88fSEmmanuel Vadot }; 2542c66ec88fSEmmanuel Vadot spi2_rx: spi2-rx { 2543c66ec88fSEmmanuel Vadot rockchip,pins = 2544c66ec88fSEmmanuel Vadot <2 RK_PB1 1 &pcfg_pull_up>; 2545c66ec88fSEmmanuel Vadot }; 2546c66ec88fSEmmanuel Vadot spi2_tx: spi2-tx { 2547c66ec88fSEmmanuel Vadot rockchip,pins = 2548c66ec88fSEmmanuel Vadot <2 RK_PB2 1 &pcfg_pull_up>; 2549c66ec88fSEmmanuel Vadot }; 2550c66ec88fSEmmanuel Vadot }; 2551c66ec88fSEmmanuel Vadot 2552c66ec88fSEmmanuel Vadot spi3 { 2553c66ec88fSEmmanuel Vadot spi3_clk: spi3-clk { 2554c66ec88fSEmmanuel Vadot rockchip,pins = 2555c66ec88fSEmmanuel Vadot <1 RK_PC1 1 &pcfg_pull_up>; 2556c66ec88fSEmmanuel Vadot }; 2557c66ec88fSEmmanuel Vadot spi3_cs0: spi3-cs0 { 2558c66ec88fSEmmanuel Vadot rockchip,pins = 2559c66ec88fSEmmanuel Vadot <1 RK_PC2 1 &pcfg_pull_up>; 2560c66ec88fSEmmanuel Vadot }; 2561c66ec88fSEmmanuel Vadot spi3_rx: spi3-rx { 2562c66ec88fSEmmanuel Vadot rockchip,pins = 2563c66ec88fSEmmanuel Vadot <1 RK_PB7 1 &pcfg_pull_up>; 2564c66ec88fSEmmanuel Vadot }; 2565c66ec88fSEmmanuel Vadot spi3_tx: spi3-tx { 2566c66ec88fSEmmanuel Vadot rockchip,pins = 2567c66ec88fSEmmanuel Vadot <1 RK_PC0 1 &pcfg_pull_up>; 2568c66ec88fSEmmanuel Vadot }; 2569c66ec88fSEmmanuel Vadot }; 2570c66ec88fSEmmanuel Vadot 2571c66ec88fSEmmanuel Vadot spi4 { 2572c66ec88fSEmmanuel Vadot spi4_clk: spi4-clk { 2573c66ec88fSEmmanuel Vadot rockchip,pins = 2574c66ec88fSEmmanuel Vadot <3 RK_PA2 2 &pcfg_pull_up>; 2575c66ec88fSEmmanuel Vadot }; 2576c66ec88fSEmmanuel Vadot spi4_cs0: spi4-cs0 { 2577c66ec88fSEmmanuel Vadot rockchip,pins = 2578c66ec88fSEmmanuel Vadot <3 RK_PA3 2 &pcfg_pull_up>; 2579c66ec88fSEmmanuel Vadot }; 2580c66ec88fSEmmanuel Vadot spi4_rx: spi4-rx { 2581c66ec88fSEmmanuel Vadot rockchip,pins = 2582c66ec88fSEmmanuel Vadot <3 RK_PA0 2 &pcfg_pull_up>; 2583c66ec88fSEmmanuel Vadot }; 2584c66ec88fSEmmanuel Vadot spi4_tx: spi4-tx { 2585c66ec88fSEmmanuel Vadot rockchip,pins = 2586c66ec88fSEmmanuel Vadot <3 RK_PA1 2 &pcfg_pull_up>; 2587c66ec88fSEmmanuel Vadot }; 2588c66ec88fSEmmanuel Vadot }; 2589c66ec88fSEmmanuel Vadot 2590c66ec88fSEmmanuel Vadot spi5 { 2591c66ec88fSEmmanuel Vadot spi5_clk: spi5-clk { 2592c66ec88fSEmmanuel Vadot rockchip,pins = 2593c66ec88fSEmmanuel Vadot <2 RK_PC6 2 &pcfg_pull_up>; 2594c66ec88fSEmmanuel Vadot }; 2595c66ec88fSEmmanuel Vadot spi5_cs0: spi5-cs0 { 2596c66ec88fSEmmanuel Vadot rockchip,pins = 2597c66ec88fSEmmanuel Vadot <2 RK_PC7 2 &pcfg_pull_up>; 2598c66ec88fSEmmanuel Vadot }; 2599c66ec88fSEmmanuel Vadot spi5_rx: spi5-rx { 2600c66ec88fSEmmanuel Vadot rockchip,pins = 2601c66ec88fSEmmanuel Vadot <2 RK_PC4 2 &pcfg_pull_up>; 2602c66ec88fSEmmanuel Vadot }; 2603c66ec88fSEmmanuel Vadot spi5_tx: spi5-tx { 2604c66ec88fSEmmanuel Vadot rockchip,pins = 2605c66ec88fSEmmanuel Vadot <2 RK_PC5 2 &pcfg_pull_up>; 2606c66ec88fSEmmanuel Vadot }; 2607c66ec88fSEmmanuel Vadot }; 2608c66ec88fSEmmanuel Vadot 2609c66ec88fSEmmanuel Vadot testclk { 2610c66ec88fSEmmanuel Vadot test_clkout0: test-clkout0 { 2611c66ec88fSEmmanuel Vadot rockchip,pins = 2612c66ec88fSEmmanuel Vadot <0 RK_PA0 1 &pcfg_pull_none>; 2613c66ec88fSEmmanuel Vadot }; 2614c66ec88fSEmmanuel Vadot 2615c66ec88fSEmmanuel Vadot test_clkout1: test-clkout1 { 2616c66ec88fSEmmanuel Vadot rockchip,pins = 2617c66ec88fSEmmanuel Vadot <2 RK_PD1 2 &pcfg_pull_none>; 2618c66ec88fSEmmanuel Vadot }; 2619c66ec88fSEmmanuel Vadot 2620c66ec88fSEmmanuel Vadot test_clkout2: test-clkout2 { 2621c66ec88fSEmmanuel Vadot rockchip,pins = 2622c66ec88fSEmmanuel Vadot <0 RK_PB0 3 &pcfg_pull_none>; 2623c66ec88fSEmmanuel Vadot }; 2624c66ec88fSEmmanuel Vadot }; 2625c66ec88fSEmmanuel Vadot 2626c66ec88fSEmmanuel Vadot tsadc { 2627c66ec88fSEmmanuel Vadot otp_pin: otp-pin { 2628c66ec88fSEmmanuel Vadot rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 2629c66ec88fSEmmanuel Vadot }; 2630c66ec88fSEmmanuel Vadot 2631c66ec88fSEmmanuel Vadot otp_out: otp-out { 2632c66ec88fSEmmanuel Vadot rockchip,pins = <1 RK_PA6 1 &pcfg_pull_none>; 2633c66ec88fSEmmanuel Vadot }; 2634c66ec88fSEmmanuel Vadot }; 2635c66ec88fSEmmanuel Vadot 2636c66ec88fSEmmanuel Vadot uart0 { 2637c66ec88fSEmmanuel Vadot uart0_xfer: uart0-xfer { 2638c66ec88fSEmmanuel Vadot rockchip,pins = 2639c66ec88fSEmmanuel Vadot <2 RK_PC0 1 &pcfg_pull_up>, 2640c66ec88fSEmmanuel Vadot <2 RK_PC1 1 &pcfg_pull_none>; 2641c66ec88fSEmmanuel Vadot }; 2642c66ec88fSEmmanuel Vadot 2643c66ec88fSEmmanuel Vadot uart0_cts: uart0-cts { 2644c66ec88fSEmmanuel Vadot rockchip,pins = 2645c66ec88fSEmmanuel Vadot <2 RK_PC2 1 &pcfg_pull_none>; 2646c66ec88fSEmmanuel Vadot }; 2647c66ec88fSEmmanuel Vadot 2648c66ec88fSEmmanuel Vadot uart0_rts: uart0-rts { 2649c66ec88fSEmmanuel Vadot rockchip,pins = 2650c66ec88fSEmmanuel Vadot <2 RK_PC3 1 &pcfg_pull_none>; 2651c66ec88fSEmmanuel Vadot }; 2652c66ec88fSEmmanuel Vadot }; 2653c66ec88fSEmmanuel Vadot 2654c66ec88fSEmmanuel Vadot uart1 { 2655c66ec88fSEmmanuel Vadot uart1_xfer: uart1-xfer { 2656c66ec88fSEmmanuel Vadot rockchip,pins = 2657c66ec88fSEmmanuel Vadot <3 RK_PB4 2 &pcfg_pull_up>, 2658c66ec88fSEmmanuel Vadot <3 RK_PB5 2 &pcfg_pull_none>; 2659c66ec88fSEmmanuel Vadot }; 2660c66ec88fSEmmanuel Vadot }; 2661c66ec88fSEmmanuel Vadot 2662c66ec88fSEmmanuel Vadot uart2a { 2663c66ec88fSEmmanuel Vadot uart2a_xfer: uart2a-xfer { 2664c66ec88fSEmmanuel Vadot rockchip,pins = 2665c66ec88fSEmmanuel Vadot <4 RK_PB0 2 &pcfg_pull_up>, 2666c66ec88fSEmmanuel Vadot <4 RK_PB1 2 &pcfg_pull_none>; 2667c66ec88fSEmmanuel Vadot }; 2668c66ec88fSEmmanuel Vadot }; 2669c66ec88fSEmmanuel Vadot 2670c66ec88fSEmmanuel Vadot uart2b { 2671c66ec88fSEmmanuel Vadot uart2b_xfer: uart2b-xfer { 2672c66ec88fSEmmanuel Vadot rockchip,pins = 2673c66ec88fSEmmanuel Vadot <4 RK_PC0 2 &pcfg_pull_up>, 2674c66ec88fSEmmanuel Vadot <4 RK_PC1 2 &pcfg_pull_none>; 2675c66ec88fSEmmanuel Vadot }; 2676c66ec88fSEmmanuel Vadot }; 2677c66ec88fSEmmanuel Vadot 2678c66ec88fSEmmanuel Vadot uart2c { 2679c66ec88fSEmmanuel Vadot uart2c_xfer: uart2c-xfer { 2680c66ec88fSEmmanuel Vadot rockchip,pins = 2681c66ec88fSEmmanuel Vadot <4 RK_PC3 1 &pcfg_pull_up>, 2682c66ec88fSEmmanuel Vadot <4 RK_PC4 1 &pcfg_pull_none>; 2683c66ec88fSEmmanuel Vadot }; 2684c66ec88fSEmmanuel Vadot }; 2685c66ec88fSEmmanuel Vadot 2686c66ec88fSEmmanuel Vadot uart3 { 2687c66ec88fSEmmanuel Vadot uart3_xfer: uart3-xfer { 2688c66ec88fSEmmanuel Vadot rockchip,pins = 2689c66ec88fSEmmanuel Vadot <3 RK_PB6 2 &pcfg_pull_up>, 2690c66ec88fSEmmanuel Vadot <3 RK_PB7 2 &pcfg_pull_none>; 2691c66ec88fSEmmanuel Vadot }; 2692c66ec88fSEmmanuel Vadot 2693c66ec88fSEmmanuel Vadot uart3_cts: uart3-cts { 2694c66ec88fSEmmanuel Vadot rockchip,pins = 2695c66ec88fSEmmanuel Vadot <3 RK_PC0 2 &pcfg_pull_none>; 2696c66ec88fSEmmanuel Vadot }; 2697c66ec88fSEmmanuel Vadot 2698c66ec88fSEmmanuel Vadot uart3_rts: uart3-rts { 2699c66ec88fSEmmanuel Vadot rockchip,pins = 2700c66ec88fSEmmanuel Vadot <3 RK_PC1 2 &pcfg_pull_none>; 2701c66ec88fSEmmanuel Vadot }; 2702c66ec88fSEmmanuel Vadot }; 2703c66ec88fSEmmanuel Vadot 2704c66ec88fSEmmanuel Vadot uart4 { 2705c66ec88fSEmmanuel Vadot uart4_xfer: uart4-xfer { 2706c66ec88fSEmmanuel Vadot rockchip,pins = 2707c66ec88fSEmmanuel Vadot <1 RK_PA7 1 &pcfg_pull_up>, 2708c66ec88fSEmmanuel Vadot <1 RK_PB0 1 &pcfg_pull_none>; 2709c66ec88fSEmmanuel Vadot }; 2710c66ec88fSEmmanuel Vadot }; 2711c66ec88fSEmmanuel Vadot 2712c66ec88fSEmmanuel Vadot uarthdcp { 2713c66ec88fSEmmanuel Vadot uarthdcp_xfer: uarthdcp-xfer { 2714c66ec88fSEmmanuel Vadot rockchip,pins = 2715c66ec88fSEmmanuel Vadot <4 RK_PC5 2 &pcfg_pull_up>, 2716c66ec88fSEmmanuel Vadot <4 RK_PC6 2 &pcfg_pull_none>; 2717c66ec88fSEmmanuel Vadot }; 2718c66ec88fSEmmanuel Vadot }; 2719c66ec88fSEmmanuel Vadot 2720c66ec88fSEmmanuel Vadot pwm0 { 2721c66ec88fSEmmanuel Vadot pwm0_pin: pwm0-pin { 2722c66ec88fSEmmanuel Vadot rockchip,pins = 2723c66ec88fSEmmanuel Vadot <4 RK_PC2 1 &pcfg_pull_none>; 2724c66ec88fSEmmanuel Vadot }; 2725c66ec88fSEmmanuel Vadot 2726c66ec88fSEmmanuel Vadot pwm0_pin_pull_down: pwm0-pin-pull-down { 2727c66ec88fSEmmanuel Vadot rockchip,pins = 2728c66ec88fSEmmanuel Vadot <4 RK_PC2 1 &pcfg_pull_down>; 2729c66ec88fSEmmanuel Vadot }; 2730c66ec88fSEmmanuel Vadot 2731c66ec88fSEmmanuel Vadot vop0_pwm_pin: vop0-pwm-pin { 2732c66ec88fSEmmanuel Vadot rockchip,pins = 2733c66ec88fSEmmanuel Vadot <4 RK_PC2 2 &pcfg_pull_none>; 2734c66ec88fSEmmanuel Vadot }; 2735c66ec88fSEmmanuel Vadot 2736c66ec88fSEmmanuel Vadot vop1_pwm_pin: vop1-pwm-pin { 2737c66ec88fSEmmanuel Vadot rockchip,pins = 2738c66ec88fSEmmanuel Vadot <4 RK_PC2 3 &pcfg_pull_none>; 2739c66ec88fSEmmanuel Vadot }; 2740c66ec88fSEmmanuel Vadot }; 2741c66ec88fSEmmanuel Vadot 2742c66ec88fSEmmanuel Vadot pwm1 { 2743c66ec88fSEmmanuel Vadot pwm1_pin: pwm1-pin { 2744c66ec88fSEmmanuel Vadot rockchip,pins = 2745c66ec88fSEmmanuel Vadot <4 RK_PC6 1 &pcfg_pull_none>; 2746c66ec88fSEmmanuel Vadot }; 2747c66ec88fSEmmanuel Vadot 2748c66ec88fSEmmanuel Vadot pwm1_pin_pull_down: pwm1-pin-pull-down { 2749c66ec88fSEmmanuel Vadot rockchip,pins = 2750c66ec88fSEmmanuel Vadot <4 RK_PC6 1 &pcfg_pull_down>; 2751c66ec88fSEmmanuel Vadot }; 2752c66ec88fSEmmanuel Vadot }; 2753c66ec88fSEmmanuel Vadot 2754c66ec88fSEmmanuel Vadot pwm2 { 2755c66ec88fSEmmanuel Vadot pwm2_pin: pwm2-pin { 2756c66ec88fSEmmanuel Vadot rockchip,pins = 2757c66ec88fSEmmanuel Vadot <1 RK_PC3 1 &pcfg_pull_none>; 2758c66ec88fSEmmanuel Vadot }; 2759c66ec88fSEmmanuel Vadot 2760c66ec88fSEmmanuel Vadot pwm2_pin_pull_down: pwm2-pin-pull-down { 2761c66ec88fSEmmanuel Vadot rockchip,pins = 2762c66ec88fSEmmanuel Vadot <1 RK_PC3 1 &pcfg_pull_down>; 2763c66ec88fSEmmanuel Vadot }; 2764c66ec88fSEmmanuel Vadot }; 2765c66ec88fSEmmanuel Vadot 2766c66ec88fSEmmanuel Vadot pwm3a { 2767c66ec88fSEmmanuel Vadot pwm3a_pin: pwm3a-pin { 2768c66ec88fSEmmanuel Vadot rockchip,pins = 2769c66ec88fSEmmanuel Vadot <0 RK_PA6 1 &pcfg_pull_none>; 2770c66ec88fSEmmanuel Vadot }; 2771c66ec88fSEmmanuel Vadot }; 2772c66ec88fSEmmanuel Vadot 2773c66ec88fSEmmanuel Vadot pwm3b { 2774c66ec88fSEmmanuel Vadot pwm3b_pin: pwm3b-pin { 2775c66ec88fSEmmanuel Vadot rockchip,pins = 2776c66ec88fSEmmanuel Vadot <1 RK_PB6 1 &pcfg_pull_none>; 2777c66ec88fSEmmanuel Vadot }; 2778c66ec88fSEmmanuel Vadot }; 2779c66ec88fSEmmanuel Vadot 2780c66ec88fSEmmanuel Vadot hdmi { 2781c66ec88fSEmmanuel Vadot hdmi_i2c_xfer: hdmi-i2c-xfer { 2782c66ec88fSEmmanuel Vadot rockchip,pins = 2783c66ec88fSEmmanuel Vadot <4 RK_PC1 3 &pcfg_pull_none>, 2784c66ec88fSEmmanuel Vadot <4 RK_PC0 3 &pcfg_pull_none>; 2785c66ec88fSEmmanuel Vadot }; 2786c66ec88fSEmmanuel Vadot 2787c66ec88fSEmmanuel Vadot hdmi_cec: hdmi-cec { 2788c66ec88fSEmmanuel Vadot rockchip,pins = 2789c66ec88fSEmmanuel Vadot <4 RK_PC7 1 &pcfg_pull_none>; 2790c66ec88fSEmmanuel Vadot }; 2791c66ec88fSEmmanuel Vadot }; 2792c66ec88fSEmmanuel Vadot 2793c66ec88fSEmmanuel Vadot pcie { 2794c66ec88fSEmmanuel Vadot pcie_clkreqn_cpm: pci-clkreqn-cpm { 2795c66ec88fSEmmanuel Vadot rockchip,pins = 2796c66ec88fSEmmanuel Vadot <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 2797c66ec88fSEmmanuel Vadot }; 2798c66ec88fSEmmanuel Vadot 2799c66ec88fSEmmanuel Vadot pcie_clkreqnb_cpm: pci-clkreqnb-cpm { 2800c66ec88fSEmmanuel Vadot rockchip,pins = 2801c66ec88fSEmmanuel Vadot <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 2802c66ec88fSEmmanuel Vadot }; 2803c66ec88fSEmmanuel Vadot }; 2804c66ec88fSEmmanuel Vadot 2805c66ec88fSEmmanuel Vadot }; 2806c66ec88fSEmmanuel Vadot}; 2807