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> 11edc4802dSAlex Bee#include <dt-bindings/power/rk3128-power.h> 12724ba675SRob Herring 13724ba675SRob Herring/ { 14724ba675SRob Herring compatible = "rockchip,rk3128"; 15724ba675SRob Herring interrupt-parent = <&gic>; 16724ba675SRob Herring #address-cells = <1>; 17724ba675SRob Herring #size-cells = <1>; 18724ba675SRob Herring 195ca860fbSAlex Bee aliases { 205ca860fbSAlex Bee gpio0 = &gpio0; 215ca860fbSAlex Bee gpio1 = &gpio1; 225ca860fbSAlex Bee gpio2 = &gpio2; 235ca860fbSAlex Bee gpio3 = &gpio3; 24697b3973SAlex Bee i2c0 = &i2c0; 25697b3973SAlex Bee i2c1 = &i2c1; 26697b3973SAlex Bee i2c2 = &i2c2; 27697b3973SAlex Bee i2c3 = &i2c3; 2833898f21SAlex Bee serial0 = &uart0; 2933898f21SAlex Bee serial1 = &uart1; 3033898f21SAlex Bee serial2 = &uart2; 315ca860fbSAlex Bee }; 325ca860fbSAlex Bee 33724ba675SRob Herring arm-pmu { 34724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 35724ba675SRob Herring interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, 36724ba675SRob Herring <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, 37724ba675SRob Herring <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>, 38724ba675SRob Herring <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 39724ba675SRob Herring interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 40724ba675SRob Herring }; 41724ba675SRob Herring 42724ba675SRob Herring cpus { 43724ba675SRob Herring #address-cells = <1>; 44724ba675SRob Herring #size-cells = <0>; 45da8b9739SAlex Bee enable-method = "rockchip,rk3036-smp"; 46724ba675SRob Herring 47724ba675SRob Herring cpu0: cpu@f00 { 48724ba675SRob Herring device_type = "cpu"; 49724ba675SRob Herring compatible = "arm,cortex-a7"; 50724ba675SRob Herring reg = <0xf00>; 51724ba675SRob Herring clock-latency = <40000>; 52724ba675SRob Herring clocks = <&cru ARMCLK>; 5302941bc2SAlex Bee resets = <&cru SRST_CORE0>; 54c96b13d7SAlex Bee operating-points-v2 = <&cpu_opp_table>; 55724ba675SRob Herring #cooling-cells = <2>; /* min followed by max */ 56724ba675SRob Herring }; 57724ba675SRob Herring 58724ba675SRob Herring cpu1: cpu@f01 { 59724ba675SRob Herring device_type = "cpu"; 60724ba675SRob Herring compatible = "arm,cortex-a7"; 61724ba675SRob Herring reg = <0xf01>; 6202941bc2SAlex Bee resets = <&cru SRST_CORE1>; 63c96b13d7SAlex Bee operating-points-v2 = <&cpu_opp_table>; 64724ba675SRob Herring }; 65724ba675SRob Herring 66724ba675SRob Herring cpu2: cpu@f02 { 67724ba675SRob Herring device_type = "cpu"; 68724ba675SRob Herring compatible = "arm,cortex-a7"; 69724ba675SRob Herring reg = <0xf02>; 7002941bc2SAlex Bee resets = <&cru SRST_CORE2>; 71c96b13d7SAlex Bee operating-points-v2 = <&cpu_opp_table>; 72724ba675SRob Herring }; 73724ba675SRob Herring 74724ba675SRob Herring cpu3: cpu@f03 { 75724ba675SRob Herring device_type = "cpu"; 76724ba675SRob Herring compatible = "arm,cortex-a7"; 77724ba675SRob Herring reg = <0xf03>; 7802941bc2SAlex Bee resets = <&cru SRST_CORE3>; 79c96b13d7SAlex Bee operating-points-v2 = <&cpu_opp_table>; 80c96b13d7SAlex Bee }; 81c96b13d7SAlex Bee }; 82c96b13d7SAlex Bee 83c96b13d7SAlex Bee cpu_opp_table: opp-table-0 { 84c96b13d7SAlex Bee compatible = "operating-points-v2"; 85c96b13d7SAlex Bee opp-shared; 86c96b13d7SAlex Bee 87c96b13d7SAlex Bee opp-216000000 { 88c96b13d7SAlex Bee opp-hz = /bits/ 64 <216000000>; 89c96b13d7SAlex Bee opp-microvolt = <950000 950000 1325000>; 90c96b13d7SAlex Bee }; 91c96b13d7SAlex Bee opp-408000000 { 92c96b13d7SAlex Bee opp-hz = /bits/ 64 <408000000>; 93c96b13d7SAlex Bee opp-microvolt = <950000 950000 1325000>; 94c96b13d7SAlex Bee }; 95c96b13d7SAlex Bee opp-600000000 { 96c96b13d7SAlex Bee opp-hz = /bits/ 64 <600000000>; 97c96b13d7SAlex Bee opp-microvolt = <950000 950000 1325000>; 98c96b13d7SAlex Bee }; 99c96b13d7SAlex Bee opp-696000000 { 100c96b13d7SAlex Bee opp-hz = /bits/ 64 <696000000>; 101c96b13d7SAlex Bee opp-microvolt = <975000 975000 1325000>; 102c96b13d7SAlex Bee }; 103c96b13d7SAlex Bee opp-816000000 { 104c96b13d7SAlex Bee opp-hz = /bits/ 64 <816000000>; 105c96b13d7SAlex Bee opp-microvolt = <1075000 1075000 1325000>; 106c96b13d7SAlex Bee opp-suspend; 107c96b13d7SAlex Bee }; 108c96b13d7SAlex Bee opp-1008000000 { 109c96b13d7SAlex Bee opp-hz = /bits/ 64 <1008000000>; 110c96b13d7SAlex Bee opp-microvolt = <1200000 1200000 1325000>; 111c96b13d7SAlex Bee }; 112c96b13d7SAlex Bee opp-1200000000 { 113c96b13d7SAlex Bee opp-hz = /bits/ 64 <1200000000>; 114c96b13d7SAlex Bee opp-microvolt = <1325000 1325000 1325000>; 115724ba675SRob Herring }; 116724ba675SRob Herring }; 117724ba675SRob Herring 118695b9b57SAlex Bee display_subsystem: display-subsystem { 119695b9b57SAlex Bee compatible = "rockchip,display-subsystem"; 120695b9b57SAlex Bee ports = <&vop_out>; 121695b9b57SAlex Bee status = "disabled"; 122695b9b57SAlex Bee }; 123695b9b57SAlex Bee 1249ca8b8f8SAlex Bee gpu_opp_table: opp-table-1 { 1259ca8b8f8SAlex Bee compatible = "operating-points-v2"; 1269ca8b8f8SAlex Bee 1279ca8b8f8SAlex Bee opp-200000000 { 1289ca8b8f8SAlex Bee opp-hz = /bits/ 64 <200000000>; 1299ca8b8f8SAlex Bee opp-microvolt = <975000 975000 1250000>; 1309ca8b8f8SAlex Bee }; 1319ca8b8f8SAlex Bee opp-300000000 { 1329ca8b8f8SAlex Bee opp-hz = /bits/ 64 <300000000>; 1339ca8b8f8SAlex Bee opp-microvolt = <1050000 1050000 1250000>; 1349ca8b8f8SAlex Bee }; 1359ca8b8f8SAlex Bee opp-400000000 { 1369ca8b8f8SAlex Bee opp-hz = /bits/ 64 <400000000>; 1379ca8b8f8SAlex Bee opp-microvolt = <1150000 1150000 1250000>; 1389ca8b8f8SAlex Bee }; 1399ca8b8f8SAlex Bee opp-480000000 { 1409ca8b8f8SAlex Bee opp-hz = /bits/ 64 <480000000>; 1419ca8b8f8SAlex Bee opp-microvolt = <1250000 1250000 1250000>; 1429ca8b8f8SAlex Bee }; 1439ca8b8f8SAlex Bee }; 1449ca8b8f8SAlex Bee 145724ba675SRob Herring timer { 146724ba675SRob Herring compatible = "arm,armv7-timer"; 147724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 148724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1497e3be9eaSAlex Bee <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, 1507e3be9eaSAlex Bee <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 151724ba675SRob Herring arm,cpu-registers-not-fw-configured; 152724ba675SRob Herring clock-frequency = <24000000>; 153724ba675SRob Herring }; 154724ba675SRob Herring 155724ba675SRob Herring xin24m: oscillator { 156724ba675SRob Herring compatible = "fixed-clock"; 157724ba675SRob Herring clock-frequency = <24000000>; 158724ba675SRob Herring clock-output-names = "xin24m"; 159724ba675SRob Herring #clock-cells = <0>; 160724ba675SRob Herring }; 161724ba675SRob Herring 1629107283bSAlex Bee imem: sram@10080000 { 1639107283bSAlex Bee compatible = "mmio-sram"; 1649107283bSAlex Bee reg = <0x10080000 0x2000>; 1659107283bSAlex Bee #address-cells = <1>; 1669107283bSAlex Bee #size-cells = <1>; 1679107283bSAlex Bee ranges = <0 0x10080000 0x2000>; 168da8b9739SAlex Bee 169da8b9739SAlex Bee smp-sram@0 { 170da8b9739SAlex Bee compatible = "rockchip,rk3066-smp-sram"; 171da8b9739SAlex Bee reg = <0x00 0x10>; 172da8b9739SAlex Bee }; 1739107283bSAlex Bee }; 1749107283bSAlex Bee 1759ca8b8f8SAlex Bee gpu: gpu@10090000 { 1769ca8b8f8SAlex Bee compatible = "rockchip,rk3128-mali", "arm,mali-400"; 1779ca8b8f8SAlex Bee reg = <0x10090000 0x10000>; 1789ca8b8f8SAlex Bee interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 1799ca8b8f8SAlex Bee <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 1809ca8b8f8SAlex Bee <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 1819ca8b8f8SAlex Bee <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 1829ca8b8f8SAlex Bee <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 1839ca8b8f8SAlex Bee <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 1849ca8b8f8SAlex Bee interrupt-names = "gp", 1859ca8b8f8SAlex Bee "gpmmu", 1869ca8b8f8SAlex Bee "pp0", 1879ca8b8f8SAlex Bee "ppmmu0", 1889ca8b8f8SAlex Bee "pp1", 1899ca8b8f8SAlex Bee "ppmmu1"; 1909ca8b8f8SAlex Bee clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>; 1919ca8b8f8SAlex Bee clock-names = "bus", "core"; 1929ca8b8f8SAlex Bee operating-points-v2 = <&gpu_opp_table>; 1939ca8b8f8SAlex Bee resets = <&cru SRST_GPU>; 1949ca8b8f8SAlex Bee power-domains = <&power RK3128_PD_GPU>; 1959ca8b8f8SAlex Bee status = "disabled"; 1969ca8b8f8SAlex Bee }; 1979ca8b8f8SAlex Bee 198724ba675SRob Herring pmu: syscon@100a0000 { 199724ba675SRob Herring compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd"; 200724ba675SRob Herring reg = <0x100a0000 0x1000>; 201edc4802dSAlex Bee 202edc4802dSAlex Bee power: power-controller { 203edc4802dSAlex Bee compatible = "rockchip,rk3128-power-controller"; 204edc4802dSAlex Bee #power-domain-cells = <1>; 205edc4802dSAlex Bee #address-cells = <1>; 206edc4802dSAlex Bee #size-cells = <0>; 207edc4802dSAlex Bee 208edc4802dSAlex Bee power-domain@RK3128_PD_VIO { 209edc4802dSAlex Bee reg = <RK3128_PD_VIO>; 210edc4802dSAlex Bee clocks = <&cru ACLK_CIF>, 211edc4802dSAlex Bee <&cru HCLK_CIF>, 212edc4802dSAlex Bee <&cru DCLK_EBC>, 213edc4802dSAlex Bee <&cru HCLK_EBC>, 214edc4802dSAlex Bee <&cru ACLK_IEP>, 215edc4802dSAlex Bee <&cru HCLK_IEP>, 216edc4802dSAlex Bee <&cru ACLK_LCDC0>, 217edc4802dSAlex Bee <&cru HCLK_LCDC0>, 218edc4802dSAlex Bee <&cru PCLK_MIPI>, 21965896f4aSAlex Bee <&cru PCLK_MIPIPHY>, 22065896f4aSAlex Bee <&cru SCLK_MIPI_24M>, 221edc4802dSAlex Bee <&cru ACLK_RGA>, 222edc4802dSAlex Bee <&cru HCLK_RGA>, 223edc4802dSAlex Bee <&cru ACLK_VIO0>, 224edc4802dSAlex Bee <&cru ACLK_VIO1>, 225edc4802dSAlex Bee <&cru HCLK_VIO>, 226edc4802dSAlex Bee <&cru HCLK_VIO_H2P>, 227edc4802dSAlex Bee <&cru DCLK_VOP>, 228edc4802dSAlex Bee <&cru SCLK_VOP>; 229edc4802dSAlex Bee pm_qos = <&qos_ebc>, 230edc4802dSAlex Bee <&qos_iep>, 231edc4802dSAlex Bee <&qos_lcdc>, 232edc4802dSAlex Bee <&qos_rga>, 233edc4802dSAlex Bee <&qos_vip>; 234edc4802dSAlex Bee #power-domain-cells = <0>; 235edc4802dSAlex Bee }; 236edc4802dSAlex Bee 237edc4802dSAlex Bee power-domain@RK3128_PD_VIDEO { 238edc4802dSAlex Bee reg = <RK3128_PD_VIDEO>; 239edc4802dSAlex Bee clocks = <&cru ACLK_VDPU>, 240edc4802dSAlex Bee <&cru HCLK_VDPU>, 241edc4802dSAlex Bee <&cru ACLK_VEPU>, 242edc4802dSAlex Bee <&cru HCLK_VEPU>, 243edc4802dSAlex Bee <&cru SCLK_HEVC_CORE>; 244edc4802dSAlex Bee pm_qos = <&qos_vpu>; 245edc4802dSAlex Bee #power-domain-cells = <0>; 246edc4802dSAlex Bee }; 247edc4802dSAlex Bee 248edc4802dSAlex Bee power-domain@RK3128_PD_GPU { 249edc4802dSAlex Bee reg = <RK3128_PD_GPU>; 250edc4802dSAlex Bee clocks = <&cru ACLK_GPU>; 251edc4802dSAlex Bee pm_qos = <&qos_gpu>; 252edc4802dSAlex Bee #power-domain-cells = <0>; 253edc4802dSAlex Bee }; 254edc4802dSAlex Bee }; 255edc4802dSAlex Bee }; 256edc4802dSAlex Bee 257695b9b57SAlex Bee vop: vop@1010e000 { 258695b9b57SAlex Bee compatible = "rockchip,rk3126-vop"; 259695b9b57SAlex Bee reg = <0x1010e000 0x300>; 260695b9b57SAlex Bee interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 261695b9b57SAlex Bee clocks = <&cru ACLK_LCDC0>, <&cru DCLK_VOP>, 262695b9b57SAlex Bee <&cru HCLK_LCDC0>; 263695b9b57SAlex Bee clock-names = "aclk_vop", "dclk_vop", 264695b9b57SAlex Bee "hclk_vop"; 265695b9b57SAlex Bee resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, 266695b9b57SAlex Bee <&cru SRST_VOP_D>; 267695b9b57SAlex Bee reset-names = "axi", "ahb", 268695b9b57SAlex Bee "dclk"; 269695b9b57SAlex Bee power-domains = <&power RK3128_PD_VIO>; 270695b9b57SAlex Bee status = "disabled"; 271695b9b57SAlex Bee 272695b9b57SAlex Bee vop_out: port { 273695b9b57SAlex Bee #address-cells = <1>; 274695b9b57SAlex Bee #size-cells = <0>; 2753fd6e33fSAlex Bee 2763fd6e33fSAlex Bee vop_out_hdmi: endpoint@0 { 2773fd6e33fSAlex Bee reg = <0>; 2783fd6e33fSAlex Bee remote-endpoint = <&hdmi_in_vop>; 2793fd6e33fSAlex Bee }; 280171ea1ffSAlex Bee 281171ea1ffSAlex Bee vop_out_dsi: endpoint@1 { 282171ea1ffSAlex Bee reg = <1>; 283171ea1ffSAlex Bee remote-endpoint = <&dsi_in_vop>; 284171ea1ffSAlex Bee }; 285171ea1ffSAlex Bee }; 286171ea1ffSAlex Bee }; 287171ea1ffSAlex Bee 288171ea1ffSAlex Bee dsi: dsi@10110000 { 289171ea1ffSAlex Bee compatible = "rockchip,rk3128-mipi-dsi", "snps,dw-mipi-dsi"; 290171ea1ffSAlex Bee reg = <0x10110000 0x4000>; 291171ea1ffSAlex Bee interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 292171ea1ffSAlex Bee clocks = <&cru PCLK_MIPI>; 293171ea1ffSAlex Bee clock-names = "pclk"; 294171ea1ffSAlex Bee phys = <&dphy>; 295171ea1ffSAlex Bee phy-names = "dphy"; 296171ea1ffSAlex Bee power-domains = <&power RK3128_PD_VIO>; 297171ea1ffSAlex Bee resets = <&cru SRST_VIO_MIPI_DSI>; 298171ea1ffSAlex Bee reset-names = "apb"; 299171ea1ffSAlex Bee rockchip,grf = <&grf>; 300171ea1ffSAlex Bee status = "disabled"; 301171ea1ffSAlex Bee 302171ea1ffSAlex Bee ports { 303171ea1ffSAlex Bee #address-cells = <1>; 304171ea1ffSAlex Bee #size-cells = <0>; 305171ea1ffSAlex Bee 306171ea1ffSAlex Bee dsi_in: port@0 { 307171ea1ffSAlex Bee reg = <0>; 308171ea1ffSAlex Bee 309171ea1ffSAlex Bee dsi_in_vop: endpoint { 310171ea1ffSAlex Bee remote-endpoint = <&vop_out_dsi>; 311171ea1ffSAlex Bee }; 312171ea1ffSAlex Bee }; 313171ea1ffSAlex Bee 314171ea1ffSAlex Bee dsi_out: port@1 { 315171ea1ffSAlex Bee reg = <1>; 316171ea1ffSAlex Bee }; 317695b9b57SAlex Bee }; 318695b9b57SAlex Bee }; 319695b9b57SAlex Bee 320edc4802dSAlex Bee qos_gpu: qos@1012d000 { 321edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 322edc4802dSAlex Bee reg = <0x1012d000 0x20>; 323edc4802dSAlex Bee }; 324edc4802dSAlex Bee 325edc4802dSAlex Bee qos_vpu: qos@1012e000 { 326edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 327edc4802dSAlex Bee reg = <0x1012e000 0x20>; 328edc4802dSAlex Bee }; 329edc4802dSAlex Bee 330edc4802dSAlex Bee qos_rga: qos@1012f000 { 331edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 332edc4802dSAlex Bee reg = <0x1012f000 0x20>; 333edc4802dSAlex Bee }; 334edc4802dSAlex Bee 335edc4802dSAlex Bee qos_ebc: qos@1012f080 { 336edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 337edc4802dSAlex Bee reg = <0x1012f080 0x20>; 338edc4802dSAlex Bee }; 339edc4802dSAlex Bee 340edc4802dSAlex Bee qos_iep: qos@1012f100 { 341edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 342edc4802dSAlex Bee reg = <0x1012f100 0x20>; 343edc4802dSAlex Bee }; 344edc4802dSAlex Bee 345edc4802dSAlex Bee qos_lcdc: qos@1012f180 { 346edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 347edc4802dSAlex Bee reg = <0x1012f180 0x20>; 348edc4802dSAlex Bee }; 349edc4802dSAlex Bee 350edc4802dSAlex Bee qos_vip: qos@1012f200 { 351edc4802dSAlex Bee compatible = "rockchip,rk3128-qos", "syscon"; 352edc4802dSAlex Bee reg = <0x1012f200 0x20>; 353724ba675SRob Herring }; 354724ba675SRob Herring 355724ba675SRob Herring gic: interrupt-controller@10139000 { 356724ba675SRob Herring compatible = "arm,cortex-a7-gic"; 357724ba675SRob Herring reg = <0x10139000 0x1000>, 358724ba675SRob Herring <0x1013a000 0x1000>, 359724ba675SRob Herring <0x1013c000 0x2000>, 360724ba675SRob Herring <0x1013e000 0x2000>; 361724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 362724ba675SRob Herring interrupt-controller; 363724ba675SRob Herring #interrupt-cells = <3>; 364724ba675SRob Herring #address-cells = <0>; 365724ba675SRob Herring }; 366724ba675SRob Herring 367724ba675SRob Herring usb_otg: usb@10180000 { 368724ba675SRob Herring compatible = "rockchip,rk3128-usb", "rockchip,rk3066-usb", "snps,dwc2"; 369724ba675SRob Herring reg = <0x10180000 0x40000>; 370724ba675SRob Herring interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 371724ba675SRob Herring clocks = <&cru HCLK_OTG>; 372724ba675SRob Herring clock-names = "otg"; 373724ba675SRob Herring dr_mode = "otg"; 3744b12245eSAlex Bee g-np-tx-fifo-size = <16>; 3754b12245eSAlex Bee g-rx-fifo-size = <280>; 3764b12245eSAlex Bee g-tx-fifo-size = <256 128 128 64 32 16>; 377724ba675SRob Herring phys = <&usb2phy_otg>; 378724ba675SRob Herring phy-names = "usb2-phy"; 379724ba675SRob Herring status = "disabled"; 380724ba675SRob Herring }; 381724ba675SRob Herring 382724ba675SRob Herring usb_host_ehci: usb@101c0000 { 383724ba675SRob Herring compatible = "generic-ehci"; 384724ba675SRob Herring reg = <0x101c0000 0x20000>; 385724ba675SRob Herring interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 386759d6bd9SAlex Bee clocks = <&cru HCLK_HOST2>; 387724ba675SRob Herring phys = <&usb2phy_host>; 388724ba675SRob Herring phy-names = "usb"; 389724ba675SRob Herring status = "disabled"; 390724ba675SRob Herring }; 391724ba675SRob Herring 392724ba675SRob Herring usb_host_ohci: usb@101e0000 { 393724ba675SRob Herring compatible = "generic-ohci"; 394724ba675SRob Herring reg = <0x101e0000 0x20000>; 395724ba675SRob Herring interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 396759d6bd9SAlex Bee clocks = <&cru HCLK_HOST2>; 397724ba675SRob Herring phys = <&usb2phy_host>; 398724ba675SRob Herring phy-names = "usb"; 399724ba675SRob Herring status = "disabled"; 400724ba675SRob Herring }; 401724ba675SRob Herring 402f8742715SAlex Bee i2s_8ch: i2s@10200000 { 403f8742715SAlex Bee compatible = "rockchip,rk3128-i2s", "rockchip,rk3066-i2s"; 404f8742715SAlex Bee reg = <0x10200000 0x1000>; 405f8742715SAlex Bee interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; 406f8742715SAlex Bee clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S_8CH>; 407f8742715SAlex Bee clock-names = "i2s_clk", "i2s_hclk"; 408f8742715SAlex Bee dmas = <&pdma 14>, <&pdma 15>; 409f8742715SAlex Bee dma-names = "tx", "rx"; 410f8742715SAlex Bee #sound-dai-cells = <0>; 411f8742715SAlex Bee status = "disabled"; 412f8742715SAlex Bee }; 413f8742715SAlex Bee 414d244d6ccSAlex Bee spdif: spdif@10204000 { 415d244d6ccSAlex Bee compatible = "rockchip,rk3128-spdif", "rockchip,rk3066-spdif"; 416d244d6ccSAlex Bee reg = <0x10204000 0x1000>; 417d244d6ccSAlex Bee interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; 418d244d6ccSAlex Bee clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF>; 419d244d6ccSAlex Bee clock-names = "mclk", "hclk"; 420d244d6ccSAlex Bee dmas = <&pdma 13>; 421d244d6ccSAlex Bee dma-names = "tx"; 422d244d6ccSAlex Bee pinctrl-names = "default"; 423d244d6ccSAlex Bee pinctrl-0 = <&spdif_tx>; 424d244d6ccSAlex Bee #sound-dai-cells = <0>; 425d244d6ccSAlex Bee status = "disabled"; 426d244d6ccSAlex Bee }; 427d244d6ccSAlex Bee 42854c799c3SAlex Bee sfc: spi@1020c000 { 42954c799c3SAlex Bee compatible = "rockchip,sfc"; 43054c799c3SAlex Bee reg = <0x1020c000 0x8000>; 43154c799c3SAlex Bee interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 43254c799c3SAlex Bee clocks = <&cru SCLK_SFC>, <&cru 479>; 43354c799c3SAlex Bee clock-names = "clk_sfc", "hclk_sfc"; 43454c799c3SAlex Bee status = "disabled"; 43554c799c3SAlex Bee }; 43654c799c3SAlex Bee 437724ba675SRob Herring sdmmc: mmc@10214000 { 438724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 439724ba675SRob Herring reg = <0x10214000 0x4000>; 440724ba675SRob Herring interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 441724ba675SRob Herring clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, 442724ba675SRob Herring <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; 443724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 444724ba675SRob Herring dmas = <&pdma 10>; 445724ba675SRob Herring dma-names = "rx-tx"; 446724ba675SRob Herring fifo-depth = <256>; 447724ba675SRob Herring max-frequency = <150000000>; 448724ba675SRob Herring resets = <&cru SRST_SDMMC>; 449724ba675SRob Herring reset-names = "reset"; 450724ba675SRob Herring status = "disabled"; 451724ba675SRob Herring }; 452724ba675SRob Herring 453724ba675SRob Herring sdio: mmc@10218000 { 454724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 455724ba675SRob Herring reg = <0x10218000 0x4000>; 456724ba675SRob Herring interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 457724ba675SRob Herring clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, 458724ba675SRob Herring <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; 459724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 460724ba675SRob Herring dmas = <&pdma 11>; 461724ba675SRob Herring dma-names = "rx-tx"; 462724ba675SRob Herring fifo-depth = <256>; 463724ba675SRob Herring max-frequency = <150000000>; 464724ba675SRob Herring resets = <&cru SRST_SDIO>; 465724ba675SRob Herring reset-names = "reset"; 466724ba675SRob Herring status = "disabled"; 467724ba675SRob Herring }; 468724ba675SRob Herring 469724ba675SRob Herring emmc: mmc@1021c000 { 470724ba675SRob Herring compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc"; 471724ba675SRob Herring reg = <0x1021c000 0x4000>; 472724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 473724ba675SRob Herring clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, 474724ba675SRob Herring <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; 475724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 476724ba675SRob Herring dmas = <&pdma 12>; 477724ba675SRob Herring dma-names = "rx-tx"; 478724ba675SRob Herring fifo-depth = <256>; 479724ba675SRob Herring max-frequency = <150000000>; 480724ba675SRob Herring resets = <&cru SRST_EMMC>; 481724ba675SRob Herring reset-names = "reset"; 482724ba675SRob Herring status = "disabled"; 483724ba675SRob Herring }; 484724ba675SRob Herring 485f8742715SAlex Bee i2s_2ch: i2s@10220000 { 486f8742715SAlex Bee compatible = "rockchip,rk3128-i2s", "rockchip,rk3066-i2s"; 487f8742715SAlex Bee reg = <0x10220000 0x1000>; 488f8742715SAlex Bee interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 489f8742715SAlex Bee clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S_2CH>; 490f8742715SAlex Bee clock-names = "i2s_clk", "i2s_hclk"; 491f8742715SAlex Bee dmas = <&pdma 0>, <&pdma 1>; 492f8742715SAlex Bee dma-names = "tx", "rx"; 493f8742715SAlex Bee rockchip,playback-channels = <2>; 494f8742715SAlex Bee pinctrl-names = "default"; 495f8742715SAlex Bee pinctrl-0 = <&i2s_bus>; 496f8742715SAlex Bee #sound-dai-cells = <0>; 497f8742715SAlex Bee status = "disabled"; 498f8742715SAlex Bee }; 499f8742715SAlex Bee 500724ba675SRob Herring nfc: nand-controller@10500000 { 501724ba675SRob Herring compatible = "rockchip,rk3128-nfc", "rockchip,rk2928-nfc"; 502724ba675SRob Herring reg = <0x10500000 0x4000>; 503724ba675SRob Herring interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 504724ba675SRob Herring clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; 505724ba675SRob Herring clock-names = "ahb", "nfc"; 506724ba675SRob Herring pinctrl-names = "default"; 507724ba675SRob Herring pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0 508724ba675SRob Herring &flash_dqs &flash_rdn &flash_rdy &flash_wrn>; 509724ba675SRob Herring status = "disabled"; 510724ba675SRob Herring }; 511724ba675SRob Herring 512724ba675SRob Herring cru: clock-controller@20000000 { 513724ba675SRob Herring compatible = "rockchip,rk3128-cru"; 514724ba675SRob Herring reg = <0x20000000 0x1000>; 515724ba675SRob Herring clocks = <&xin24m>; 516724ba675SRob Herring clock-names = "xin24m"; 517724ba675SRob Herring rockchip,grf = <&grf>; 518724ba675SRob Herring #clock-cells = <1>; 519724ba675SRob Herring #reset-cells = <1>; 520724ba675SRob Herring assigned-clocks = <&cru PLL_GPLL>; 521724ba675SRob Herring assigned-clock-rates = <594000000>; 522724ba675SRob Herring }; 523724ba675SRob Herring 524724ba675SRob Herring grf: syscon@20008000 { 525724ba675SRob Herring compatible = "rockchip,rk3128-grf", "syscon", "simple-mfd"; 526724ba675SRob Herring reg = <0x20008000 0x1000>; 527724ba675SRob Herring #address-cells = <1>; 528724ba675SRob Herring #size-cells = <1>; 529724ba675SRob Herring 530724ba675SRob Herring usb2phy: usb2phy@17c { 531724ba675SRob Herring compatible = "rockchip,rk3128-usb2phy"; 532724ba675SRob Herring reg = <0x017c 0x0c>; 533724ba675SRob Herring clocks = <&cru SCLK_OTGPHY0>; 534724ba675SRob Herring clock-names = "phyclk"; 535724ba675SRob Herring clock-output-names = "usb480m_phy"; 536fd610e60SAlex Bee assigned-clocks = <&cru SCLK_USB480M>; 537fd610e60SAlex Bee assigned-clock-parents = <&usb2phy>; 538724ba675SRob Herring #clock-cells = <0>; 539724ba675SRob Herring status = "disabled"; 540724ba675SRob Herring 541724ba675SRob Herring usb2phy_host: host-port { 542724ba675SRob Herring interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; 543724ba675SRob Herring interrupt-names = "linestate"; 544724ba675SRob Herring #phy-cells = <0>; 545724ba675SRob Herring status = "disabled"; 546724ba675SRob Herring }; 547724ba675SRob Herring 548724ba675SRob Herring usb2phy_otg: otg-port { 549724ba675SRob Herring interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, 550724ba675SRob Herring <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, 551724ba675SRob Herring <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; 552724ba675SRob Herring interrupt-names = "otg-bvalid", "otg-id", 553724ba675SRob Herring "linestate"; 554724ba675SRob Herring #phy-cells = <0>; 555724ba675SRob Herring status = "disabled"; 556724ba675SRob Herring }; 557724ba675SRob Herring }; 558724ba675SRob Herring }; 559724ba675SRob Herring 5603fd6e33fSAlex Bee hdmi: hdmi@20034000 { 5613fd6e33fSAlex Bee compatible = "rockchip,rk3128-inno-hdmi"; 5623fd6e33fSAlex Bee reg = <0x20034000 0x4000>; 5633fd6e33fSAlex Bee interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 5643fd6e33fSAlex Bee clocks = <&cru PCLK_HDMI>, <&cru DCLK_VOP>; 5653fd6e33fSAlex Bee clock-names = "pclk", "ref"; 5663fd6e33fSAlex Bee pinctrl-names = "default"; 5673fd6e33fSAlex Bee pinctrl-0 = <&hdmii2c_xfer &hdmi_hpd &hdmi_cec>; 5683fd6e33fSAlex Bee power-domains = <&power RK3128_PD_VIO>; 569*313da6f6SJohan Jonker #sound-dai-cells = <0>; 5703fd6e33fSAlex Bee status = "disabled"; 5713fd6e33fSAlex Bee 5723fd6e33fSAlex Bee ports { 5733fd6e33fSAlex Bee #address-cells = <1>; 5743fd6e33fSAlex Bee #size-cells = <0>; 5753fd6e33fSAlex Bee 5763fd6e33fSAlex Bee hdmi_in: port@0 { 5773fd6e33fSAlex Bee reg = <0>; 5783fd6e33fSAlex Bee hdmi_in_vop: endpoint { 5793fd6e33fSAlex Bee remote-endpoint = <&vop_out_hdmi>; 5803fd6e33fSAlex Bee }; 5813fd6e33fSAlex Bee }; 5823fd6e33fSAlex Bee 5833fd6e33fSAlex Bee hdmi_out: port@1 { 5843fd6e33fSAlex Bee reg = <1>; 5853fd6e33fSAlex Bee }; 5863fd6e33fSAlex Bee }; 5873fd6e33fSAlex Bee }; 5883fd6e33fSAlex Bee 58965896f4aSAlex Bee dphy: phy@20038000 { 59065896f4aSAlex Bee compatible = "rockchip,rk3128-dsi-dphy"; 59165896f4aSAlex Bee reg = <0x20038000 0x4000>; 59265896f4aSAlex Bee clocks = <&cru SCLK_MIPI_24M>, <&cru PCLK_MIPIPHY>; 59365896f4aSAlex Bee clock-names = "ref", "pclk"; 59465896f4aSAlex Bee #phy-cells = <0>; 59565896f4aSAlex Bee power-domains = <&power RK3128_PD_VIO>; 59665896f4aSAlex Bee resets = <&cru SRST_MIPIPHY_P>; 59765896f4aSAlex Bee reset-names = "apb"; 59865896f4aSAlex Bee status = "disabled"; 59965896f4aSAlex Bee }; 60065896f4aSAlex Bee 601724ba675SRob Herring timer0: timer@20044000 { 602724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 603724ba675SRob Herring reg = <0x20044000 0x20>; 604724ba675SRob Herring interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 6052c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>; 606724ba675SRob Herring clock-names = "pclk", "timer"; 607724ba675SRob Herring }; 608724ba675SRob Herring 609724ba675SRob Herring timer1: timer@20044020 { 610724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 611724ba675SRob Herring reg = <0x20044020 0x20>; 612724ba675SRob Herring interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 6132c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER1>; 614724ba675SRob Herring clock-names = "pclk", "timer"; 615724ba675SRob Herring }; 616724ba675SRob Herring 617724ba675SRob Herring timer2: timer@20044040 { 618724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 619724ba675SRob Herring reg = <0x20044040 0x20>; 620724ba675SRob Herring interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; 6212c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER2>; 622724ba675SRob Herring clock-names = "pclk", "timer"; 623724ba675SRob Herring }; 624724ba675SRob Herring 625724ba675SRob Herring timer3: timer@20044060 { 626724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 627724ba675SRob Herring reg = <0x20044060 0x20>; 628724ba675SRob Herring interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 6292c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER3>; 630724ba675SRob Herring clock-names = "pclk", "timer"; 631724ba675SRob Herring }; 632724ba675SRob Herring 633724ba675SRob Herring timer4: timer@20044080 { 634724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 635724ba675SRob Herring reg = <0x20044080 0x20>; 636724ba675SRob Herring interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 6372c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER4>; 638724ba675SRob Herring clock-names = "pclk", "timer"; 639724ba675SRob Herring }; 640724ba675SRob Herring 641724ba675SRob Herring timer5: timer@200440a0 { 642724ba675SRob Herring compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; 643724ba675SRob Herring reg = <0x200440a0 0x20>; 644724ba675SRob Herring interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 6452c68d26fSAlex Bee clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER5>; 646724ba675SRob Herring clock-names = "pclk", "timer"; 647724ba675SRob Herring }; 648724ba675SRob Herring 649724ba675SRob Herring watchdog: watchdog@2004c000 { 650724ba675SRob Herring compatible = "rockchip,rk3128-wdt", "snps,dw-wdt"; 651724ba675SRob Herring reg = <0x2004c000 0x100>; 652724ba675SRob Herring interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 653724ba675SRob Herring clocks = <&cru PCLK_WDT>; 654724ba675SRob Herring status = "disabled"; 655724ba675SRob Herring }; 656724ba675SRob Herring 657724ba675SRob Herring pwm0: pwm@20050000 { 658724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 659724ba675SRob Herring reg = <0x20050000 0x10>; 660724ba675SRob Herring clocks = <&cru PCLK_PWM>; 661724ba675SRob Herring pinctrl-names = "default"; 662724ba675SRob Herring pinctrl-0 = <&pwm0_pin>; 663724ba675SRob Herring #pwm-cells = <3>; 664724ba675SRob Herring status = "disabled"; 665724ba675SRob Herring }; 666724ba675SRob Herring 667724ba675SRob Herring pwm1: pwm@20050010 { 668724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 669724ba675SRob Herring reg = <0x20050010 0x10>; 670724ba675SRob Herring clocks = <&cru PCLK_PWM>; 671724ba675SRob Herring pinctrl-names = "default"; 672724ba675SRob Herring pinctrl-0 = <&pwm1_pin>; 673724ba675SRob Herring #pwm-cells = <3>; 674724ba675SRob Herring status = "disabled"; 675724ba675SRob Herring }; 676724ba675SRob Herring 677724ba675SRob Herring pwm2: pwm@20050020 { 678724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 679724ba675SRob Herring reg = <0x20050020 0x10>; 680724ba675SRob Herring clocks = <&cru PCLK_PWM>; 681724ba675SRob Herring pinctrl-names = "default"; 682724ba675SRob Herring pinctrl-0 = <&pwm2_pin>; 683724ba675SRob Herring #pwm-cells = <3>; 684724ba675SRob Herring status = "disabled"; 685724ba675SRob Herring }; 686724ba675SRob Herring 687724ba675SRob Herring pwm3: pwm@20050030 { 688724ba675SRob Herring compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm"; 689724ba675SRob Herring reg = <0x20050030 0x10>; 690724ba675SRob Herring clocks = <&cru PCLK_PWM>; 691724ba675SRob Herring pinctrl-names = "default"; 692724ba675SRob Herring pinctrl-0 = <&pwm3_pin>; 693724ba675SRob Herring #pwm-cells = <3>; 694724ba675SRob Herring status = "disabled"; 695724ba675SRob Herring }; 696724ba675SRob Herring 697724ba675SRob Herring i2c1: i2c@20056000 { 698724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 699724ba675SRob Herring reg = <0x20056000 0x1000>; 700724ba675SRob Herring interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 701724ba675SRob Herring clock-names = "i2c"; 702724ba675SRob Herring clocks = <&cru PCLK_I2C1>; 703724ba675SRob Herring pinctrl-names = "default"; 704724ba675SRob Herring pinctrl-0 = <&i2c1_xfer>; 705724ba675SRob Herring #address-cells = <1>; 706724ba675SRob Herring #size-cells = <0>; 707724ba675SRob Herring status = "disabled"; 708724ba675SRob Herring }; 709724ba675SRob Herring 710724ba675SRob Herring i2c2: i2c@2005a000 { 711724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 712724ba675SRob Herring reg = <0x2005a000 0x1000>; 713724ba675SRob Herring interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 714724ba675SRob Herring clock-names = "i2c"; 715724ba675SRob Herring clocks = <&cru PCLK_I2C2>; 716724ba675SRob Herring pinctrl-names = "default"; 717724ba675SRob Herring pinctrl-0 = <&i2c2_xfer>; 718724ba675SRob Herring #address-cells = <1>; 719724ba675SRob Herring #size-cells = <0>; 720724ba675SRob Herring status = "disabled"; 721724ba675SRob Herring }; 722724ba675SRob Herring 723724ba675SRob Herring i2c3: i2c@2005e000 { 724724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 725724ba675SRob Herring reg = <0x2005e000 0x1000>; 726724ba675SRob Herring interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 727724ba675SRob Herring clock-names = "i2c"; 728724ba675SRob Herring clocks = <&cru PCLK_I2C3>; 729724ba675SRob Herring pinctrl-names = "default"; 730724ba675SRob Herring pinctrl-0 = <&i2c3_xfer>; 731724ba675SRob Herring #address-cells = <1>; 732724ba675SRob Herring #size-cells = <0>; 733724ba675SRob Herring status = "disabled"; 734724ba675SRob Herring }; 735724ba675SRob Herring 736724ba675SRob Herring uart0: serial@20060000 { 737724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 738724ba675SRob Herring reg = <0x20060000 0x100>; 739724ba675SRob Herring interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 740724ba675SRob Herring clock-frequency = <24000000>; 741724ba675SRob Herring clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 742724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 743724ba675SRob Herring dmas = <&pdma 2>, <&pdma 3>; 744724ba675SRob Herring dma-names = "tx", "rx"; 745724ba675SRob Herring pinctrl-names = "default"; 746724ba675SRob Herring pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; 747724ba675SRob Herring reg-io-width = <4>; 748724ba675SRob Herring reg-shift = <2>; 749724ba675SRob Herring status = "disabled"; 750724ba675SRob Herring }; 751724ba675SRob Herring 752724ba675SRob Herring uart1: serial@20064000 { 753724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 754724ba675SRob Herring reg = <0x20064000 0x100>; 755724ba675SRob Herring interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 756724ba675SRob Herring clock-frequency = <24000000>; 757724ba675SRob Herring clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; 758724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 759724ba675SRob Herring dmas = <&pdma 4>, <&pdma 5>; 760724ba675SRob Herring dma-names = "tx", "rx"; 761724ba675SRob Herring pinctrl-names = "default"; 762724ba675SRob Herring pinctrl-0 = <&uart1_xfer>; 763724ba675SRob Herring reg-io-width = <4>; 764724ba675SRob Herring reg-shift = <2>; 765724ba675SRob Herring status = "disabled"; 766724ba675SRob Herring }; 767724ba675SRob Herring 768724ba675SRob Herring uart2: serial@20068000 { 769724ba675SRob Herring compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart"; 770724ba675SRob Herring reg = <0x20068000 0x100>; 771724ba675SRob Herring interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 772724ba675SRob Herring clock-frequency = <24000000>; 773724ba675SRob Herring clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; 774724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 775724ba675SRob Herring dmas = <&pdma 6>, <&pdma 7>; 776724ba675SRob Herring dma-names = "tx", "rx"; 777724ba675SRob Herring pinctrl-names = "default"; 778724ba675SRob Herring pinctrl-0 = <&uart2_xfer>; 779724ba675SRob Herring reg-io-width = <4>; 780724ba675SRob Herring reg-shift = <2>; 781724ba675SRob Herring status = "disabled"; 782724ba675SRob Herring }; 783724ba675SRob Herring 784724ba675SRob Herring saradc: saradc@2006c000 { 785724ba675SRob Herring compatible = "rockchip,saradc"; 786724ba675SRob Herring reg = <0x2006c000 0x100>; 787724ba675SRob Herring interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 788724ba675SRob Herring clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>; 789724ba675SRob Herring clock-names = "saradc", "apb_pclk"; 790724ba675SRob Herring resets = <&cru SRST_SARADC>; 791724ba675SRob Herring reset-names = "saradc-apb"; 792724ba675SRob Herring #io-channel-cells = <1>; 793724ba675SRob Herring status = "disabled"; 794724ba675SRob Herring }; 795724ba675SRob Herring 796724ba675SRob Herring i2c0: i2c@20072000 { 797724ba675SRob Herring compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; 7982e9cbc41SAlex Bee reg = <0x20072000 0x1000>; 799724ba675SRob Herring interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 800724ba675SRob Herring clock-names = "i2c"; 801724ba675SRob Herring clocks = <&cru PCLK_I2C0>; 802724ba675SRob Herring pinctrl-names = "default"; 803724ba675SRob Herring pinctrl-0 = <&i2c0_xfer>; 804724ba675SRob Herring #address-cells = <1>; 805724ba675SRob Herring #size-cells = <0>; 806724ba675SRob Herring status = "disabled"; 807724ba675SRob Herring }; 808724ba675SRob Herring 809724ba675SRob Herring spi0: spi@20074000 { 810724ba675SRob Herring compatible = "rockchip,rk3128-spi", "rockchip,rk3066-spi"; 811724ba675SRob Herring reg = <0x20074000 0x1000>; 812724ba675SRob Herring interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 813724ba675SRob Herring clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>; 814724ba675SRob Herring clock-names = "spiclk", "apb_pclk"; 815724ba675SRob Herring dmas = <&pdma 8>, <&pdma 9>; 816724ba675SRob Herring dma-names = "tx", "rx"; 817724ba675SRob Herring pinctrl-names = "default"; 818724ba675SRob Herring pinctrl-0 = <&spi0_tx &spi0_rx &spi0_clk &spi0_cs0 &spi0_cs1>; 819724ba675SRob Herring #address-cells = <1>; 820724ba675SRob Herring #size-cells = <0>; 821724ba675SRob Herring status = "disabled"; 822724ba675SRob Herring }; 823724ba675SRob Herring 824724ba675SRob Herring pdma: dma-controller@20078000 { 825724ba675SRob Herring compatible = "arm,pl330", "arm,primecell"; 826724ba675SRob Herring reg = <0x20078000 0x4000>; 827724ba675SRob Herring interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 828724ba675SRob Herring <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 829724ba675SRob Herring arm,pl330-broken-no-flushp; 830b0b4e978SAlex Bee arm,pl330-periph-burst; 831724ba675SRob Herring clocks = <&cru ACLK_DMAC>; 832724ba675SRob Herring clock-names = "apb_pclk"; 833724ba675SRob Herring #dma-cells = <1>; 834724ba675SRob Herring }; 835724ba675SRob Herring 8363d880c31SAlex Bee gmac: ethernet@2008c000 { 8373d880c31SAlex Bee compatible = "rockchip,rk3128-gmac"; 8383d880c31SAlex Bee reg = <0x2008c000 0x4000>; 8393d880c31SAlex Bee interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, 8403d880c31SAlex Bee <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 8413d880c31SAlex Bee interrupt-names = "macirq", "eth_wake_irq"; 8423d880c31SAlex Bee clocks = <&cru SCLK_MAC>, 8433d880c31SAlex Bee <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>, 8443d880c31SAlex Bee <&cru SCLK_MAC_REF>, <&cru SCLK_MAC_REFOUT>, 8453d880c31SAlex Bee <&cru ACLK_GMAC>, <&cru PCLK_GMAC>; 8463d880c31SAlex Bee clock-names = "stmmaceth", 8473d880c31SAlex Bee "mac_clk_rx", "mac_clk_tx", 8483d880c31SAlex Bee "clk_mac_ref", "clk_mac_refout", 8493d880c31SAlex Bee "aclk_mac", "pclk_mac"; 8503d880c31SAlex Bee resets = <&cru SRST_GMAC>; 8513d880c31SAlex Bee reset-names = "stmmaceth"; 8523d880c31SAlex Bee rockchip,grf = <&grf>; 8533d880c31SAlex Bee rx-fifo-depth = <4096>; 8543d880c31SAlex Bee tx-fifo-depth = <2048>; 8553d880c31SAlex Bee status = "disabled"; 8563d880c31SAlex Bee 8573d880c31SAlex Bee mdio: mdio { 8583d880c31SAlex Bee compatible = "snps,dwmac-mdio"; 8593d880c31SAlex Bee #address-cells = <0x1>; 8603d880c31SAlex Bee #size-cells = <0x0>; 8613d880c31SAlex Bee }; 8623d880c31SAlex Bee }; 8633d880c31SAlex Bee 864724ba675SRob Herring pinctrl: pinctrl { 865724ba675SRob Herring compatible = "rockchip,rk3128-pinctrl"; 866724ba675SRob Herring rockchip,grf = <&grf>; 867724ba675SRob Herring #address-cells = <1>; 868724ba675SRob Herring #size-cells = <1>; 869724ba675SRob Herring ranges; 870724ba675SRob Herring 871724ba675SRob Herring gpio0: gpio@2007c000 { 872724ba675SRob Herring compatible = "rockchip,gpio-bank"; 873724ba675SRob Herring reg = <0x2007c000 0x100>; 874724ba675SRob Herring interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 875724ba675SRob Herring clocks = <&cru PCLK_GPIO0>; 876724ba675SRob Herring gpio-controller; 877724ba675SRob Herring #gpio-cells = <2>; 878724ba675SRob Herring interrupt-controller; 879724ba675SRob Herring #interrupt-cells = <2>; 880724ba675SRob Herring }; 881724ba675SRob Herring 882724ba675SRob Herring gpio1: gpio@20080000 { 883724ba675SRob Herring compatible = "rockchip,gpio-bank"; 884724ba675SRob Herring reg = <0x20080000 0x100>; 885724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 886724ba675SRob Herring clocks = <&cru PCLK_GPIO1>; 887724ba675SRob Herring gpio-controller; 888724ba675SRob Herring #gpio-cells = <2>; 889724ba675SRob Herring interrupt-controller; 890724ba675SRob Herring #interrupt-cells = <2>; 891724ba675SRob Herring }; 892724ba675SRob Herring 893724ba675SRob Herring gpio2: gpio@20084000 { 894724ba675SRob Herring compatible = "rockchip,gpio-bank"; 895724ba675SRob Herring reg = <0x20084000 0x100>; 896724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 897724ba675SRob Herring clocks = <&cru PCLK_GPIO2>; 898724ba675SRob Herring gpio-controller; 899724ba675SRob Herring #gpio-cells = <2>; 900724ba675SRob Herring interrupt-controller; 901724ba675SRob Herring #interrupt-cells = <2>; 902724ba675SRob Herring }; 903724ba675SRob Herring 904724ba675SRob Herring gpio3: gpio@20088000 { 905724ba675SRob Herring compatible = "rockchip,gpio-bank"; 906724ba675SRob Herring reg = <0x20088000 0x100>; 907724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 908724ba675SRob Herring clocks = <&cru PCLK_GPIO3>; 909724ba675SRob Herring gpio-controller; 910724ba675SRob Herring #gpio-cells = <2>; 911724ba675SRob Herring interrupt-controller; 912724ba675SRob Herring #interrupt-cells = <2>; 913724ba675SRob Herring }; 914724ba675SRob Herring 915724ba675SRob Herring pcfg_pull_default: pcfg-pull-default { 916724ba675SRob Herring bias-pull-pin-default; 917724ba675SRob Herring }; 918724ba675SRob Herring 919724ba675SRob Herring pcfg_pull_none: pcfg-pull-none { 920724ba675SRob Herring bias-disable; 921724ba675SRob Herring }; 922724ba675SRob Herring 923724ba675SRob Herring emmc { 924724ba675SRob Herring emmc_clk: emmc-clk { 925724ba675SRob Herring rockchip,pins = <2 RK_PA7 2 &pcfg_pull_none>; 926724ba675SRob Herring }; 927724ba675SRob Herring 928724ba675SRob Herring emmc_cmd: emmc-cmd { 929724ba675SRob Herring rockchip,pins = <1 RK_PC6 2 &pcfg_pull_default>; 930724ba675SRob Herring }; 931724ba675SRob Herring 932724ba675SRob Herring emmc_cmd1: emmc-cmd1 { 933724ba675SRob Herring rockchip,pins = <2 RK_PA4 2 &pcfg_pull_default>; 934724ba675SRob Herring }; 935724ba675SRob Herring 936724ba675SRob Herring emmc_pwr: emmc-pwr { 937724ba675SRob Herring rockchip,pins = <2 RK_PA5 2 &pcfg_pull_default>; 938724ba675SRob Herring }; 939724ba675SRob Herring 940724ba675SRob Herring emmc_bus1: emmc-bus1 { 941724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>; 942724ba675SRob Herring }; 943724ba675SRob Herring 944724ba675SRob Herring emmc_bus4: emmc-bus4 { 945724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 946724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_default>, 947724ba675SRob Herring <1 RK_PD2 2 &pcfg_pull_default>, 948724ba675SRob Herring <1 RK_PD3 2 &pcfg_pull_default>; 949724ba675SRob Herring }; 950724ba675SRob Herring 951724ba675SRob Herring emmc_bus8: emmc-bus8 { 952724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 953724ba675SRob Herring <1 RK_PD1 2 &pcfg_pull_default>, 954724ba675SRob Herring <1 RK_PD2 2 &pcfg_pull_default>, 955724ba675SRob Herring <1 RK_PD3 2 &pcfg_pull_default>, 956724ba675SRob Herring <1 RK_PD4 2 &pcfg_pull_default>, 957724ba675SRob Herring <1 RK_PD5 2 &pcfg_pull_default>, 958724ba675SRob Herring <1 RK_PD6 2 &pcfg_pull_default>, 959724ba675SRob Herring <1 RK_PD7 2 &pcfg_pull_default>; 960724ba675SRob Herring }; 961724ba675SRob Herring }; 962724ba675SRob Herring 963724ba675SRob Herring gmac { 964724ba675SRob Herring rgmii_pins: rgmii-pins { 965724ba675SRob Herring rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>, 966724ba675SRob Herring <2 RK_PB1 3 &pcfg_pull_default>, 967724ba675SRob Herring <2 RK_PB3 3 &pcfg_pull_default>, 968724ba675SRob Herring <2 RK_PB4 3 &pcfg_pull_default>, 969724ba675SRob Herring <2 RK_PB5 3 &pcfg_pull_default>, 970724ba675SRob Herring <2 RK_PB6 3 &pcfg_pull_default>, 971724ba675SRob Herring <2 RK_PC0 3 &pcfg_pull_default>, 972724ba675SRob Herring <2 RK_PC1 3 &pcfg_pull_default>, 973724ba675SRob Herring <2 RK_PC2 3 &pcfg_pull_default>, 974724ba675SRob Herring <2 RK_PC3 3 &pcfg_pull_default>, 975724ba675SRob Herring <2 RK_PD1 3 &pcfg_pull_default>, 976724ba675SRob Herring <2 RK_PC4 4 &pcfg_pull_default>, 977724ba675SRob Herring <2 RK_PC5 4 &pcfg_pull_default>, 978724ba675SRob Herring <2 RK_PC6 4 &pcfg_pull_default>, 979724ba675SRob Herring <2 RK_PC7 4 &pcfg_pull_default>; 980724ba675SRob Herring }; 981724ba675SRob Herring 982724ba675SRob Herring rmii_pins: rmii-pins { 983724ba675SRob Herring rockchip,pins = <2 RK_PB0 3 &pcfg_pull_default>, 984724ba675SRob Herring <2 RK_PB4 3 &pcfg_pull_default>, 985724ba675SRob Herring <2 RK_PB5 3 &pcfg_pull_default>, 986724ba675SRob Herring <2 RK_PB6 3 &pcfg_pull_default>, 987724ba675SRob Herring <2 RK_PB7 3 &pcfg_pull_default>, 988724ba675SRob Herring <2 RK_PC0 3 &pcfg_pull_default>, 989724ba675SRob Herring <2 RK_PC1 3 &pcfg_pull_default>, 990724ba675SRob Herring <2 RK_PC2 3 &pcfg_pull_default>, 991724ba675SRob Herring <2 RK_PC3 3 &pcfg_pull_default>, 992724ba675SRob Herring <2 RK_PD1 3 &pcfg_pull_default>; 993724ba675SRob Herring }; 994724ba675SRob Herring }; 995724ba675SRob Herring 996724ba675SRob Herring hdmi { 997724ba675SRob Herring hdmii2c_xfer: hdmii2c-xfer { 998724ba675SRob Herring rockchip,pins = <0 RK_PA6 2 &pcfg_pull_none>, 999724ba675SRob Herring <0 RK_PA7 2 &pcfg_pull_none>; 1000724ba675SRob Herring }; 1001724ba675SRob Herring 1002724ba675SRob Herring hdmi_hpd: hdmi-hpd { 1003724ba675SRob Herring rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>; 1004724ba675SRob Herring }; 1005724ba675SRob Herring 1006724ba675SRob Herring hdmi_cec: hdmi-cec { 1007724ba675SRob Herring rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>; 1008724ba675SRob Herring }; 1009724ba675SRob Herring }; 1010724ba675SRob Herring 1011724ba675SRob Herring i2c0 { 1012724ba675SRob Herring i2c0_xfer: i2c0-xfer { 1013724ba675SRob Herring rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>, 1014724ba675SRob Herring <0 RK_PA1 1 &pcfg_pull_none>; 1015724ba675SRob Herring }; 1016724ba675SRob Herring }; 1017724ba675SRob Herring 1018724ba675SRob Herring i2c1 { 1019724ba675SRob Herring i2c1_xfer: i2c1-xfer { 1020724ba675SRob Herring rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>, 1021724ba675SRob Herring <0 RK_PA3 1 &pcfg_pull_none>; 1022724ba675SRob Herring }; 1023724ba675SRob Herring }; 1024724ba675SRob Herring 1025724ba675SRob Herring i2c2 { 1026724ba675SRob Herring i2c2_xfer: i2c2-xfer { 1027724ba675SRob Herring rockchip,pins = <2 RK_PC4 3 &pcfg_pull_none>, 1028724ba675SRob Herring <2 RK_PC5 3 &pcfg_pull_none>; 1029724ba675SRob Herring }; 1030724ba675SRob Herring }; 1031724ba675SRob Herring 1032724ba675SRob Herring i2c3 { 1033724ba675SRob Herring i2c3_xfer: i2c3-xfer { 1034724ba675SRob Herring rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>, 1035724ba675SRob Herring <0 RK_PA7 1 &pcfg_pull_none>; 1036724ba675SRob Herring }; 1037724ba675SRob Herring }; 1038724ba675SRob Herring 1039724ba675SRob Herring i2s { 1040724ba675SRob Herring i2s_bus: i2s-bus { 1041724ba675SRob Herring rockchip,pins = <0 RK_PB0 1 &pcfg_pull_none>, 1042724ba675SRob Herring <0 RK_PB1 1 &pcfg_pull_none>, 1043724ba675SRob Herring <0 RK_PB3 1 &pcfg_pull_none>, 1044724ba675SRob Herring <0 RK_PB4 1 &pcfg_pull_none>, 1045724ba675SRob Herring <0 RK_PB5 1 &pcfg_pull_none>, 1046724ba675SRob Herring <0 RK_PB6 1 &pcfg_pull_none>; 1047724ba675SRob Herring }; 1048724ba675SRob Herring 1049724ba675SRob Herring i2s1_bus: i2s1-bus { 1050724ba675SRob Herring rockchip,pins = <1 RK_PA0 1 &pcfg_pull_none>, 1051724ba675SRob Herring <1 RK_PA1 1 &pcfg_pull_none>, 1052724ba675SRob Herring <1 RK_PA2 1 &pcfg_pull_none>, 1053724ba675SRob Herring <1 RK_PA3 1 &pcfg_pull_none>, 1054724ba675SRob Herring <1 RK_PA4 1 &pcfg_pull_none>, 1055724ba675SRob Herring <1 RK_PA5 1 &pcfg_pull_none>; 1056724ba675SRob Herring }; 1057724ba675SRob Herring }; 1058724ba675SRob Herring 1059724ba675SRob Herring lcdc { 1060724ba675SRob Herring lcdc_dclk: lcdc-dclk { 1061724ba675SRob Herring rockchip,pins = <2 RK_PB0 1 &pcfg_pull_none>; 1062724ba675SRob Herring }; 1063724ba675SRob Herring 1064724ba675SRob Herring lcdc_den: lcdc-den { 1065724ba675SRob Herring rockchip,pins = <2 RK_PB3 1 &pcfg_pull_none>; 1066724ba675SRob Herring }; 1067724ba675SRob Herring 1068724ba675SRob Herring lcdc_hsync: lcdc-hsync { 1069724ba675SRob Herring rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>; 1070724ba675SRob Herring }; 1071724ba675SRob Herring 1072724ba675SRob Herring lcdc_vsync: lcdc-vsync { 1073724ba675SRob Herring rockchip,pins = <2 RK_PB2 1 &pcfg_pull_none>; 1074724ba675SRob Herring }; 1075724ba675SRob Herring 1076724ba675SRob Herring lcdc_rgb24: lcdc-rgb24 { 1077724ba675SRob Herring rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>, 1078724ba675SRob Herring <2 RK_PB5 1 &pcfg_pull_none>, 1079724ba675SRob Herring <2 RK_PB6 1 &pcfg_pull_none>, 1080724ba675SRob Herring <2 RK_PB7 1 &pcfg_pull_none>, 1081724ba675SRob Herring <2 RK_PC0 1 &pcfg_pull_none>, 1082724ba675SRob Herring <2 RK_PC1 1 &pcfg_pull_none>, 1083724ba675SRob Herring <2 RK_PC2 1 &pcfg_pull_none>, 1084724ba675SRob Herring <2 RK_PC3 1 &pcfg_pull_none>, 1085724ba675SRob Herring <2 RK_PC4 1 &pcfg_pull_none>, 1086724ba675SRob Herring <2 RK_PC5 1 &pcfg_pull_none>, 1087724ba675SRob Herring <2 RK_PC6 1 &pcfg_pull_none>, 1088724ba675SRob Herring <2 RK_PC7 1 &pcfg_pull_none>, 1089724ba675SRob Herring <2 RK_PD0 1 &pcfg_pull_none>, 1090724ba675SRob Herring <2 RK_PD1 1 &pcfg_pull_none>; 1091724ba675SRob Herring }; 1092724ba675SRob Herring }; 1093724ba675SRob Herring 1094724ba675SRob Herring nfc { 1095724ba675SRob Herring flash_ale: flash-ale { 1096724ba675SRob Herring rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>; 1097724ba675SRob Herring }; 1098724ba675SRob Herring 1099724ba675SRob Herring flash_cle: flash-cle { 1100724ba675SRob Herring rockchip,pins = <2 RK_PA1 1 &pcfg_pull_none>; 1101724ba675SRob Herring }; 1102724ba675SRob Herring 1103724ba675SRob Herring flash_wrn: flash-wrn { 1104724ba675SRob Herring rockchip,pins = <2 RK_PA2 1 &pcfg_pull_none>; 1105724ba675SRob Herring }; 1106724ba675SRob Herring 1107724ba675SRob Herring flash_rdn: flash-rdn { 1108724ba675SRob Herring rockchip,pins = <2 RK_PA3 1 &pcfg_pull_none>; 1109724ba675SRob Herring }; 1110724ba675SRob Herring 1111724ba675SRob Herring flash_rdy: flash-rdy { 1112724ba675SRob Herring rockchip,pins = <2 RK_PA4 1 &pcfg_pull_none>; 1113724ba675SRob Herring }; 1114724ba675SRob Herring 1115724ba675SRob Herring flash_cs0: flash-cs0 { 1116724ba675SRob Herring rockchip,pins = <2 RK_PA6 1 &pcfg_pull_none>; 1117724ba675SRob Herring }; 1118724ba675SRob Herring 1119724ba675SRob Herring flash_dqs: flash-dqs { 1120724ba675SRob Herring rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>; 1121724ba675SRob Herring }; 1122724ba675SRob Herring 1123724ba675SRob Herring flash_bus8: flash-bus8 { 1124724ba675SRob Herring rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>, 1125724ba675SRob Herring <1 RK_PD1 1 &pcfg_pull_none>, 1126724ba675SRob Herring <1 RK_PD2 1 &pcfg_pull_none>, 1127724ba675SRob Herring <1 RK_PD3 1 &pcfg_pull_none>, 1128724ba675SRob Herring <1 RK_PD4 1 &pcfg_pull_none>, 1129724ba675SRob Herring <1 RK_PD5 1 &pcfg_pull_none>, 1130724ba675SRob Herring <1 RK_PD6 1 &pcfg_pull_none>, 1131724ba675SRob Herring <1 RK_PD7 1 &pcfg_pull_none>; 1132724ba675SRob Herring }; 1133724ba675SRob Herring }; 1134724ba675SRob Herring 1135724ba675SRob Herring pwm0 { 1136724ba675SRob Herring pwm0_pin: pwm0-pin { 1137724ba675SRob Herring rockchip,pins = <0 RK_PD2 1 &pcfg_pull_none>; 1138724ba675SRob Herring }; 1139724ba675SRob Herring }; 1140724ba675SRob Herring 1141724ba675SRob Herring pwm1 { 1142724ba675SRob Herring pwm1_pin: pwm1-pin { 1143724ba675SRob Herring rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>; 1144724ba675SRob Herring }; 1145724ba675SRob Herring }; 1146724ba675SRob Herring 1147724ba675SRob Herring pwm2 { 1148724ba675SRob Herring pwm2_pin: pwm2-pin { 1149724ba675SRob Herring rockchip,pins = <0 RK_PD4 1 &pcfg_pull_none>; 1150724ba675SRob Herring }; 1151724ba675SRob Herring }; 1152724ba675SRob Herring 1153724ba675SRob Herring pwm3 { 1154724ba675SRob Herring pwm3_pin: pwm3-pin { 1155724ba675SRob Herring rockchip,pins = <3 RK_PD2 1 &pcfg_pull_none>; 1156724ba675SRob Herring }; 1157724ba675SRob Herring }; 1158724ba675SRob Herring 1159724ba675SRob Herring sdio { 1160724ba675SRob Herring sdio_clk: sdio-clk { 1161724ba675SRob Herring rockchip,pins = <1 RK_PA0 2 &pcfg_pull_none>; 1162724ba675SRob Herring }; 1163724ba675SRob Herring 1164724ba675SRob Herring sdio_cmd: sdio-cmd { 1165724ba675SRob Herring rockchip,pins = <0 RK_PA3 2 &pcfg_pull_default>; 1166724ba675SRob Herring }; 1167724ba675SRob Herring 1168724ba675SRob Herring sdio_pwren: sdio-pwren { 1169724ba675SRob Herring rockchip,pins = <0 RK_PD6 1 &pcfg_pull_default>; 1170724ba675SRob Herring }; 1171724ba675SRob Herring 1172724ba675SRob Herring sdio_bus4: sdio-bus4 { 1173724ba675SRob Herring rockchip,pins = <1 RK_PA1 2 &pcfg_pull_default>, 1174724ba675SRob Herring <1 RK_PA2 2 &pcfg_pull_default>, 1175724ba675SRob Herring <1 RK_PA4 2 &pcfg_pull_default>, 1176724ba675SRob Herring <1 RK_PA5 2 &pcfg_pull_default>; 1177724ba675SRob Herring }; 1178724ba675SRob Herring }; 1179724ba675SRob Herring 1180724ba675SRob Herring sdmmc { 1181724ba675SRob Herring sdmmc_clk: sdmmc-clk { 1182724ba675SRob Herring rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>; 1183724ba675SRob Herring }; 1184724ba675SRob Herring 1185724ba675SRob Herring sdmmc_cmd: sdmmc-cmd { 1186724ba675SRob Herring rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>; 1187724ba675SRob Herring }; 1188724ba675SRob Herring 1189cdc86eeeSAlex Bee sdmmc_det: sdmmc-det { 1190cdc86eeeSAlex Bee rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>; 1191cdc86eeeSAlex Bee }; 1192cdc86eeeSAlex Bee 1193724ba675SRob Herring sdmmc_wp: sdmmc-wp { 1194724ba675SRob Herring rockchip,pins = <1 RK_PA7 1 &pcfg_pull_default>; 1195724ba675SRob Herring }; 1196724ba675SRob Herring 1197724ba675SRob Herring sdmmc_pwren: sdmmc-pwren { 11980c349b50SAlex Bee rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_default>; 1199724ba675SRob Herring }; 1200724ba675SRob Herring 1201724ba675SRob Herring sdmmc_bus4: sdmmc-bus4 { 1202724ba675SRob Herring rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>, 1203724ba675SRob Herring <1 RK_PC3 1 &pcfg_pull_default>, 1204724ba675SRob Herring <1 RK_PC4 1 &pcfg_pull_default>, 1205724ba675SRob Herring <1 RK_PC5 1 &pcfg_pull_default>; 1206724ba675SRob Herring }; 1207724ba675SRob Herring }; 1208724ba675SRob Herring 120954c799c3SAlex Bee sfc { 121054c799c3SAlex Bee sfc_bus2: sfc-bus2 { 121154c799c3SAlex Bee rockchip,pins = <1 RK_PD0 3 &pcfg_pull_default>, 121254c799c3SAlex Bee <1 RK_PD1 3 &pcfg_pull_default>; 121354c799c3SAlex Bee }; 121454c799c3SAlex Bee 121554c799c3SAlex Bee sfc_bus4: sfc-bus4 { 121654c799c3SAlex Bee rockchip,pins = <1 RK_PD0 3 &pcfg_pull_default>, 121754c799c3SAlex Bee <1 RK_PD1 3 &pcfg_pull_default>, 121854c799c3SAlex Bee <1 RK_PD2 3 &pcfg_pull_default>, 121954c799c3SAlex Bee <1 RK_PD3 3 &pcfg_pull_default>; 122054c799c3SAlex Bee }; 122154c799c3SAlex Bee 122254c799c3SAlex Bee sfc_clk: sfc-clk { 122354c799c3SAlex Bee rockchip,pins = <2 RK_PA4 3 &pcfg_pull_none>; 122454c799c3SAlex Bee }; 122554c799c3SAlex Bee 122654c799c3SAlex Bee sfc_cs0: sfc-cs0 { 122754c799c3SAlex Bee rockchip,pins = <2 RK_PA2 2 &pcfg_pull_default>; 122854c799c3SAlex Bee }; 122954c799c3SAlex Bee 123054c799c3SAlex Bee sfc_cs1: sfc-cs1 { 123154c799c3SAlex Bee rockchip,pins = <2 RK_PA3 2 &pcfg_pull_default>; 123254c799c3SAlex Bee }; 123354c799c3SAlex Bee }; 123454c799c3SAlex Bee 1235724ba675SRob Herring spdif { 1236724ba675SRob Herring spdif_tx: spdif-tx { 1237724ba675SRob Herring rockchip,pins = <3 RK_PD3 1 &pcfg_pull_none>; 1238724ba675SRob Herring }; 1239724ba675SRob Herring }; 1240724ba675SRob Herring 1241724ba675SRob Herring spi0 { 1242724ba675SRob Herring spi0_clk: spi0-clk { 1243724ba675SRob Herring rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>; 1244724ba675SRob Herring }; 1245724ba675SRob Herring 1246724ba675SRob Herring spi0_cs0: spi0-cs0 { 1247724ba675SRob Herring rockchip,pins = <1 RK_PB3 1 &pcfg_pull_default>; 1248724ba675SRob Herring }; 1249724ba675SRob Herring 1250724ba675SRob Herring spi0_tx: spi0-tx { 1251724ba675SRob Herring rockchip,pins = <1 RK_PB1 1 &pcfg_pull_default>; 1252724ba675SRob Herring }; 1253724ba675SRob Herring 1254724ba675SRob Herring spi0_rx: spi0-rx { 1255724ba675SRob Herring rockchip,pins = <1 RK_PB2 1 &pcfg_pull_default>; 1256724ba675SRob Herring }; 1257724ba675SRob Herring 1258724ba675SRob Herring spi0_cs1: spi0-cs1 { 1259724ba675SRob Herring rockchip,pins = <1 RK_PB4 1 &pcfg_pull_default>; 1260724ba675SRob Herring }; 1261724ba675SRob Herring 1262724ba675SRob Herring spi1_clk: spi1-clk { 1263724ba675SRob Herring rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>; 1264724ba675SRob Herring }; 1265724ba675SRob Herring 1266724ba675SRob Herring spi1_cs0: spi1-cs0 { 1267724ba675SRob Herring rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>; 1268724ba675SRob Herring }; 1269724ba675SRob Herring 1270724ba675SRob Herring spi1_tx: spi1-tx { 1271724ba675SRob Herring rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>; 1272724ba675SRob Herring }; 1273724ba675SRob Herring 1274724ba675SRob Herring spi1_rx: spi1-rx { 1275724ba675SRob Herring rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>; 1276724ba675SRob Herring }; 1277724ba675SRob Herring 1278724ba675SRob Herring spi1_cs1: spi1-cs1 { 1279724ba675SRob Herring rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>; 1280724ba675SRob Herring }; 1281724ba675SRob Herring 1282724ba675SRob Herring spi2_clk: spi2-clk { 1283724ba675SRob Herring rockchip,pins = <0 RK_PB1 2 &pcfg_pull_default>; 1284724ba675SRob Herring }; 1285724ba675SRob Herring 1286724ba675SRob Herring spi2_cs0: spi2-cs0 { 1287724ba675SRob Herring rockchip,pins = <0 RK_PB6 2 &pcfg_pull_default>; 1288724ba675SRob Herring }; 1289724ba675SRob Herring 1290724ba675SRob Herring spi2_tx: spi2-tx { 1291724ba675SRob Herring rockchip,pins = <0 RK_PB3 2 &pcfg_pull_default>; 1292724ba675SRob Herring }; 1293724ba675SRob Herring 1294724ba675SRob Herring spi2_rx: spi2-rx { 1295724ba675SRob Herring rockchip,pins = <0 RK_PB5 2 &pcfg_pull_default>; 1296724ba675SRob Herring }; 1297724ba675SRob Herring }; 1298724ba675SRob Herring 1299724ba675SRob Herring uart0 { 1300724ba675SRob Herring uart0_xfer: uart0-xfer { 1301724ba675SRob Herring rockchip,pins = <2 RK_PD2 2 &pcfg_pull_default>, 1302724ba675SRob Herring <2 RK_PD3 2 &pcfg_pull_none>; 1303724ba675SRob Herring }; 1304724ba675SRob Herring 1305724ba675SRob Herring uart0_cts: uart0-cts { 1306724ba675SRob Herring rockchip,pins = <2 RK_PD5 2 &pcfg_pull_none>; 1307724ba675SRob Herring }; 1308724ba675SRob Herring 1309724ba675SRob Herring uart0_rts: uart0-rts { 1310724ba675SRob Herring rockchip,pins = <0 RK_PC1 2 &pcfg_pull_none>; 1311724ba675SRob Herring }; 1312724ba675SRob Herring }; 1313724ba675SRob Herring 1314724ba675SRob Herring uart1 { 1315724ba675SRob Herring uart1_xfer: uart1-xfer { 1316724ba675SRob Herring rockchip,pins = <1 RK_PB1 2 &pcfg_pull_default>, 1317724ba675SRob Herring <1 RK_PB2 2 &pcfg_pull_default>; 1318724ba675SRob Herring }; 1319724ba675SRob Herring 1320724ba675SRob Herring uart1_cts: uart1-cts { 1321724ba675SRob Herring rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>; 1322724ba675SRob Herring }; 1323724ba675SRob Herring 1324724ba675SRob Herring uart1_rts: uart1-rts { 1325724ba675SRob Herring rockchip,pins = <1 RK_PB3 2 &pcfg_pull_none>; 1326724ba675SRob Herring }; 1327724ba675SRob Herring }; 1328724ba675SRob Herring 1329724ba675SRob Herring uart2 { 1330724ba675SRob Herring uart2_xfer: uart2-xfer { 1331724ba675SRob Herring rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>, 1332724ba675SRob Herring <1 RK_PC3 2 &pcfg_pull_none>; 1333724ba675SRob Herring }; 1334724ba675SRob Herring 1335724ba675SRob Herring uart2_cts: uart2-cts { 1336724ba675SRob Herring rockchip,pins = <0 RK_PD1 1 &pcfg_pull_none>; 1337724ba675SRob Herring }; 1338724ba675SRob Herring 1339724ba675SRob Herring uart2_rts: uart2-rts { 1340724ba675SRob Herring rockchip,pins = <0 RK_PD0 1 &pcfg_pull_none>; 1341724ba675SRob Herring }; 1342724ba675SRob Herring }; 1343724ba675SRob Herring }; 1344724ba675SRob Herring}; 1345