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> 11724ba675SRob Herring 12724ba675SRob Herring/ { 13724ba675SRob Herring compatible = "rockchip,rk3128"; 14724ba675SRob Herring interrupt-parent = <&gic>; 15724ba675SRob Herring #address-cells = <1>; 16724ba675SRob Herring #size-cells = <1>; 17724ba675SRob Herring 18724ba675SRob Herring arm-pmu { 19724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 20724ba675SRob Herring interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, 21724ba675SRob Herring <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, 22724ba675SRob Herring <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>, 23724ba675SRob Herring <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 24724ba675SRob Herring interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 25724ba675SRob Herring }; 26724ba675SRob Herring 27724ba675SRob Herring cpus { 28724ba675SRob Herring #address-cells = <1>; 29724ba675SRob Herring #size-cells = <0>; 30724ba675SRob Herring 31724ba675SRob Herring cpu0: cpu@f00 { 32724ba675SRob Herring device_type = "cpu"; 33724ba675SRob Herring compatible = "arm,cortex-a7"; 34724ba675SRob Herring reg = <0xf00>; 35724ba675SRob Herring clock-latency = <40000>; 36724ba675SRob Herring clocks = <&cru ARMCLK>; 37724ba675SRob Herring operating-points = < 38724ba675SRob Herring /* KHz uV */ 39724ba675SRob Herring 816000 1000000 40724ba675SRob Herring >; 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>; 48724ba675SRob Herring }; 49724ba675SRob Herring 50724ba675SRob Herring cpu2: cpu@f02 { 51724ba675SRob Herring device_type = "cpu"; 52724ba675SRob Herring compatible = "arm,cortex-a7"; 53724ba675SRob Herring reg = <0xf02>; 54724ba675SRob Herring }; 55724ba675SRob Herring 56724ba675SRob Herring cpu3: cpu@f03 { 57724ba675SRob Herring device_type = "cpu"; 58724ba675SRob Herring compatible = "arm,cortex-a7"; 59724ba675SRob Herring reg = <0xf03>; 60724ba675SRob Herring }; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring timer { 64724ba675SRob Herring compatible = "arm,armv7-timer"; 65724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 66724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 67724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 68724ba675SRob Herring arm,cpu-registers-not-fw-configured; 69724ba675SRob Herring clock-frequency = <24000000>; 70724ba675SRob Herring }; 71724ba675SRob Herring 72724ba675SRob Herring xin24m: oscillator { 73724ba675SRob Herring compatible = "fixed-clock"; 74724ba675SRob Herring clock-frequency = <24000000>; 75724ba675SRob Herring clock-output-names = "xin24m"; 76724ba675SRob Herring #clock-cells = <0>; 77724ba675SRob Herring }; 78724ba675SRob Herring 79724ba675SRob Herring pmu: syscon@100a0000 { 80724ba675SRob Herring compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd"; 81724ba675SRob Herring reg = <0x100a0000 0x1000>; 82724ba675SRob Herring }; 83724ba675SRob Herring 84724ba675SRob Herring gic: interrupt-controller@10139000 { 85724ba675SRob Herring compatible = "arm,cortex-a7-gic"; 86724ba675SRob Herring reg = <0x10139000 0x1000>, 87724ba675SRob Herring <0x1013a000 0x1000>, 88724ba675SRob Herring <0x1013c000 0x2000>, 89724ba675SRob Herring <0x1013e000 0x2000>; 90724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 91724ba675SRob Herring interrupt-controller; 92724ba675SRob Herring #interrupt-cells = <3>; 93724ba675SRob Herring #address-cells = <0>; 94724ba675SRob Herring }; 95724ba675SRob Herring 96724ba675SRob Herring usb_otg: usb@10180000 { 97724ba675SRob Herring compatible = "rockchip,rk3128-usb", "rockchip,rk3066-usb", "snps,dwc2"; 98724ba675SRob Herring reg = <0x10180000 0x40000>; 99724ba675SRob Herring interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 100724ba675SRob Herring clocks = <&cru HCLK_OTG>; 101724ba675SRob Herring clock-names = "otg"; 102724ba675SRob Herring dr_mode = "otg"; 103724ba675SRob Herring phys = <&usb2phy_otg>; 104724ba675SRob Herring phy-names = "usb2-phy"; 105724ba675SRob Herring status = "disabled"; 106724ba675SRob Herring }; 107724ba675SRob Herring 108724ba675SRob Herring usb_host_ehci: usb@101c0000 { 109724ba675SRob Herring compatible = "generic-ehci"; 110724ba675SRob Herring reg = <0x101c0000 0x20000>; 111724ba675SRob Herring interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 112724ba675SRob Herring phys = <&usb2phy_host>; 113724ba675SRob Herring phy-names = "usb"; 114724ba675SRob Herring status = "disabled"; 115724ba675SRob Herring }; 116724ba675SRob Herring 117724ba675SRob Herring usb_host_ohci: usb@101e0000 { 118724ba675SRob Herring compatible = "generic-ohci"; 119724ba675SRob Herring reg = <0x101e0000 0x20000>; 120724ba675SRob Herring interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 121724ba675SRob Herring phys = <&usb2phy_host>; 122724ba675SRob Herring phy-names = "usb"; 123724ba675SRob Herring status = "disabled"; 124724ba675SRob Herring }; 125724ba675SRob Herring 126724ba675SRob Herring sdmmc: mmc@10214000 { 127724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 128724ba675SRob Herring reg = <0x10214000 0x4000>; 129724ba675SRob Herring interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 130724ba675SRob Herring clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, 131724ba675SRob Herring <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; 132724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 133724ba675SRob Herring dmas = <&pdma 10>; 134724ba675SRob Herring dma-names = "rx-tx"; 135724ba675SRob Herring fifo-depth = <256>; 136724ba675SRob Herring max-frequency = <150000000>; 137724ba675SRob Herring resets = <&cru SRST_SDMMC>; 138724ba675SRob Herring reset-names = "reset"; 139724ba675SRob Herring status = "disabled"; 140724ba675SRob Herring }; 141724ba675SRob Herring 142724ba675SRob Herring sdio: mmc@10218000 { 143724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 144724ba675SRob Herring reg = <0x10218000 0x4000>; 145724ba675SRob Herring interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 146724ba675SRob Herring clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, 147724ba675SRob Herring <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; 148724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 149724ba675SRob Herring dmas = <&pdma 11>; 150724ba675SRob Herring dma-names = "rx-tx"; 151724ba675SRob Herring fifo-depth = <256>; 152724ba675SRob Herring max-frequency = <150000000>; 153724ba675SRob Herring resets = <&cru SRST_SDIO>; 154724ba675SRob Herring reset-names = "reset"; 155724ba675SRob Herring status = "disabled"; 156724ba675SRob Herring }; 157724ba675SRob Herring 158724ba675SRob Herring emmc: mmc@1021c000 { 159724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 160724ba675SRob Herring reg = <0x1021c000 0x4000>; 161724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 162724ba675SRob Herring clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, 163724ba675SRob Herring <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; 164724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 165724ba675SRob Herring dmas = <&pdma 12>; 166724ba675SRob Herring dma-names = "rx-tx"; 167724ba675SRob Herring fifo-depth = <256>; 168724ba675SRob Herring max-frequency = <150000000>; 169724ba675SRob Herring resets = <&cru SRST_EMMC>; 170724ba675SRob Herring reset-names = "reset"; 171724ba675SRob Herring status = "disabled"; 172724ba675SRob Herring }; 173724ba675SRob Herring 174724ba675SRob Herring nfc: nand-controller@10500000 { 175724ba675SRob Herring compatible = "rockchip,rk3128-nfc", "rockchip,rk2928-nfc"; 176724ba675SRob Herring reg = <0x10500000 0x4000>; 177724ba675SRob Herring interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 178724ba675SRob Herring clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; 179724ba675SRob Herring clock-names = "ahb", "nfc"; 180724ba675SRob Herring pinctrl-names = "default"; 181724ba675SRob Herring pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0 182724ba675SRob Herring &flash_dqs &flash_rdn &flash_rdy &flash_wrn>; 183724ba675SRob Herring status = "disabled"; 184724ba675SRob Herring }; 185724ba675SRob Herring 186724ba675SRob Herring cru: clock-controller@20000000 { 187724ba675SRob Herring compatible = "rockchip,rk3128-cru"; 188724ba675SRob Herring reg = <0x20000000 0x1000>; 189724ba675SRob Herring clocks = <&xin24m>; 190724ba675SRob Herring clock-names = "xin24m"; 191724ba675SRob Herring rockchip,grf = <&grf>; 192724ba675SRob Herring #clock-cells = <1>; 193724ba675SRob Herring #reset-cells = <1>; 194724ba675SRob Herring assigned-clocks = <&cru PLL_GPLL>; 195724ba675SRob Herring assigned-clock-rates = <594000000>; 196724ba675SRob Herring }; 197724ba675SRob Herring 198724ba675SRob Herring grf: syscon@20008000 { 199724ba675SRob Herring compatible = "rockchip,rk3128-grf", "syscon", "simple-mfd"; 200724ba675SRob Herring reg = <0x20008000 0x1000>; 201724ba675SRob Herring #address-cells = <1>; 202724ba675SRob Herring #size-cells = <1>; 203724ba675SRob Herring 204724ba675SRob Herring usb2phy: usb2phy@17c { 205724ba675SRob Herring compatible = "rockchip,rk3128-usb2phy"; 206724ba675SRob Herring reg = <0x017c 0x0c>; 207724ba675SRob Herring clocks = <&cru SCLK_OTGPHY0>; 208724ba675SRob Herring clock-names = "phyclk"; 209724ba675SRob Herring clock-output-names = "usb480m_phy"; 210724ba675SRob Herring #clock-cells = <0>; 211724ba675SRob Herring status = "disabled"; 212724ba675SRob Herring 213724ba675SRob Herring usb2phy_host: host-port { 214724ba675SRob Herring interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; 215724ba675SRob Herring interrupt-names = "linestate"; 216724ba675SRob Herring #phy-cells = <0>; 217724ba675SRob Herring status = "disabled"; 218724ba675SRob Herring }; 219724ba675SRob Herring 220724ba675SRob Herring usb2phy_otg: otg-port { 221724ba675SRob Herring interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, 222724ba675SRob Herring <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, 223724ba675SRob Herring <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; 224724ba675SRob Herring interrupt-names = "otg-bvalid", "otg-id", 225724ba675SRob Herring "linestate"; 226724ba675SRob Herring #phy-cells = <0>; 227724ba675SRob Herring status = "disabled"; 228724ba675SRob Herring }; 229724ba675SRob Herring }; 230724ba675SRob Herring }; 231724ba675SRob Herring 232724ba675SRob Herring timer0: timer@20044000 { 233724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 234724ba675SRob Herring reg = <0x20044000 0x20>; 235724ba675SRob Herring interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 236724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 237724ba675SRob Herring clock-names = "pclk", "timer"; 238724ba675SRob Herring }; 239724ba675SRob Herring 240724ba675SRob Herring timer1: timer@20044020 { 241724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 242724ba675SRob Herring reg = <0x20044020 0x20>; 243724ba675SRob Herring interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 244724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 245724ba675SRob Herring clock-names = "pclk", "timer"; 246724ba675SRob Herring }; 247724ba675SRob Herring 248724ba675SRob Herring timer2: timer@20044040 { 249724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 250724ba675SRob Herring reg = <0x20044040 0x20>; 251724ba675SRob Herring interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; 252724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 253724ba675SRob Herring clock-names = "pclk", "timer"; 254724ba675SRob Herring }; 255724ba675SRob Herring 256724ba675SRob Herring timer3: timer@20044060 { 257724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 258724ba675SRob Herring reg = <0x20044060 0x20>; 259724ba675SRob Herring interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 260724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 261724ba675SRob Herring clock-names = "pclk", "timer"; 262724ba675SRob Herring }; 263724ba675SRob Herring 264724ba675SRob Herring timer4: timer@20044080 { 265724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 266724ba675SRob Herring reg = <0x20044080 0x20>; 267724ba675SRob Herring interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 268724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 269724ba675SRob Herring clock-names = "pclk", "timer"; 270724ba675SRob Herring }; 271724ba675SRob Herring 272724ba675SRob Herring timer5: timer@200440a0 { 273724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 274724ba675SRob Herring reg = <0x200440a0 0x20>; 275724ba675SRob Herring interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 276724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 277724ba675SRob Herring clock-names = "pclk", "timer"; 278724ba675SRob Herring }; 279724ba675SRob Herring 280724ba675SRob Herring watchdog: watchdog@2004c000 { 281724ba675SRob Herring compatible = "rockchip,rk3128-wdt", "snps,dw-wdt"; 282724ba675SRob Herring reg = <0x2004c000 0x100>; 283724ba675SRob Herring interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 284724ba675SRob Herring clocks = <&cru PCLK_WDT>; 285724ba675SRob Herring status = "disabled"; 286724ba675SRob Herring }; 287724ba675SRob Herring 288724ba675SRob Herring pwm0: pwm@20050000 { 289724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 290724ba675SRob Herring reg = <0x20050000 0x10>; 291724ba675SRob Herring clocks = <&cru PCLK_PWM>; 292724ba675SRob Herring pinctrl-names = "default"; 293724ba675SRob Herring pinctrl-0 = <&pwm0_pin>; 294724ba675SRob Herring #pwm-cells = <3>; 295724ba675SRob Herring status = "disabled"; 296724ba675SRob Herring }; 297724ba675SRob Herring 298724ba675SRob Herring pwm1: pwm@20050010 { 299724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 300724ba675SRob Herring reg = <0x20050010 0x10>; 301724ba675SRob Herring clocks = <&cru PCLK_PWM>; 302724ba675SRob Herring pinctrl-names = "default"; 303724ba675SRob Herring pinctrl-0 = <&pwm1_pin>; 304724ba675SRob Herring #pwm-cells = <3>; 305724ba675SRob Herring status = "disabled"; 306724ba675SRob Herring }; 307724ba675SRob Herring 308724ba675SRob Herring pwm2: pwm@20050020 { 309724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 310724ba675SRob Herring reg = <0x20050020 0x10>; 311724ba675SRob Herring clocks = <&cru PCLK_PWM>; 312724ba675SRob Herring pinctrl-names = "default"; 313724ba675SRob Herring pinctrl-0 = <&pwm2_pin>; 314724ba675SRob Herring #pwm-cells = <3>; 315724ba675SRob Herring status = "disabled"; 316724ba675SRob Herring }; 317724ba675SRob Herring 318724ba675SRob Herring pwm3: pwm@20050030 { 319724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 320724ba675SRob Herring reg = <0x20050030 0x10>; 321724ba675SRob Herring clocks = <&cru PCLK_PWM>; 322724ba675SRob Herring pinctrl-names = "default"; 323724ba675SRob Herring pinctrl-0 = <&pwm3_pin>; 324724ba675SRob Herring #pwm-cells = <3>; 325724ba675SRob Herring status = "disabled"; 326724ba675SRob Herring }; 327724ba675SRob Herring 328724ba675SRob Herring i2c1: i2c@20056000 { 329724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 330724ba675SRob Herring reg = <0x20056000 0x1000>; 331724ba675SRob Herring interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 332724ba675SRob Herring clock-names = "i2c"; 333724ba675SRob Herring clocks = <&cru PCLK_I2C1>; 334724ba675SRob Herring pinctrl-names = "default"; 335724ba675SRob Herring pinctrl-0 = <&i2c1_xfer>; 336724ba675SRob Herring #address-cells = <1>; 337724ba675SRob Herring #size-cells = <0>; 338724ba675SRob Herring status = "disabled"; 339724ba675SRob Herring }; 340724ba675SRob Herring 341724ba675SRob Herring i2c2: i2c@2005a000 { 342724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 343724ba675SRob Herring reg = <0x2005a000 0x1000>; 344724ba675SRob Herring interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 345724ba675SRob Herring clock-names = "i2c"; 346724ba675SRob Herring clocks = <&cru PCLK_I2C2>; 347724ba675SRob Herring pinctrl-names = "default"; 348724ba675SRob Herring pinctrl-0 = <&i2c2_xfer>; 349724ba675SRob Herring #address-cells = <1>; 350724ba675SRob Herring #size-cells = <0>; 351724ba675SRob Herring status = "disabled"; 352724ba675SRob Herring }; 353724ba675SRob Herring 354724ba675SRob Herring i2c3: i2c@2005e000 { 355724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 356724ba675SRob Herring reg = <0x2005e000 0x1000>; 357724ba675SRob Herring interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 358724ba675SRob Herring clock-names = "i2c"; 359724ba675SRob Herring clocks = <&cru PCLK_I2C3>; 360724ba675SRob Herring pinctrl-names = "default"; 361724ba675SRob Herring pinctrl-0 = <&i2c3_xfer>; 362724ba675SRob Herring #address-cells = <1>; 363724ba675SRob Herring #size-cells = <0>; 364724ba675SRob Herring status = "disabled"; 365724ba675SRob Herring }; 366724ba675SRob Herring 367724ba675SRob Herring uart0: serial@20060000 { 368724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 369724ba675SRob Herring reg = <0x20060000 0x100>; 370724ba675SRob Herring interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 371724ba675SRob Herring clock-frequency = <24000000>; 372724ba675SRob Herring clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 373724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 374724ba675SRob Herring dmas = <&pdma 2>, <&pdma 3>; 375724ba675SRob Herring dma-names = "tx", "rx"; 376724ba675SRob Herring pinctrl-names = "default"; 377724ba675SRob Herring pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; 378724ba675SRob Herring reg-io-width = <4>; 379724ba675SRob Herring reg-shift = <2>; 380724ba675SRob Herring status = "disabled"; 381724ba675SRob Herring }; 382724ba675SRob Herring 383724ba675SRob Herring uart1: serial@20064000 { 384724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 385724ba675SRob Herring reg = <0x20064000 0x100>; 386724ba675SRob Herring interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 387724ba675SRob Herring clock-frequency = <24000000>; 388724ba675SRob Herring clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; 389724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 390724ba675SRob Herring dmas = <&pdma 4>, <&pdma 5>; 391724ba675SRob Herring dma-names = "tx", "rx"; 392724ba675SRob Herring pinctrl-names = "default"; 393724ba675SRob Herring pinctrl-0 = <&uart1_xfer>; 394724ba675SRob Herring reg-io-width = <4>; 395724ba675SRob Herring reg-shift = <2>; 396724ba675SRob Herring status = "disabled"; 397724ba675SRob Herring }; 398724ba675SRob Herring 399724ba675SRob Herring uart2: serial@20068000 { 400724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 401724ba675SRob Herring reg = <0x20068000 0x100>; 402724ba675SRob Herring interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 403724ba675SRob Herring clock-frequency = <24000000>; 404724ba675SRob Herring clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; 405724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 406724ba675SRob Herring dmas = <&pdma 6>, <&pdma 7>; 407724ba675SRob Herring dma-names = "tx", "rx"; 408724ba675SRob Herring pinctrl-names = "default"; 409724ba675SRob Herring pinctrl-0 = <&uart2_xfer>; 410724ba675SRob Herring reg-io-width = <4>; 411724ba675SRob Herring reg-shift = <2>; 412724ba675SRob Herring status = "disabled"; 413724ba675SRob Herring }; 414724ba675SRob Herring 415724ba675SRob Herring saradc: saradc@2006c000 { 416724ba675SRob Herring compatible = "rockchip,saradc"; 417724ba675SRob Herring reg = <0x2006c000 0x100>; 418724ba675SRob Herring interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 419724ba675SRob Herring clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>; 420724ba675SRob Herring clock-names = "saradc", "apb_pclk"; 421724ba675SRob Herring resets = <&cru SRST_SARADC>; 422724ba675SRob Herring reset-names = "saradc-apb"; 423724ba675SRob Herring #io-channel-cells = <1>; 424724ba675SRob Herring status = "disabled"; 425724ba675SRob Herring }; 426724ba675SRob Herring 427724ba675SRob Herring i2c0: i2c@20072000 { 428724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 429*2e9cbc41SAlex Bee reg = <0x20072000 0x1000>; 430724ba675SRob Herring interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 431724ba675SRob Herring clock-names = "i2c"; 432724ba675SRob Herring clocks = <&cru PCLK_I2C0>; 433724ba675SRob Herring pinctrl-names = "default"; 434724ba675SRob Herring pinctrl-0 = <&i2c0_xfer>; 435724ba675SRob Herring #address-cells = <1>; 436724ba675SRob Herring #size-cells = <0>; 437724ba675SRob Herring status = "disabled"; 438724ba675SRob Herring }; 439724ba675SRob Herring 440724ba675SRob Herring spi0: spi@20074000 { 441724ba675SRob Herring compatible = "rockchip,rk3128-spi", "rockchip,rk3066-spi"; 442724ba675SRob Herring reg = <0x20074000 0x1000>; 443724ba675SRob Herring interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 444724ba675SRob Herring clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>; 445724ba675SRob Herring clock-names = "spiclk", "apb_pclk"; 446724ba675SRob Herring dmas = <&pdma 8>, <&pdma 9>; 447724ba675SRob Herring dma-names = "tx", "rx"; 448724ba675SRob Herring pinctrl-names = "default"; 449724ba675SRob Herring pinctrl-0 = <&spi0_tx &spi0_rx &spi0_clk &spi0_cs0 &spi0_cs1>; 450724ba675SRob Herring #address-cells = <1>; 451724ba675SRob Herring #size-cells = <0>; 452724ba675SRob Herring status = "disabled"; 453724ba675SRob Herring }; 454724ba675SRob Herring 455724ba675SRob Herring pdma: dma-controller@20078000 { 456724ba675SRob Herring compatible = "arm,pl330", "arm,primecell"; 457724ba675SRob Herring reg = <0x20078000 0x4000>; 458724ba675SRob Herring interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 459724ba675SRob Herring <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 460724ba675SRob Herring arm,pl330-broken-no-flushp; 461724ba675SRob Herring clocks = <&cru ACLK_DMAC>; 462724ba675SRob Herring clock-names = "apb_pclk"; 463724ba675SRob Herring #dma-cells = <1>; 464724ba675SRob Herring }; 465724ba675SRob Herring 466724ba675SRob Herring pinctrl: pinctrl { 467724ba675SRob Herring compatible = "rockchip,rk3128-pinctrl"; 468724ba675SRob Herring rockchip,grf = <&grf>; 469724ba675SRob Herring #address-cells = <1>; 470724ba675SRob Herring #size-cells = <1>; 471724ba675SRob Herring ranges; 472724ba675SRob Herring 473724ba675SRob Herring gpio0: gpio@2007c000 { 474724ba675SRob Herring compatible = "rockchip,gpio-bank"; 475724ba675SRob Herring reg = <0x2007c000 0x100>; 476724ba675SRob Herring interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 477724ba675SRob Herring clocks = <&cru PCLK_GPIO0>; 478724ba675SRob Herring gpio-controller; 479724ba675SRob Herring #gpio-cells = <2>; 480724ba675SRob Herring interrupt-controller; 481724ba675SRob Herring #interrupt-cells = <2>; 482724ba675SRob Herring }; 483724ba675SRob Herring 484724ba675SRob Herring gpio1: gpio@20080000 { 485724ba675SRob Herring compatible = "rockchip,gpio-bank"; 486724ba675SRob Herring reg = <0x20080000 0x100>; 487724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 488724ba675SRob Herring clocks = <&cru PCLK_GPIO1>; 489724ba675SRob Herring gpio-controller; 490724ba675SRob Herring #gpio-cells = <2>; 491724ba675SRob Herring interrupt-controller; 492724ba675SRob Herring #interrupt-cells = <2>; 493724ba675SRob Herring }; 494724ba675SRob Herring 495724ba675SRob Herring gpio2: gpio@20084000 { 496724ba675SRob Herring compatible = "rockchip,gpio-bank"; 497724ba675SRob Herring reg = <0x20084000 0x100>; 498724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 499724ba675SRob Herring clocks = <&cru PCLK_GPIO2>; 500724ba675SRob Herring gpio-controller; 501724ba675SRob Herring #gpio-cells = <2>; 502724ba675SRob Herring interrupt-controller; 503724ba675SRob Herring #interrupt-cells = <2>; 504724ba675SRob Herring }; 505724ba675SRob Herring 506724ba675SRob Herring gpio3: gpio@20088000 { 507724ba675SRob Herring compatible = "rockchip,gpio-bank"; 508724ba675SRob Herring reg = <0x20088000 0x100>; 509724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 510724ba675SRob Herring clocks = <&cru PCLK_GPIO3>; 511724ba675SRob Herring gpio-controller; 512724ba675SRob Herring #gpio-cells = <2>; 513724ba675SRob Herring interrupt-controller; 514724ba675SRob Herring #interrupt-cells = <2>; 515724ba675SRob Herring }; 516724ba675SRob Herring 517724ba675SRob Herring pcfg_pull_default: pcfg-pull-default { 518724ba675SRob Herring bias-pull-pin-default; 519724ba675SRob Herring }; 520724ba675SRob Herring 521724ba675SRob Herring pcfg_pull_none: pcfg-pull-none { 522724ba675SRob Herring bias-disable; 523724ba675SRob Herring }; 524724ba675SRob Herring 525724ba675SRob Herring emmc { 526724ba675SRob Herring emmc_clk: emmc-clk { 527724ba675SRob Herring rockchip,pins = <2 RK_PA7 2 &pcfg_pull_none>; 528724ba675SRob Herring }; 529724ba675SRob Herring 530724ba675SRob Herring emmc_cmd: emmc-cmd { 531724ba675SRob Herring rockchip,pins = <1 RK_PC6 2 &pcfg_pull_default>; 532724ba675SRob Herring }; 533724ba675SRob Herring 534724ba675SRob Herring emmc_cmd1: emmc-cmd1 { 535724ba675SRob Herring rockchip,pins = <2 RK_PA4 2 &pcfg_pull_default>; 536724ba675SRob Herring }; 537724ba675SRob Herring 538724ba675SRob Herring emmc_pwr: emmc-pwr { 539724ba675SRob Herring rockchip,pins = <2 RK_PA5 2 &pcfg_pull_default>; 540724ba675SRob Herring }; 541724ba675SRob Herring 542724ba675SRob Herring emmc_bus1: emmc-bus1 { 543724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>; 544724ba675SRob Herring }; 545724ba675SRob Herring 546724ba675SRob Herring emmc_bus4: emmc-bus4 { 547724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 548724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_default>, 549724ba675SRob Herring <1 RK_PD2 2 &pcfg_pull_default>, 550724ba675SRob Herring <1 RK_PD3 2 &pcfg_pull_default>; 551724ba675SRob Herring }; 552724ba675SRob Herring 553724ba675SRob Herring emmc_bus8: emmc-bus8 { 554724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 555724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_default>, 556724ba675SRob Herring <1 RK_PD2 2 &pcfg_pull_default>, 557724ba675SRob Herring <1 RK_PD3 2 &pcfg_pull_default>, 558724ba675SRob Herring <1 RK_PD4 2 &pcfg_pull_default>, 559724ba675SRob Herring <1 RK_PD5 2 &pcfg_pull_default>, 560724ba675SRob Herring <1 RK_PD6 2 &pcfg_pull_default>, 561724ba675SRob Herring <1 RK_PD7 2 &pcfg_pull_default>; 562724ba675SRob Herring }; 563724ba675SRob Herring }; 564724ba675SRob Herring 565724ba675SRob Herring gmac { 566724ba675SRob Herring rgmii_pins: rgmii-pins { 567724ba675SRob Herring rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>, 568724ba675SRob Herring <2 RK_PB1 3 &pcfg_pull_default>, 569724ba675SRob Herring <2 RK_PB3 3 &pcfg_pull_default>, 570724ba675SRob Herring <2 RK_PB4 3 &pcfg_pull_default>, 571724ba675SRob Herring <2 RK_PB5 3 &pcfg_pull_default>, 572724ba675SRob Herring <2 RK_PB6 3 &pcfg_pull_default>, 573724ba675SRob Herring <2 RK_PC0 3 &pcfg_pull_default>, 574724ba675SRob Herring <2 RK_PC1 3 &pcfg_pull_default>, 575724ba675SRob Herring <2 RK_PC2 3 &pcfg_pull_default>, 576724ba675SRob Herring <2 RK_PC3 3 &pcfg_pull_default>, 577724ba675SRob Herring <2 RK_PD1 3 &pcfg_pull_default>, 578724ba675SRob Herring <2 RK_PC4 4 &pcfg_pull_default>, 579724ba675SRob Herring <2 RK_PC5 4 &pcfg_pull_default>, 580724ba675SRob Herring <2 RK_PC6 4 &pcfg_pull_default>, 581724ba675SRob Herring <2 RK_PC7 4 &pcfg_pull_default>; 582724ba675SRob Herring }; 583724ba675SRob Herring 584724ba675SRob Herring rmii_pins: rmii-pins { 585724ba675SRob Herring rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>, 586724ba675SRob Herring <2 RK_PB4 3 &pcfg_pull_default>, 587724ba675SRob Herring <2 RK_PB5 3 &pcfg_pull_default>, 588724ba675SRob Herring <2 RK_PB6 3 &pcfg_pull_default>, 589724ba675SRob Herring <2 RK_PB7 3 &pcfg_pull_default>, 590724ba675SRob Herring <2 RK_PC0 3 &pcfg_pull_default>, 591724ba675SRob Herring <2 RK_PC1 3 &pcfg_pull_default>, 592724ba675SRob Herring <2 RK_PC2 3 &pcfg_pull_default>, 593724ba675SRob Herring <2 RK_PC3 3 &pcfg_pull_default>, 594724ba675SRob Herring <2 RK_PD1 3 &pcfg_pull_default>; 595724ba675SRob Herring }; 596724ba675SRob Herring }; 597724ba675SRob Herring 598724ba675SRob Herring hdmi { 599724ba675SRob Herring hdmii2c_xfer: hdmii2c-xfer { 600724ba675SRob Herring rockchip,pins = <0 RK_PA6 2 &pcfg_pull_none>, 601724ba675SRob Herring <0 RK_PA7 2 &pcfg_pull_none>; 602724ba675SRob Herring }; 603724ba675SRob Herring 604724ba675SRob Herring hdmi_hpd: hdmi-hpd { 605724ba675SRob Herring rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>; 606724ba675SRob Herring }; 607724ba675SRob Herring 608724ba675SRob Herring hdmi_cec: hdmi-cec { 609724ba675SRob Herring rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>; 610724ba675SRob Herring }; 611724ba675SRob Herring }; 612724ba675SRob Herring 613724ba675SRob Herring i2c0 { 614724ba675SRob Herring i2c0_xfer: i2c0-xfer { 615724ba675SRob Herring rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>, 616724ba675SRob Herring <0 RK_PA1 1 &pcfg_pull_none>; 617724ba675SRob Herring }; 618724ba675SRob Herring }; 619724ba675SRob Herring 620724ba675SRob Herring i2c1 { 621724ba675SRob Herring i2c1_xfer: i2c1-xfer { 622724ba675SRob Herring rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>, 623724ba675SRob Herring <0 RK_PA3 1 &pcfg_pull_none>; 624724ba675SRob Herring }; 625724ba675SRob Herring }; 626724ba675SRob Herring 627724ba675SRob Herring i2c2 { 628724ba675SRob Herring i2c2_xfer: i2c2-xfer { 629724ba675SRob Herring rockchip,pins = <2 RK_PC4 3 &pcfg_pull_none>, 630724ba675SRob Herring <2 RK_PC5 3 &pcfg_pull_none>; 631724ba675SRob Herring }; 632724ba675SRob Herring }; 633724ba675SRob Herring 634724ba675SRob Herring i2c3 { 635724ba675SRob Herring i2c3_xfer: i2c3-xfer { 636724ba675SRob Herring rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>, 637724ba675SRob Herring <0 RK_PA7 1 &pcfg_pull_none>; 638724ba675SRob Herring }; 639724ba675SRob Herring }; 640724ba675SRob Herring 641724ba675SRob Herring i2s { 642724ba675SRob Herring i2s_bus: i2s-bus { 643724ba675SRob Herring rockchip,pins = <0 RK_PB0 1 &pcfg_pull_none>, 644724ba675SRob Herring <0 RK_PB1 1 &pcfg_pull_none>, 645724ba675SRob Herring <0 RK_PB3 1 &pcfg_pull_none>, 646724ba675SRob Herring <0 RK_PB4 1 &pcfg_pull_none>, 647724ba675SRob Herring <0 RK_PB5 1 &pcfg_pull_none>, 648724ba675SRob Herring <0 RK_PB6 1 &pcfg_pull_none>; 649724ba675SRob Herring }; 650724ba675SRob Herring 651724ba675SRob Herring i2s1_bus: i2s1-bus { 652724ba675SRob Herring rockchip,pins = <1 RK_PA0 1 &pcfg_pull_none>, 653724ba675SRob Herring <1 RK_PA1 1 &pcfg_pull_none>, 654724ba675SRob Herring <1 RK_PA2 1 &pcfg_pull_none>, 655724ba675SRob Herring <1 RK_PA3 1 &pcfg_pull_none>, 656724ba675SRob Herring <1 RK_PA4 1 &pcfg_pull_none>, 657724ba675SRob Herring <1 RK_PA5 1 &pcfg_pull_none>; 658724ba675SRob Herring }; 659724ba675SRob Herring }; 660724ba675SRob Herring 661724ba675SRob Herring lcdc { 662724ba675SRob Herring lcdc_dclk: lcdc-dclk { 663724ba675SRob Herring rockchip,pins = <2 RK_PB0 1 &pcfg_pull_none>; 664724ba675SRob Herring }; 665724ba675SRob Herring 666724ba675SRob Herring lcdc_den: lcdc-den { 667724ba675SRob Herring rockchip,pins = <2 RK_PB3 1 &pcfg_pull_none>; 668724ba675SRob Herring }; 669724ba675SRob Herring 670724ba675SRob Herring lcdc_hsync: lcdc-hsync { 671724ba675SRob Herring rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>; 672724ba675SRob Herring }; 673724ba675SRob Herring 674724ba675SRob Herring lcdc_vsync: lcdc-vsync { 675724ba675SRob Herring rockchip,pins = <2 RK_PB2 1 &pcfg_pull_none>; 676724ba675SRob Herring }; 677724ba675SRob Herring 678724ba675SRob Herring lcdc_rgb24: lcdc-rgb24 { 679724ba675SRob Herring rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>, 680724ba675SRob Herring <2 RK_PB5 1 &pcfg_pull_none>, 681724ba675SRob Herring <2 RK_PB6 1 &pcfg_pull_none>, 682724ba675SRob Herring <2 RK_PB7 1 &pcfg_pull_none>, 683724ba675SRob Herring <2 RK_PC0 1 &pcfg_pull_none>, 684724ba675SRob Herring <2 RK_PC1 1 &pcfg_pull_none>, 685724ba675SRob Herring <2 RK_PC2 1 &pcfg_pull_none>, 686724ba675SRob Herring <2 RK_PC3 1 &pcfg_pull_none>, 687724ba675SRob Herring <2 RK_PC4 1 &pcfg_pull_none>, 688724ba675SRob Herring <2 RK_PC5 1 &pcfg_pull_none>, 689724ba675SRob Herring <2 RK_PC6 1 &pcfg_pull_none>, 690724ba675SRob Herring <2 RK_PC7 1 &pcfg_pull_none>, 691724ba675SRob Herring <2 RK_PD0 1 &pcfg_pull_none>, 692724ba675SRob Herring <2 RK_PD1 1 &pcfg_pull_none>; 693724ba675SRob Herring }; 694724ba675SRob Herring }; 695724ba675SRob Herring 696724ba675SRob Herring nfc { 697724ba675SRob Herring flash_ale: flash-ale { 698724ba675SRob Herring rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>; 699724ba675SRob Herring }; 700724ba675SRob Herring 701724ba675SRob Herring flash_cle: flash-cle { 702724ba675SRob Herring rockchip,pins = <2 RK_PA1 1 &pcfg_pull_none>; 703724ba675SRob Herring }; 704724ba675SRob Herring 705724ba675SRob Herring flash_wrn: flash-wrn { 706724ba675SRob Herring rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>; 707724ba675SRob Herring }; 708724ba675SRob Herring 709724ba675SRob Herring flash_rdn: flash-rdn { 710724ba675SRob Herring rockchip,pins = <2 RK_PA3 1 &pcfg_pull_none>; 711724ba675SRob Herring }; 712724ba675SRob Herring 713724ba675SRob Herring flash_rdy: flash-rdy { 714724ba675SRob Herring rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>; 715724ba675SRob Herring }; 716724ba675SRob Herring 717724ba675SRob Herring flash_cs0: flash-cs0 { 718724ba675SRob Herring rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>; 719724ba675SRob Herring }; 720724ba675SRob Herring 721724ba675SRob Herring flash_dqs: flash-dqs { 722724ba675SRob Herring rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>; 723724ba675SRob Herring }; 724724ba675SRob Herring 725724ba675SRob Herring flash_bus8: flash-bus8 { 726724ba675SRob Herring rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>, 727724ba675SRob Herring <1 RK_PD1 1 &pcfg_pull_none>, 728724ba675SRob Herring <1 RK_PD2 1 &pcfg_pull_none>, 729724ba675SRob Herring <1 RK_PD3 1 &pcfg_pull_none>, 730724ba675SRob Herring <1 RK_PD4 1 &pcfg_pull_none>, 731724ba675SRob Herring <1 RK_PD5 1 &pcfg_pull_none>, 732724ba675SRob Herring <1 RK_PD6 1 &pcfg_pull_none>, 733724ba675SRob Herring <1 RK_PD7 1 &pcfg_pull_none>; 734724ba675SRob Herring }; 735724ba675SRob Herring }; 736724ba675SRob Herring 737724ba675SRob Herring pwm0 { 738724ba675SRob Herring pwm0_pin: pwm0-pin { 739724ba675SRob Herring rockchip,pins = <0 RK_PD2 1 &pcfg_pull_none>; 740724ba675SRob Herring }; 741724ba675SRob Herring }; 742724ba675SRob Herring 743724ba675SRob Herring pwm1 { 744724ba675SRob Herring pwm1_pin: pwm1-pin { 745724ba675SRob Herring rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>; 746724ba675SRob Herring }; 747724ba675SRob Herring }; 748724ba675SRob Herring 749724ba675SRob Herring pwm2 { 750724ba675SRob Herring pwm2_pin: pwm2-pin { 751724ba675SRob Herring rockchip,pins = <0 RK_PD4 1 &pcfg_pull_none>; 752724ba675SRob Herring }; 753724ba675SRob Herring }; 754724ba675SRob Herring 755724ba675SRob Herring pwm3 { 756724ba675SRob Herring pwm3_pin: pwm3-pin { 757724ba675SRob Herring rockchip,pins = <3 RK_PD2 1 &pcfg_pull_none>; 758724ba675SRob Herring }; 759724ba675SRob Herring }; 760724ba675SRob Herring 761724ba675SRob Herring sdio { 762724ba675SRob Herring sdio_clk: sdio-clk { 763724ba675SRob Herring rockchip,pins = <1 RK_PA0 2 &pcfg_pull_none>; 764724ba675SRob Herring }; 765724ba675SRob Herring 766724ba675SRob Herring sdio_cmd: sdio-cmd { 767724ba675SRob Herring rockchip,pins = <0 RK_PA3 2 &pcfg_pull_default>; 768724ba675SRob Herring }; 769724ba675SRob Herring 770724ba675SRob Herring sdio_pwren: sdio-pwren { 771724ba675SRob Herring rockchip,pins = <0 RK_PD6 1 &pcfg_pull_default>; 772724ba675SRob Herring }; 773724ba675SRob Herring 774724ba675SRob Herring sdio_bus4: sdio-bus4 { 775724ba675SRob Herring rockchip,pins = <1 RK_PA1 2 &pcfg_pull_default>, 776724ba675SRob Herring <1 RK_PA2 2 &pcfg_pull_default>, 777724ba675SRob Herring <1 RK_PA4 2 &pcfg_pull_default>, 778724ba675SRob Herring <1 RK_PA5 2 &pcfg_pull_default>; 779724ba675SRob Herring }; 780724ba675SRob Herring }; 781724ba675SRob Herring 782724ba675SRob Herring sdmmc { 783724ba675SRob Herring sdmmc_clk: sdmmc-clk { 784724ba675SRob Herring rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>; 785724ba675SRob Herring }; 786724ba675SRob Herring 787724ba675SRob Herring sdmmc_cmd: sdmmc-cmd { 788724ba675SRob Herring rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>; 789724ba675SRob Herring }; 790724ba675SRob Herring 791724ba675SRob Herring sdmmc_wp: sdmmc-wp { 792724ba675SRob Herring rockchip,pins = <1 RK_PA7 1 &pcfg_pull_default>; 793724ba675SRob Herring }; 794724ba675SRob Herring 795724ba675SRob Herring sdmmc_pwren: sdmmc-pwren { 796724ba675SRob Herring rockchip,pins = <1 RK_PB6 1 &pcfg_pull_default>; 797724ba675SRob Herring }; 798724ba675SRob Herring 799724ba675SRob Herring sdmmc_bus4: sdmmc-bus4 { 800724ba675SRob Herring rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>, 801724ba675SRob Herring <1 RK_PC3 1 &pcfg_pull_default>, 802724ba675SRob Herring <1 RK_PC4 1 &pcfg_pull_default>, 803724ba675SRob Herring <1 RK_PC5 1 &pcfg_pull_default>; 804724ba675SRob Herring }; 805724ba675SRob Herring }; 806724ba675SRob Herring 807724ba675SRob Herring spdif { 808724ba675SRob Herring spdif_tx: spdif-tx { 809724ba675SRob Herring rockchip,pins = <3 RK_PD3 1 &pcfg_pull_none>; 810724ba675SRob Herring }; 811724ba675SRob Herring }; 812724ba675SRob Herring 813724ba675SRob Herring spi0 { 814724ba675SRob Herring spi0_clk: spi0-clk { 815724ba675SRob Herring rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>; 816724ba675SRob Herring }; 817724ba675SRob Herring 818724ba675SRob Herring spi0_cs0: spi0-cs0 { 819724ba675SRob Herring rockchip,pins = <1 RK_PB3 1 &pcfg_pull_default>; 820724ba675SRob Herring }; 821724ba675SRob Herring 822724ba675SRob Herring spi0_tx: spi0-tx { 823724ba675SRob Herring rockchip,pins = <1 RK_PB1 1 &pcfg_pull_default>; 824724ba675SRob Herring }; 825724ba675SRob Herring 826724ba675SRob Herring spi0_rx: spi0-rx { 827724ba675SRob Herring rockchip,pins = <1 RK_PB2 1 &pcfg_pull_default>; 828724ba675SRob Herring }; 829724ba675SRob Herring 830724ba675SRob Herring spi0_cs1: spi0-cs1 { 831724ba675SRob Herring rockchip,pins = <1 RK_PB4 1 &pcfg_pull_default>; 832724ba675SRob Herring }; 833724ba675SRob Herring 834724ba675SRob Herring spi1_clk: spi1-clk { 835724ba675SRob Herring rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>; 836724ba675SRob Herring }; 837724ba675SRob Herring 838724ba675SRob Herring spi1_cs0: spi1-cs0 { 839724ba675SRob Herring rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>; 840724ba675SRob Herring }; 841724ba675SRob Herring 842724ba675SRob Herring spi1_tx: spi1-tx { 843724ba675SRob Herring rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>; 844724ba675SRob Herring }; 845724ba675SRob Herring 846724ba675SRob Herring spi1_rx: spi1-rx { 847724ba675SRob Herring rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>; 848724ba675SRob Herring }; 849724ba675SRob Herring 850724ba675SRob Herring spi1_cs1: spi1-cs1 { 851724ba675SRob Herring rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>; 852724ba675SRob Herring }; 853724ba675SRob Herring 854724ba675SRob Herring spi2_clk: spi2-clk { 855724ba675SRob Herring rockchip,pins = <0 RK_PB1 2 &pcfg_pull_default>; 856724ba675SRob Herring }; 857724ba675SRob Herring 858724ba675SRob Herring spi2_cs0: spi2-cs0 { 859724ba675SRob Herring rockchip,pins = <0 RK_PB6 2 &pcfg_pull_default>; 860724ba675SRob Herring }; 861724ba675SRob Herring 862724ba675SRob Herring spi2_tx: spi2-tx { 863724ba675SRob Herring rockchip,pins = <0 RK_PB3 2 &pcfg_pull_default>; 864724ba675SRob Herring }; 865724ba675SRob Herring 866724ba675SRob Herring spi2_rx: spi2-rx { 867724ba675SRob Herring rockchip,pins = <0 RK_PB5 2 &pcfg_pull_default>; 868724ba675SRob Herring }; 869724ba675SRob Herring }; 870724ba675SRob Herring 871724ba675SRob Herring uart0 { 872724ba675SRob Herring uart0_xfer: uart0-xfer { 873724ba675SRob Herring rockchip,pins = <2 RK_PD2 2 &pcfg_pull_default>, 874724ba675SRob Herring <2 RK_PD3 2 &pcfg_pull_none>; 875724ba675SRob Herring }; 876724ba675SRob Herring 877724ba675SRob Herring uart0_cts: uart0-cts { 878724ba675SRob Herring rockchip,pins = <2 RK_PD5 2 &pcfg_pull_none>; 879724ba675SRob Herring }; 880724ba675SRob Herring 881724ba675SRob Herring uart0_rts: uart0-rts { 882724ba675SRob Herring rockchip,pins = <0 RK_PC1 2 &pcfg_pull_none>; 883724ba675SRob Herring }; 884724ba675SRob Herring }; 885724ba675SRob Herring 886724ba675SRob Herring uart1 { 887724ba675SRob Herring uart1_xfer: uart1-xfer { 888724ba675SRob Herring rockchip,pins = <1 RK_PB1 2 &pcfg_pull_default>, 889724ba675SRob Herring <1 RK_PB2 2 &pcfg_pull_default>; 890724ba675SRob Herring }; 891724ba675SRob Herring 892724ba675SRob Herring uart1_cts: uart1-cts { 893724ba675SRob Herring rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>; 894724ba675SRob Herring }; 895724ba675SRob Herring 896724ba675SRob Herring uart1_rts: uart1-rts { 897724ba675SRob Herring rockchip,pins = <1 RK_PB3 2 &pcfg_pull_none>; 898724ba675SRob Herring }; 899724ba675SRob Herring }; 900724ba675SRob Herring 901724ba675SRob Herring uart2 { 902724ba675SRob Herring uart2_xfer: uart2-xfer { 903724ba675SRob Herring rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>, 904724ba675SRob Herring <1 RK_PC3 2 &pcfg_pull_none>; 905724ba675SRob Herring }; 906724ba675SRob Herring 907724ba675SRob Herring uart2_cts: uart2-cts { 908724ba675SRob Herring rockchip,pins = <0 RK_PD1 1 &pcfg_pull_none>; 909724ba675SRob Herring }; 910724ba675SRob Herring 911724ba675SRob Herring uart2_rts: uart2-rts { 912724ba675SRob Herring rockchip,pins = <0 RK_PD0 1 &pcfg_pull_none>; 913724ba675SRob Herring }; 914724ba675SRob Herring }; 915724ba675SRob Herring }; 916724ba675SRob Herring}; 917