1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2724ba675SRob Herring 3724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 4724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 5724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 6724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h> 7724ba675SRob Herring#include <dt-bindings/clock/rk3036-cru.h> 8724ba675SRob Herring#include <dt-bindings/soc/rockchip,boot-mode.h> 9724ba675SRob Herring#include <dt-bindings/power/rk3036-power.h> 10724ba675SRob Herring 11724ba675SRob Herring/ { 12724ba675SRob Herring #address-cells = <1>; 13724ba675SRob Herring #size-cells = <1>; 14724ba675SRob Herring 15724ba675SRob Herring compatible = "rockchip,rk3036"; 16724ba675SRob Herring 17724ba675SRob Herring interrupt-parent = <&gic>; 18724ba675SRob Herring 19724ba675SRob Herring aliases { 20724ba675SRob Herring i2c0 = &i2c0; 21724ba675SRob Herring i2c1 = &i2c1; 22724ba675SRob Herring i2c2 = &i2c2; 23724ba675SRob Herring mshc0 = &emmc; 24724ba675SRob Herring mshc1 = &sdmmc; 25724ba675SRob Herring mshc2 = &sdio; 26724ba675SRob Herring serial0 = &uart0; 27724ba675SRob Herring serial1 = &uart1; 28724ba675SRob Herring serial2 = &uart2; 29724ba675SRob Herring spi = &spi; 30724ba675SRob Herring }; 31724ba675SRob Herring 32724ba675SRob Herring cpus { 33724ba675SRob Herring #address-cells = <1>; 34724ba675SRob Herring #size-cells = <0>; 35724ba675SRob Herring enable-method = "rockchip,rk3036-smp"; 36724ba675SRob Herring 37724ba675SRob Herring cpu0: cpu@f00 { 38724ba675SRob Herring device_type = "cpu"; 39724ba675SRob Herring compatible = "arm,cortex-a7"; 40724ba675SRob Herring reg = <0xf00>; 41724ba675SRob Herring resets = <&cru SRST_CORE0>; 42724ba675SRob Herring operating-points = < 43724ba675SRob Herring /* KHz uV */ 44724ba675SRob Herring 816000 1000000 45724ba675SRob Herring >; 46724ba675SRob Herring clock-latency = <40000>; 47724ba675SRob Herring clocks = <&cru ARMCLK>; 48724ba675SRob Herring }; 49724ba675SRob Herring 50724ba675SRob Herring cpu1: cpu@f01 { 51724ba675SRob Herring device_type = "cpu"; 52724ba675SRob Herring compatible = "arm,cortex-a7"; 53724ba675SRob Herring reg = <0xf01>; 54724ba675SRob Herring resets = <&cru SRST_CORE1>; 55724ba675SRob Herring }; 56724ba675SRob Herring }; 57724ba675SRob Herring 58724ba675SRob Herring arm-pmu { 59724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 60724ba675SRob Herring interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, 61724ba675SRob Herring <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; 62724ba675SRob Herring interrupt-affinity = <&cpu0>, <&cpu1>; 63724ba675SRob Herring }; 64724ba675SRob Herring 65724ba675SRob Herring display-subsystem { 66724ba675SRob Herring compatible = "rockchip,display-subsystem"; 67724ba675SRob Herring ports = <&vop_out>; 68724ba675SRob Herring }; 69724ba675SRob Herring 70724ba675SRob Herring timer { 71724ba675SRob Herring compatible = "arm,armv7-timer"; 72724ba675SRob Herring arm,cpu-registers-not-fw-configured; 73724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>, 74724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>, 75724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>, 76724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; 77724ba675SRob Herring clock-frequency = <24000000>; 78724ba675SRob Herring }; 79724ba675SRob Herring 80724ba675SRob Herring xin24m: oscillator { 81724ba675SRob Herring compatible = "fixed-clock"; 82724ba675SRob Herring clock-frequency = <24000000>; 83724ba675SRob Herring clock-output-names = "xin24m"; 84724ba675SRob Herring #clock-cells = <0>; 85724ba675SRob Herring }; 86724ba675SRob Herring 87724ba675SRob Herring bus_intmem: sram@10080000 { 88724ba675SRob Herring compatible = "mmio-sram"; 89724ba675SRob Herring reg = <0x10080000 0x2000>; 90724ba675SRob Herring #address-cells = <1>; 91724ba675SRob Herring #size-cells = <1>; 92724ba675SRob Herring ranges = <0 0x10080000 0x2000>; 93724ba675SRob Herring 94724ba675SRob Herring smp-sram@0 { 95724ba675SRob Herring compatible = "rockchip,rk3066-smp-sram"; 96724ba675SRob Herring reg = <0x00 0x10>; 97724ba675SRob Herring }; 98724ba675SRob Herring }; 99724ba675SRob Herring 100724ba675SRob Herring gpu: gpu@10090000 { 101724ba675SRob Herring compatible = "rockchip,rk3036-mali", "arm,mali-400"; 102724ba675SRob Herring reg = <0x10090000 0x10000>; 103724ba675SRob Herring interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 104724ba675SRob Herring <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 105724ba675SRob Herring <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 106724ba675SRob Herring <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 107724ba675SRob Herring interrupt-names = "gp", 108724ba675SRob Herring "gpmmu", 109724ba675SRob Herring "pp0", 110724ba675SRob Herring "ppmmu0"; 111724ba675SRob Herring assigned-clocks = <&cru SCLK_GPU>; 112724ba675SRob Herring assigned-clock-rates = <100000000>; 113724ba675SRob Herring clocks = <&cru SCLK_GPU>, <&cru SCLK_GPU>; 114724ba675SRob Herring clock-names = "bus", "core"; 115724ba675SRob Herring power-domains = <&power RK3036_PD_GPU>; 116724ba675SRob Herring resets = <&cru SRST_GPU>; 117724ba675SRob Herring status = "disabled"; 118724ba675SRob Herring }; 119724ba675SRob Herring 120724ba675SRob Herring vpu: video-codec@10108000 { 121724ba675SRob Herring compatible = "rockchip,rk3036-vpu"; 122724ba675SRob Herring reg = <0x10108000 0x800>; 123724ba675SRob Herring interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 124724ba675SRob Herring interrupt-names = "vdpu"; 125724ba675SRob Herring clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; 126724ba675SRob Herring clock-names = "aclk", "hclk"; 127724ba675SRob Herring iommus = <&vpu_mmu>; 128724ba675SRob Herring power-domains = <&power RK3036_PD_VPU>; 129724ba675SRob Herring }; 130724ba675SRob Herring 131724ba675SRob Herring vpu_mmu: iommu@10108800 { 132724ba675SRob Herring compatible = "rockchip,iommu"; 133724ba675SRob Herring reg = <0x10108800 0x100>; 134724ba675SRob Herring interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; 135724ba675SRob Herring clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; 136724ba675SRob Herring clock-names = "aclk", "iface"; 137724ba675SRob Herring power-domains = <&power RK3036_PD_VPU>; 138724ba675SRob Herring #iommu-cells = <0>; 139724ba675SRob Herring }; 140724ba675SRob Herring 141724ba675SRob Herring vop: vop@10118000 { 142724ba675SRob Herring compatible = "rockchip,rk3036-vop"; 143724ba675SRob Herring reg = <0x10118000 0x19c>; 144724ba675SRob Herring interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; 145724ba675SRob Herring clocks = <&cru ACLK_LCDC>, <&cru SCLK_LCDC>, <&cru HCLK_LCDC>; 146724ba675SRob Herring clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; 147724ba675SRob Herring resets = <&cru SRST_LCDC1_A>, <&cru SRST_LCDC1_H>, <&cru SRST_LCDC1_D>; 148724ba675SRob Herring reset-names = "axi", "ahb", "dclk"; 149724ba675SRob Herring iommus = <&vop_mmu>; 150724ba675SRob Herring power-domains = <&power RK3036_PD_VIO>; 151724ba675SRob Herring status = "disabled"; 152724ba675SRob Herring 153724ba675SRob Herring vop_out: port { 154724ba675SRob Herring #address-cells = <1>; 155724ba675SRob Herring #size-cells = <0>; 156724ba675SRob Herring vop_out_hdmi: endpoint@0 { 157724ba675SRob Herring reg = <0>; 158724ba675SRob Herring remote-endpoint = <&hdmi_in_vop>; 159724ba675SRob Herring }; 160724ba675SRob Herring }; 161724ba675SRob Herring }; 162724ba675SRob Herring 163724ba675SRob Herring vop_mmu: iommu@10118300 { 164724ba675SRob Herring compatible = "rockchip,iommu"; 165724ba675SRob Herring reg = <0x10118300 0x100>; 166724ba675SRob Herring interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; 167724ba675SRob Herring clocks = <&cru ACLK_LCDC>, <&cru HCLK_LCDC>; 168724ba675SRob Herring clock-names = "aclk", "iface"; 169724ba675SRob Herring power-domains = <&power RK3036_PD_VIO>; 170724ba675SRob Herring #iommu-cells = <0>; 171724ba675SRob Herring status = "disabled"; 172724ba675SRob Herring }; 173724ba675SRob Herring 174724ba675SRob Herring qos_gpu: qos@1012d000 { 175724ba675SRob Herring compatible = "rockchip,rk3036-qos", "syscon"; 176724ba675SRob Herring reg = <0x1012d000 0x20>; 177724ba675SRob Herring }; 178724ba675SRob Herring 179724ba675SRob Herring qos_vpu: qos@1012e000 { 180724ba675SRob Herring compatible = "rockchip,rk3036-qos", "syscon"; 181724ba675SRob Herring reg = <0x1012e000 0x20>; 182724ba675SRob Herring }; 183724ba675SRob Herring 184724ba675SRob Herring qos_vio: qos@1012f000 { 185724ba675SRob Herring compatible = "rockchip,rk3036-qos", "syscon"; 186724ba675SRob Herring reg = <0x1012f000 0x20>; 187724ba675SRob Herring }; 188724ba675SRob Herring 189724ba675SRob Herring gic: interrupt-controller@10139000 { 190724ba675SRob Herring compatible = "arm,gic-400"; 191724ba675SRob Herring interrupt-controller; 192724ba675SRob Herring #interrupt-cells = <3>; 193724ba675SRob Herring #address-cells = <0>; 194724ba675SRob Herring 195724ba675SRob Herring reg = <0x10139000 0x1000>, 196724ba675SRob Herring <0x1013a000 0x2000>, 197724ba675SRob Herring <0x1013c000 0x2000>, 198724ba675SRob Herring <0x1013e000 0x2000>; 199724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; 200724ba675SRob Herring }; 201724ba675SRob Herring 202724ba675SRob Herring usb_otg: usb@10180000 { 203724ba675SRob Herring compatible = "rockchip,rk3036-usb", "rockchip,rk3066-usb", 204724ba675SRob Herring "snps,dwc2"; 205724ba675SRob Herring reg = <0x10180000 0x40000>; 206724ba675SRob Herring interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 207724ba675SRob Herring clocks = <&cru HCLK_OTG0>; 208724ba675SRob Herring clock-names = "otg"; 209724ba675SRob Herring dr_mode = "otg"; 210724ba675SRob Herring g-np-tx-fifo-size = <16>; 211724ba675SRob Herring g-rx-fifo-size = <275>; 212724ba675SRob Herring g-tx-fifo-size = <256 128 128 64 64 32>; 213724ba675SRob Herring status = "disabled"; 214724ba675SRob Herring }; 215724ba675SRob Herring 216724ba675SRob Herring usb_host: usb@101c0000 { 217724ba675SRob Herring compatible = "rockchip,rk3036-usb", "rockchip,rk3066-usb", 218724ba675SRob Herring "snps,dwc2"; 219724ba675SRob Herring reg = <0x101c0000 0x40000>; 220724ba675SRob Herring interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 221724ba675SRob Herring clocks = <&cru HCLK_OTG1>; 222724ba675SRob Herring clock-names = "otg"; 223724ba675SRob Herring dr_mode = "host"; 224724ba675SRob Herring status = "disabled"; 225724ba675SRob Herring }; 226724ba675SRob Herring 227724ba675SRob Herring emac: ethernet@10200000 { 228724ba675SRob Herring compatible = "rockchip,rk3036-emac"; 229724ba675SRob Herring reg = <0x10200000 0x4000>; 230724ba675SRob Herring interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 231724ba675SRob Herring rockchip,grf = <&grf>; 232724ba675SRob Herring clocks = <&cru HCLK_MAC>, <&cru SCLK_MACREF>, <&cru SCLK_MAC>; 233724ba675SRob Herring clock-names = "hclk", "macref", "macclk"; 234724ba675SRob Herring /* 235724ba675SRob Herring * Fix the emac parent clock is DPLL instead of APLL. 236724ba675SRob Herring * since that will cause some unstable things if the cpufreq 237724ba675SRob Herring * is working. (e.g: the accurate 50MHz what mac_ref need) 238724ba675SRob Herring */ 239724ba675SRob Herring assigned-clocks = <&cru SCLK_MACPLL>; 240724ba675SRob Herring assigned-clock-parents = <&cru PLL_DPLL>; 241724ba675SRob Herring max-speed = <100>; 242724ba675SRob Herring phy-mode = "rmii"; 243724ba675SRob Herring status = "disabled"; 244724ba675SRob Herring }; 245724ba675SRob Herring 246724ba675SRob Herring sdmmc: mmc@10214000 { 247724ba675SRob Herring compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc"; 248724ba675SRob Herring reg = <0x10214000 0x4000>; 249724ba675SRob Herring clock-frequency = <37500000>; 250724ba675SRob Herring max-frequency = <37500000>; 251724ba675SRob Herring clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>; 252724ba675SRob Herring clock-names = "biu", "ciu"; 253724ba675SRob Herring fifo-depth = <0x100>; 254724ba675SRob Herring interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 255724ba675SRob Herring resets = <&cru SRST_MMC0>; 256724ba675SRob Herring reset-names = "reset"; 257724ba675SRob Herring status = "disabled"; 258724ba675SRob Herring }; 259724ba675SRob Herring 260724ba675SRob Herring sdio: mmc@10218000 { 261724ba675SRob Herring compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc"; 262724ba675SRob Herring reg = <0x10218000 0x4000>; 263724ba675SRob Herring max-frequency = <37500000>; 264724ba675SRob Herring clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, 265724ba675SRob Herring <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; 266724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 267724ba675SRob Herring fifo-depth = <0x100>; 268724ba675SRob Herring interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 269724ba675SRob Herring resets = <&cru SRST_SDIO>; 270724ba675SRob Herring reset-names = "reset"; 271724ba675SRob Herring status = "disabled"; 272724ba675SRob Herring }; 273724ba675SRob Herring 274724ba675SRob Herring emmc: mmc@1021c000 { 275724ba675SRob Herring compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc"; 276724ba675SRob Herring reg = <0x1021c000 0x4000>; 277724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 278724ba675SRob Herring bus-width = <8>; 279724ba675SRob Herring cap-mmc-highspeed; 280724ba675SRob Herring clock-frequency = <37500000>; 281724ba675SRob Herring max-frequency = <37500000>; 282724ba675SRob Herring clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, 283724ba675SRob Herring <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; 284724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 285724ba675SRob Herring rockchip,default-sample-phase = <158>; 286724ba675SRob Herring disable-wp; 287724ba675SRob Herring dmas = <&pdma 12>; 288724ba675SRob Herring dma-names = "rx-tx"; 289724ba675SRob Herring fifo-depth = <0x100>; 290724ba675SRob Herring mmc-ddr-1_8v; 291724ba675SRob Herring non-removable; 292724ba675SRob Herring pinctrl-names = "default"; 293724ba675SRob Herring pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; 294724ba675SRob Herring resets = <&cru SRST_EMMC>; 295724ba675SRob Herring reset-names = "reset"; 296724ba675SRob Herring status = "disabled"; 297724ba675SRob Herring }; 298724ba675SRob Herring 299724ba675SRob Herring i2s: i2s@10220000 { 300724ba675SRob Herring compatible = "rockchip,rk3036-i2s", "rockchip,rk3066-i2s"; 301724ba675SRob Herring reg = <0x10220000 0x4000>; 302724ba675SRob Herring interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; 303724ba675SRob Herring clock-names = "i2s_clk", "i2s_hclk"; 304724ba675SRob Herring clocks = <&cru SCLK_I2S>, <&cru HCLK_I2S>; 305724ba675SRob Herring dmas = <&pdma 0>, <&pdma 1>; 306724ba675SRob Herring dma-names = "tx", "rx"; 307724ba675SRob Herring pinctrl-names = "default"; 308724ba675SRob Herring pinctrl-0 = <&i2s_bus>; 309724ba675SRob Herring #sound-dai-cells = <0>; 310724ba675SRob Herring status = "disabled"; 311724ba675SRob Herring }; 312724ba675SRob Herring 313724ba675SRob Herring nfc: nand-controller@10500000 { 314724ba675SRob Herring compatible = "rockchip,rk3036-nfc", 315724ba675SRob Herring "rockchip,rk2928-nfc"; 316724ba675SRob Herring reg = <0x10500000 0x4000>; 317724ba675SRob Herring interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 318724ba675SRob Herring clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; 319724ba675SRob Herring clock-names = "ahb", "nfc"; 320724ba675SRob Herring assigned-clocks = <&cru SCLK_NANDC>; 321724ba675SRob Herring assigned-clock-rates = <150000000>; 322724ba675SRob Herring pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0 323724ba675SRob Herring &flash_rdn &flash_rdy &flash_wrn>; 324724ba675SRob Herring pinctrl-names = "default"; 325724ba675SRob Herring status = "disabled"; 326724ba675SRob Herring }; 327724ba675SRob Herring 328724ba675SRob Herring cru: clock-controller@20000000 { 329724ba675SRob Herring compatible = "rockchip,rk3036-cru"; 330724ba675SRob Herring reg = <0x20000000 0x1000>; 331724ba675SRob Herring clocks = <&xin24m>; 332724ba675SRob Herring clock-names = "xin24m"; 333724ba675SRob Herring rockchip,grf = <&grf>; 334724ba675SRob Herring #clock-cells = <1>; 335724ba675SRob Herring #reset-cells = <1>; 336724ba675SRob Herring assigned-clocks = <&cru PLL_GPLL>; 337724ba675SRob Herring assigned-clock-rates = <594000000>; 338724ba675SRob Herring }; 339724ba675SRob Herring 340724ba675SRob Herring grf: syscon@20008000 { 341724ba675SRob Herring compatible = "rockchip,rk3036-grf", "syscon", "simple-mfd"; 342724ba675SRob Herring reg = <0x20008000 0x1000>; 343724ba675SRob Herring 344724ba675SRob Herring power: power-controller { 345724ba675SRob Herring compatible = "rockchip,rk3036-power-controller"; 346724ba675SRob Herring #power-domain-cells = <1>; 347724ba675SRob Herring #address-cells = <1>; 348724ba675SRob Herring #size-cells = <0>; 349724ba675SRob Herring 350724ba675SRob Herring power-domain@RK3036_PD_VIO { 351724ba675SRob Herring reg = <RK3036_PD_VIO>; 352724ba675SRob Herring clocks = <&cru ACLK_LCDC>, 353724ba675SRob Herring <&cru HCLK_LCDC>, 354724ba675SRob Herring <&cru SCLK_LCDC>; 355724ba675SRob Herring pm_qos = <&qos_vio>; 356724ba675SRob Herring #power-domain-cells = <0>; 357724ba675SRob Herring }; 358724ba675SRob Herring 359724ba675SRob Herring power-domain@RK3036_PD_VPU { 360724ba675SRob Herring reg = <RK3036_PD_VPU>; 361724ba675SRob Herring clocks = <&cru ACLK_VCODEC>, 362724ba675SRob Herring <&cru HCLK_VCODEC>; 363724ba675SRob Herring pm_qos = <&qos_vpu>; 364724ba675SRob Herring #power-domain-cells = <0>; 365724ba675SRob Herring }; 366724ba675SRob Herring 367724ba675SRob Herring power-domain@RK3036_PD_GPU { 368724ba675SRob Herring reg = <RK3036_PD_GPU>; 369724ba675SRob Herring clocks = <&cru SCLK_GPU>; 370724ba675SRob Herring pm_qos = <&qos_gpu>; 371724ba675SRob Herring #power-domain-cells = <0>; 372724ba675SRob Herring }; 373724ba675SRob Herring }; 374724ba675SRob Herring 375724ba675SRob Herring reboot-mode { 376724ba675SRob Herring compatible = "syscon-reboot-mode"; 377724ba675SRob Herring offset = <0x1d8>; 378724ba675SRob Herring mode-normal = <BOOT_NORMAL>; 379724ba675SRob Herring mode-recovery = <BOOT_RECOVERY>; 380724ba675SRob Herring mode-bootloader = <BOOT_FASTBOOT>; 381724ba675SRob Herring mode-loader = <BOOT_BL_DOWNLOAD>; 382724ba675SRob Herring }; 383724ba675SRob Herring }; 384724ba675SRob Herring 385f3d09c23SHeiko Stuebner acodec: audio-codec@20030000 { 386f3d09c23SHeiko Stuebner compatible = "rockchip,rk3036-codec"; 387724ba675SRob Herring reg = <0x20030000 0x4000>; 388724ba675SRob Herring clock-names = "acodec_pclk"; 389724ba675SRob Herring clocks = <&cru PCLK_ACODEC>; 390f3d09c23SHeiko Stuebner rockchip,grf = <&grf>; 391f3d09c23SHeiko Stuebner #sound-dai-cells = <0>; 392724ba675SRob Herring status = "disabled"; 393724ba675SRob Herring }; 394724ba675SRob Herring 395724ba675SRob Herring hdmi: hdmi@20034000 { 396724ba675SRob Herring compatible = "rockchip,rk3036-inno-hdmi"; 397724ba675SRob Herring reg = <0x20034000 0x4000>; 398724ba675SRob Herring interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 399724ba675SRob Herring clocks = <&cru PCLK_HDMI>; 400724ba675SRob Herring clock-names = "pclk"; 401724ba675SRob Herring pinctrl-names = "default"; 402724ba675SRob Herring pinctrl-0 = <&hdmi_ctl>; 403724ba675SRob Herring status = "disabled"; 404724ba675SRob Herring 4059e5e41f6SJohan Jonker ports { 406724ba675SRob Herring #address-cells = <1>; 407724ba675SRob Herring #size-cells = <0>; 4089e5e41f6SJohan Jonker 4099e5e41f6SJohan Jonker hdmi_in: port@0 { 410724ba675SRob Herring reg = <0>; 4119e5e41f6SJohan Jonker 4129e5e41f6SJohan Jonker hdmi_in_vop: endpoint { 413724ba675SRob Herring remote-endpoint = <&vop_out_hdmi>; 414724ba675SRob Herring }; 415724ba675SRob Herring }; 4169e5e41f6SJohan Jonker 4179e5e41f6SJohan Jonker hdmi_out: port@1 { 4189e5e41f6SJohan Jonker reg = <1>; 4199e5e41f6SJohan Jonker }; 4209e5e41f6SJohan Jonker }; 421724ba675SRob Herring }; 422724ba675SRob Herring 423724ba675SRob Herring timer: timer@20044000 { 424724ba675SRob Herring compatible = "rockchip,rk3036-timer", "rockchip,rk3288-timer"; 425724ba675SRob Herring reg = <0x20044000 0x20>; 426724ba675SRob Herring interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 427724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 428724ba675SRob Herring clock-names = "pclk", "timer"; 429724ba675SRob Herring }; 430724ba675SRob Herring 431724ba675SRob Herring pwm0: pwm@20050000 { 432724ba675SRob Herring compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm"; 433724ba675SRob Herring reg = <0x20050000 0x10>; 434724ba675SRob Herring #pwm-cells = <3>; 435724ba675SRob Herring clocks = <&cru PCLK_PWM>; 436724ba675SRob Herring pinctrl-names = "default"; 437724ba675SRob Herring pinctrl-0 = <&pwm0_pin>; 438724ba675SRob Herring status = "disabled"; 439724ba675SRob Herring }; 440724ba675SRob Herring 441724ba675SRob Herring pwm1: pwm@20050010 { 442724ba675SRob Herring compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm"; 443724ba675SRob Herring reg = <0x20050010 0x10>; 444724ba675SRob Herring #pwm-cells = <3>; 445724ba675SRob Herring clocks = <&cru PCLK_PWM>; 446724ba675SRob Herring pinctrl-names = "default"; 447724ba675SRob Herring pinctrl-0 = <&pwm1_pin>; 448724ba675SRob Herring status = "disabled"; 449724ba675SRob Herring }; 450724ba675SRob Herring 451724ba675SRob Herring pwm2: pwm@20050020 { 452724ba675SRob Herring compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm"; 453724ba675SRob Herring reg = <0x20050020 0x10>; 454724ba675SRob Herring #pwm-cells = <3>; 455724ba675SRob Herring clocks = <&cru PCLK_PWM>; 456724ba675SRob Herring pinctrl-names = "default"; 457724ba675SRob Herring pinctrl-0 = <&pwm2_pin>; 458724ba675SRob Herring status = "disabled"; 459724ba675SRob Herring }; 460724ba675SRob Herring 461724ba675SRob Herring pwm3: pwm@20050030 { 462724ba675SRob Herring compatible = "rockchip,rk3036-pwm", "rockchip,rk2928-pwm"; 463724ba675SRob Herring reg = <0x20050030 0x10>; 464724ba675SRob Herring #pwm-cells = <2>; 465724ba675SRob Herring clocks = <&cru PCLK_PWM>; 466724ba675SRob Herring pinctrl-names = "default"; 467724ba675SRob Herring pinctrl-0 = <&pwm3_pin>; 468724ba675SRob Herring status = "disabled"; 469724ba675SRob Herring }; 470724ba675SRob Herring 471724ba675SRob Herring i2c1: i2c@20056000 { 472724ba675SRob Herring compatible = "rockchip,rk3036-i2c", "rockchip,rk3288-i2c"; 473724ba675SRob Herring reg = <0x20056000 0x1000>; 474724ba675SRob Herring interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 475724ba675SRob Herring #address-cells = <1>; 476724ba675SRob Herring #size-cells = <0>; 477724ba675SRob Herring clock-names = "i2c"; 478724ba675SRob Herring clocks = <&cru PCLK_I2C1>; 479724ba675SRob Herring pinctrl-names = "default"; 480724ba675SRob Herring pinctrl-0 = <&i2c1_xfer>; 481724ba675SRob Herring status = "disabled"; 482724ba675SRob Herring }; 483724ba675SRob Herring 484724ba675SRob Herring i2c2: i2c@2005a000 { 485724ba675SRob Herring compatible = "rockchip,rk3036-i2c", "rockchip,rk3288-i2c"; 486724ba675SRob Herring reg = <0x2005a000 0x1000>; 487724ba675SRob Herring interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 488724ba675SRob Herring #address-cells = <1>; 489724ba675SRob Herring #size-cells = <0>; 490724ba675SRob Herring clock-names = "i2c"; 491724ba675SRob Herring clocks = <&cru PCLK_I2C2>; 492724ba675SRob Herring pinctrl-names = "default"; 493724ba675SRob Herring pinctrl-0 = <&i2c2_xfer>; 494724ba675SRob Herring status = "disabled"; 495724ba675SRob Herring }; 496724ba675SRob Herring 497724ba675SRob Herring uart0: serial@20060000 { 498724ba675SRob Herring compatible = "rockchip,rk3036-uart", "snps,dw-apb-uart"; 499724ba675SRob Herring reg = <0x20060000 0x100>; 500724ba675SRob Herring interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 501724ba675SRob Herring reg-shift = <2>; 502724ba675SRob Herring reg-io-width = <4>; 503724ba675SRob Herring clock-frequency = <24000000>; 504724ba675SRob Herring clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 505724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 506724ba675SRob Herring pinctrl-names = "default"; 507724ba675SRob Herring pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; 508724ba675SRob Herring status = "disabled"; 509724ba675SRob Herring }; 510724ba675SRob Herring 511724ba675SRob Herring uart1: serial@20064000 { 512724ba675SRob Herring compatible = "rockchip,rk3036-uart", "snps,dw-apb-uart"; 513724ba675SRob Herring reg = <0x20064000 0x100>; 514724ba675SRob Herring interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 515724ba675SRob Herring reg-shift = <2>; 516724ba675SRob Herring reg-io-width = <4>; 517724ba675SRob Herring clock-frequency = <24000000>; 518724ba675SRob Herring clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; 519724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 520724ba675SRob Herring pinctrl-names = "default"; 521724ba675SRob Herring pinctrl-0 = <&uart1_xfer>; 522724ba675SRob Herring status = "disabled"; 523724ba675SRob Herring }; 524724ba675SRob Herring 525724ba675SRob Herring uart2: serial@20068000 { 526724ba675SRob Herring compatible = "rockchip,rk3036-uart", "snps,dw-apb-uart"; 527724ba675SRob Herring reg = <0x20068000 0x100>; 528724ba675SRob Herring interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 529724ba675SRob Herring reg-shift = <2>; 530724ba675SRob Herring reg-io-width = <4>; 531724ba675SRob Herring clock-frequency = <24000000>; 532724ba675SRob Herring clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; 533724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 534724ba675SRob Herring pinctrl-names = "default"; 535724ba675SRob Herring pinctrl-0 = <&uart2_xfer>; 536724ba675SRob Herring status = "disabled"; 537724ba675SRob Herring }; 538724ba675SRob Herring 539724ba675SRob Herring i2c0: i2c@20072000 { 540724ba675SRob Herring compatible = "rockchip,rk3036-i2c", "rockchip,rk3288-i2c"; 541724ba675SRob Herring reg = <0x20072000 0x1000>; 542724ba675SRob Herring interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 543724ba675SRob Herring #address-cells = <1>; 544724ba675SRob Herring #size-cells = <0>; 545724ba675SRob Herring clock-names = "i2c"; 546724ba675SRob Herring clocks = <&cru PCLK_I2C0>; 547724ba675SRob Herring pinctrl-names = "default"; 548724ba675SRob Herring pinctrl-0 = <&i2c0_xfer>; 549724ba675SRob Herring status = "disabled"; 550724ba675SRob Herring }; 551724ba675SRob Herring 552724ba675SRob Herring spi: spi@20074000 { 553*1a22d372SHeiko Stuebner compatible = "rockchip,rk3036-spi"; 554724ba675SRob Herring reg = <0x20074000 0x1000>; 555724ba675SRob Herring interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 556*1a22d372SHeiko Stuebner clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>; 557*1a22d372SHeiko Stuebner clock-names = "spiclk", "apb_pclk"; 558724ba675SRob Herring dmas = <&pdma 8>, <&pdma 9>; 559724ba675SRob Herring dma-names = "tx", "rx"; 560724ba675SRob Herring pinctrl-names = "default"; 561724ba675SRob Herring pinctrl-0 = <&spi_txd &spi_rxd &spi_clk &spi_cs0>; 562724ba675SRob Herring #address-cells = <1>; 563724ba675SRob Herring #size-cells = <0>; 564724ba675SRob Herring status = "disabled"; 565724ba675SRob Herring }; 566724ba675SRob Herring 567724ba675SRob Herring pdma: dma-controller@20078000 { 568724ba675SRob Herring compatible = "arm,pl330", "arm,primecell"; 569724ba675SRob Herring reg = <0x20078000 0x4000>; 570724ba675SRob Herring interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 571724ba675SRob Herring <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 572724ba675SRob Herring #dma-cells = <1>; 573724ba675SRob Herring arm,pl330-broken-no-flushp; 574724ba675SRob Herring arm,pl330-periph-burst; 575724ba675SRob Herring clocks = <&cru ACLK_DMAC2>; 576724ba675SRob Herring clock-names = "apb_pclk"; 577724ba675SRob Herring }; 578724ba675SRob Herring 579724ba675SRob Herring pinctrl: pinctrl { 580724ba675SRob Herring compatible = "rockchip,rk3036-pinctrl"; 581724ba675SRob Herring rockchip,grf = <&grf>; 582724ba675SRob Herring #address-cells = <1>; 583724ba675SRob Herring #size-cells = <1>; 584724ba675SRob Herring ranges; 585724ba675SRob Herring 586724ba675SRob Herring gpio0: gpio@2007c000 { 587724ba675SRob Herring compatible = "rockchip,gpio-bank"; 588724ba675SRob Herring reg = <0x2007c000 0x100>; 589724ba675SRob Herring interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 590724ba675SRob Herring clocks = <&cru PCLK_GPIO0>; 591724ba675SRob Herring 592724ba675SRob Herring gpio-controller; 593724ba675SRob Herring #gpio-cells = <2>; 594724ba675SRob Herring 595724ba675SRob Herring interrupt-controller; 596724ba675SRob Herring #interrupt-cells = <2>; 597724ba675SRob Herring }; 598724ba675SRob Herring 599724ba675SRob Herring gpio1: gpio@20080000 { 600724ba675SRob Herring compatible = "rockchip,gpio-bank"; 601724ba675SRob Herring reg = <0x20080000 0x100>; 602724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 603724ba675SRob Herring clocks = <&cru PCLK_GPIO1>; 604724ba675SRob Herring 605724ba675SRob Herring gpio-controller; 606724ba675SRob Herring #gpio-cells = <2>; 607724ba675SRob Herring 608724ba675SRob Herring interrupt-controller; 609724ba675SRob Herring #interrupt-cells = <2>; 610724ba675SRob Herring }; 611724ba675SRob Herring 612724ba675SRob Herring gpio2: gpio@20084000 { 613724ba675SRob Herring compatible = "rockchip,gpio-bank"; 614724ba675SRob Herring reg = <0x20084000 0x100>; 615724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 616724ba675SRob Herring clocks = <&cru PCLK_GPIO2>; 617724ba675SRob Herring 618724ba675SRob Herring gpio-controller; 619724ba675SRob Herring #gpio-cells = <2>; 620724ba675SRob Herring 621724ba675SRob Herring interrupt-controller; 622724ba675SRob Herring #interrupt-cells = <2>; 623724ba675SRob Herring }; 624724ba675SRob Herring 625724ba675SRob Herring pcfg_pull_default: pcfg-pull-default { 626724ba675SRob Herring bias-pull-pin-default; 627724ba675SRob Herring }; 628724ba675SRob Herring 629724ba675SRob Herring pcfg_pull_none: pcfg-pull-none { 630724ba675SRob Herring bias-disable; 631724ba675SRob Herring }; 632724ba675SRob Herring 633724ba675SRob Herring pwm0 { 634724ba675SRob Herring pwm0_pin: pwm0-pin { 635724ba675SRob Herring rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>; 636724ba675SRob Herring }; 637724ba675SRob Herring }; 638724ba675SRob Herring 639724ba675SRob Herring pwm1 { 640724ba675SRob Herring pwm1_pin: pwm1-pin { 641724ba675SRob Herring rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>; 642724ba675SRob Herring }; 643724ba675SRob Herring }; 644724ba675SRob Herring 645724ba675SRob Herring pwm2 { 646724ba675SRob Herring pwm2_pin: pwm2-pin { 647724ba675SRob Herring rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>; 648724ba675SRob Herring }; 649724ba675SRob Herring }; 650724ba675SRob Herring 651724ba675SRob Herring pwm3 { 652724ba675SRob Herring pwm3_pin: pwm3-pin { 653724ba675SRob Herring rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>; 654724ba675SRob Herring }; 655724ba675SRob Herring }; 656724ba675SRob Herring 657724ba675SRob Herring sdmmc { 658724ba675SRob Herring sdmmc_clk: sdmmc-clk { 659724ba675SRob Herring rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>; 660724ba675SRob Herring }; 661724ba675SRob Herring 662724ba675SRob Herring sdmmc_cmd: sdmmc-cmd { 663724ba675SRob Herring rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>; 664724ba675SRob Herring }; 665724ba675SRob Herring 666724ba675SRob Herring sdmmc_cd: sdmmc-cd { 667724ba675SRob Herring rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>; 668724ba675SRob Herring }; 669724ba675SRob Herring 670724ba675SRob Herring sdmmc_bus1: sdmmc-bus1 { 671724ba675SRob Herring rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>; 672724ba675SRob Herring }; 673724ba675SRob Herring 674724ba675SRob Herring sdmmc_bus4: sdmmc-bus4 { 675724ba675SRob Herring rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>, 676724ba675SRob Herring <1 RK_PC3 1 &pcfg_pull_default>, 677724ba675SRob Herring <1 RK_PC4 1 &pcfg_pull_default>, 678724ba675SRob Herring <1 RK_PC5 1 &pcfg_pull_default>; 679724ba675SRob Herring }; 680724ba675SRob Herring }; 681724ba675SRob Herring 682724ba675SRob Herring sdio { 683724ba675SRob Herring sdio_bus1: sdio-bus1 { 684724ba675SRob Herring rockchip,pins = <0 RK_PB3 1 &pcfg_pull_default>; 685724ba675SRob Herring }; 686724ba675SRob Herring 687724ba675SRob Herring sdio_bus4: sdio-bus4 { 688724ba675SRob Herring rockchip,pins = <0 RK_PB3 1 &pcfg_pull_default>, 689724ba675SRob Herring <0 RK_PB4 1 &pcfg_pull_default>, 690724ba675SRob Herring <0 RK_PB5 1 &pcfg_pull_default>, 691724ba675SRob Herring <0 RK_PB6 1 &pcfg_pull_default>; 692724ba675SRob Herring }; 693724ba675SRob Herring 694724ba675SRob Herring sdio_cmd: sdio-cmd { 695724ba675SRob Herring rockchip,pins = <0 RK_PB0 1 &pcfg_pull_default>; 696724ba675SRob Herring }; 697724ba675SRob Herring 698724ba675SRob Herring sdio_clk: sdio-clk { 699724ba675SRob Herring rockchip,pins = <0 RK_PB1 1 &pcfg_pull_none>; 700724ba675SRob Herring }; 701724ba675SRob Herring }; 702724ba675SRob Herring 703724ba675SRob Herring emmc { 704724ba675SRob Herring /* 705724ba675SRob Herring * We run eMMC at max speed; bump up drive strength. 706724ba675SRob Herring * We also have external pulls, so disable the internal ones. 707724ba675SRob Herring */ 708724ba675SRob Herring emmc_clk: emmc-clk { 709724ba675SRob Herring rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>; 710724ba675SRob Herring }; 711724ba675SRob Herring 712724ba675SRob Herring emmc_cmd: emmc-cmd { 713724ba675SRob Herring rockchip,pins = <2 RK_PA1 2 &pcfg_pull_default>; 714724ba675SRob Herring }; 715724ba675SRob Herring 716724ba675SRob Herring emmc_bus8: emmc-bus8 { 717724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 718724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_default>, 719724ba675SRob Herring <1 RK_PD2 2 &pcfg_pull_default>, 720724ba675SRob Herring <1 RK_PD3 2 &pcfg_pull_default>, 721724ba675SRob Herring <1 RK_PD4 2 &pcfg_pull_default>, 722724ba675SRob Herring <1 RK_PD5 2 &pcfg_pull_default>, 723724ba675SRob Herring <1 RK_PD6 2 &pcfg_pull_default>, 724724ba675SRob Herring <1 RK_PD7 2 &pcfg_pull_default>; 725724ba675SRob Herring }; 726724ba675SRob Herring }; 727724ba675SRob Herring 728724ba675SRob Herring nfc { 729724ba675SRob Herring flash_ale: flash-ale { 730724ba675SRob Herring rockchip,pins = <2 RK_PA0 1 &pcfg_pull_default>; 731724ba675SRob Herring }; 732724ba675SRob Herring 733724ba675SRob Herring flash_bus8: flash-bus8 { 734724ba675SRob Herring rockchip,pins = <1 RK_PD0 1 &pcfg_pull_default>, 735724ba675SRob Herring <1 RK_PD1 1 &pcfg_pull_default>, 736724ba675SRob Herring <1 RK_PD2 1 &pcfg_pull_default>, 737724ba675SRob Herring <1 RK_PD3 1 &pcfg_pull_default>, 738724ba675SRob Herring <1 RK_PD4 1 &pcfg_pull_default>, 739724ba675SRob Herring <1 RK_PD5 1 &pcfg_pull_default>, 740724ba675SRob Herring <1 RK_PD6 1 &pcfg_pull_default>, 741724ba675SRob Herring <1 RK_PD7 1 &pcfg_pull_default>; 742724ba675SRob Herring }; 743724ba675SRob Herring 744724ba675SRob Herring flash_cle: flash-cle { 745724ba675SRob Herring rockchip,pins = <2 RK_PA1 1 &pcfg_pull_default>; 746724ba675SRob Herring }; 747724ba675SRob Herring 748724ba675SRob Herring flash_csn0: flash-csn0 { 749724ba675SRob Herring rockchip,pins = <2 RK_PA6 1 &pcfg_pull_default>; 750724ba675SRob Herring }; 751724ba675SRob Herring 752724ba675SRob Herring flash_rdn: flash-rdn { 753724ba675SRob Herring rockchip,pins = <2 RK_PA3 1 &pcfg_pull_default>; 754724ba675SRob Herring }; 755724ba675SRob Herring 756724ba675SRob Herring flash_rdy: flash-rdy { 757724ba675SRob Herring rockchip,pins = <2 RK_PA4 1 &pcfg_pull_default>; 758724ba675SRob Herring }; 759724ba675SRob Herring 760724ba675SRob Herring flash_wrn: flash-wrn { 761724ba675SRob Herring rockchip,pins = <2 RK_PA2 1 &pcfg_pull_default>; 762724ba675SRob Herring }; 763724ba675SRob Herring }; 764724ba675SRob Herring 765724ba675SRob Herring emac { 766724ba675SRob Herring emac_xfer: emac-xfer { 767724ba675SRob Herring rockchip,pins = <2 RK_PB2 1 &pcfg_pull_default>, /* crs_dvalid */ 768724ba675SRob Herring <2 RK_PB5 1 &pcfg_pull_default>, /* tx_en */ 769724ba675SRob Herring <2 RK_PB6 1 &pcfg_pull_default>, /* mac_clk */ 770724ba675SRob Herring <2 RK_PB7 1 &pcfg_pull_default>, /* rx_err */ 771724ba675SRob Herring <2 RK_PC0 1 &pcfg_pull_default>, /* rxd1 */ 772724ba675SRob Herring <2 RK_PC1 1 &pcfg_pull_default>, /* rxd0 */ 773724ba675SRob Herring <2 RK_PC2 1 &pcfg_pull_default>, /* txd1 */ 774724ba675SRob Herring <2 RK_PC3 1 &pcfg_pull_default>; /* txd0 */ 775724ba675SRob Herring }; 776724ba675SRob Herring 777724ba675SRob Herring emac_mdio: emac-mdio { 778724ba675SRob Herring rockchip,pins = <2 RK_PB4 1 &pcfg_pull_default>, /* mac_md */ 779724ba675SRob Herring <2 RK_PD1 1 &pcfg_pull_default>; /* mac_mdclk */ 780724ba675SRob Herring }; 781724ba675SRob Herring }; 782724ba675SRob Herring 783724ba675SRob Herring i2c0 { 784724ba675SRob Herring i2c0_xfer: i2c0-xfer { 785724ba675SRob Herring rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>, 786724ba675SRob Herring <0 RK_PA1 1 &pcfg_pull_none>; 787724ba675SRob Herring }; 788724ba675SRob Herring }; 789724ba675SRob Herring 790724ba675SRob Herring i2c1 { 791724ba675SRob Herring i2c1_xfer: i2c1-xfer { 792724ba675SRob Herring rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>, 793724ba675SRob Herring <0 RK_PA3 1 &pcfg_pull_none>; 794724ba675SRob Herring }; 795724ba675SRob Herring }; 796724ba675SRob Herring 797724ba675SRob Herring i2c2 { 798724ba675SRob Herring i2c2_xfer: i2c2-xfer { 799724ba675SRob Herring rockchip,pins = <2 RK_PC4 1 &pcfg_pull_none>, 800724ba675SRob Herring <2 RK_PC5 1 &pcfg_pull_none>; 801724ba675SRob Herring }; 802724ba675SRob Herring }; 803724ba675SRob Herring 804724ba675SRob Herring i2s { 805724ba675SRob Herring i2s_bus: i2s-bus { 806724ba675SRob Herring rockchip,pins = <1 RK_PA0 1 &pcfg_pull_default>, 807724ba675SRob Herring <1 RK_PA1 1 &pcfg_pull_default>, 808724ba675SRob Herring <1 RK_PA2 1 &pcfg_pull_default>, 809724ba675SRob Herring <1 RK_PA3 1 &pcfg_pull_default>, 810724ba675SRob Herring <1 RK_PA4 1 &pcfg_pull_default>, 811724ba675SRob Herring <1 RK_PA5 1 &pcfg_pull_default>; 812724ba675SRob Herring }; 813724ba675SRob Herring }; 814724ba675SRob Herring 815724ba675SRob Herring hdmi { 816724ba675SRob Herring hdmi_ctl: hdmi-ctl { 817724ba675SRob Herring rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>, 818724ba675SRob Herring <1 RK_PB1 1 &pcfg_pull_none>, 819724ba675SRob Herring <1 RK_PB2 1 &pcfg_pull_none>, 820724ba675SRob Herring <1 RK_PB3 1 &pcfg_pull_none>; 821724ba675SRob Herring }; 822724ba675SRob Herring }; 823724ba675SRob Herring 824724ba675SRob Herring uart0 { 825724ba675SRob Herring uart0_xfer: uart0-xfer { 826724ba675SRob Herring rockchip,pins = <0 RK_PC0 1 &pcfg_pull_default>, 827724ba675SRob Herring <0 RK_PC1 1 &pcfg_pull_none>; 828724ba675SRob Herring }; 829724ba675SRob Herring 830724ba675SRob Herring uart0_cts: uart0-cts { 831724ba675SRob Herring rockchip,pins = <0 RK_PC2 1 &pcfg_pull_default>; 832724ba675SRob Herring }; 833724ba675SRob Herring 834724ba675SRob Herring uart0_rts: uart0-rts { 835724ba675SRob Herring rockchip,pins = <0 RK_PC3 1 &pcfg_pull_none>; 836724ba675SRob Herring }; 837724ba675SRob Herring }; 838724ba675SRob Herring 839724ba675SRob Herring uart1 { 840724ba675SRob Herring uart1_xfer: uart1-xfer { 841724ba675SRob Herring rockchip,pins = <2 RK_PC6 1 &pcfg_pull_default>, 842724ba675SRob Herring <2 RK_PC7 1 &pcfg_pull_none>; 843724ba675SRob Herring }; 844724ba675SRob Herring /* no rts / cts for uart1 */ 845724ba675SRob Herring }; 846724ba675SRob Herring 847724ba675SRob Herring uart2 { 848724ba675SRob Herring uart2_xfer: uart2-xfer { 849724ba675SRob Herring rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>, 850724ba675SRob Herring <1 RK_PC3 2 &pcfg_pull_none>; 851724ba675SRob Herring }; 852724ba675SRob Herring /* no rts / cts for uart2 */ 853724ba675SRob Herring }; 854724ba675SRob Herring 855724ba675SRob Herring spi-pins { 856724ba675SRob Herring spi_txd:spi-txd { 857724ba675SRob Herring rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>; 858724ba675SRob Herring }; 859724ba675SRob Herring 860724ba675SRob Herring spi_rxd:spi-rxd { 861724ba675SRob Herring rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>; 862724ba675SRob Herring }; 863724ba675SRob Herring 864724ba675SRob Herring spi_clk:spi-clk { 865724ba675SRob Herring rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>; 866724ba675SRob Herring }; 867724ba675SRob Herring 868724ba675SRob Herring spi_cs0:spi-cs0 { 869724ba675SRob Herring rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>; 870724ba675SRob Herring 871724ba675SRob Herring }; 872724ba675SRob Herring 873724ba675SRob Herring spi_cs1:spi-cs1 { 874724ba675SRob Herring rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>; 875724ba675SRob Herring 876724ba675SRob Herring }; 877724ba675SRob Herring }; 878724ba675SRob Herring }; 879724ba675SRob Herring}; 880