1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ 2*724ba675SRob Herring/* 3*724ba675SRob Herring * (C) Copyright 2017 Rockchip Electronics Co., Ltd 4*724ba675SRob Herring */ 5*724ba675SRob Herring 6*724ba675SRob Herring#include <dt-bindings/clock/rk3128-cru.h> 7*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 8*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 9*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 10*724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h> 11*724ba675SRob Herring 12*724ba675SRob Herring/ { 13*724ba675SRob Herring compatible = "rockchip,rk3128"; 14*724ba675SRob Herring interrupt-parent = <&gic>; 15*724ba675SRob Herring #address-cells = <1>; 16*724ba675SRob Herring #size-cells = <1>; 17*724ba675SRob Herring 18*724ba675SRob Herring arm-pmu { 19*724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 20*724ba675SRob Herring interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, 21*724ba675SRob Herring <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, 22*724ba675SRob Herring <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>, 23*724ba675SRob Herring <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 24*724ba675SRob Herring interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 25*724ba675SRob Herring }; 26*724ba675SRob Herring 27*724ba675SRob Herring cpus { 28*724ba675SRob Herring #address-cells = <1>; 29*724ba675SRob Herring #size-cells = <0>; 30*724ba675SRob Herring 31*724ba675SRob Herring cpu0: cpu@f00 { 32*724ba675SRob Herring device_type = "cpu"; 33*724ba675SRob Herring compatible = "arm,cortex-a7"; 34*724ba675SRob Herring reg = <0xf00>; 35*724ba675SRob Herring clock-latency = <40000>; 36*724ba675SRob Herring clocks = <&cru ARMCLK>; 37*724ba675SRob Herring operating-points = < 38*724ba675SRob Herring /* KHz uV */ 39*724ba675SRob Herring 816000 1000000 40*724ba675SRob Herring >; 41*724ba675SRob Herring #cooling-cells = <2>; /* min followed by max */ 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring cpu1: cpu@f01 { 45*724ba675SRob Herring device_type = "cpu"; 46*724ba675SRob Herring compatible = "arm,cortex-a7"; 47*724ba675SRob Herring reg = <0xf01>; 48*724ba675SRob Herring }; 49*724ba675SRob Herring 50*724ba675SRob Herring cpu2: cpu@f02 { 51*724ba675SRob Herring device_type = "cpu"; 52*724ba675SRob Herring compatible = "arm,cortex-a7"; 53*724ba675SRob Herring reg = <0xf02>; 54*724ba675SRob Herring }; 55*724ba675SRob Herring 56*724ba675SRob Herring cpu3: cpu@f03 { 57*724ba675SRob Herring device_type = "cpu"; 58*724ba675SRob Herring compatible = "arm,cortex-a7"; 59*724ba675SRob Herring reg = <0xf03>; 60*724ba675SRob Herring }; 61*724ba675SRob Herring }; 62*724ba675SRob Herring 63*724ba675SRob Herring timer { 64*724ba675SRob Herring compatible = "arm,armv7-timer"; 65*724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 66*724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 67*724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 68*724ba675SRob Herring arm,cpu-registers-not-fw-configured; 69*724ba675SRob Herring clock-frequency = <24000000>; 70*724ba675SRob Herring }; 71*724ba675SRob Herring 72*724ba675SRob Herring xin24m: oscillator { 73*724ba675SRob Herring compatible = "fixed-clock"; 74*724ba675SRob Herring clock-frequency = <24000000>; 75*724ba675SRob Herring clock-output-names = "xin24m"; 76*724ba675SRob Herring #clock-cells = <0>; 77*724ba675SRob Herring }; 78*724ba675SRob Herring 79*724ba675SRob Herring pmu: syscon@100a0000 { 80*724ba675SRob Herring compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd"; 81*724ba675SRob Herring reg = <0x100a0000 0x1000>; 82*724ba675SRob Herring }; 83*724ba675SRob Herring 84*724ba675SRob Herring gic: interrupt-controller@10139000 { 85*724ba675SRob Herring compatible = "arm,cortex-a7-gic"; 86*724ba675SRob Herring reg = <0x10139000 0x1000>, 87*724ba675SRob Herring <0x1013a000 0x1000>, 88*724ba675SRob Herring <0x1013c000 0x2000>, 89*724ba675SRob Herring <0x1013e000 0x2000>; 90*724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 91*724ba675SRob Herring interrupt-controller; 92*724ba675SRob Herring #interrupt-cells = <3>; 93*724ba675SRob Herring #address-cells = <0>; 94*724ba675SRob Herring }; 95*724ba675SRob Herring 96*724ba675SRob Herring usb_otg: usb@10180000 { 97*724ba675SRob Herring compatible = "rockchip,rk3128-usb", "rockchip,rk3066-usb", "snps,dwc2"; 98*724ba675SRob Herring reg = <0x10180000 0x40000>; 99*724ba675SRob Herring interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 100*724ba675SRob Herring clocks = <&cru HCLK_OTG>; 101*724ba675SRob Herring clock-names = "otg"; 102*724ba675SRob Herring dr_mode = "otg"; 103*724ba675SRob Herring phys = <&usb2phy_otg>; 104*724ba675SRob Herring phy-names = "usb2-phy"; 105*724ba675SRob Herring status = "disabled"; 106*724ba675SRob Herring }; 107*724ba675SRob Herring 108*724ba675SRob Herring usb_host_ehci: usb@101c0000 { 109*724ba675SRob Herring compatible = "generic-ehci"; 110*724ba675SRob Herring reg = <0x101c0000 0x20000>; 111*724ba675SRob Herring interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 112*724ba675SRob Herring phys = <&usb2phy_host>; 113*724ba675SRob Herring phy-names = "usb"; 114*724ba675SRob Herring status = "disabled"; 115*724ba675SRob Herring }; 116*724ba675SRob Herring 117*724ba675SRob Herring usb_host_ohci: usb@101e0000 { 118*724ba675SRob Herring compatible = "generic-ohci"; 119*724ba675SRob Herring reg = <0x101e0000 0x20000>; 120*724ba675SRob Herring interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 121*724ba675SRob Herring phys = <&usb2phy_host>; 122*724ba675SRob Herring phy-names = "usb"; 123*724ba675SRob Herring status = "disabled"; 124*724ba675SRob Herring }; 125*724ba675SRob Herring 126*724ba675SRob Herring sdmmc: mmc@10214000 { 127*724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 128*724ba675SRob Herring reg = <0x10214000 0x4000>; 129*724ba675SRob Herring interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 130*724ba675SRob Herring clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, 131*724ba675SRob Herring <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; 132*724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 133*724ba675SRob Herring dmas = <&pdma 10>; 134*724ba675SRob Herring dma-names = "rx-tx"; 135*724ba675SRob Herring fifo-depth = <256>; 136*724ba675SRob Herring max-frequency = <150000000>; 137*724ba675SRob Herring resets = <&cru SRST_SDMMC>; 138*724ba675SRob Herring reset-names = "reset"; 139*724ba675SRob Herring status = "disabled"; 140*724ba675SRob Herring }; 141*724ba675SRob Herring 142*724ba675SRob Herring sdio: mmc@10218000 { 143*724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 144*724ba675SRob Herring reg = <0x10218000 0x4000>; 145*724ba675SRob Herring interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 146*724ba675SRob Herring clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, 147*724ba675SRob Herring <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; 148*724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 149*724ba675SRob Herring dmas = <&pdma 11>; 150*724ba675SRob Herring dma-names = "rx-tx"; 151*724ba675SRob Herring fifo-depth = <256>; 152*724ba675SRob Herring max-frequency = <150000000>; 153*724ba675SRob Herring resets = <&cru SRST_SDIO>; 154*724ba675SRob Herring reset-names = "reset"; 155*724ba675SRob Herring status = "disabled"; 156*724ba675SRob Herring }; 157*724ba675SRob Herring 158*724ba675SRob Herring emmc: mmc@1021c000 { 159*724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 160*724ba675SRob Herring reg = <0x1021c000 0x4000>; 161*724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 162*724ba675SRob Herring clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, 163*724ba675SRob Herring <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; 164*724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 165*724ba675SRob Herring dmas = <&pdma 12>; 166*724ba675SRob Herring dma-names = "rx-tx"; 167*724ba675SRob Herring fifo-depth = <256>; 168*724ba675SRob Herring max-frequency = <150000000>; 169*724ba675SRob Herring resets = <&cru SRST_EMMC>; 170*724ba675SRob Herring reset-names = "reset"; 171*724ba675SRob Herring status = "disabled"; 172*724ba675SRob Herring }; 173*724ba675SRob Herring 174*724ba675SRob Herring nfc: nand-controller@10500000 { 175*724ba675SRob Herring compatible = "rockchip,rk3128-nfc", "rockchip,rk2928-nfc"; 176*724ba675SRob Herring reg = <0x10500000 0x4000>; 177*724ba675SRob Herring interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 178*724ba675SRob Herring clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; 179*724ba675SRob Herring clock-names = "ahb", "nfc"; 180*724ba675SRob Herring pinctrl-names = "default"; 181*724ba675SRob Herring pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0 182*724ba675SRob Herring &flash_dqs &flash_rdn &flash_rdy &flash_wrn>; 183*724ba675SRob Herring status = "disabled"; 184*724ba675SRob Herring }; 185*724ba675SRob Herring 186*724ba675SRob Herring cru: clock-controller@20000000 { 187*724ba675SRob Herring compatible = "rockchip,rk3128-cru"; 188*724ba675SRob Herring reg = <0x20000000 0x1000>; 189*724ba675SRob Herring clocks = <&xin24m>; 190*724ba675SRob Herring clock-names = "xin24m"; 191*724ba675SRob Herring rockchip,grf = <&grf>; 192*724ba675SRob Herring #clock-cells = <1>; 193*724ba675SRob Herring #reset-cells = <1>; 194*724ba675SRob Herring assigned-clocks = <&cru PLL_GPLL>; 195*724ba675SRob Herring assigned-clock-rates = <594000000>; 196*724ba675SRob Herring }; 197*724ba675SRob Herring 198*724ba675SRob Herring grf: syscon@20008000 { 199*724ba675SRob Herring compatible = "rockchip,rk3128-grf", "syscon", "simple-mfd"; 200*724ba675SRob Herring reg = <0x20008000 0x1000>; 201*724ba675SRob Herring #address-cells = <1>; 202*724ba675SRob Herring #size-cells = <1>; 203*724ba675SRob Herring 204*724ba675SRob Herring usb2phy: usb2phy@17c { 205*724ba675SRob Herring compatible = "rockchip,rk3128-usb2phy"; 206*724ba675SRob Herring reg = <0x017c 0x0c>; 207*724ba675SRob Herring clocks = <&cru SCLK_OTGPHY0>; 208*724ba675SRob Herring clock-names = "phyclk"; 209*724ba675SRob Herring clock-output-names = "usb480m_phy"; 210*724ba675SRob Herring #clock-cells = <0>; 211*724ba675SRob Herring status = "disabled"; 212*724ba675SRob Herring 213*724ba675SRob Herring usb2phy_host: host-port { 214*724ba675SRob Herring interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; 215*724ba675SRob Herring interrupt-names = "linestate"; 216*724ba675SRob Herring #phy-cells = <0>; 217*724ba675SRob Herring status = "disabled"; 218*724ba675SRob Herring }; 219*724ba675SRob Herring 220*724ba675SRob Herring usb2phy_otg: otg-port { 221*724ba675SRob Herring interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, 222*724ba675SRob Herring <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, 223*724ba675SRob Herring <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; 224*724ba675SRob Herring interrupt-names = "otg-bvalid", "otg-id", 225*724ba675SRob Herring "linestate"; 226*724ba675SRob Herring #phy-cells = <0>; 227*724ba675SRob Herring status = "disabled"; 228*724ba675SRob Herring }; 229*724ba675SRob Herring }; 230*724ba675SRob Herring }; 231*724ba675SRob Herring 232*724ba675SRob Herring timer0: timer@20044000 { 233*724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 234*724ba675SRob Herring reg = <0x20044000 0x20>; 235*724ba675SRob Herring interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 236*724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 237*724ba675SRob Herring clock-names = "pclk", "timer"; 238*724ba675SRob Herring }; 239*724ba675SRob Herring 240*724ba675SRob Herring timer1: timer@20044020 { 241*724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 242*724ba675SRob Herring reg = <0x20044020 0x20>; 243*724ba675SRob Herring interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 244*724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 245*724ba675SRob Herring clock-names = "pclk", "timer"; 246*724ba675SRob Herring }; 247*724ba675SRob Herring 248*724ba675SRob Herring timer2: timer@20044040 { 249*724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 250*724ba675SRob Herring reg = <0x20044040 0x20>; 251*724ba675SRob Herring interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; 252*724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 253*724ba675SRob Herring clock-names = "pclk", "timer"; 254*724ba675SRob Herring }; 255*724ba675SRob Herring 256*724ba675SRob Herring timer3: timer@20044060 { 257*724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 258*724ba675SRob Herring reg = <0x20044060 0x20>; 259*724ba675SRob Herring interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 260*724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 261*724ba675SRob Herring clock-names = "pclk", "timer"; 262*724ba675SRob Herring }; 263*724ba675SRob Herring 264*724ba675SRob Herring timer4: timer@20044080 { 265*724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 266*724ba675SRob Herring reg = <0x20044080 0x20>; 267*724ba675SRob Herring interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 268*724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 269*724ba675SRob Herring clock-names = "pclk", "timer"; 270*724ba675SRob Herring }; 271*724ba675SRob Herring 272*724ba675SRob Herring timer5: timer@200440a0 { 273*724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 274*724ba675SRob Herring reg = <0x200440a0 0x20>; 275*724ba675SRob Herring interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 276*724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 277*724ba675SRob Herring clock-names = "pclk", "timer"; 278*724ba675SRob Herring }; 279*724ba675SRob Herring 280*724ba675SRob Herring watchdog: watchdog@2004c000 { 281*724ba675SRob Herring compatible = "rockchip,rk3128-wdt", "snps,dw-wdt"; 282*724ba675SRob Herring reg = <0x2004c000 0x100>; 283*724ba675SRob Herring interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 284*724ba675SRob Herring clocks = <&cru PCLK_WDT>; 285*724ba675SRob Herring status = "disabled"; 286*724ba675SRob Herring }; 287*724ba675SRob Herring 288*724ba675SRob Herring pwm0: pwm@20050000 { 289*724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 290*724ba675SRob Herring reg = <0x20050000 0x10>; 291*724ba675SRob Herring clocks = <&cru PCLK_PWM>; 292*724ba675SRob Herring pinctrl-names = "default"; 293*724ba675SRob Herring pinctrl-0 = <&pwm0_pin>; 294*724ba675SRob Herring #pwm-cells = <3>; 295*724ba675SRob Herring status = "disabled"; 296*724ba675SRob Herring }; 297*724ba675SRob Herring 298*724ba675SRob Herring pwm1: pwm@20050010 { 299*724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 300*724ba675SRob Herring reg = <0x20050010 0x10>; 301*724ba675SRob Herring clocks = <&cru PCLK_PWM>; 302*724ba675SRob Herring pinctrl-names = "default"; 303*724ba675SRob Herring pinctrl-0 = <&pwm1_pin>; 304*724ba675SRob Herring #pwm-cells = <3>; 305*724ba675SRob Herring status = "disabled"; 306*724ba675SRob Herring }; 307*724ba675SRob Herring 308*724ba675SRob Herring pwm2: pwm@20050020 { 309*724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 310*724ba675SRob Herring reg = <0x20050020 0x10>; 311*724ba675SRob Herring clocks = <&cru PCLK_PWM>; 312*724ba675SRob Herring pinctrl-names = "default"; 313*724ba675SRob Herring pinctrl-0 = <&pwm2_pin>; 314*724ba675SRob Herring #pwm-cells = <3>; 315*724ba675SRob Herring status = "disabled"; 316*724ba675SRob Herring }; 317*724ba675SRob Herring 318*724ba675SRob Herring pwm3: pwm@20050030 { 319*724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 320*724ba675SRob Herring reg = <0x20050030 0x10>; 321*724ba675SRob Herring clocks = <&cru PCLK_PWM>; 322*724ba675SRob Herring pinctrl-names = "default"; 323*724ba675SRob Herring pinctrl-0 = <&pwm3_pin>; 324*724ba675SRob Herring #pwm-cells = <3>; 325*724ba675SRob Herring status = "disabled"; 326*724ba675SRob Herring }; 327*724ba675SRob Herring 328*724ba675SRob Herring i2c1: i2c@20056000 { 329*724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 330*724ba675SRob Herring reg = <0x20056000 0x1000>; 331*724ba675SRob Herring interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 332*724ba675SRob Herring clock-names = "i2c"; 333*724ba675SRob Herring clocks = <&cru PCLK_I2C1>; 334*724ba675SRob Herring pinctrl-names = "default"; 335*724ba675SRob Herring pinctrl-0 = <&i2c1_xfer>; 336*724ba675SRob Herring #address-cells = <1>; 337*724ba675SRob Herring #size-cells = <0>; 338*724ba675SRob Herring status = "disabled"; 339*724ba675SRob Herring }; 340*724ba675SRob Herring 341*724ba675SRob Herring i2c2: i2c@2005a000 { 342*724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 343*724ba675SRob Herring reg = <0x2005a000 0x1000>; 344*724ba675SRob Herring interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 345*724ba675SRob Herring clock-names = "i2c"; 346*724ba675SRob Herring clocks = <&cru PCLK_I2C2>; 347*724ba675SRob Herring pinctrl-names = "default"; 348*724ba675SRob Herring pinctrl-0 = <&i2c2_xfer>; 349*724ba675SRob Herring #address-cells = <1>; 350*724ba675SRob Herring #size-cells = <0>; 351*724ba675SRob Herring status = "disabled"; 352*724ba675SRob Herring }; 353*724ba675SRob Herring 354*724ba675SRob Herring i2c3: i2c@2005e000 { 355*724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 356*724ba675SRob Herring reg = <0x2005e000 0x1000>; 357*724ba675SRob Herring interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 358*724ba675SRob Herring clock-names = "i2c"; 359*724ba675SRob Herring clocks = <&cru PCLK_I2C3>; 360*724ba675SRob Herring pinctrl-names = "default"; 361*724ba675SRob Herring pinctrl-0 = <&i2c3_xfer>; 362*724ba675SRob Herring #address-cells = <1>; 363*724ba675SRob Herring #size-cells = <0>; 364*724ba675SRob Herring status = "disabled"; 365*724ba675SRob Herring }; 366*724ba675SRob Herring 367*724ba675SRob Herring uart0: serial@20060000 { 368*724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 369*724ba675SRob Herring reg = <0x20060000 0x100>; 370*724ba675SRob Herring interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 371*724ba675SRob Herring clock-frequency = <24000000>; 372*724ba675SRob Herring clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 373*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 374*724ba675SRob Herring dmas = <&pdma 2>, <&pdma 3>; 375*724ba675SRob Herring dma-names = "tx", "rx"; 376*724ba675SRob Herring pinctrl-names = "default"; 377*724ba675SRob Herring pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; 378*724ba675SRob Herring reg-io-width = <4>; 379*724ba675SRob Herring reg-shift = <2>; 380*724ba675SRob Herring status = "disabled"; 381*724ba675SRob Herring }; 382*724ba675SRob Herring 383*724ba675SRob Herring uart1: serial@20064000 { 384*724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 385*724ba675SRob Herring reg = <0x20064000 0x100>; 386*724ba675SRob Herring interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 387*724ba675SRob Herring clock-frequency = <24000000>; 388*724ba675SRob Herring clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; 389*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 390*724ba675SRob Herring dmas = <&pdma 4>, <&pdma 5>; 391*724ba675SRob Herring dma-names = "tx", "rx"; 392*724ba675SRob Herring pinctrl-names = "default"; 393*724ba675SRob Herring pinctrl-0 = <&uart1_xfer>; 394*724ba675SRob Herring reg-io-width = <4>; 395*724ba675SRob Herring reg-shift = <2>; 396*724ba675SRob Herring status = "disabled"; 397*724ba675SRob Herring }; 398*724ba675SRob Herring 399*724ba675SRob Herring uart2: serial@20068000 { 400*724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 401*724ba675SRob Herring reg = <0x20068000 0x100>; 402*724ba675SRob Herring interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 403*724ba675SRob Herring clock-frequency = <24000000>; 404*724ba675SRob Herring clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; 405*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 406*724ba675SRob Herring dmas = <&pdma 6>, <&pdma 7>; 407*724ba675SRob Herring dma-names = "tx", "rx"; 408*724ba675SRob Herring pinctrl-names = "default"; 409*724ba675SRob Herring pinctrl-0 = <&uart2_xfer>; 410*724ba675SRob Herring reg-io-width = <4>; 411*724ba675SRob Herring reg-shift = <2>; 412*724ba675SRob Herring status = "disabled"; 413*724ba675SRob Herring }; 414*724ba675SRob Herring 415*724ba675SRob Herring saradc: saradc@2006c000 { 416*724ba675SRob Herring compatible = "rockchip,saradc"; 417*724ba675SRob Herring reg = <0x2006c000 0x100>; 418*724ba675SRob Herring interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 419*724ba675SRob Herring clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>; 420*724ba675SRob Herring clock-names = "saradc", "apb_pclk"; 421*724ba675SRob Herring resets = <&cru SRST_SARADC>; 422*724ba675SRob Herring reset-names = "saradc-apb"; 423*724ba675SRob Herring #io-channel-cells = <1>; 424*724ba675SRob Herring status = "disabled"; 425*724ba675SRob Herring }; 426*724ba675SRob Herring 427*724ba675SRob Herring i2c0: i2c@20072000 { 428*724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 429*724ba675SRob Herring reg = <20072000 0x1000>; 430*724ba675SRob Herring interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 431*724ba675SRob Herring clock-names = "i2c"; 432*724ba675SRob Herring clocks = <&cru PCLK_I2C0>; 433*724ba675SRob Herring pinctrl-names = "default"; 434*724ba675SRob Herring pinctrl-0 = <&i2c0_xfer>; 435*724ba675SRob Herring #address-cells = <1>; 436*724ba675SRob Herring #size-cells = <0>; 437*724ba675SRob Herring status = "disabled"; 438*724ba675SRob Herring }; 439*724ba675SRob Herring 440*724ba675SRob Herring spi0: spi@20074000 { 441*724ba675SRob Herring compatible = "rockchip,rk3128-spi", "rockchip,rk3066-spi"; 442*724ba675SRob Herring reg = <0x20074000 0x1000>; 443*724ba675SRob Herring interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 444*724ba675SRob Herring clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>; 445*724ba675SRob Herring clock-names = "spiclk", "apb_pclk"; 446*724ba675SRob Herring dmas = <&pdma 8>, <&pdma 9>; 447*724ba675SRob Herring dma-names = "tx", "rx"; 448*724ba675SRob Herring pinctrl-names = "default"; 449*724ba675SRob Herring pinctrl-0 = <&spi0_tx &spi0_rx &spi0_clk &spi0_cs0 &spi0_cs1>; 450*724ba675SRob Herring #address-cells = <1>; 451*724ba675SRob Herring #size-cells = <0>; 452*724ba675SRob Herring status = "disabled"; 453*724ba675SRob Herring }; 454*724ba675SRob Herring 455*724ba675SRob Herring pdma: dma-controller@20078000 { 456*724ba675SRob Herring compatible = "arm,pl330", "arm,primecell"; 457*724ba675SRob Herring reg = <0x20078000 0x4000>; 458*724ba675SRob Herring interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 459*724ba675SRob Herring <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 460*724ba675SRob Herring arm,pl330-broken-no-flushp; 461*724ba675SRob Herring clocks = <&cru ACLK_DMAC>; 462*724ba675SRob Herring clock-names = "apb_pclk"; 463*724ba675SRob Herring #dma-cells = <1>; 464*724ba675SRob Herring }; 465*724ba675SRob Herring 466*724ba675SRob Herring pinctrl: pinctrl { 467*724ba675SRob Herring compatible = "rockchip,rk3128-pinctrl"; 468*724ba675SRob Herring rockchip,grf = <&grf>; 469*724ba675SRob Herring #address-cells = <1>; 470*724ba675SRob Herring #size-cells = <1>; 471*724ba675SRob Herring ranges; 472*724ba675SRob Herring 473*724ba675SRob Herring gpio0: gpio@2007c000 { 474*724ba675SRob Herring compatible = "rockchip,gpio-bank"; 475*724ba675SRob Herring reg = <0x2007c000 0x100>; 476*724ba675SRob Herring interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 477*724ba675SRob Herring clocks = <&cru PCLK_GPIO0>; 478*724ba675SRob Herring gpio-controller; 479*724ba675SRob Herring #gpio-cells = <2>; 480*724ba675SRob Herring interrupt-controller; 481*724ba675SRob Herring #interrupt-cells = <2>; 482*724ba675SRob Herring }; 483*724ba675SRob Herring 484*724ba675SRob Herring gpio1: gpio@20080000 { 485*724ba675SRob Herring compatible = "rockchip,gpio-bank"; 486*724ba675SRob Herring reg = <0x20080000 0x100>; 487*724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 488*724ba675SRob Herring clocks = <&cru PCLK_GPIO1>; 489*724ba675SRob Herring gpio-controller; 490*724ba675SRob Herring #gpio-cells = <2>; 491*724ba675SRob Herring interrupt-controller; 492*724ba675SRob Herring #interrupt-cells = <2>; 493*724ba675SRob Herring }; 494*724ba675SRob Herring 495*724ba675SRob Herring gpio2: gpio@20084000 { 496*724ba675SRob Herring compatible = "rockchip,gpio-bank"; 497*724ba675SRob Herring reg = <0x20084000 0x100>; 498*724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 499*724ba675SRob Herring clocks = <&cru PCLK_GPIO2>; 500*724ba675SRob Herring gpio-controller; 501*724ba675SRob Herring #gpio-cells = <2>; 502*724ba675SRob Herring interrupt-controller; 503*724ba675SRob Herring #interrupt-cells = <2>; 504*724ba675SRob Herring }; 505*724ba675SRob Herring 506*724ba675SRob Herring gpio3: gpio@20088000 { 507*724ba675SRob Herring compatible = "rockchip,gpio-bank"; 508*724ba675SRob Herring reg = <0x20088000 0x100>; 509*724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 510*724ba675SRob Herring clocks = <&cru PCLK_GPIO3>; 511*724ba675SRob Herring gpio-controller; 512*724ba675SRob Herring #gpio-cells = <2>; 513*724ba675SRob Herring interrupt-controller; 514*724ba675SRob Herring #interrupt-cells = <2>; 515*724ba675SRob Herring }; 516*724ba675SRob Herring 517*724ba675SRob Herring pcfg_pull_default: pcfg-pull-default { 518*724ba675SRob Herring bias-pull-pin-default; 519*724ba675SRob Herring }; 520*724ba675SRob Herring 521*724ba675SRob Herring pcfg_pull_none: pcfg-pull-none { 522*724ba675SRob Herring bias-disable; 523*724ba675SRob Herring }; 524*724ba675SRob Herring 525*724ba675SRob Herring emmc { 526*724ba675SRob Herring emmc_clk: emmc-clk { 527*724ba675SRob Herring rockchip,pins = <2 RK_PA7 2 &pcfg_pull_none>; 528*724ba675SRob Herring }; 529*724ba675SRob Herring 530*724ba675SRob Herring emmc_cmd: emmc-cmd { 531*724ba675SRob Herring rockchip,pins = <1 RK_PC6 2 &pcfg_pull_default>; 532*724ba675SRob Herring }; 533*724ba675SRob Herring 534*724ba675SRob Herring emmc_cmd1: emmc-cmd1 { 535*724ba675SRob Herring rockchip,pins = <2 RK_PA4 2 &pcfg_pull_default>; 536*724ba675SRob Herring }; 537*724ba675SRob Herring 538*724ba675SRob Herring emmc_pwr: emmc-pwr { 539*724ba675SRob Herring rockchip,pins = <2 RK_PA5 2 &pcfg_pull_default>; 540*724ba675SRob Herring }; 541*724ba675SRob Herring 542*724ba675SRob Herring emmc_bus1: emmc-bus1 { 543*724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>; 544*724ba675SRob Herring }; 545*724ba675SRob Herring 546*724ba675SRob Herring emmc_bus4: emmc-bus4 { 547*724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 548*724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_default>, 549*724ba675SRob Herring <1 RK_PD2 2 &pcfg_pull_default>, 550*724ba675SRob Herring <1 RK_PD3 2 &pcfg_pull_default>; 551*724ba675SRob Herring }; 552*724ba675SRob Herring 553*724ba675SRob Herring emmc_bus8: emmc-bus8 { 554*724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 555*724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_default>, 556*724ba675SRob Herring <1 RK_PD2 2 &pcfg_pull_default>, 557*724ba675SRob Herring <1 RK_PD3 2 &pcfg_pull_default>, 558*724ba675SRob Herring <1 RK_PD4 2 &pcfg_pull_default>, 559*724ba675SRob Herring <1 RK_PD5 2 &pcfg_pull_default>, 560*724ba675SRob Herring <1 RK_PD6 2 &pcfg_pull_default>, 561*724ba675SRob Herring <1 RK_PD7 2 &pcfg_pull_default>; 562*724ba675SRob Herring }; 563*724ba675SRob Herring }; 564*724ba675SRob Herring 565*724ba675SRob Herring gmac { 566*724ba675SRob Herring rgmii_pins: rgmii-pins { 567*724ba675SRob Herring rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>, 568*724ba675SRob Herring <2 RK_PB1 3 &pcfg_pull_default>, 569*724ba675SRob Herring <2 RK_PB3 3 &pcfg_pull_default>, 570*724ba675SRob Herring <2 RK_PB4 3 &pcfg_pull_default>, 571*724ba675SRob Herring <2 RK_PB5 3 &pcfg_pull_default>, 572*724ba675SRob Herring <2 RK_PB6 3 &pcfg_pull_default>, 573*724ba675SRob Herring <2 RK_PC0 3 &pcfg_pull_default>, 574*724ba675SRob Herring <2 RK_PC1 3 &pcfg_pull_default>, 575*724ba675SRob Herring <2 RK_PC2 3 &pcfg_pull_default>, 576*724ba675SRob Herring <2 RK_PC3 3 &pcfg_pull_default>, 577*724ba675SRob Herring <2 RK_PD1 3 &pcfg_pull_default>, 578*724ba675SRob Herring <2 RK_PC4 4 &pcfg_pull_default>, 579*724ba675SRob Herring <2 RK_PC5 4 &pcfg_pull_default>, 580*724ba675SRob Herring <2 RK_PC6 4 &pcfg_pull_default>, 581*724ba675SRob Herring <2 RK_PC7 4 &pcfg_pull_default>; 582*724ba675SRob Herring }; 583*724ba675SRob Herring 584*724ba675SRob Herring rmii_pins: rmii-pins { 585*724ba675SRob Herring rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>, 586*724ba675SRob Herring <2 RK_PB4 3 &pcfg_pull_default>, 587*724ba675SRob Herring <2 RK_PB5 3 &pcfg_pull_default>, 588*724ba675SRob Herring <2 RK_PB6 3 &pcfg_pull_default>, 589*724ba675SRob Herring <2 RK_PB7 3 &pcfg_pull_default>, 590*724ba675SRob Herring <2 RK_PC0 3 &pcfg_pull_default>, 591*724ba675SRob Herring <2 RK_PC1 3 &pcfg_pull_default>, 592*724ba675SRob Herring <2 RK_PC2 3 &pcfg_pull_default>, 593*724ba675SRob Herring <2 RK_PC3 3 &pcfg_pull_default>, 594*724ba675SRob Herring <2 RK_PD1 3 &pcfg_pull_default>; 595*724ba675SRob Herring }; 596*724ba675SRob Herring }; 597*724ba675SRob Herring 598*724ba675SRob Herring hdmi { 599*724ba675SRob Herring hdmii2c_xfer: hdmii2c-xfer { 600*724ba675SRob Herring rockchip,pins = <0 RK_PA6 2 &pcfg_pull_none>, 601*724ba675SRob Herring <0 RK_PA7 2 &pcfg_pull_none>; 602*724ba675SRob Herring }; 603*724ba675SRob Herring 604*724ba675SRob Herring hdmi_hpd: hdmi-hpd { 605*724ba675SRob Herring rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>; 606*724ba675SRob Herring }; 607*724ba675SRob Herring 608*724ba675SRob Herring hdmi_cec: hdmi-cec { 609*724ba675SRob Herring rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>; 610*724ba675SRob Herring }; 611*724ba675SRob Herring }; 612*724ba675SRob Herring 613*724ba675SRob Herring i2c0 { 614*724ba675SRob Herring i2c0_xfer: i2c0-xfer { 615*724ba675SRob Herring rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>, 616*724ba675SRob Herring <0 RK_PA1 1 &pcfg_pull_none>; 617*724ba675SRob Herring }; 618*724ba675SRob Herring }; 619*724ba675SRob Herring 620*724ba675SRob Herring i2c1 { 621*724ba675SRob Herring i2c1_xfer: i2c1-xfer { 622*724ba675SRob Herring rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>, 623*724ba675SRob Herring <0 RK_PA3 1 &pcfg_pull_none>; 624*724ba675SRob Herring }; 625*724ba675SRob Herring }; 626*724ba675SRob Herring 627*724ba675SRob Herring i2c2 { 628*724ba675SRob Herring i2c2_xfer: i2c2-xfer { 629*724ba675SRob Herring rockchip,pins = <2 RK_PC4 3 &pcfg_pull_none>, 630*724ba675SRob Herring <2 RK_PC5 3 &pcfg_pull_none>; 631*724ba675SRob Herring }; 632*724ba675SRob Herring }; 633*724ba675SRob Herring 634*724ba675SRob Herring i2c3 { 635*724ba675SRob Herring i2c3_xfer: i2c3-xfer { 636*724ba675SRob Herring rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>, 637*724ba675SRob Herring <0 RK_PA7 1 &pcfg_pull_none>; 638*724ba675SRob Herring }; 639*724ba675SRob Herring }; 640*724ba675SRob Herring 641*724ba675SRob Herring i2s { 642*724ba675SRob Herring i2s_bus: i2s-bus { 643*724ba675SRob Herring rockchip,pins = <0 RK_PB0 1 &pcfg_pull_none>, 644*724ba675SRob Herring <0 RK_PB1 1 &pcfg_pull_none>, 645*724ba675SRob Herring <0 RK_PB3 1 &pcfg_pull_none>, 646*724ba675SRob Herring <0 RK_PB4 1 &pcfg_pull_none>, 647*724ba675SRob Herring <0 RK_PB5 1 &pcfg_pull_none>, 648*724ba675SRob Herring <0 RK_PB6 1 &pcfg_pull_none>; 649*724ba675SRob Herring }; 650*724ba675SRob Herring 651*724ba675SRob Herring i2s1_bus: i2s1-bus { 652*724ba675SRob Herring rockchip,pins = <1 RK_PA0 1 &pcfg_pull_none>, 653*724ba675SRob Herring <1 RK_PA1 1 &pcfg_pull_none>, 654*724ba675SRob Herring <1 RK_PA2 1 &pcfg_pull_none>, 655*724ba675SRob Herring <1 RK_PA3 1 &pcfg_pull_none>, 656*724ba675SRob Herring <1 RK_PA4 1 &pcfg_pull_none>, 657*724ba675SRob Herring <1 RK_PA5 1 &pcfg_pull_none>; 658*724ba675SRob Herring }; 659*724ba675SRob Herring }; 660*724ba675SRob Herring 661*724ba675SRob Herring lcdc { 662*724ba675SRob Herring lcdc_dclk: lcdc-dclk { 663*724ba675SRob Herring rockchip,pins = <2 RK_PB0 1 &pcfg_pull_none>; 664*724ba675SRob Herring }; 665*724ba675SRob Herring 666*724ba675SRob Herring lcdc_den: lcdc-den { 667*724ba675SRob Herring rockchip,pins = <2 RK_PB3 1 &pcfg_pull_none>; 668*724ba675SRob Herring }; 669*724ba675SRob Herring 670*724ba675SRob Herring lcdc_hsync: lcdc-hsync { 671*724ba675SRob Herring rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>; 672*724ba675SRob Herring }; 673*724ba675SRob Herring 674*724ba675SRob Herring lcdc_vsync: lcdc-vsync { 675*724ba675SRob Herring rockchip,pins = <2 RK_PB2 1 &pcfg_pull_none>; 676*724ba675SRob Herring }; 677*724ba675SRob Herring 678*724ba675SRob Herring lcdc_rgb24: lcdc-rgb24 { 679*724ba675SRob Herring rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>, 680*724ba675SRob Herring <2 RK_PB5 1 &pcfg_pull_none>, 681*724ba675SRob Herring <2 RK_PB6 1 &pcfg_pull_none>, 682*724ba675SRob Herring <2 RK_PB7 1 &pcfg_pull_none>, 683*724ba675SRob Herring <2 RK_PC0 1 &pcfg_pull_none>, 684*724ba675SRob Herring <2 RK_PC1 1 &pcfg_pull_none>, 685*724ba675SRob Herring <2 RK_PC2 1 &pcfg_pull_none>, 686*724ba675SRob Herring <2 RK_PC3 1 &pcfg_pull_none>, 687*724ba675SRob Herring <2 RK_PC4 1 &pcfg_pull_none>, 688*724ba675SRob Herring <2 RK_PC5 1 &pcfg_pull_none>, 689*724ba675SRob Herring <2 RK_PC6 1 &pcfg_pull_none>, 690*724ba675SRob Herring <2 RK_PC7 1 &pcfg_pull_none>, 691*724ba675SRob Herring <2 RK_PD0 1 &pcfg_pull_none>, 692*724ba675SRob Herring <2 RK_PD1 1 &pcfg_pull_none>; 693*724ba675SRob Herring }; 694*724ba675SRob Herring }; 695*724ba675SRob Herring 696*724ba675SRob Herring nfc { 697*724ba675SRob Herring flash_ale: flash-ale { 698*724ba675SRob Herring rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>; 699*724ba675SRob Herring }; 700*724ba675SRob Herring 701*724ba675SRob Herring flash_cle: flash-cle { 702*724ba675SRob Herring rockchip,pins = <2 RK_PA1 1 &pcfg_pull_none>; 703*724ba675SRob Herring }; 704*724ba675SRob Herring 705*724ba675SRob Herring flash_wrn: flash-wrn { 706*724ba675SRob Herring rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>; 707*724ba675SRob Herring }; 708*724ba675SRob Herring 709*724ba675SRob Herring flash_rdn: flash-rdn { 710*724ba675SRob Herring rockchip,pins = <2 RK_PA3 1 &pcfg_pull_none>; 711*724ba675SRob Herring }; 712*724ba675SRob Herring 713*724ba675SRob Herring flash_rdy: flash-rdy { 714*724ba675SRob Herring rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>; 715*724ba675SRob Herring }; 716*724ba675SRob Herring 717*724ba675SRob Herring flash_cs0: flash-cs0 { 718*724ba675SRob Herring rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>; 719*724ba675SRob Herring }; 720*724ba675SRob Herring 721*724ba675SRob Herring flash_dqs: flash-dqs { 722*724ba675SRob Herring rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>; 723*724ba675SRob Herring }; 724*724ba675SRob Herring 725*724ba675SRob Herring flash_bus8: flash-bus8 { 726*724ba675SRob Herring rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>, 727*724ba675SRob Herring <1 RK_PD1 1 &pcfg_pull_none>, 728*724ba675SRob Herring <1 RK_PD2 1 &pcfg_pull_none>, 729*724ba675SRob Herring <1 RK_PD3 1 &pcfg_pull_none>, 730*724ba675SRob Herring <1 RK_PD4 1 &pcfg_pull_none>, 731*724ba675SRob Herring <1 RK_PD5 1 &pcfg_pull_none>, 732*724ba675SRob Herring <1 RK_PD6 1 &pcfg_pull_none>, 733*724ba675SRob Herring <1 RK_PD7 1 &pcfg_pull_none>; 734*724ba675SRob Herring }; 735*724ba675SRob Herring }; 736*724ba675SRob Herring 737*724ba675SRob Herring pwm0 { 738*724ba675SRob Herring pwm0_pin: pwm0-pin { 739*724ba675SRob Herring rockchip,pins = <0 RK_PD2 1 &pcfg_pull_none>; 740*724ba675SRob Herring }; 741*724ba675SRob Herring }; 742*724ba675SRob Herring 743*724ba675SRob Herring pwm1 { 744*724ba675SRob Herring pwm1_pin: pwm1-pin { 745*724ba675SRob Herring rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>; 746*724ba675SRob Herring }; 747*724ba675SRob Herring }; 748*724ba675SRob Herring 749*724ba675SRob Herring pwm2 { 750*724ba675SRob Herring pwm2_pin: pwm2-pin { 751*724ba675SRob Herring rockchip,pins = <0 RK_PD4 1 &pcfg_pull_none>; 752*724ba675SRob Herring }; 753*724ba675SRob Herring }; 754*724ba675SRob Herring 755*724ba675SRob Herring pwm3 { 756*724ba675SRob Herring pwm3_pin: pwm3-pin { 757*724ba675SRob Herring rockchip,pins = <3 RK_PD2 1 &pcfg_pull_none>; 758*724ba675SRob Herring }; 759*724ba675SRob Herring }; 760*724ba675SRob Herring 761*724ba675SRob Herring sdio { 762*724ba675SRob Herring sdio_clk: sdio-clk { 763*724ba675SRob Herring rockchip,pins = <1 RK_PA0 2 &pcfg_pull_none>; 764*724ba675SRob Herring }; 765*724ba675SRob Herring 766*724ba675SRob Herring sdio_cmd: sdio-cmd { 767*724ba675SRob Herring rockchip,pins = <0 RK_PA3 2 &pcfg_pull_default>; 768*724ba675SRob Herring }; 769*724ba675SRob Herring 770*724ba675SRob Herring sdio_pwren: sdio-pwren { 771*724ba675SRob Herring rockchip,pins = <0 RK_PD6 1 &pcfg_pull_default>; 772*724ba675SRob Herring }; 773*724ba675SRob Herring 774*724ba675SRob Herring sdio_bus4: sdio-bus4 { 775*724ba675SRob Herring rockchip,pins = <1 RK_PA1 2 &pcfg_pull_default>, 776*724ba675SRob Herring <1 RK_PA2 2 &pcfg_pull_default>, 777*724ba675SRob Herring <1 RK_PA4 2 &pcfg_pull_default>, 778*724ba675SRob Herring <1 RK_PA5 2 &pcfg_pull_default>; 779*724ba675SRob Herring }; 780*724ba675SRob Herring }; 781*724ba675SRob Herring 782*724ba675SRob Herring sdmmc { 783*724ba675SRob Herring sdmmc_clk: sdmmc-clk { 784*724ba675SRob Herring rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>; 785*724ba675SRob Herring }; 786*724ba675SRob Herring 787*724ba675SRob Herring sdmmc_cmd: sdmmc-cmd { 788*724ba675SRob Herring rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>; 789*724ba675SRob Herring }; 790*724ba675SRob Herring 791*724ba675SRob Herring sdmmc_wp: sdmmc-wp { 792*724ba675SRob Herring rockchip,pins = <1 RK_PA7 1 &pcfg_pull_default>; 793*724ba675SRob Herring }; 794*724ba675SRob Herring 795*724ba675SRob Herring sdmmc_pwren: sdmmc-pwren { 796*724ba675SRob Herring rockchip,pins = <1 RK_PB6 1 &pcfg_pull_default>; 797*724ba675SRob Herring }; 798*724ba675SRob Herring 799*724ba675SRob Herring sdmmc_bus4: sdmmc-bus4 { 800*724ba675SRob Herring rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>, 801*724ba675SRob Herring <1 RK_PC3 1 &pcfg_pull_default>, 802*724ba675SRob Herring <1 RK_PC4 1 &pcfg_pull_default>, 803*724ba675SRob Herring <1 RK_PC5 1 &pcfg_pull_default>; 804*724ba675SRob Herring }; 805*724ba675SRob Herring }; 806*724ba675SRob Herring 807*724ba675SRob Herring spdif { 808*724ba675SRob Herring spdif_tx: spdif-tx { 809*724ba675SRob Herring rockchip,pins = <3 RK_PD3 1 &pcfg_pull_none>; 810*724ba675SRob Herring }; 811*724ba675SRob Herring }; 812*724ba675SRob Herring 813*724ba675SRob Herring spi0 { 814*724ba675SRob Herring spi0_clk: spi0-clk { 815*724ba675SRob Herring rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>; 816*724ba675SRob Herring }; 817*724ba675SRob Herring 818*724ba675SRob Herring spi0_cs0: spi0-cs0 { 819*724ba675SRob Herring rockchip,pins = <1 RK_PB3 1 &pcfg_pull_default>; 820*724ba675SRob Herring }; 821*724ba675SRob Herring 822*724ba675SRob Herring spi0_tx: spi0-tx { 823*724ba675SRob Herring rockchip,pins = <1 RK_PB1 1 &pcfg_pull_default>; 824*724ba675SRob Herring }; 825*724ba675SRob Herring 826*724ba675SRob Herring spi0_rx: spi0-rx { 827*724ba675SRob Herring rockchip,pins = <1 RK_PB2 1 &pcfg_pull_default>; 828*724ba675SRob Herring }; 829*724ba675SRob Herring 830*724ba675SRob Herring spi0_cs1: spi0-cs1 { 831*724ba675SRob Herring rockchip,pins = <1 RK_PB4 1 &pcfg_pull_default>; 832*724ba675SRob Herring }; 833*724ba675SRob Herring 834*724ba675SRob Herring spi1_clk: spi1-clk { 835*724ba675SRob Herring rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>; 836*724ba675SRob Herring }; 837*724ba675SRob Herring 838*724ba675SRob Herring spi1_cs0: spi1-cs0 { 839*724ba675SRob Herring rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>; 840*724ba675SRob Herring }; 841*724ba675SRob Herring 842*724ba675SRob Herring spi1_tx: spi1-tx { 843*724ba675SRob Herring rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>; 844*724ba675SRob Herring }; 845*724ba675SRob Herring 846*724ba675SRob Herring spi1_rx: spi1-rx { 847*724ba675SRob Herring rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>; 848*724ba675SRob Herring }; 849*724ba675SRob Herring 850*724ba675SRob Herring spi1_cs1: spi1-cs1 { 851*724ba675SRob Herring rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>; 852*724ba675SRob Herring }; 853*724ba675SRob Herring 854*724ba675SRob Herring spi2_clk: spi2-clk { 855*724ba675SRob Herring rockchip,pins = <0 RK_PB1 2 &pcfg_pull_default>; 856*724ba675SRob Herring }; 857*724ba675SRob Herring 858*724ba675SRob Herring spi2_cs0: spi2-cs0 { 859*724ba675SRob Herring rockchip,pins = <0 RK_PB6 2 &pcfg_pull_default>; 860*724ba675SRob Herring }; 861*724ba675SRob Herring 862*724ba675SRob Herring spi2_tx: spi2-tx { 863*724ba675SRob Herring rockchip,pins = <0 RK_PB3 2 &pcfg_pull_default>; 864*724ba675SRob Herring }; 865*724ba675SRob Herring 866*724ba675SRob Herring spi2_rx: spi2-rx { 867*724ba675SRob Herring rockchip,pins = <0 RK_PB5 2 &pcfg_pull_default>; 868*724ba675SRob Herring }; 869*724ba675SRob Herring }; 870*724ba675SRob Herring 871*724ba675SRob Herring uart0 { 872*724ba675SRob Herring uart0_xfer: uart0-xfer { 873*724ba675SRob Herring rockchip,pins = <2 RK_PD2 2 &pcfg_pull_default>, 874*724ba675SRob Herring <2 RK_PD3 2 &pcfg_pull_none>; 875*724ba675SRob Herring }; 876*724ba675SRob Herring 877*724ba675SRob Herring uart0_cts: uart0-cts { 878*724ba675SRob Herring rockchip,pins = <2 RK_PD5 2 &pcfg_pull_none>; 879*724ba675SRob Herring }; 880*724ba675SRob Herring 881*724ba675SRob Herring uart0_rts: uart0-rts { 882*724ba675SRob Herring rockchip,pins = <0 RK_PC1 2 &pcfg_pull_none>; 883*724ba675SRob Herring }; 884*724ba675SRob Herring }; 885*724ba675SRob Herring 886*724ba675SRob Herring uart1 { 887*724ba675SRob Herring uart1_xfer: uart1-xfer { 888*724ba675SRob Herring rockchip,pins = <1 RK_PB1 2 &pcfg_pull_default>, 889*724ba675SRob Herring <1 RK_PB2 2 &pcfg_pull_default>; 890*724ba675SRob Herring }; 891*724ba675SRob Herring 892*724ba675SRob Herring uart1_cts: uart1-cts { 893*724ba675SRob Herring rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>; 894*724ba675SRob Herring }; 895*724ba675SRob Herring 896*724ba675SRob Herring uart1_rts: uart1-rts { 897*724ba675SRob Herring rockchip,pins = <1 RK_PB3 2 &pcfg_pull_none>; 898*724ba675SRob Herring }; 899*724ba675SRob Herring }; 900*724ba675SRob Herring 901*724ba675SRob Herring uart2 { 902*724ba675SRob Herring uart2_xfer: uart2-xfer { 903*724ba675SRob Herring rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>, 904*724ba675SRob Herring <1 RK_PC3 2 &pcfg_pull_none>; 905*724ba675SRob Herring }; 906*724ba675SRob Herring 907*724ba675SRob Herring uart2_cts: uart2-cts { 908*724ba675SRob Herring rockchip,pins = <0 RK_PD1 1 &pcfg_pull_none>; 909*724ba675SRob Herring }; 910*724ba675SRob Herring 911*724ba675SRob Herring uart2_rts: uart2-rts { 912*724ba675SRob Herring rockchip,pins = <0 RK_PD0 1 &pcfg_pull_none>; 913*724ba675SRob Herring }; 914*724ba675SRob Herring }; 915*724ba675SRob Herring }; 916*724ba675SRob Herring}; 917