1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ 2724ba675SRob Herring/* 3724ba675SRob Herring * (C) Copyright 2017 Rockchip Electronics Co., Ltd 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring#include <dt-bindings/clock/rk3128-cru.h> 7724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 8724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 9724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 10724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h> 11*edc4802dSAlex Bee#include <dt-bindings/power/rk3128-power.h> 12724ba675SRob Herring 13724ba675SRob Herring/ { 14724ba675SRob Herring compatible = "rockchip,rk3128"; 15724ba675SRob Herring interrupt-parent = <&gic>; 16724ba675SRob Herring #address-cells = <1>; 17724ba675SRob Herring #size-cells = <1>; 18724ba675SRob Herring 19724ba675SRob Herring arm-pmu { 20724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 21724ba675SRob Herring interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, 22724ba675SRob Herring <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, 23724ba675SRob Herring <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>, 24724ba675SRob Herring <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 25724ba675SRob Herring interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 26724ba675SRob Herring }; 27724ba675SRob Herring 28724ba675SRob Herring cpus { 29724ba675SRob Herring #address-cells = <1>; 30724ba675SRob Herring #size-cells = <0>; 31da8b9739SAlex Bee enable-method = "rockchip,rk3036-smp"; 32724ba675SRob Herring 33724ba675SRob Herring cpu0: cpu@f00 { 34724ba675SRob Herring device_type = "cpu"; 35724ba675SRob Herring compatible = "arm,cortex-a7"; 36724ba675SRob Herring reg = <0xf00>; 37724ba675SRob Herring clock-latency = <40000>; 38724ba675SRob Herring clocks = <&cru ARMCLK>; 3902941bc2SAlex Bee resets = <&cru SRST_CORE0>; 40c96b13d7SAlex Bee operating-points-v2 = <&cpu_opp_table>; 41724ba675SRob Herring #cooling-cells = <2>; /* min followed by max */ 42724ba675SRob Herring }; 43724ba675SRob Herring 44724ba675SRob Herring cpu1: cpu@f01 { 45724ba675SRob Herring device_type = "cpu"; 46724ba675SRob Herring compatible = "arm,cortex-a7"; 47724ba675SRob Herring reg = <0xf01>; 4802941bc2SAlex Bee resets = <&cru SRST_CORE1>; 49c96b13d7SAlex Bee operating-points-v2 = <&cpu_opp_table>; 50724ba675SRob Herring }; 51724ba675SRob Herring 52724ba675SRob Herring cpu2: cpu@f02 { 53724ba675SRob Herring device_type = "cpu"; 54724ba675SRob Herring compatible = "arm,cortex-a7"; 55724ba675SRob Herring reg = <0xf02>; 5602941bc2SAlex Bee resets = <&cru SRST_CORE2>; 57c96b13d7SAlex Bee operating-points-v2 = <&cpu_opp_table>; 58724ba675SRob Herring }; 59724ba675SRob Herring 60724ba675SRob Herring cpu3: cpu@f03 { 61724ba675SRob Herring device_type = "cpu"; 62724ba675SRob Herring compatible = "arm,cortex-a7"; 63724ba675SRob Herring reg = <0xf03>; 6402941bc2SAlex Bee resets = <&cru SRST_CORE3>; 65c96b13d7SAlex Bee operating-points-v2 = <&cpu_opp_table>; 66c96b13d7SAlex Bee }; 67c96b13d7SAlex Bee }; 68c96b13d7SAlex Bee 69c96b13d7SAlex Bee cpu_opp_table: opp-table-0 { 70c96b13d7SAlex Bee compatible = "operating-points-v2"; 71c96b13d7SAlex Bee opp-shared; 72c96b13d7SAlex Bee 73c96b13d7SAlex Bee opp-216000000 { 74c96b13d7SAlex Bee opp-hz = /bits/ 64 <216000000>; 75c96b13d7SAlex Bee opp-microvolt = <950000 950000 1325000>; 76c96b13d7SAlex Bee }; 77c96b13d7SAlex Bee opp-408000000 { 78c96b13d7SAlex Bee opp-hz = /bits/ 64 <408000000>; 79c96b13d7SAlex Bee opp-microvolt = <950000 950000 1325000>; 80c96b13d7SAlex Bee }; 81c96b13d7SAlex Bee opp-600000000 { 82c96b13d7SAlex Bee opp-hz = /bits/ 64 <600000000>; 83c96b13d7SAlex Bee opp-microvolt = <950000 950000 1325000>; 84c96b13d7SAlex Bee }; 85c96b13d7SAlex Bee opp-696000000 { 86c96b13d7SAlex Bee opp-hz = /bits/ 64 <696000000>; 87c96b13d7SAlex Bee opp-microvolt = <975000 975000 1325000>; 88c96b13d7SAlex Bee }; 89c96b13d7SAlex Bee opp-816000000 { 90c96b13d7SAlex Bee opp-hz = /bits/ 64 <816000000>; 91c96b13d7SAlex Bee opp-microvolt = <1075000 1075000 1325000>; 92c96b13d7SAlex Bee opp-suspend; 93c96b13d7SAlex Bee }; 94c96b13d7SAlex Bee opp-1008000000 { 95c96b13d7SAlex Bee opp-hz = /bits/ 64 <1008000000>; 96c96b13d7SAlex Bee opp-microvolt = <1200000 1200000 1325000>; 97c96b13d7SAlex Bee }; 98c96b13d7SAlex Bee opp-1200000000 { 99c96b13d7SAlex Bee opp-hz = /bits/ 64 <1200000000>; 100c96b13d7SAlex Bee opp-microvolt = <1325000 1325000 1325000>; 101724ba675SRob Herring }; 102724ba675SRob Herring }; 103724ba675SRob Herring 104724ba675SRob Herring timer { 105724ba675SRob Herring compatible = "arm,armv7-timer"; 106724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 107724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1087e3be9eaSAlex Bee <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1097e3be9eaSAlex Bee <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 110724ba675SRob Herring arm,cpu-registers-not-fw-configured; 111724ba675SRob Herring clock-frequency = <24000000>; 112724ba675SRob Herring }; 113724ba675SRob Herring 114724ba675SRob Herring xin24m: oscillator { 115724ba675SRob Herring compatible = "fixed-clock"; 116724ba675SRob Herring clock-frequency = <24000000>; 117724ba675SRob Herring clock-output-names = "xin24m"; 118724ba675SRob Herring #clock-cells = <0>; 119724ba675SRob Herring }; 120724ba675SRob Herring 1219107283bSAlex Bee imem: sram@10080000 { 1229107283bSAlex Bee compatible = "mmio-sram"; 1239107283bSAlex Bee reg = <0x10080000 0x2000>; 1249107283bSAlex Bee #address-cells = <1>; 1259107283bSAlex Bee #size-cells = <1>; 1269107283bSAlex Bee ranges = <0 0x10080000 0x2000>; 127da8b9739SAlex Bee 128da8b9739SAlex Bee smp-sram@0 { 129da8b9739SAlex Bee compatible = "rockchip,rk3066-smp-sram"; 130da8b9739SAlex Bee reg = <0x00 0x10>; 131da8b9739SAlex Bee }; 1329107283bSAlex Bee }; 1339107283bSAlex Bee 134724ba675SRob Herring pmu: syscon@100a0000 { 135724ba675SRob Herring compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd"; 136724ba675SRob Herring reg = <0x100a0000 0x1000>; 137*edc4802dSAlex Bee 138*edc4802dSAlex Bee power: power-controller { 139*edc4802dSAlex Bee compatible = "rockchip,rk3128-power-controller"; 140*edc4802dSAlex Bee #power-domain-cells = <1>; 141*edc4802dSAlex Bee #address-cells = <1>; 142*edc4802dSAlex Bee #size-cells = <0>; 143*edc4802dSAlex Bee 144*edc4802dSAlex Bee power-domain@RK3128_PD_VIO { 145*edc4802dSAlex Bee reg = <RK3128_PD_VIO>; 146*edc4802dSAlex Bee clocks = <&cru ACLK_CIF>, 147*edc4802dSAlex Bee <&cru HCLK_CIF>, 148*edc4802dSAlex Bee <&cru DCLK_EBC>, 149*edc4802dSAlex Bee <&cru HCLK_EBC>, 150*edc4802dSAlex Bee <&cru ACLK_IEP>, 151*edc4802dSAlex Bee <&cru HCLK_IEP>, 152*edc4802dSAlex Bee <&cru ACLK_LCDC0>, 153*edc4802dSAlex Bee <&cru HCLK_LCDC0>, 154*edc4802dSAlex Bee <&cru PCLK_MIPI>, 155*edc4802dSAlex Bee <&cru ACLK_RGA>, 156*edc4802dSAlex Bee <&cru HCLK_RGA>, 157*edc4802dSAlex Bee <&cru ACLK_VIO0>, 158*edc4802dSAlex Bee <&cru ACLK_VIO1>, 159*edc4802dSAlex Bee <&cru HCLK_VIO>, 160*edc4802dSAlex Bee <&cru HCLK_VIO_H2P>, 161*edc4802dSAlex Bee <&cru DCLK_VOP>, 162*edc4802dSAlex Bee <&cru SCLK_VOP>; 163*edc4802dSAlex Bee pm_qos = <&qos_ebc>, 164*edc4802dSAlex Bee <&qos_iep>, 165*edc4802dSAlex Bee <&qos_lcdc>, 166*edc4802dSAlex Bee <&qos_rga>, 167*edc4802dSAlex Bee <&qos_vip>; 168*edc4802dSAlex Bee #power-domain-cells = <0>; 169*edc4802dSAlex Bee }; 170*edc4802dSAlex Bee 171*edc4802dSAlex Bee power-domain@RK3128_PD_VIDEO { 172*edc4802dSAlex Bee reg = <RK3128_PD_VIDEO>; 173*edc4802dSAlex Bee clocks = <&cru ACLK_VDPU>, 174*edc4802dSAlex Bee <&cru HCLK_VDPU>, 175*edc4802dSAlex Bee <&cru ACLK_VEPU>, 176*edc4802dSAlex Bee <&cru HCLK_VEPU>, 177*edc4802dSAlex Bee <&cru SCLK_HEVC_CORE>; 178*edc4802dSAlex Bee pm_qos = <&qos_vpu>; 179*edc4802dSAlex Bee #power-domain-cells = <0>; 180*edc4802dSAlex Bee }; 181*edc4802dSAlex Bee 182*edc4802dSAlex Bee power-domain@RK3128_PD_GPU { 183*edc4802dSAlex Bee reg = <RK3128_PD_GPU>; 184*edc4802dSAlex Bee clocks = <&cru ACLK_GPU>; 185*edc4802dSAlex Bee pm_qos = <&qos_gpu>; 186*edc4802dSAlex Bee #power-domain-cells = <0>; 187*edc4802dSAlex Bee }; 188*edc4802dSAlex Bee }; 189*edc4802dSAlex Bee }; 190*edc4802dSAlex Bee 191*edc4802dSAlex Bee qos_gpu: qos@1012d000 { 192*edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 193*edc4802dSAlex Bee reg = <0x1012d000 0x20>; 194*edc4802dSAlex Bee }; 195*edc4802dSAlex Bee 196*edc4802dSAlex Bee qos_vpu: qos@1012e000 { 197*edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 198*edc4802dSAlex Bee reg = <0x1012e000 0x20>; 199*edc4802dSAlex Bee }; 200*edc4802dSAlex Bee 201*edc4802dSAlex Bee qos_rga: qos@1012f000 { 202*edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 203*edc4802dSAlex Bee reg = <0x1012f000 0x20>; 204*edc4802dSAlex Bee }; 205*edc4802dSAlex Bee 206*edc4802dSAlex Bee qos_ebc: qos@1012f080 { 207*edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 208*edc4802dSAlex Bee reg = <0x1012f080 0x20>; 209*edc4802dSAlex Bee }; 210*edc4802dSAlex Bee 211*edc4802dSAlex Bee qos_iep: qos@1012f100 { 212*edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 213*edc4802dSAlex Bee reg = <0x1012f100 0x20>; 214*edc4802dSAlex Bee }; 215*edc4802dSAlex Bee 216*edc4802dSAlex Bee qos_lcdc: qos@1012f180 { 217*edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 218*edc4802dSAlex Bee reg = <0x1012f180 0x20>; 219*edc4802dSAlex Bee }; 220*edc4802dSAlex Bee 221*edc4802dSAlex Bee qos_vip: qos@1012f200 { 222*edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 223*edc4802dSAlex Bee reg = <0x1012f200 0x20>; 224724ba675SRob Herring }; 225724ba675SRob Herring 226724ba675SRob Herring gic: interrupt-controller@10139000 { 227724ba675SRob Herring compatible = "arm,cortex-a7-gic"; 228724ba675SRob Herring reg = <0x10139000 0x1000>, 229724ba675SRob Herring <0x1013a000 0x1000>, 230724ba675SRob Herring <0x1013c000 0x2000>, 231724ba675SRob Herring <0x1013e000 0x2000>; 232724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 233724ba675SRob Herring interrupt-controller; 234724ba675SRob Herring #interrupt-cells = <3>; 235724ba675SRob Herring #address-cells = <0>; 236724ba675SRob Herring }; 237724ba675SRob Herring 238724ba675SRob Herring usb_otg: usb@10180000 { 239724ba675SRob Herring compatible = "rockchip,rk3128-usb", "rockchip,rk3066-usb", "snps,dwc2"; 240724ba675SRob Herring reg = <0x10180000 0x40000>; 241724ba675SRob Herring interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 242724ba675SRob Herring clocks = <&cru HCLK_OTG>; 243724ba675SRob Herring clock-names = "otg"; 244724ba675SRob Herring dr_mode = "otg"; 2454b12245eSAlex Bee g-np-tx-fifo-size = <16>; 2464b12245eSAlex Bee g-rx-fifo-size = <280>; 2474b12245eSAlex Bee g-tx-fifo-size = <256 128 128 64 32 16>; 248724ba675SRob Herring phys = <&usb2phy_otg>; 249724ba675SRob Herring phy-names = "usb2-phy"; 250724ba675SRob Herring status = "disabled"; 251724ba675SRob Herring }; 252724ba675SRob Herring 253724ba675SRob Herring usb_host_ehci: usb@101c0000 { 254724ba675SRob Herring compatible = "generic-ehci"; 255724ba675SRob Herring reg = <0x101c0000 0x20000>; 256724ba675SRob Herring interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 257759d6bd9SAlex Bee clocks = <&cru HCLK_HOST2>; 258724ba675SRob Herring phys = <&usb2phy_host>; 259724ba675SRob Herring phy-names = "usb"; 260724ba675SRob Herring status = "disabled"; 261724ba675SRob Herring }; 262724ba675SRob Herring 263724ba675SRob Herring usb_host_ohci: usb@101e0000 { 264724ba675SRob Herring compatible = "generic-ohci"; 265724ba675SRob Herring reg = <0x101e0000 0x20000>; 266724ba675SRob Herring interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 267759d6bd9SAlex Bee clocks = <&cru HCLK_HOST2>; 268724ba675SRob Herring phys = <&usb2phy_host>; 269724ba675SRob Herring phy-names = "usb"; 270724ba675SRob Herring status = "disabled"; 271724ba675SRob Herring }; 272724ba675SRob Herring 273724ba675SRob Herring sdmmc: mmc@10214000 { 274724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 275724ba675SRob Herring reg = <0x10214000 0x4000>; 276724ba675SRob Herring interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 277724ba675SRob Herring clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, 278724ba675SRob Herring <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; 279724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 280724ba675SRob Herring dmas = <&pdma 10>; 281724ba675SRob Herring dma-names = "rx-tx"; 282724ba675SRob Herring fifo-depth = <256>; 283724ba675SRob Herring max-frequency = <150000000>; 284724ba675SRob Herring resets = <&cru SRST_SDMMC>; 285724ba675SRob Herring reset-names = "reset"; 286724ba675SRob Herring status = "disabled"; 287724ba675SRob Herring }; 288724ba675SRob Herring 289724ba675SRob Herring sdio: mmc@10218000 { 290724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 291724ba675SRob Herring reg = <0x10218000 0x4000>; 292724ba675SRob Herring interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 293724ba675SRob Herring clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, 294724ba675SRob Herring <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; 295724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 296724ba675SRob Herring dmas = <&pdma 11>; 297724ba675SRob Herring dma-names = "rx-tx"; 298724ba675SRob Herring fifo-depth = <256>; 299724ba675SRob Herring max-frequency = <150000000>; 300724ba675SRob Herring resets = <&cru SRST_SDIO>; 301724ba675SRob Herring reset-names = "reset"; 302724ba675SRob Herring status = "disabled"; 303724ba675SRob Herring }; 304724ba675SRob Herring 305724ba675SRob Herring emmc: mmc@1021c000 { 306724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 307724ba675SRob Herring reg = <0x1021c000 0x4000>; 308724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 309724ba675SRob Herring clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, 310724ba675SRob Herring <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; 311724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 312724ba675SRob Herring dmas = <&pdma 12>; 313724ba675SRob Herring dma-names = "rx-tx"; 314724ba675SRob Herring fifo-depth = <256>; 315724ba675SRob Herring max-frequency = <150000000>; 316724ba675SRob Herring resets = <&cru SRST_EMMC>; 317724ba675SRob Herring reset-names = "reset"; 318724ba675SRob Herring status = "disabled"; 319724ba675SRob Herring }; 320724ba675SRob Herring 321724ba675SRob Herring nfc: nand-controller@10500000 { 322724ba675SRob Herring compatible = "rockchip,rk3128-nfc", "rockchip,rk2928-nfc"; 323724ba675SRob Herring reg = <0x10500000 0x4000>; 324724ba675SRob Herring interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 325724ba675SRob Herring clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; 326724ba675SRob Herring clock-names = "ahb", "nfc"; 327724ba675SRob Herring pinctrl-names = "default"; 328724ba675SRob Herring pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0 329724ba675SRob Herring &flash_dqs &flash_rdn &flash_rdy &flash_wrn>; 330724ba675SRob Herring status = "disabled"; 331724ba675SRob Herring }; 332724ba675SRob Herring 333724ba675SRob Herring cru: clock-controller@20000000 { 334724ba675SRob Herring compatible = "rockchip,rk3128-cru"; 335724ba675SRob Herring reg = <0x20000000 0x1000>; 336724ba675SRob Herring clocks = <&xin24m>; 337724ba675SRob Herring clock-names = "xin24m"; 338724ba675SRob Herring rockchip,grf = <&grf>; 339724ba675SRob Herring #clock-cells = <1>; 340724ba675SRob Herring #reset-cells = <1>; 341724ba675SRob Herring assigned-clocks = <&cru PLL_GPLL>; 342724ba675SRob Herring assigned-clock-rates = <594000000>; 343724ba675SRob Herring }; 344724ba675SRob Herring 345724ba675SRob Herring grf: syscon@20008000 { 346724ba675SRob Herring compatible = "rockchip,rk3128-grf", "syscon", "simple-mfd"; 347724ba675SRob Herring reg = <0x20008000 0x1000>; 348724ba675SRob Herring #address-cells = <1>; 349724ba675SRob Herring #size-cells = <1>; 350724ba675SRob Herring 351724ba675SRob Herring usb2phy: usb2phy@17c { 352724ba675SRob Herring compatible = "rockchip,rk3128-usb2phy"; 353724ba675SRob Herring reg = <0x017c 0x0c>; 354724ba675SRob Herring clocks = <&cru SCLK_OTGPHY0>; 355724ba675SRob Herring clock-names = "phyclk"; 356724ba675SRob Herring clock-output-names = "usb480m_phy"; 357fd610e60SAlex Bee assigned-clocks = <&cru SCLK_USB480M>; 358fd610e60SAlex Bee assigned-clock-parents = <&usb2phy>; 359724ba675SRob Herring #clock-cells = <0>; 360724ba675SRob Herring status = "disabled"; 361724ba675SRob Herring 362724ba675SRob Herring usb2phy_host: host-port { 363724ba675SRob Herring interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; 364724ba675SRob Herring interrupt-names = "linestate"; 365724ba675SRob Herring #phy-cells = <0>; 366724ba675SRob Herring status = "disabled"; 367724ba675SRob Herring }; 368724ba675SRob Herring 369724ba675SRob Herring usb2phy_otg: otg-port { 370724ba675SRob Herring interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, 371724ba675SRob Herring <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, 372724ba675SRob Herring <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; 373724ba675SRob Herring interrupt-names = "otg-bvalid", "otg-id", 374724ba675SRob Herring "linestate"; 375724ba675SRob Herring #phy-cells = <0>; 376724ba675SRob Herring status = "disabled"; 377724ba675SRob Herring }; 378724ba675SRob Herring }; 379724ba675SRob Herring }; 380724ba675SRob Herring 381724ba675SRob Herring timer0: timer@20044000 { 382724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 383724ba675SRob Herring reg = <0x20044000 0x20>; 384724ba675SRob Herring interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 3852c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>; 386724ba675SRob Herring clock-names = "pclk", "timer"; 387724ba675SRob Herring }; 388724ba675SRob Herring 389724ba675SRob Herring timer1: timer@20044020 { 390724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 391724ba675SRob Herring reg = <0x20044020 0x20>; 392724ba675SRob Herring interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 3932c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER1>; 394724ba675SRob Herring clock-names = "pclk", "timer"; 395724ba675SRob Herring }; 396724ba675SRob Herring 397724ba675SRob Herring timer2: timer@20044040 { 398724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 399724ba675SRob Herring reg = <0x20044040 0x20>; 400724ba675SRob Herring interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; 4012c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER2>; 402724ba675SRob Herring clock-names = "pclk", "timer"; 403724ba675SRob Herring }; 404724ba675SRob Herring 405724ba675SRob Herring timer3: timer@20044060 { 406724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 407724ba675SRob Herring reg = <0x20044060 0x20>; 408724ba675SRob Herring interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 4092c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER3>; 410724ba675SRob Herring clock-names = "pclk", "timer"; 411724ba675SRob Herring }; 412724ba675SRob Herring 413724ba675SRob Herring timer4: timer@20044080 { 414724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 415724ba675SRob Herring reg = <0x20044080 0x20>; 416724ba675SRob Herring interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 4172c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER4>; 418724ba675SRob Herring clock-names = "pclk", "timer"; 419724ba675SRob Herring }; 420724ba675SRob Herring 421724ba675SRob Herring timer5: timer@200440a0 { 422724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 423724ba675SRob Herring reg = <0x200440a0 0x20>; 424724ba675SRob Herring interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 4252c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER5>; 426724ba675SRob Herring clock-names = "pclk", "timer"; 427724ba675SRob Herring }; 428724ba675SRob Herring 429724ba675SRob Herring watchdog: watchdog@2004c000 { 430724ba675SRob Herring compatible = "rockchip,rk3128-wdt", "snps,dw-wdt"; 431724ba675SRob Herring reg = <0x2004c000 0x100>; 432724ba675SRob Herring interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 433724ba675SRob Herring clocks = <&cru PCLK_WDT>; 434724ba675SRob Herring status = "disabled"; 435724ba675SRob Herring }; 436724ba675SRob Herring 437724ba675SRob Herring pwm0: pwm@20050000 { 438724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 439724ba675SRob Herring reg = <0x20050000 0x10>; 440724ba675SRob Herring clocks = <&cru PCLK_PWM>; 441724ba675SRob Herring pinctrl-names = "default"; 442724ba675SRob Herring pinctrl-0 = <&pwm0_pin>; 443724ba675SRob Herring #pwm-cells = <3>; 444724ba675SRob Herring status = "disabled"; 445724ba675SRob Herring }; 446724ba675SRob Herring 447724ba675SRob Herring pwm1: pwm@20050010 { 448724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 449724ba675SRob Herring reg = <0x20050010 0x10>; 450724ba675SRob Herring clocks = <&cru PCLK_PWM>; 451724ba675SRob Herring pinctrl-names = "default"; 452724ba675SRob Herring pinctrl-0 = <&pwm1_pin>; 453724ba675SRob Herring #pwm-cells = <3>; 454724ba675SRob Herring status = "disabled"; 455724ba675SRob Herring }; 456724ba675SRob Herring 457724ba675SRob Herring pwm2: pwm@20050020 { 458724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 459724ba675SRob Herring reg = <0x20050020 0x10>; 460724ba675SRob Herring clocks = <&cru PCLK_PWM>; 461724ba675SRob Herring pinctrl-names = "default"; 462724ba675SRob Herring pinctrl-0 = <&pwm2_pin>; 463724ba675SRob Herring #pwm-cells = <3>; 464724ba675SRob Herring status = "disabled"; 465724ba675SRob Herring }; 466724ba675SRob Herring 467724ba675SRob Herring pwm3: pwm@20050030 { 468724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 469724ba675SRob Herring reg = <0x20050030 0x10>; 470724ba675SRob Herring clocks = <&cru PCLK_PWM>; 471724ba675SRob Herring pinctrl-names = "default"; 472724ba675SRob Herring pinctrl-0 = <&pwm3_pin>; 473724ba675SRob Herring #pwm-cells = <3>; 474724ba675SRob Herring status = "disabled"; 475724ba675SRob Herring }; 476724ba675SRob Herring 477724ba675SRob Herring i2c1: i2c@20056000 { 478724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 479724ba675SRob Herring reg = <0x20056000 0x1000>; 480724ba675SRob Herring interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 481724ba675SRob Herring clock-names = "i2c"; 482724ba675SRob Herring clocks = <&cru PCLK_I2C1>; 483724ba675SRob Herring pinctrl-names = "default"; 484724ba675SRob Herring pinctrl-0 = <&i2c1_xfer>; 485724ba675SRob Herring #address-cells = <1>; 486724ba675SRob Herring #size-cells = <0>; 487724ba675SRob Herring status = "disabled"; 488724ba675SRob Herring }; 489724ba675SRob Herring 490724ba675SRob Herring i2c2: i2c@2005a000 { 491724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 492724ba675SRob Herring reg = <0x2005a000 0x1000>; 493724ba675SRob Herring interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 494724ba675SRob Herring clock-names = "i2c"; 495724ba675SRob Herring clocks = <&cru PCLK_I2C2>; 496724ba675SRob Herring pinctrl-names = "default"; 497724ba675SRob Herring pinctrl-0 = <&i2c2_xfer>; 498724ba675SRob Herring #address-cells = <1>; 499724ba675SRob Herring #size-cells = <0>; 500724ba675SRob Herring status = "disabled"; 501724ba675SRob Herring }; 502724ba675SRob Herring 503724ba675SRob Herring i2c3: i2c@2005e000 { 504724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 505724ba675SRob Herring reg = <0x2005e000 0x1000>; 506724ba675SRob Herring interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 507724ba675SRob Herring clock-names = "i2c"; 508724ba675SRob Herring clocks = <&cru PCLK_I2C3>; 509724ba675SRob Herring pinctrl-names = "default"; 510724ba675SRob Herring pinctrl-0 = <&i2c3_xfer>; 511724ba675SRob Herring #address-cells = <1>; 512724ba675SRob Herring #size-cells = <0>; 513724ba675SRob Herring status = "disabled"; 514724ba675SRob Herring }; 515724ba675SRob Herring 516724ba675SRob Herring uart0: serial@20060000 { 517724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 518724ba675SRob Herring reg = <0x20060000 0x100>; 519724ba675SRob Herring interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 520724ba675SRob Herring clock-frequency = <24000000>; 521724ba675SRob Herring clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 522724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 523724ba675SRob Herring dmas = <&pdma 2>, <&pdma 3>; 524724ba675SRob Herring dma-names = "tx", "rx"; 525724ba675SRob Herring pinctrl-names = "default"; 526724ba675SRob Herring pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; 527724ba675SRob Herring reg-io-width = <4>; 528724ba675SRob Herring reg-shift = <2>; 529724ba675SRob Herring status = "disabled"; 530724ba675SRob Herring }; 531724ba675SRob Herring 532724ba675SRob Herring uart1: serial@20064000 { 533724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 534724ba675SRob Herring reg = <0x20064000 0x100>; 535724ba675SRob Herring interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 536724ba675SRob Herring clock-frequency = <24000000>; 537724ba675SRob Herring clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; 538724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 539724ba675SRob Herring dmas = <&pdma 4>, <&pdma 5>; 540724ba675SRob Herring dma-names = "tx", "rx"; 541724ba675SRob Herring pinctrl-names = "default"; 542724ba675SRob Herring pinctrl-0 = <&uart1_xfer>; 543724ba675SRob Herring reg-io-width = <4>; 544724ba675SRob Herring reg-shift = <2>; 545724ba675SRob Herring status = "disabled"; 546724ba675SRob Herring }; 547724ba675SRob Herring 548724ba675SRob Herring uart2: serial@20068000 { 549724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 550724ba675SRob Herring reg = <0x20068000 0x100>; 551724ba675SRob Herring interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 552724ba675SRob Herring clock-frequency = <24000000>; 553724ba675SRob Herring clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; 554724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 555724ba675SRob Herring dmas = <&pdma 6>, <&pdma 7>; 556724ba675SRob Herring dma-names = "tx", "rx"; 557724ba675SRob Herring pinctrl-names = "default"; 558724ba675SRob Herring pinctrl-0 = <&uart2_xfer>; 559724ba675SRob Herring reg-io-width = <4>; 560724ba675SRob Herring reg-shift = <2>; 561724ba675SRob Herring status = "disabled"; 562724ba675SRob Herring }; 563724ba675SRob Herring 564724ba675SRob Herring saradc: saradc@2006c000 { 565724ba675SRob Herring compatible = "rockchip,saradc"; 566724ba675SRob Herring reg = <0x2006c000 0x100>; 567724ba675SRob Herring interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 568724ba675SRob Herring clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>; 569724ba675SRob Herring clock-names = "saradc", "apb_pclk"; 570724ba675SRob Herring resets = <&cru SRST_SARADC>; 571724ba675SRob Herring reset-names = "saradc-apb"; 572724ba675SRob Herring #io-channel-cells = <1>; 573724ba675SRob Herring status = "disabled"; 574724ba675SRob Herring }; 575724ba675SRob Herring 576724ba675SRob Herring i2c0: i2c@20072000 { 577724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 5782e9cbc41SAlex Bee reg = <0x20072000 0x1000>; 579724ba675SRob Herring interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 580724ba675SRob Herring clock-names = "i2c"; 581724ba675SRob Herring clocks = <&cru PCLK_I2C0>; 582724ba675SRob Herring pinctrl-names = "default"; 583724ba675SRob Herring pinctrl-0 = <&i2c0_xfer>; 584724ba675SRob Herring #address-cells = <1>; 585724ba675SRob Herring #size-cells = <0>; 586724ba675SRob Herring status = "disabled"; 587724ba675SRob Herring }; 588724ba675SRob Herring 589724ba675SRob Herring spi0: spi@20074000 { 590724ba675SRob Herring compatible = "rockchip,rk3128-spi", "rockchip,rk3066-spi"; 591724ba675SRob Herring reg = <0x20074000 0x1000>; 592724ba675SRob Herring interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 593724ba675SRob Herring clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>; 594724ba675SRob Herring clock-names = "spiclk", "apb_pclk"; 595724ba675SRob Herring dmas = <&pdma 8>, <&pdma 9>; 596724ba675SRob Herring dma-names = "tx", "rx"; 597724ba675SRob Herring pinctrl-names = "default"; 598724ba675SRob Herring pinctrl-0 = <&spi0_tx &spi0_rx &spi0_clk &spi0_cs0 &spi0_cs1>; 599724ba675SRob Herring #address-cells = <1>; 600724ba675SRob Herring #size-cells = <0>; 601724ba675SRob Herring status = "disabled"; 602724ba675SRob Herring }; 603724ba675SRob Herring 604724ba675SRob Herring pdma: dma-controller@20078000 { 605724ba675SRob Herring compatible = "arm,pl330", "arm,primecell"; 606724ba675SRob Herring reg = <0x20078000 0x4000>; 607724ba675SRob Herring interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 608724ba675SRob Herring <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 609724ba675SRob Herring arm,pl330-broken-no-flushp; 610b0b4e978SAlex Bee arm,pl330-periph-burst; 611724ba675SRob Herring clocks = <&cru ACLK_DMAC>; 612724ba675SRob Herring clock-names = "apb_pclk"; 613724ba675SRob Herring #dma-cells = <1>; 614724ba675SRob Herring }; 615724ba675SRob Herring 6163d880c31SAlex Bee gmac: ethernet@2008c000 { 6173d880c31SAlex Bee compatible = "rockchip,rk3128-gmac"; 6183d880c31SAlex Bee reg = <0x2008c000 0x4000>; 6193d880c31SAlex Bee interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, 6203d880c31SAlex Bee <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 6213d880c31SAlex Bee interrupt-names = "macirq", "eth_wake_irq"; 6223d880c31SAlex Bee clocks = <&cru SCLK_MAC>, 6233d880c31SAlex Bee <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>, 6243d880c31SAlex Bee <&cru SCLK_MAC_REF>, <&cru SCLK_MAC_REFOUT>, 6253d880c31SAlex Bee <&cru ACLK_GMAC>, <&cru PCLK_GMAC>; 6263d880c31SAlex Bee clock-names = "stmmaceth", 6273d880c31SAlex Bee "mac_clk_rx", "mac_clk_tx", 6283d880c31SAlex Bee "clk_mac_ref", "clk_mac_refout", 6293d880c31SAlex Bee "aclk_mac", "pclk_mac"; 6303d880c31SAlex Bee resets = <&cru SRST_GMAC>; 6313d880c31SAlex Bee reset-names = "stmmaceth"; 6323d880c31SAlex Bee rockchip,grf = <&grf>; 6333d880c31SAlex Bee rx-fifo-depth = <4096>; 6343d880c31SAlex Bee tx-fifo-depth = <2048>; 6353d880c31SAlex Bee status = "disabled"; 6363d880c31SAlex Bee 6373d880c31SAlex Bee mdio: mdio { 6383d880c31SAlex Bee compatible = "snps,dwmac-mdio"; 6393d880c31SAlex Bee #address-cells = <0x1>; 6403d880c31SAlex Bee #size-cells = <0x0>; 6413d880c31SAlex Bee }; 6423d880c31SAlex Bee }; 6433d880c31SAlex Bee 644724ba675SRob Herring pinctrl: pinctrl { 645724ba675SRob Herring compatible = "rockchip,rk3128-pinctrl"; 646724ba675SRob Herring rockchip,grf = <&grf>; 647724ba675SRob Herring #address-cells = <1>; 648724ba675SRob Herring #size-cells = <1>; 649724ba675SRob Herring ranges; 650724ba675SRob Herring 651724ba675SRob Herring gpio0: gpio@2007c000 { 652724ba675SRob Herring compatible = "rockchip,gpio-bank"; 653724ba675SRob Herring reg = <0x2007c000 0x100>; 654724ba675SRob Herring interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 655724ba675SRob Herring clocks = <&cru PCLK_GPIO0>; 656724ba675SRob Herring gpio-controller; 657724ba675SRob Herring #gpio-cells = <2>; 658724ba675SRob Herring interrupt-controller; 659724ba675SRob Herring #interrupt-cells = <2>; 660724ba675SRob Herring }; 661724ba675SRob Herring 662724ba675SRob Herring gpio1: gpio@20080000 { 663724ba675SRob Herring compatible = "rockchip,gpio-bank"; 664724ba675SRob Herring reg = <0x20080000 0x100>; 665724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 666724ba675SRob Herring clocks = <&cru PCLK_GPIO1>; 667724ba675SRob Herring gpio-controller; 668724ba675SRob Herring #gpio-cells = <2>; 669724ba675SRob Herring interrupt-controller; 670724ba675SRob Herring #interrupt-cells = <2>; 671724ba675SRob Herring }; 672724ba675SRob Herring 673724ba675SRob Herring gpio2: gpio@20084000 { 674724ba675SRob Herring compatible = "rockchip,gpio-bank"; 675724ba675SRob Herring reg = <0x20084000 0x100>; 676724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 677724ba675SRob Herring clocks = <&cru PCLK_GPIO2>; 678724ba675SRob Herring gpio-controller; 679724ba675SRob Herring #gpio-cells = <2>; 680724ba675SRob Herring interrupt-controller; 681724ba675SRob Herring #interrupt-cells = <2>; 682724ba675SRob Herring }; 683724ba675SRob Herring 684724ba675SRob Herring gpio3: gpio@20088000 { 685724ba675SRob Herring compatible = "rockchip,gpio-bank"; 686724ba675SRob Herring reg = <0x20088000 0x100>; 687724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 688724ba675SRob Herring clocks = <&cru PCLK_GPIO3>; 689724ba675SRob Herring gpio-controller; 690724ba675SRob Herring #gpio-cells = <2>; 691724ba675SRob Herring interrupt-controller; 692724ba675SRob Herring #interrupt-cells = <2>; 693724ba675SRob Herring }; 694724ba675SRob Herring 695724ba675SRob Herring pcfg_pull_default: pcfg-pull-default { 696724ba675SRob Herring bias-pull-pin-default; 697724ba675SRob Herring }; 698724ba675SRob Herring 699724ba675SRob Herring pcfg_pull_none: pcfg-pull-none { 700724ba675SRob Herring bias-disable; 701724ba675SRob Herring }; 702724ba675SRob Herring 703724ba675SRob Herring emmc { 704724ba675SRob Herring emmc_clk: emmc-clk { 705724ba675SRob Herring rockchip,pins = <2 RK_PA7 2 &pcfg_pull_none>; 706724ba675SRob Herring }; 707724ba675SRob Herring 708724ba675SRob Herring emmc_cmd: emmc-cmd { 709724ba675SRob Herring rockchip,pins = <1 RK_PC6 2 &pcfg_pull_default>; 710724ba675SRob Herring }; 711724ba675SRob Herring 712724ba675SRob Herring emmc_cmd1: emmc-cmd1 { 713724ba675SRob Herring rockchip,pins = <2 RK_PA4 2 &pcfg_pull_default>; 714724ba675SRob Herring }; 715724ba675SRob Herring 716724ba675SRob Herring emmc_pwr: emmc-pwr { 717724ba675SRob Herring rockchip,pins = <2 RK_PA5 2 &pcfg_pull_default>; 718724ba675SRob Herring }; 719724ba675SRob Herring 720724ba675SRob Herring emmc_bus1: emmc-bus1 { 721724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>; 722724ba675SRob Herring }; 723724ba675SRob Herring 724724ba675SRob Herring emmc_bus4: emmc-bus4 { 725724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 726724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_default>, 727724ba675SRob Herring <1 RK_PD2 2 &pcfg_pull_default>, 728724ba675SRob Herring <1 RK_PD3 2 &pcfg_pull_default>; 729724ba675SRob Herring }; 730724ba675SRob Herring 731724ba675SRob Herring emmc_bus8: emmc-bus8 { 732724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 733724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_default>, 734724ba675SRob Herring <1 RK_PD2 2 &pcfg_pull_default>, 735724ba675SRob Herring <1 RK_PD3 2 &pcfg_pull_default>, 736724ba675SRob Herring <1 RK_PD4 2 &pcfg_pull_default>, 737724ba675SRob Herring <1 RK_PD5 2 &pcfg_pull_default>, 738724ba675SRob Herring <1 RK_PD6 2 &pcfg_pull_default>, 739724ba675SRob Herring <1 RK_PD7 2 &pcfg_pull_default>; 740724ba675SRob Herring }; 741724ba675SRob Herring }; 742724ba675SRob Herring 743724ba675SRob Herring gmac { 744724ba675SRob Herring rgmii_pins: rgmii-pins { 745724ba675SRob Herring rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>, 746724ba675SRob Herring <2 RK_PB1 3 &pcfg_pull_default>, 747724ba675SRob Herring <2 RK_PB3 3 &pcfg_pull_default>, 748724ba675SRob Herring <2 RK_PB4 3 &pcfg_pull_default>, 749724ba675SRob Herring <2 RK_PB5 3 &pcfg_pull_default>, 750724ba675SRob Herring <2 RK_PB6 3 &pcfg_pull_default>, 751724ba675SRob Herring <2 RK_PC0 3 &pcfg_pull_default>, 752724ba675SRob Herring <2 RK_PC1 3 &pcfg_pull_default>, 753724ba675SRob Herring <2 RK_PC2 3 &pcfg_pull_default>, 754724ba675SRob Herring <2 RK_PC3 3 &pcfg_pull_default>, 755724ba675SRob Herring <2 RK_PD1 3 &pcfg_pull_default>, 756724ba675SRob Herring <2 RK_PC4 4 &pcfg_pull_default>, 757724ba675SRob Herring <2 RK_PC5 4 &pcfg_pull_default>, 758724ba675SRob Herring <2 RK_PC6 4 &pcfg_pull_default>, 759724ba675SRob Herring <2 RK_PC7 4 &pcfg_pull_default>; 760724ba675SRob Herring }; 761724ba675SRob Herring 762724ba675SRob Herring rmii_pins: rmii-pins { 763724ba675SRob Herring rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>, 764724ba675SRob Herring <2 RK_PB4 3 &pcfg_pull_default>, 765724ba675SRob Herring <2 RK_PB5 3 &pcfg_pull_default>, 766724ba675SRob Herring <2 RK_PB6 3 &pcfg_pull_default>, 767724ba675SRob Herring <2 RK_PB7 3 &pcfg_pull_default>, 768724ba675SRob Herring <2 RK_PC0 3 &pcfg_pull_default>, 769724ba675SRob Herring <2 RK_PC1 3 &pcfg_pull_default>, 770724ba675SRob Herring <2 RK_PC2 3 &pcfg_pull_default>, 771724ba675SRob Herring <2 RK_PC3 3 &pcfg_pull_default>, 772724ba675SRob Herring <2 RK_PD1 3 &pcfg_pull_default>; 773724ba675SRob Herring }; 774724ba675SRob Herring }; 775724ba675SRob Herring 776724ba675SRob Herring hdmi { 777724ba675SRob Herring hdmii2c_xfer: hdmii2c-xfer { 778724ba675SRob Herring rockchip,pins = <0 RK_PA6 2 &pcfg_pull_none>, 779724ba675SRob Herring <0 RK_PA7 2 &pcfg_pull_none>; 780724ba675SRob Herring }; 781724ba675SRob Herring 782724ba675SRob Herring hdmi_hpd: hdmi-hpd { 783724ba675SRob Herring rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>; 784724ba675SRob Herring }; 785724ba675SRob Herring 786724ba675SRob Herring hdmi_cec: hdmi-cec { 787724ba675SRob Herring rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>; 788724ba675SRob Herring }; 789724ba675SRob Herring }; 790724ba675SRob Herring 791724ba675SRob Herring i2c0 { 792724ba675SRob Herring i2c0_xfer: i2c0-xfer { 793724ba675SRob Herring rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>, 794724ba675SRob Herring <0 RK_PA1 1 &pcfg_pull_none>; 795724ba675SRob Herring }; 796724ba675SRob Herring }; 797724ba675SRob Herring 798724ba675SRob Herring i2c1 { 799724ba675SRob Herring i2c1_xfer: i2c1-xfer { 800724ba675SRob Herring rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>, 801724ba675SRob Herring <0 RK_PA3 1 &pcfg_pull_none>; 802724ba675SRob Herring }; 803724ba675SRob Herring }; 804724ba675SRob Herring 805724ba675SRob Herring i2c2 { 806724ba675SRob Herring i2c2_xfer: i2c2-xfer { 807724ba675SRob Herring rockchip,pins = <2 RK_PC4 3 &pcfg_pull_none>, 808724ba675SRob Herring <2 RK_PC5 3 &pcfg_pull_none>; 809724ba675SRob Herring }; 810724ba675SRob Herring }; 811724ba675SRob Herring 812724ba675SRob Herring i2c3 { 813724ba675SRob Herring i2c3_xfer: i2c3-xfer { 814724ba675SRob Herring rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>, 815724ba675SRob Herring <0 RK_PA7 1 &pcfg_pull_none>; 816724ba675SRob Herring }; 817724ba675SRob Herring }; 818724ba675SRob Herring 819724ba675SRob Herring i2s { 820724ba675SRob Herring i2s_bus: i2s-bus { 821724ba675SRob Herring rockchip,pins = <0 RK_PB0 1 &pcfg_pull_none>, 822724ba675SRob Herring <0 RK_PB1 1 &pcfg_pull_none>, 823724ba675SRob Herring <0 RK_PB3 1 &pcfg_pull_none>, 824724ba675SRob Herring <0 RK_PB4 1 &pcfg_pull_none>, 825724ba675SRob Herring <0 RK_PB5 1 &pcfg_pull_none>, 826724ba675SRob Herring <0 RK_PB6 1 &pcfg_pull_none>; 827724ba675SRob Herring }; 828724ba675SRob Herring 829724ba675SRob Herring i2s1_bus: i2s1-bus { 830724ba675SRob Herring rockchip,pins = <1 RK_PA0 1 &pcfg_pull_none>, 831724ba675SRob Herring <1 RK_PA1 1 &pcfg_pull_none>, 832724ba675SRob Herring <1 RK_PA2 1 &pcfg_pull_none>, 833724ba675SRob Herring <1 RK_PA3 1 &pcfg_pull_none>, 834724ba675SRob Herring <1 RK_PA4 1 &pcfg_pull_none>, 835724ba675SRob Herring <1 RK_PA5 1 &pcfg_pull_none>; 836724ba675SRob Herring }; 837724ba675SRob Herring }; 838724ba675SRob Herring 839724ba675SRob Herring lcdc { 840724ba675SRob Herring lcdc_dclk: lcdc-dclk { 841724ba675SRob Herring rockchip,pins = <2 RK_PB0 1 &pcfg_pull_none>; 842724ba675SRob Herring }; 843724ba675SRob Herring 844724ba675SRob Herring lcdc_den: lcdc-den { 845724ba675SRob Herring rockchip,pins = <2 RK_PB3 1 &pcfg_pull_none>; 846724ba675SRob Herring }; 847724ba675SRob Herring 848724ba675SRob Herring lcdc_hsync: lcdc-hsync { 849724ba675SRob Herring rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>; 850724ba675SRob Herring }; 851724ba675SRob Herring 852724ba675SRob Herring lcdc_vsync: lcdc-vsync { 853724ba675SRob Herring rockchip,pins = <2 RK_PB2 1 &pcfg_pull_none>; 854724ba675SRob Herring }; 855724ba675SRob Herring 856724ba675SRob Herring lcdc_rgb24: lcdc-rgb24 { 857724ba675SRob Herring rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>, 858724ba675SRob Herring <2 RK_PB5 1 &pcfg_pull_none>, 859724ba675SRob Herring <2 RK_PB6 1 &pcfg_pull_none>, 860724ba675SRob Herring <2 RK_PB7 1 &pcfg_pull_none>, 861724ba675SRob Herring <2 RK_PC0 1 &pcfg_pull_none>, 862724ba675SRob Herring <2 RK_PC1 1 &pcfg_pull_none>, 863724ba675SRob Herring <2 RK_PC2 1 &pcfg_pull_none>, 864724ba675SRob Herring <2 RK_PC3 1 &pcfg_pull_none>, 865724ba675SRob Herring <2 RK_PC4 1 &pcfg_pull_none>, 866724ba675SRob Herring <2 RK_PC5 1 &pcfg_pull_none>, 867724ba675SRob Herring <2 RK_PC6 1 &pcfg_pull_none>, 868724ba675SRob Herring <2 RK_PC7 1 &pcfg_pull_none>, 869724ba675SRob Herring <2 RK_PD0 1 &pcfg_pull_none>, 870724ba675SRob Herring <2 RK_PD1 1 &pcfg_pull_none>; 871724ba675SRob Herring }; 872724ba675SRob Herring }; 873724ba675SRob Herring 874724ba675SRob Herring nfc { 875724ba675SRob Herring flash_ale: flash-ale { 876724ba675SRob Herring rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>; 877724ba675SRob Herring }; 878724ba675SRob Herring 879724ba675SRob Herring flash_cle: flash-cle { 880724ba675SRob Herring rockchip,pins = <2 RK_PA1 1 &pcfg_pull_none>; 881724ba675SRob Herring }; 882724ba675SRob Herring 883724ba675SRob Herring flash_wrn: flash-wrn { 884724ba675SRob Herring rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>; 885724ba675SRob Herring }; 886724ba675SRob Herring 887724ba675SRob Herring flash_rdn: flash-rdn { 888724ba675SRob Herring rockchip,pins = <2 RK_PA3 1 &pcfg_pull_none>; 889724ba675SRob Herring }; 890724ba675SRob Herring 891724ba675SRob Herring flash_rdy: flash-rdy { 892724ba675SRob Herring rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>; 893724ba675SRob Herring }; 894724ba675SRob Herring 895724ba675SRob Herring flash_cs0: flash-cs0 { 896724ba675SRob Herring rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>; 897724ba675SRob Herring }; 898724ba675SRob Herring 899724ba675SRob Herring flash_dqs: flash-dqs { 900724ba675SRob Herring rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>; 901724ba675SRob Herring }; 902724ba675SRob Herring 903724ba675SRob Herring flash_bus8: flash-bus8 { 904724ba675SRob Herring rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>, 905724ba675SRob Herring <1 RK_PD1 1 &pcfg_pull_none>, 906724ba675SRob Herring <1 RK_PD2 1 &pcfg_pull_none>, 907724ba675SRob Herring <1 RK_PD3 1 &pcfg_pull_none>, 908724ba675SRob Herring <1 RK_PD4 1 &pcfg_pull_none>, 909724ba675SRob Herring <1 RK_PD5 1 &pcfg_pull_none>, 910724ba675SRob Herring <1 RK_PD6 1 &pcfg_pull_none>, 911724ba675SRob Herring <1 RK_PD7 1 &pcfg_pull_none>; 912724ba675SRob Herring }; 913724ba675SRob Herring }; 914724ba675SRob Herring 915724ba675SRob Herring pwm0 { 916724ba675SRob Herring pwm0_pin: pwm0-pin { 917724ba675SRob Herring rockchip,pins = <0 RK_PD2 1 &pcfg_pull_none>; 918724ba675SRob Herring }; 919724ba675SRob Herring }; 920724ba675SRob Herring 921724ba675SRob Herring pwm1 { 922724ba675SRob Herring pwm1_pin: pwm1-pin { 923724ba675SRob Herring rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>; 924724ba675SRob Herring }; 925724ba675SRob Herring }; 926724ba675SRob Herring 927724ba675SRob Herring pwm2 { 928724ba675SRob Herring pwm2_pin: pwm2-pin { 929724ba675SRob Herring rockchip,pins = <0 RK_PD4 1 &pcfg_pull_none>; 930724ba675SRob Herring }; 931724ba675SRob Herring }; 932724ba675SRob Herring 933724ba675SRob Herring pwm3 { 934724ba675SRob Herring pwm3_pin: pwm3-pin { 935724ba675SRob Herring rockchip,pins = <3 RK_PD2 1 &pcfg_pull_none>; 936724ba675SRob Herring }; 937724ba675SRob Herring }; 938724ba675SRob Herring 939724ba675SRob Herring sdio { 940724ba675SRob Herring sdio_clk: sdio-clk { 941724ba675SRob Herring rockchip,pins = <1 RK_PA0 2 &pcfg_pull_none>; 942724ba675SRob Herring }; 943724ba675SRob Herring 944724ba675SRob Herring sdio_cmd: sdio-cmd { 945724ba675SRob Herring rockchip,pins = <0 RK_PA3 2 &pcfg_pull_default>; 946724ba675SRob Herring }; 947724ba675SRob Herring 948724ba675SRob Herring sdio_pwren: sdio-pwren { 949724ba675SRob Herring rockchip,pins = <0 RK_PD6 1 &pcfg_pull_default>; 950724ba675SRob Herring }; 951724ba675SRob Herring 952724ba675SRob Herring sdio_bus4: sdio-bus4 { 953724ba675SRob Herring rockchip,pins = <1 RK_PA1 2 &pcfg_pull_default>, 954724ba675SRob Herring <1 RK_PA2 2 &pcfg_pull_default>, 955724ba675SRob Herring <1 RK_PA4 2 &pcfg_pull_default>, 956724ba675SRob Herring <1 RK_PA5 2 &pcfg_pull_default>; 957724ba675SRob Herring }; 958724ba675SRob Herring }; 959724ba675SRob Herring 960724ba675SRob Herring sdmmc { 961724ba675SRob Herring sdmmc_clk: sdmmc-clk { 962724ba675SRob Herring rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>; 963724ba675SRob Herring }; 964724ba675SRob Herring 965724ba675SRob Herring sdmmc_cmd: sdmmc-cmd { 966724ba675SRob Herring rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>; 967724ba675SRob Herring }; 968724ba675SRob Herring 969cdc86eeeSAlex Bee sdmmc_det: sdmmc-det { 970cdc86eeeSAlex Bee rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>; 971cdc86eeeSAlex Bee }; 972cdc86eeeSAlex Bee 973724ba675SRob Herring sdmmc_wp: sdmmc-wp { 974724ba675SRob Herring rockchip,pins = <1 RK_PA7 1 &pcfg_pull_default>; 975724ba675SRob Herring }; 976724ba675SRob Herring 977724ba675SRob Herring sdmmc_pwren: sdmmc-pwren { 978724ba675SRob Herring rockchip,pins = <1 RK_PB6 1 &pcfg_pull_default>; 979724ba675SRob Herring }; 980724ba675SRob Herring 981724ba675SRob Herring sdmmc_bus4: sdmmc-bus4 { 982724ba675SRob Herring rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>, 983724ba675SRob Herring <1 RK_PC3 1 &pcfg_pull_default>, 984724ba675SRob Herring <1 RK_PC4 1 &pcfg_pull_default>, 985724ba675SRob Herring <1 RK_PC5 1 &pcfg_pull_default>; 986724ba675SRob Herring }; 987724ba675SRob Herring }; 988724ba675SRob Herring 989724ba675SRob Herring spdif { 990724ba675SRob Herring spdif_tx: spdif-tx { 991724ba675SRob Herring rockchip,pins = <3 RK_PD3 1 &pcfg_pull_none>; 992724ba675SRob Herring }; 993724ba675SRob Herring }; 994724ba675SRob Herring 995724ba675SRob Herring spi0 { 996724ba675SRob Herring spi0_clk: spi0-clk { 997724ba675SRob Herring rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>; 998724ba675SRob Herring }; 999724ba675SRob Herring 1000724ba675SRob Herring spi0_cs0: spi0-cs0 { 1001724ba675SRob Herring rockchip,pins = <1 RK_PB3 1 &pcfg_pull_default>; 1002724ba675SRob Herring }; 1003724ba675SRob Herring 1004724ba675SRob Herring spi0_tx: spi0-tx { 1005724ba675SRob Herring rockchip,pins = <1 RK_PB1 1 &pcfg_pull_default>; 1006724ba675SRob Herring }; 1007724ba675SRob Herring 1008724ba675SRob Herring spi0_rx: spi0-rx { 1009724ba675SRob Herring rockchip,pins = <1 RK_PB2 1 &pcfg_pull_default>; 1010724ba675SRob Herring }; 1011724ba675SRob Herring 1012724ba675SRob Herring spi0_cs1: spi0-cs1 { 1013724ba675SRob Herring rockchip,pins = <1 RK_PB4 1 &pcfg_pull_default>; 1014724ba675SRob Herring }; 1015724ba675SRob Herring 1016724ba675SRob Herring spi1_clk: spi1-clk { 1017724ba675SRob Herring rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>; 1018724ba675SRob Herring }; 1019724ba675SRob Herring 1020724ba675SRob Herring spi1_cs0: spi1-cs0 { 1021724ba675SRob Herring rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>; 1022724ba675SRob Herring }; 1023724ba675SRob Herring 1024724ba675SRob Herring spi1_tx: spi1-tx { 1025724ba675SRob Herring rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>; 1026724ba675SRob Herring }; 1027724ba675SRob Herring 1028724ba675SRob Herring spi1_rx: spi1-rx { 1029724ba675SRob Herring rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>; 1030724ba675SRob Herring }; 1031724ba675SRob Herring 1032724ba675SRob Herring spi1_cs1: spi1-cs1 { 1033724ba675SRob Herring rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>; 1034724ba675SRob Herring }; 1035724ba675SRob Herring 1036724ba675SRob Herring spi2_clk: spi2-clk { 1037724ba675SRob Herring rockchip,pins = <0 RK_PB1 2 &pcfg_pull_default>; 1038724ba675SRob Herring }; 1039724ba675SRob Herring 1040724ba675SRob Herring spi2_cs0: spi2-cs0 { 1041724ba675SRob Herring rockchip,pins = <0 RK_PB6 2 &pcfg_pull_default>; 1042724ba675SRob Herring }; 1043724ba675SRob Herring 1044724ba675SRob Herring spi2_tx: spi2-tx { 1045724ba675SRob Herring rockchip,pins = <0 RK_PB3 2 &pcfg_pull_default>; 1046724ba675SRob Herring }; 1047724ba675SRob Herring 1048724ba675SRob Herring spi2_rx: spi2-rx { 1049724ba675SRob Herring rockchip,pins = <0 RK_PB5 2 &pcfg_pull_default>; 1050724ba675SRob Herring }; 1051724ba675SRob Herring }; 1052724ba675SRob Herring 1053724ba675SRob Herring uart0 { 1054724ba675SRob Herring uart0_xfer: uart0-xfer { 1055724ba675SRob Herring rockchip,pins = <2 RK_PD2 2 &pcfg_pull_default>, 1056724ba675SRob Herring <2 RK_PD3 2 &pcfg_pull_none>; 1057724ba675SRob Herring }; 1058724ba675SRob Herring 1059724ba675SRob Herring uart0_cts: uart0-cts { 1060724ba675SRob Herring rockchip,pins = <2 RK_PD5 2 &pcfg_pull_none>; 1061724ba675SRob Herring }; 1062724ba675SRob Herring 1063724ba675SRob Herring uart0_rts: uart0-rts { 1064724ba675SRob Herring rockchip,pins = <0 RK_PC1 2 &pcfg_pull_none>; 1065724ba675SRob Herring }; 1066724ba675SRob Herring }; 1067724ba675SRob Herring 1068724ba675SRob Herring uart1 { 1069724ba675SRob Herring uart1_xfer: uart1-xfer { 1070724ba675SRob Herring rockchip,pins = <1 RK_PB1 2 &pcfg_pull_default>, 1071724ba675SRob Herring <1 RK_PB2 2 &pcfg_pull_default>; 1072724ba675SRob Herring }; 1073724ba675SRob Herring 1074724ba675SRob Herring uart1_cts: uart1-cts { 1075724ba675SRob Herring rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>; 1076724ba675SRob Herring }; 1077724ba675SRob Herring 1078724ba675SRob Herring uart1_rts: uart1-rts { 1079724ba675SRob Herring rockchip,pins = <1 RK_PB3 2 &pcfg_pull_none>; 1080724ba675SRob Herring }; 1081724ba675SRob Herring }; 1082724ba675SRob Herring 1083724ba675SRob Herring uart2 { 1084724ba675SRob Herring uart2_xfer: uart2-xfer { 1085724ba675SRob Herring rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>, 1086724ba675SRob Herring <1 RK_PC3 2 &pcfg_pull_none>; 1087724ba675SRob Herring }; 1088724ba675SRob Herring 1089724ba675SRob Herring uart2_cts: uart2-cts { 1090724ba675SRob Herring rockchip,pins = <0 RK_PD1 1 &pcfg_pull_none>; 1091724ba675SRob Herring }; 1092724ba675SRob Herring 1093724ba675SRob Herring uart2_rts: uart2-rts { 1094724ba675SRob Herring rockchip,pins = <0 RK_PD0 1 &pcfg_pull_none>; 1095724ba675SRob Herring }; 1096724ba675SRob Herring }; 1097724ba675SRob Herring }; 1098724ba675SRob Herring}; 1099