1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*724ba675SRob Herring 3*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 4*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 5*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 6*724ba675SRob Herring#include <dt-bindings/clock/rv1108-cru.h> 7*724ba675SRob Herring#include <dt-bindings/pinctrl/rockchip.h> 8*724ba675SRob Herring#include <dt-bindings/thermal/thermal.h> 9*724ba675SRob Herring/ { 10*724ba675SRob Herring #address-cells = <1>; 11*724ba675SRob Herring #size-cells = <1>; 12*724ba675SRob Herring 13*724ba675SRob Herring compatible = "rockchip,rv1108"; 14*724ba675SRob Herring 15*724ba675SRob Herring interrupt-parent = <&gic>; 16*724ba675SRob Herring 17*724ba675SRob Herring aliases { 18*724ba675SRob Herring i2c0 = &i2c0; 19*724ba675SRob Herring i2c1 = &i2c1; 20*724ba675SRob Herring i2c2 = &i2c2; 21*724ba675SRob Herring i2c3 = &i2c3; 22*724ba675SRob Herring serial0 = &uart0; 23*724ba675SRob Herring serial1 = &uart1; 24*724ba675SRob Herring serial2 = &uart2; 25*724ba675SRob Herring }; 26*724ba675SRob Herring 27*724ba675SRob Herring cpus { 28*724ba675SRob Herring #address-cells = <1>; 29*724ba675SRob Herring #size-cells = <0>; 30*724ba675SRob Herring 31*724ba675SRob Herring cpu0: cpu@f00 { 32*724ba675SRob Herring device_type = "cpu"; 33*724ba675SRob Herring compatible = "arm,cortex-a7"; 34*724ba675SRob Herring reg = <0xf00>; 35*724ba675SRob Herring clock-latency = <40000>; 36*724ba675SRob Herring clocks = <&cru ARMCLK>; 37*724ba675SRob Herring #cooling-cells = <2>; /* min followed by max */ 38*724ba675SRob Herring dynamic-power-coefficient = <75>; 39*724ba675SRob Herring operating-points-v2 = <&cpu_opp_table>; 40*724ba675SRob Herring }; 41*724ba675SRob Herring }; 42*724ba675SRob Herring 43*724ba675SRob Herring cpu_opp_table: opp-table-0 { 44*724ba675SRob Herring compatible = "operating-points-v2"; 45*724ba675SRob Herring 46*724ba675SRob Herring opp-408000000 { 47*724ba675SRob Herring opp-hz = /bits/ 64 <408000000>; 48*724ba675SRob Herring opp-microvolt = <975000>; 49*724ba675SRob Herring clock-latency-ns = <40000>; 50*724ba675SRob Herring }; 51*724ba675SRob Herring opp-600000000 { 52*724ba675SRob Herring opp-hz = /bits/ 64 <600000000>; 53*724ba675SRob Herring opp-microvolt = <975000>; 54*724ba675SRob Herring clock-latency-ns = <40000>; 55*724ba675SRob Herring }; 56*724ba675SRob Herring opp-816000000 { 57*724ba675SRob Herring opp-hz = /bits/ 64 <816000000>; 58*724ba675SRob Herring opp-microvolt = <1025000>; 59*724ba675SRob Herring clock-latency-ns = <40000>; 60*724ba675SRob Herring }; 61*724ba675SRob Herring opp-1008000000 { 62*724ba675SRob Herring opp-hz = /bits/ 64 <1008000000>; 63*724ba675SRob Herring opp-microvolt = <1150000>; 64*724ba675SRob Herring clock-latency-ns = <40000>; 65*724ba675SRob Herring }; 66*724ba675SRob Herring }; 67*724ba675SRob Herring 68*724ba675SRob Herring arm-pmu { 69*724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 70*724ba675SRob Herring interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; 71*724ba675SRob Herring }; 72*724ba675SRob Herring 73*724ba675SRob Herring timer { 74*724ba675SRob Herring compatible = "arm,armv7-timer"; 75*724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>, 76*724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>; 77*724ba675SRob Herring arm,cpu-registers-not-fw-configured; 78*724ba675SRob Herring clock-frequency = <24000000>; 79*724ba675SRob Herring }; 80*724ba675SRob Herring 81*724ba675SRob Herring xin24m: oscillator { 82*724ba675SRob Herring compatible = "fixed-clock"; 83*724ba675SRob Herring clock-frequency = <24000000>; 84*724ba675SRob Herring clock-output-names = "xin24m"; 85*724ba675SRob Herring #clock-cells = <0>; 86*724ba675SRob Herring }; 87*724ba675SRob Herring 88*724ba675SRob Herring bus_intmem: sram@10080000 { 89*724ba675SRob Herring compatible = "mmio-sram"; 90*724ba675SRob Herring reg = <0x10080000 0x2000>; 91*724ba675SRob Herring #address-cells = <1>; 92*724ba675SRob Herring #size-cells = <1>; 93*724ba675SRob Herring ranges = <0 0x10080000 0x2000>; 94*724ba675SRob Herring }; 95*724ba675SRob Herring 96*724ba675SRob Herring uart2: serial@10210000 { 97*724ba675SRob Herring compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart"; 98*724ba675SRob Herring reg = <0x10210000 0x100>; 99*724ba675SRob Herring interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; 100*724ba675SRob Herring reg-shift = <2>; 101*724ba675SRob Herring reg-io-width = <4>; 102*724ba675SRob Herring clock-frequency = <24000000>; 103*724ba675SRob Herring clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; 104*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 105*724ba675SRob Herring dmas = <&pdma 6>, <&pdma 7>; 106*724ba675SRob Herring pinctrl-names = "default"; 107*724ba675SRob Herring pinctrl-0 = <&uart2m0_xfer>; 108*724ba675SRob Herring status = "disabled"; 109*724ba675SRob Herring }; 110*724ba675SRob Herring 111*724ba675SRob Herring uart1: serial@10220000 { 112*724ba675SRob Herring compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart"; 113*724ba675SRob Herring reg = <0x10220000 0x100>; 114*724ba675SRob Herring interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 115*724ba675SRob Herring reg-shift = <2>; 116*724ba675SRob Herring reg-io-width = <4>; 117*724ba675SRob Herring clock-frequency = <24000000>; 118*724ba675SRob Herring clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; 119*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 120*724ba675SRob Herring dmas = <&pdma 4>, <&pdma 5>; 121*724ba675SRob Herring pinctrl-names = "default"; 122*724ba675SRob Herring pinctrl-0 = <&uart1_xfer>; 123*724ba675SRob Herring status = "disabled"; 124*724ba675SRob Herring }; 125*724ba675SRob Herring 126*724ba675SRob Herring uart0: serial@10230000 { 127*724ba675SRob Herring compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart"; 128*724ba675SRob Herring reg = <0x10230000 0x100>; 129*724ba675SRob Herring interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; 130*724ba675SRob Herring reg-shift = <2>; 131*724ba675SRob Herring reg-io-width = <4>; 132*724ba675SRob Herring clock-frequency = <24000000>; 133*724ba675SRob Herring clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 134*724ba675SRob Herring clock-names = "baudclk", "apb_pclk"; 135*724ba675SRob Herring dmas = <&pdma 2>, <&pdma 3>; 136*724ba675SRob Herring pinctrl-names = "default"; 137*724ba675SRob Herring pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; 138*724ba675SRob Herring status = "disabled"; 139*724ba675SRob Herring }; 140*724ba675SRob Herring 141*724ba675SRob Herring i2c1: i2c@10240000 { 142*724ba675SRob Herring compatible = "rockchip,rv1108-i2c"; 143*724ba675SRob Herring reg = <0x10240000 0x1000>; 144*724ba675SRob Herring interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 145*724ba675SRob Herring #address-cells = <1>; 146*724ba675SRob Herring #size-cells = <0>; 147*724ba675SRob Herring clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>; 148*724ba675SRob Herring clock-names = "i2c", "pclk"; 149*724ba675SRob Herring pinctrl-names = "default"; 150*724ba675SRob Herring pinctrl-0 = <&i2c1_xfer>; 151*724ba675SRob Herring rockchip,grf = <&grf>; 152*724ba675SRob Herring status = "disabled"; 153*724ba675SRob Herring }; 154*724ba675SRob Herring 155*724ba675SRob Herring i2c2: i2c@10250000 { 156*724ba675SRob Herring compatible = "rockchip,rv1108-i2c"; 157*724ba675SRob Herring reg = <0x10250000 0x1000>; 158*724ba675SRob Herring interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 159*724ba675SRob Herring #address-cells = <1>; 160*724ba675SRob Herring #size-cells = <0>; 161*724ba675SRob Herring clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>; 162*724ba675SRob Herring clock-names = "i2c", "pclk"; 163*724ba675SRob Herring pinctrl-names = "default"; 164*724ba675SRob Herring pinctrl-0 = <&i2c2m1_xfer>; 165*724ba675SRob Herring rockchip,grf = <&grf>; 166*724ba675SRob Herring status = "disabled"; 167*724ba675SRob Herring }; 168*724ba675SRob Herring 169*724ba675SRob Herring i2c3: i2c@10260000 { 170*724ba675SRob Herring compatible = "rockchip,rv1108-i2c"; 171*724ba675SRob Herring reg = <0x10260000 0x1000>; 172*724ba675SRob Herring interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 173*724ba675SRob Herring #address-cells = <1>; 174*724ba675SRob Herring #size-cells = <0>; 175*724ba675SRob Herring clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>; 176*724ba675SRob Herring clock-names = "i2c", "pclk"; 177*724ba675SRob Herring pinctrl-names = "default"; 178*724ba675SRob Herring pinctrl-0 = <&i2c3_xfer>; 179*724ba675SRob Herring rockchip,grf = <&grf>; 180*724ba675SRob Herring status = "disabled"; 181*724ba675SRob Herring }; 182*724ba675SRob Herring 183*724ba675SRob Herring spi: spi@10270000 { 184*724ba675SRob Herring compatible = "rockchip,rv1108-spi"; 185*724ba675SRob Herring reg = <0x10270000 0x1000>; 186*724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 187*724ba675SRob Herring clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>; 188*724ba675SRob Herring clock-names = "spiclk", "apb_pclk"; 189*724ba675SRob Herring dmas = <&pdma 8>, <&pdma 9>; 190*724ba675SRob Herring dma-names = "tx", "rx"; 191*724ba675SRob Herring #address-cells = <1>; 192*724ba675SRob Herring #size-cells = <0>; 193*724ba675SRob Herring status = "disabled"; 194*724ba675SRob Herring }; 195*724ba675SRob Herring 196*724ba675SRob Herring pwm4: pwm@10280000 { 197*724ba675SRob Herring compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm"; 198*724ba675SRob Herring reg = <0x10280000 0x10>; 199*724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 200*724ba675SRob Herring clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>; 201*724ba675SRob Herring clock-names = "pwm", "pclk"; 202*724ba675SRob Herring pinctrl-names = "default"; 203*724ba675SRob Herring pinctrl-0 = <&pwm4_pin>; 204*724ba675SRob Herring #pwm-cells = <3>; 205*724ba675SRob Herring status = "disabled"; 206*724ba675SRob Herring }; 207*724ba675SRob Herring 208*724ba675SRob Herring pwm5: pwm@10280010 { 209*724ba675SRob Herring compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm"; 210*724ba675SRob Herring reg = <0x10280010 0x10>; 211*724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 212*724ba675SRob Herring clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>; 213*724ba675SRob Herring clock-names = "pwm", "pclk"; 214*724ba675SRob Herring pinctrl-names = "default"; 215*724ba675SRob Herring pinctrl-0 = <&pwm5_pin>; 216*724ba675SRob Herring #pwm-cells = <3>; 217*724ba675SRob Herring status = "disabled"; 218*724ba675SRob Herring }; 219*724ba675SRob Herring 220*724ba675SRob Herring pwm6: pwm@10280020 { 221*724ba675SRob Herring compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm"; 222*724ba675SRob Herring reg = <0x10280020 0x10>; 223*724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 224*724ba675SRob Herring clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>; 225*724ba675SRob Herring clock-names = "pwm", "pclk"; 226*724ba675SRob Herring pinctrl-names = "default"; 227*724ba675SRob Herring pinctrl-0 = <&pwm6_pin>; 228*724ba675SRob Herring #pwm-cells = <3>; 229*724ba675SRob Herring status = "disabled"; 230*724ba675SRob Herring }; 231*724ba675SRob Herring 232*724ba675SRob Herring pwm7: pwm@10280030 { 233*724ba675SRob Herring compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm"; 234*724ba675SRob Herring reg = <0x10280030 0x10>; 235*724ba675SRob Herring interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 236*724ba675SRob Herring clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>; 237*724ba675SRob Herring clock-names = "pwm", "pclk"; 238*724ba675SRob Herring pinctrl-names = "default"; 239*724ba675SRob Herring pinctrl-0 = <&pwm7_pin>; 240*724ba675SRob Herring #pwm-cells = <3>; 241*724ba675SRob Herring status = "disabled"; 242*724ba675SRob Herring }; 243*724ba675SRob Herring 244*724ba675SRob Herring pdma: dma-controller@102a0000 { 245*724ba675SRob Herring compatible = "arm,pl330", "arm,primecell"; 246*724ba675SRob Herring reg = <0x102a0000 0x4000>; 247*724ba675SRob Herring interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 248*724ba675SRob Herring #dma-cells = <1>; 249*724ba675SRob Herring arm,pl330-broken-no-flushp; 250*724ba675SRob Herring arm,pl330-periph-burst; 251*724ba675SRob Herring clocks = <&cru ACLK_DMAC>; 252*724ba675SRob Herring clock-names = "apb_pclk"; 253*724ba675SRob Herring }; 254*724ba675SRob Herring 255*724ba675SRob Herring grf: syscon@10300000 { 256*724ba675SRob Herring compatible = "rockchip,rv1108-grf", "syscon", "simple-mfd"; 257*724ba675SRob Herring reg = <0x10300000 0x1000>; 258*724ba675SRob Herring #address-cells = <1>; 259*724ba675SRob Herring #size-cells = <1>; 260*724ba675SRob Herring 261*724ba675SRob Herring io_domains: io-domains { 262*724ba675SRob Herring compatible = "rockchip,rv1108-io-voltage-domain"; 263*724ba675SRob Herring status = "disabled"; 264*724ba675SRob Herring }; 265*724ba675SRob Herring 266*724ba675SRob Herring u2phy: usb2phy@100 { 267*724ba675SRob Herring compatible = "rockchip,rv1108-usb2phy"; 268*724ba675SRob Herring reg = <0x100 0x0c>; 269*724ba675SRob Herring clocks = <&cru SCLK_USBPHY>; 270*724ba675SRob Herring clock-names = "phyclk"; 271*724ba675SRob Herring #clock-cells = <0>; 272*724ba675SRob Herring clock-output-names = "usbphy"; 273*724ba675SRob Herring rockchip,usbgrf = <&usbgrf>; 274*724ba675SRob Herring status = "disabled"; 275*724ba675SRob Herring 276*724ba675SRob Herring u2phy_otg: otg-port { 277*724ba675SRob Herring interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; 278*724ba675SRob Herring interrupt-names = "otg-mux"; 279*724ba675SRob Herring #phy-cells = <0>; 280*724ba675SRob Herring status = "disabled"; 281*724ba675SRob Herring }; 282*724ba675SRob Herring 283*724ba675SRob Herring u2phy_host: host-port { 284*724ba675SRob Herring interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; 285*724ba675SRob Herring interrupt-names = "linestate"; 286*724ba675SRob Herring #phy-cells = <0>; 287*724ba675SRob Herring status = "disabled"; 288*724ba675SRob Herring }; 289*724ba675SRob Herring }; 290*724ba675SRob Herring }; 291*724ba675SRob Herring 292*724ba675SRob Herring timer: timer@10350000 { 293*724ba675SRob Herring compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer"; 294*724ba675SRob Herring reg = <0x10350000 0x20>; 295*724ba675SRob Herring interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 296*724ba675SRob Herring clocks = <&cru PCLK_TIMER>, <&xin24m>; 297*724ba675SRob Herring clock-names = "pclk", "timer"; 298*724ba675SRob Herring }; 299*724ba675SRob Herring 300*724ba675SRob Herring watchdog: watchdog@10360000 { 301*724ba675SRob Herring compatible = "rockchip,rv1108-wdt", "snps,dw-wdt"; 302*724ba675SRob Herring reg = <0x10360000 0x100>; 303*724ba675SRob Herring interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 304*724ba675SRob Herring clocks = <&cru PCLK_WDT>; 305*724ba675SRob Herring status = "disabled"; 306*724ba675SRob Herring }; 307*724ba675SRob Herring 308*724ba675SRob Herring thermal-zones { 309*724ba675SRob Herring soc_thermal: soc-thermal { 310*724ba675SRob Herring polling-delay-passive = <20>; 311*724ba675SRob Herring polling-delay = <1000>; 312*724ba675SRob Herring sustainable-power = <50>; 313*724ba675SRob Herring thermal-sensors = <&tsadc 0>; 314*724ba675SRob Herring 315*724ba675SRob Herring trips { 316*724ba675SRob Herring threshold: trip-point0 { 317*724ba675SRob Herring temperature = <70000>; 318*724ba675SRob Herring hysteresis = <2000>; 319*724ba675SRob Herring type = "passive"; 320*724ba675SRob Herring }; 321*724ba675SRob Herring target: trip-point1 { 322*724ba675SRob Herring temperature = <85000>; 323*724ba675SRob Herring hysteresis = <2000>; 324*724ba675SRob Herring type = "passive"; 325*724ba675SRob Herring }; 326*724ba675SRob Herring soc_crit: soc-crit { 327*724ba675SRob Herring temperature = <95000>; 328*724ba675SRob Herring hysteresis = <2000>; 329*724ba675SRob Herring type = "critical"; 330*724ba675SRob Herring }; 331*724ba675SRob Herring }; 332*724ba675SRob Herring 333*724ba675SRob Herring cooling-maps { 334*724ba675SRob Herring map0 { 335*724ba675SRob Herring trip = <&target>; 336*724ba675SRob Herring cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 337*724ba675SRob Herring contribution = <4096>; 338*724ba675SRob Herring }; 339*724ba675SRob Herring }; 340*724ba675SRob Herring }; 341*724ba675SRob Herring }; 342*724ba675SRob Herring 343*724ba675SRob Herring tsadc: tsadc@10370000 { 344*724ba675SRob Herring compatible = "rockchip,rv1108-tsadc"; 345*724ba675SRob Herring reg = <0x10370000 0x100>; 346*724ba675SRob Herring interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; 347*724ba675SRob Herring assigned-clocks = <&cru SCLK_TSADC>; 348*724ba675SRob Herring assigned-clock-rates = <750000>; 349*724ba675SRob Herring clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>; 350*724ba675SRob Herring clock-names = "tsadc", "apb_pclk"; 351*724ba675SRob Herring pinctrl-names = "init", "default", "sleep"; 352*724ba675SRob Herring pinctrl-0 = <&otp_pin>; 353*724ba675SRob Herring pinctrl-1 = <&otp_out>; 354*724ba675SRob Herring pinctrl-2 = <&otp_pin>; 355*724ba675SRob Herring resets = <&cru SRST_TSADC>; 356*724ba675SRob Herring reset-names = "tsadc-apb"; 357*724ba675SRob Herring rockchip,hw-tshut-temp = <120000>; 358*724ba675SRob Herring #thermal-sensor-cells = <1>; 359*724ba675SRob Herring status = "disabled"; 360*724ba675SRob Herring }; 361*724ba675SRob Herring 362*724ba675SRob Herring adc: adc@1038c000 { 363*724ba675SRob Herring compatible = "rockchip,rv1108-saradc", "rockchip,rk3399-saradc"; 364*724ba675SRob Herring reg = <0x1038c000 0x100>; 365*724ba675SRob Herring interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 366*724ba675SRob Herring #io-channel-cells = <1>; 367*724ba675SRob Herring clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>; 368*724ba675SRob Herring clock-names = "saradc", "apb_pclk"; 369*724ba675SRob Herring status = "disabled"; 370*724ba675SRob Herring }; 371*724ba675SRob Herring 372*724ba675SRob Herring i2c0: i2c@20000000 { 373*724ba675SRob Herring compatible = "rockchip,rv1108-i2c"; 374*724ba675SRob Herring reg = <0x20000000 0x1000>; 375*724ba675SRob Herring interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; 376*724ba675SRob Herring #address-cells = <1>; 377*724ba675SRob Herring #size-cells = <0>; 378*724ba675SRob Herring clocks = <&cru SCLK_I2C0_PMU>, <&cru PCLK_I2C0_PMU>; 379*724ba675SRob Herring clock-names = "i2c", "pclk"; 380*724ba675SRob Herring pinctrl-names = "default"; 381*724ba675SRob Herring pinctrl-0 = <&i2c0_xfer>; 382*724ba675SRob Herring rockchip,grf = <&grf>; 383*724ba675SRob Herring status = "disabled"; 384*724ba675SRob Herring }; 385*724ba675SRob Herring 386*724ba675SRob Herring pwm0: pwm@20040000 { 387*724ba675SRob Herring compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm"; 388*724ba675SRob Herring reg = <0x20040000 0x10>; 389*724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 390*724ba675SRob Herring clocks = <&cru SCLK_PWM0_PMU>, <&cru PCLK_PWM0_PMU>; 391*724ba675SRob Herring clock-names = "pwm", "pclk"; 392*724ba675SRob Herring pinctrl-names = "default"; 393*724ba675SRob Herring pinctrl-0 = <&pwm0_pin>; 394*724ba675SRob Herring #pwm-cells = <3>; 395*724ba675SRob Herring status = "disabled"; 396*724ba675SRob Herring }; 397*724ba675SRob Herring 398*724ba675SRob Herring pwm1: pwm@20040010 { 399*724ba675SRob Herring compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm"; 400*724ba675SRob Herring reg = <0x20040010 0x10>; 401*724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 402*724ba675SRob Herring clocks = <&cru SCLK_PWM0_PMU>, <&cru PCLK_PWM0_PMU>; 403*724ba675SRob Herring clock-names = "pwm", "pclk"; 404*724ba675SRob Herring pinctrl-names = "default"; 405*724ba675SRob Herring pinctrl-0 = <&pwm1_pin>; 406*724ba675SRob Herring #pwm-cells = <3>; 407*724ba675SRob Herring status = "disabled"; 408*724ba675SRob Herring }; 409*724ba675SRob Herring 410*724ba675SRob Herring pwm2: pwm@20040020 { 411*724ba675SRob Herring compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm"; 412*724ba675SRob Herring reg = <0x20040020 0x10>; 413*724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 414*724ba675SRob Herring clocks = <&cru SCLK_PWM0_PMU>, <&cru PCLK_PWM0_PMU>; 415*724ba675SRob Herring clock-names = "pwm", "pclk"; 416*724ba675SRob Herring pinctrl-names = "default"; 417*724ba675SRob Herring pinctrl-0 = <&pwm2_pin>; 418*724ba675SRob Herring #pwm-cells = <3>; 419*724ba675SRob Herring status = "disabled"; 420*724ba675SRob Herring }; 421*724ba675SRob Herring 422*724ba675SRob Herring pwm3: pwm@20040030 { 423*724ba675SRob Herring compatible = "rockchip,rv1108-pwm", "rockchip,rk3288-pwm"; 424*724ba675SRob Herring reg = <0x20040030 0x10>; 425*724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 426*724ba675SRob Herring clocks = <&cru SCLK_PWM0_PMU>, <&cru PCLK_PWM0_PMU>; 427*724ba675SRob Herring clock-names = "pwm", "pclk"; 428*724ba675SRob Herring pinctrl-names = "default"; 429*724ba675SRob Herring pinctrl-0 = <&pwm3_pin>; 430*724ba675SRob Herring #pwm-cells = <3>; 431*724ba675SRob Herring status = "disabled"; 432*724ba675SRob Herring }; 433*724ba675SRob Herring 434*724ba675SRob Herring pmugrf: syscon@20060000 { 435*724ba675SRob Herring compatible = "rockchip,rv1108-pmugrf", "syscon", "simple-mfd"; 436*724ba675SRob Herring reg = <0x20060000 0x1000>; 437*724ba675SRob Herring 438*724ba675SRob Herring pmu_io_domains: io-domains { 439*724ba675SRob Herring compatible = "rockchip,rv1108-pmu-io-voltage-domain"; 440*724ba675SRob Herring status = "disabled"; 441*724ba675SRob Herring }; 442*724ba675SRob Herring }; 443*724ba675SRob Herring 444*724ba675SRob Herring usbgrf: syscon@202a0000 { 445*724ba675SRob Herring compatible = "rockchip,rv1108-usbgrf", "syscon"; 446*724ba675SRob Herring reg = <0x202a0000 0x1000>; 447*724ba675SRob Herring }; 448*724ba675SRob Herring 449*724ba675SRob Herring cru: clock-controller@20200000 { 450*724ba675SRob Herring compatible = "rockchip,rv1108-cru"; 451*724ba675SRob Herring reg = <0x20200000 0x1000>; 452*724ba675SRob Herring clocks = <&xin24m>; 453*724ba675SRob Herring clock-names = "xin24m"; 454*724ba675SRob Herring rockchip,grf = <&grf>; 455*724ba675SRob Herring #clock-cells = <1>; 456*724ba675SRob Herring #reset-cells = <1>; 457*724ba675SRob Herring }; 458*724ba675SRob Herring 459*724ba675SRob Herring nfc: nand-controller@30100000 { 460*724ba675SRob Herring compatible = "rockchip,rv1108-nfc"; 461*724ba675SRob Herring reg = <0x30100000 0x1000>; 462*724ba675SRob Herring interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 463*724ba675SRob Herring clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>; 464*724ba675SRob Herring clock-names = "ahb", "nfc"; 465*724ba675SRob Herring assigned-clocks = <&cru SCLK_NANDC>; 466*724ba675SRob Herring assigned-clock-rates = <150000000>; 467*724ba675SRob Herring status = "disabled"; 468*724ba675SRob Herring }; 469*724ba675SRob Herring 470*724ba675SRob Herring emmc: mmc@30110000 { 471*724ba675SRob Herring compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc"; 472*724ba675SRob Herring reg = <0x30110000 0x4000>; 473*724ba675SRob Herring interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 474*724ba675SRob Herring clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, 475*724ba675SRob Herring <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; 476*724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 477*724ba675SRob Herring fifo-depth = <0x100>; 478*724ba675SRob Herring max-frequency = <150000000>; 479*724ba675SRob Herring status = "disabled"; 480*724ba675SRob Herring }; 481*724ba675SRob Herring 482*724ba675SRob Herring sdio: mmc@30120000 { 483*724ba675SRob Herring compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc"; 484*724ba675SRob Herring reg = <0x30120000 0x4000>; 485*724ba675SRob Herring interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 486*724ba675SRob Herring clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, 487*724ba675SRob Herring <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; 488*724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 489*724ba675SRob Herring fifo-depth = <0x100>; 490*724ba675SRob Herring max-frequency = <150000000>; 491*724ba675SRob Herring status = "disabled"; 492*724ba675SRob Herring }; 493*724ba675SRob Herring 494*724ba675SRob Herring sdmmc: mmc@30130000 { 495*724ba675SRob Herring compatible = "rockchip,rv1108-dw-mshc", "rockchip,rk3288-dw-mshc"; 496*724ba675SRob Herring reg = <0x30130000 0x4000>; 497*724ba675SRob Herring interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 498*724ba675SRob Herring clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, 499*724ba675SRob Herring <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; 500*724ba675SRob Herring clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; 501*724ba675SRob Herring fifo-depth = <0x100>; 502*724ba675SRob Herring max-frequency = <100000000>; 503*724ba675SRob Herring pinctrl-names = "default"; 504*724ba675SRob Herring pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; 505*724ba675SRob Herring status = "disabled"; 506*724ba675SRob Herring }; 507*724ba675SRob Herring 508*724ba675SRob Herring usb_host_ehci: usb@30140000 { 509*724ba675SRob Herring compatible = "generic-ehci"; 510*724ba675SRob Herring reg = <0x30140000 0x20000>; 511*724ba675SRob Herring interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 512*724ba675SRob Herring clocks = <&cru HCLK_HOST0>, <&u2phy>; 513*724ba675SRob Herring phys = <&u2phy_host>; 514*724ba675SRob Herring phy-names = "usb"; 515*724ba675SRob Herring status = "disabled"; 516*724ba675SRob Herring }; 517*724ba675SRob Herring 518*724ba675SRob Herring usb_host_ohci: usb@30160000 { 519*724ba675SRob Herring compatible = "generic-ohci"; 520*724ba675SRob Herring reg = <0x30160000 0x20000>; 521*724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 522*724ba675SRob Herring clocks = <&cru HCLK_HOST0>, <&u2phy>; 523*724ba675SRob Herring phys = <&u2phy_host>; 524*724ba675SRob Herring phy-names = "usb"; 525*724ba675SRob Herring status = "disabled"; 526*724ba675SRob Herring }; 527*724ba675SRob Herring 528*724ba675SRob Herring usb_otg: usb@30180000 { 529*724ba675SRob Herring compatible = "rockchip,rv1108-usb", "rockchip,rk3066-usb", 530*724ba675SRob Herring "snps,dwc2"; 531*724ba675SRob Herring reg = <0x30180000 0x40000>; 532*724ba675SRob Herring interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 533*724ba675SRob Herring clocks = <&cru HCLK_OTG>; 534*724ba675SRob Herring clock-names = "otg"; 535*724ba675SRob Herring dr_mode = "otg"; 536*724ba675SRob Herring g-np-tx-fifo-size = <16>; 537*724ba675SRob Herring g-rx-fifo-size = <280>; 538*724ba675SRob Herring g-tx-fifo-size = <256 128 128 64 32 16>; 539*724ba675SRob Herring phys = <&u2phy_otg>; 540*724ba675SRob Herring phy-names = "usb2-phy"; 541*724ba675SRob Herring status = "disabled"; 542*724ba675SRob Herring }; 543*724ba675SRob Herring 544*724ba675SRob Herring sfc: spi@301c0000 { 545*724ba675SRob Herring compatible = "rockchip,sfc"; 546*724ba675SRob Herring reg = <0x301c0000 0x4000>; 547*724ba675SRob Herring interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; 548*724ba675SRob Herring clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>; 549*724ba675SRob Herring clock-names = "clk_sfc", "hclk_sfc"; 550*724ba675SRob Herring pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>; 551*724ba675SRob Herring pinctrl-names = "default"; 552*724ba675SRob Herring status = "disabled"; 553*724ba675SRob Herring }; 554*724ba675SRob Herring 555*724ba675SRob Herring gmac: ethernet@30200000 { 556*724ba675SRob Herring compatible = "rockchip,rv1108-gmac"; 557*724ba675SRob Herring reg = <0x30200000 0x10000>; 558*724ba675SRob Herring interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 559*724ba675SRob Herring <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 560*724ba675SRob Herring interrupt-names = "macirq", "eth_wake_irq"; 561*724ba675SRob Herring clocks = <&cru SCLK_MAC>, 562*724ba675SRob Herring <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_RX>, 563*724ba675SRob Herring <&cru SCLK_MAC_REF>, <&cru SCLK_MAC_REFOUT>, 564*724ba675SRob Herring <&cru ACLK_GMAC>, <&cru PCLK_GMAC>; 565*724ba675SRob Herring clock-names = "stmmaceth", 566*724ba675SRob Herring "mac_clk_rx", "mac_clk_tx", 567*724ba675SRob Herring "clk_mac_ref", "clk_mac_refout", 568*724ba675SRob Herring "aclk_mac", "pclk_mac"; 569*724ba675SRob Herring /* rv1108 only supports an rmii interface */ 570*724ba675SRob Herring phy-mode = "rmii"; 571*724ba675SRob Herring pinctrl-names = "default"; 572*724ba675SRob Herring pinctrl-0 = <&rmii_pins>; 573*724ba675SRob Herring rockchip,grf = <&grf>; 574*724ba675SRob Herring status = "disabled"; 575*724ba675SRob Herring }; 576*724ba675SRob Herring 577*724ba675SRob Herring gic: interrupt-controller@32010000 { 578*724ba675SRob Herring compatible = "arm,gic-400"; 579*724ba675SRob Herring interrupt-controller; 580*724ba675SRob Herring #interrupt-cells = <3>; 581*724ba675SRob Herring #address-cells = <0>; 582*724ba675SRob Herring 583*724ba675SRob Herring reg = <0x32011000 0x1000>, 584*724ba675SRob Herring <0x32012000 0x2000>, 585*724ba675SRob Herring <0x32014000 0x2000>, 586*724ba675SRob Herring <0x32016000 0x2000>; 587*724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>; 588*724ba675SRob Herring }; 589*724ba675SRob Herring 590*724ba675SRob Herring pinctrl: pinctrl { 591*724ba675SRob Herring compatible = "rockchip,rv1108-pinctrl"; 592*724ba675SRob Herring rockchip,grf = <&grf>; 593*724ba675SRob Herring rockchip,pmu = <&pmugrf>; 594*724ba675SRob Herring #address-cells = <1>; 595*724ba675SRob Herring #size-cells = <1>; 596*724ba675SRob Herring ranges; 597*724ba675SRob Herring 598*724ba675SRob Herring gpio0: gpio@20030000 { 599*724ba675SRob Herring compatible = "rockchip,gpio-bank"; 600*724ba675SRob Herring reg = <0x20030000 0x100>; 601*724ba675SRob Herring interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 602*724ba675SRob Herring clocks = <&cru PCLK_GPIO0_PMU>; 603*724ba675SRob Herring 604*724ba675SRob Herring gpio-controller; 605*724ba675SRob Herring #gpio-cells = <2>; 606*724ba675SRob Herring 607*724ba675SRob Herring interrupt-controller; 608*724ba675SRob Herring #interrupt-cells = <2>; 609*724ba675SRob Herring }; 610*724ba675SRob Herring 611*724ba675SRob Herring gpio1: gpio@10310000 { 612*724ba675SRob Herring compatible = "rockchip,gpio-bank"; 613*724ba675SRob Herring reg = <0x10310000 0x100>; 614*724ba675SRob Herring interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 615*724ba675SRob Herring clocks = <&cru PCLK_GPIO1>; 616*724ba675SRob Herring 617*724ba675SRob Herring gpio-controller; 618*724ba675SRob Herring #gpio-cells = <2>; 619*724ba675SRob Herring 620*724ba675SRob Herring interrupt-controller; 621*724ba675SRob Herring #interrupt-cells = <2>; 622*724ba675SRob Herring }; 623*724ba675SRob Herring 624*724ba675SRob Herring gpio2: gpio@10320000 { 625*724ba675SRob Herring compatible = "rockchip,gpio-bank"; 626*724ba675SRob Herring reg = <0x10320000 0x100>; 627*724ba675SRob Herring interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 628*724ba675SRob Herring clocks = <&cru PCLK_GPIO2>; 629*724ba675SRob Herring 630*724ba675SRob Herring gpio-controller; 631*724ba675SRob Herring #gpio-cells = <2>; 632*724ba675SRob Herring 633*724ba675SRob Herring interrupt-controller; 634*724ba675SRob Herring #interrupt-cells = <2>; 635*724ba675SRob Herring }; 636*724ba675SRob Herring 637*724ba675SRob Herring gpio3: gpio@10330000 { 638*724ba675SRob Herring compatible = "rockchip,gpio-bank"; 639*724ba675SRob Herring reg = <0x10330000 0x100>; 640*724ba675SRob Herring interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; 641*724ba675SRob Herring clocks = <&cru PCLK_GPIO3>; 642*724ba675SRob Herring 643*724ba675SRob Herring gpio-controller; 644*724ba675SRob Herring #gpio-cells = <2>; 645*724ba675SRob Herring 646*724ba675SRob Herring interrupt-controller; 647*724ba675SRob Herring #interrupt-cells = <2>; 648*724ba675SRob Herring }; 649*724ba675SRob Herring 650*724ba675SRob Herring pcfg_pull_up: pcfg-pull-up { 651*724ba675SRob Herring bias-pull-up; 652*724ba675SRob Herring }; 653*724ba675SRob Herring 654*724ba675SRob Herring pcfg_pull_down: pcfg-pull-down { 655*724ba675SRob Herring bias-pull-down; 656*724ba675SRob Herring }; 657*724ba675SRob Herring 658*724ba675SRob Herring pcfg_pull_none: pcfg-pull-none { 659*724ba675SRob Herring bias-disable; 660*724ba675SRob Herring }; 661*724ba675SRob Herring 662*724ba675SRob Herring pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 663*724ba675SRob Herring drive-strength = <8>; 664*724ba675SRob Herring }; 665*724ba675SRob Herring 666*724ba675SRob Herring pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma { 667*724ba675SRob Herring drive-strength = <12>; 668*724ba675SRob Herring }; 669*724ba675SRob Herring 670*724ba675SRob Herring pcfg_pull_none_smt: pcfg-pull-none-smt { 671*724ba675SRob Herring bias-disable; 672*724ba675SRob Herring input-schmitt-enable; 673*724ba675SRob Herring }; 674*724ba675SRob Herring 675*724ba675SRob Herring pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 676*724ba675SRob Herring bias-pull-up; 677*724ba675SRob Herring drive-strength = <8>; 678*724ba675SRob Herring }; 679*724ba675SRob Herring 680*724ba675SRob Herring pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma { 681*724ba675SRob Herring drive-strength = <4>; 682*724ba675SRob Herring }; 683*724ba675SRob Herring 684*724ba675SRob Herring pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma { 685*724ba675SRob Herring bias-pull-up; 686*724ba675SRob Herring drive-strength = <4>; 687*724ba675SRob Herring }; 688*724ba675SRob Herring 689*724ba675SRob Herring pcfg_output_high: pcfg-output-high { 690*724ba675SRob Herring output-high; 691*724ba675SRob Herring }; 692*724ba675SRob Herring 693*724ba675SRob Herring pcfg_output_low: pcfg-output-low { 694*724ba675SRob Herring output-low; 695*724ba675SRob Herring }; 696*724ba675SRob Herring 697*724ba675SRob Herring pcfg_input_high: pcfg-input-high { 698*724ba675SRob Herring bias-pull-up; 699*724ba675SRob Herring input-enable; 700*724ba675SRob Herring }; 701*724ba675SRob Herring 702*724ba675SRob Herring emmc { 703*724ba675SRob Herring emmc_bus8: emmc-bus8 { 704*724ba675SRob Herring rockchip,pins = <2 RK_PA0 2 &pcfg_pull_up_drv_8ma>, 705*724ba675SRob Herring <2 RK_PA1 2 &pcfg_pull_up_drv_8ma>, 706*724ba675SRob Herring <2 RK_PA2 2 &pcfg_pull_up_drv_8ma>, 707*724ba675SRob Herring <2 RK_PA3 2 &pcfg_pull_up_drv_8ma>, 708*724ba675SRob Herring <2 RK_PA4 2 &pcfg_pull_up_drv_8ma>, 709*724ba675SRob Herring <2 RK_PA5 2 &pcfg_pull_up_drv_8ma>, 710*724ba675SRob Herring <2 RK_PA6 2 &pcfg_pull_up_drv_8ma>, 711*724ba675SRob Herring <2 RK_PA7 2 &pcfg_pull_up_drv_8ma>; 712*724ba675SRob Herring }; 713*724ba675SRob Herring 714*724ba675SRob Herring emmc_clk: emmc-clk { 715*724ba675SRob Herring rockchip,pins = <2 RK_PB6 1 &pcfg_pull_none_drv_8ma>; 716*724ba675SRob Herring }; 717*724ba675SRob Herring 718*724ba675SRob Herring emmc_cmd: emmc-cmd { 719*724ba675SRob Herring rockchip,pins = <2 RK_PB4 2 &pcfg_pull_up_drv_8ma>; 720*724ba675SRob Herring }; 721*724ba675SRob Herring }; 722*724ba675SRob Herring 723*724ba675SRob Herring sfc { 724*724ba675SRob Herring sfc_bus4: sfc-bus4 { 725*724ba675SRob Herring rockchip,pins = 726*724ba675SRob Herring <2 RK_PA0 3 &pcfg_pull_none>, 727*724ba675SRob Herring <2 RK_PA1 3 &pcfg_pull_none>, 728*724ba675SRob Herring <2 RK_PA2 3 &pcfg_pull_none>, 729*724ba675SRob Herring <2 RK_PA3 3 &pcfg_pull_none>; 730*724ba675SRob Herring }; 731*724ba675SRob Herring 732*724ba675SRob Herring sfc_bus2: sfc-bus2 { 733*724ba675SRob Herring rockchip,pins = 734*724ba675SRob Herring <2 RK_PA0 3 &pcfg_pull_none>, 735*724ba675SRob Herring <2 RK_PA1 3 &pcfg_pull_none>; 736*724ba675SRob Herring }; 737*724ba675SRob Herring 738*724ba675SRob Herring sfc_cs0: sfc-cs0 { 739*724ba675SRob Herring rockchip,pins = 740*724ba675SRob Herring <2 RK_PB4 3 &pcfg_pull_none>; 741*724ba675SRob Herring }; 742*724ba675SRob Herring 743*724ba675SRob Herring sfc_clk: sfc-clk { 744*724ba675SRob Herring rockchip,pins = 745*724ba675SRob Herring <2 RK_PB7 2 &pcfg_pull_none>; 746*724ba675SRob Herring }; 747*724ba675SRob Herring }; 748*724ba675SRob Herring 749*724ba675SRob Herring gmac { 750*724ba675SRob Herring rmii_pins: rmii-pins { 751*724ba675SRob Herring rockchip,pins = <1 RK_PC5 2 &pcfg_pull_none>, 752*724ba675SRob Herring <1 RK_PC3 2 &pcfg_pull_none>, 753*724ba675SRob Herring <1 RK_PC4 2 &pcfg_pull_none>, 754*724ba675SRob Herring <1 RK_PB2 3 &pcfg_pull_none_drv_12ma>, 755*724ba675SRob Herring <1 RK_PB3 3 &pcfg_pull_none_drv_12ma>, 756*724ba675SRob Herring <1 RK_PB4 3 &pcfg_pull_none_drv_12ma>, 757*724ba675SRob Herring <1 RK_PB5 3 &pcfg_pull_none>, 758*724ba675SRob Herring <1 RK_PB6 3 &pcfg_pull_none>, 759*724ba675SRob Herring <1 RK_PB7 3 &pcfg_pull_none>, 760*724ba675SRob Herring <1 RK_PC2 3 &pcfg_pull_none>; 761*724ba675SRob Herring }; 762*724ba675SRob Herring }; 763*724ba675SRob Herring 764*724ba675SRob Herring i2c0 { 765*724ba675SRob Herring i2c0_xfer: i2c0-xfer { 766*724ba675SRob Herring rockchip,pins = <0 RK_PB1 1 &pcfg_pull_none_smt>, 767*724ba675SRob Herring <0 RK_PB2 1 &pcfg_pull_none_smt>; 768*724ba675SRob Herring }; 769*724ba675SRob Herring }; 770*724ba675SRob Herring 771*724ba675SRob Herring i2c1 { 772*724ba675SRob Herring i2c1_xfer: i2c1-xfer { 773*724ba675SRob Herring rockchip,pins = <2 RK_PD3 1 &pcfg_pull_up>, 774*724ba675SRob Herring <2 RK_PD4 1 &pcfg_pull_up>; 775*724ba675SRob Herring }; 776*724ba675SRob Herring }; 777*724ba675SRob Herring 778*724ba675SRob Herring i2c2m1 { 779*724ba675SRob Herring i2c2m1_xfer: i2c2m1-xfer { 780*724ba675SRob Herring rockchip,pins = <0 RK_PC2 2 &pcfg_pull_none>, 781*724ba675SRob Herring <0 RK_PC6 3 &pcfg_pull_none>; 782*724ba675SRob Herring }; 783*724ba675SRob Herring 784*724ba675SRob Herring i2c2m1_pins: i2c2m1-pins { 785*724ba675SRob Herring rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>, 786*724ba675SRob Herring <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 787*724ba675SRob Herring }; 788*724ba675SRob Herring }; 789*724ba675SRob Herring 790*724ba675SRob Herring i2c2m05v { 791*724ba675SRob Herring i2c2m05v_xfer: i2c2m05v-xfer { 792*724ba675SRob Herring rockchip,pins = <1 RK_PD5 2 &pcfg_pull_none>, 793*724ba675SRob Herring <1 RK_PD4 2 &pcfg_pull_none>; 794*724ba675SRob Herring }; 795*724ba675SRob Herring 796*724ba675SRob Herring i2c2m05v_pins: i2c2m05v-pins { 797*724ba675SRob Herring rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>, 798*724ba675SRob Herring <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 799*724ba675SRob Herring }; 800*724ba675SRob Herring }; 801*724ba675SRob Herring 802*724ba675SRob Herring i2c3 { 803*724ba675SRob Herring i2c3_xfer: i2c3-xfer { 804*724ba675SRob Herring rockchip,pins = <0 RK_PB6 1 &pcfg_pull_none>, 805*724ba675SRob Herring <0 RK_PC4 2 &pcfg_pull_none>; 806*724ba675SRob Herring }; 807*724ba675SRob Herring }; 808*724ba675SRob Herring 809*724ba675SRob Herring pwm0 { 810*724ba675SRob Herring pwm0_pin: pwm0-pin { 811*724ba675SRob Herring rockchip,pins = <0 RK_PC5 1 &pcfg_pull_none>; 812*724ba675SRob Herring }; 813*724ba675SRob Herring }; 814*724ba675SRob Herring 815*724ba675SRob Herring pwm1 { 816*724ba675SRob Herring pwm1_pin: pwm1-pin { 817*724ba675SRob Herring rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>; 818*724ba675SRob Herring }; 819*724ba675SRob Herring }; 820*724ba675SRob Herring 821*724ba675SRob Herring pwm2 { 822*724ba675SRob Herring pwm2_pin: pwm2-pin { 823*724ba675SRob Herring rockchip,pins = <0 RK_PC6 1 &pcfg_pull_none>; 824*724ba675SRob Herring }; 825*724ba675SRob Herring }; 826*724ba675SRob Herring 827*724ba675SRob Herring pwm3 { 828*724ba675SRob Herring pwm3_pin: pwm3-pin { 829*724ba675SRob Herring rockchip,pins = <0 RK_PC0 1 &pcfg_pull_none>; 830*724ba675SRob Herring }; 831*724ba675SRob Herring }; 832*724ba675SRob Herring 833*724ba675SRob Herring pwm4 { 834*724ba675SRob Herring pwm4_pin: pwm4-pin { 835*724ba675SRob Herring rockchip,pins = <1 RK_PC1 3 &pcfg_pull_none>; 836*724ba675SRob Herring }; 837*724ba675SRob Herring }; 838*724ba675SRob Herring 839*724ba675SRob Herring pwm5 { 840*724ba675SRob Herring pwm5_pin: pwm5-pin { 841*724ba675SRob Herring rockchip,pins = <1 RK_PA7 2 &pcfg_pull_none>; 842*724ba675SRob Herring }; 843*724ba675SRob Herring }; 844*724ba675SRob Herring 845*724ba675SRob Herring pwm6 { 846*724ba675SRob Herring pwm6_pin: pwm6-pin { 847*724ba675SRob Herring rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>; 848*724ba675SRob Herring }; 849*724ba675SRob Herring }; 850*724ba675SRob Herring 851*724ba675SRob Herring pwm7 { 852*724ba675SRob Herring pwm7_pin: pwm7-pin { 853*724ba675SRob Herring rockchip,pins = <1 RK_PB1 2 &pcfg_pull_none>; 854*724ba675SRob Herring }; 855*724ba675SRob Herring }; 856*724ba675SRob Herring 857*724ba675SRob Herring sdmmc { 858*724ba675SRob Herring sdmmc_clk: sdmmc-clk { 859*724ba675SRob Herring rockchip,pins = <3 RK_PC4 1 &pcfg_pull_none_drv_4ma>; 860*724ba675SRob Herring }; 861*724ba675SRob Herring 862*724ba675SRob Herring sdmmc_cmd: sdmmc-cmd { 863*724ba675SRob Herring rockchip,pins = <3 RK_PC5 1 &pcfg_pull_up_drv_4ma>; 864*724ba675SRob Herring }; 865*724ba675SRob Herring 866*724ba675SRob Herring sdmmc_cd: sdmmc-cd { 867*724ba675SRob Herring rockchip,pins = <0 RK_PA1 1 &pcfg_pull_up_drv_4ma>; 868*724ba675SRob Herring }; 869*724ba675SRob Herring 870*724ba675SRob Herring sdmmc_bus1: sdmmc-bus1 { 871*724ba675SRob Herring rockchip,pins = <3 RK_PC3 1 &pcfg_pull_up_drv_4ma>; 872*724ba675SRob Herring }; 873*724ba675SRob Herring 874*724ba675SRob Herring sdmmc_bus4: sdmmc-bus4 { 875*724ba675SRob Herring rockchip,pins = <3 RK_PC3 1 &pcfg_pull_up_drv_4ma>, 876*724ba675SRob Herring <3 RK_PC2 1 &pcfg_pull_up_drv_4ma>, 877*724ba675SRob Herring <3 RK_PC1 1 &pcfg_pull_up_drv_4ma>, 878*724ba675SRob Herring <3 RK_PC0 1 &pcfg_pull_up_drv_4ma>; 879*724ba675SRob Herring }; 880*724ba675SRob Herring }; 881*724ba675SRob Herring 882*724ba675SRob Herring spim0 { 883*724ba675SRob Herring spim0_clk: spim0-clk { 884*724ba675SRob Herring rockchip,pins = <1 RK_PD0 2 &pcfg_pull_up>; 885*724ba675SRob Herring }; 886*724ba675SRob Herring 887*724ba675SRob Herring spim0_cs0: spim0-cs0 { 888*724ba675SRob Herring rockchip,pins = <1 RK_PD1 2 &pcfg_pull_up>; 889*724ba675SRob Herring }; 890*724ba675SRob Herring 891*724ba675SRob Herring spim0_tx: spim0-tx { 892*724ba675SRob Herring rockchip,pins = <1 RK_PD3 2 &pcfg_pull_up>; 893*724ba675SRob Herring }; 894*724ba675SRob Herring 895*724ba675SRob Herring spim0_rx: spim0-rx { 896*724ba675SRob Herring rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up>; 897*724ba675SRob Herring }; 898*724ba675SRob Herring }; 899*724ba675SRob Herring 900*724ba675SRob Herring spim1 { 901*724ba675SRob Herring spim1_clk: spim1-clk { 902*724ba675SRob Herring rockchip,pins = <0 RK_PA3 1 &pcfg_pull_up>; 903*724ba675SRob Herring }; 904*724ba675SRob Herring 905*724ba675SRob Herring spim1_cs0: spim1-cs0 { 906*724ba675SRob Herring rockchip,pins = <0 RK_PA4 1 &pcfg_pull_up>; 907*724ba675SRob Herring }; 908*724ba675SRob Herring 909*724ba675SRob Herring spim1_rx: spim1-rx { 910*724ba675SRob Herring rockchip,pins = <0 RK_PB0 1 &pcfg_pull_up>; 911*724ba675SRob Herring }; 912*724ba675SRob Herring 913*724ba675SRob Herring spim1_tx: spim1-tx { 914*724ba675SRob Herring rockchip,pins = <0 RK_PA7 1 &pcfg_pull_up>; 915*724ba675SRob Herring }; 916*724ba675SRob Herring }; 917*724ba675SRob Herring 918*724ba675SRob Herring tsadc { 919*724ba675SRob Herring otp_out: otp-out { 920*724ba675SRob Herring rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>; 921*724ba675SRob Herring }; 922*724ba675SRob Herring 923*724ba675SRob Herring otp_pin: otp-pin { 924*724ba675SRob Herring rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 925*724ba675SRob Herring }; 926*724ba675SRob Herring }; 927*724ba675SRob Herring 928*724ba675SRob Herring uart0 { 929*724ba675SRob Herring uart0_xfer: uart0-xfer { 930*724ba675SRob Herring rockchip,pins = <3 RK_PA6 1 &pcfg_pull_up>, 931*724ba675SRob Herring <3 RK_PA5 1 &pcfg_pull_none>; 932*724ba675SRob Herring }; 933*724ba675SRob Herring 934*724ba675SRob Herring uart0_cts: uart0-cts { 935*724ba675SRob Herring rockchip,pins = <3 RK_PA4 1 &pcfg_pull_none>; 936*724ba675SRob Herring }; 937*724ba675SRob Herring 938*724ba675SRob Herring uart0_rts: uart0-rts { 939*724ba675SRob Herring rockchip,pins = <3 RK_PA3 1 &pcfg_pull_none>; 940*724ba675SRob Herring }; 941*724ba675SRob Herring 942*724ba675SRob Herring uart0_rts_pin: uart0-rts-pin { 943*724ba675SRob Herring rockchip,pins = <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 944*724ba675SRob Herring }; 945*724ba675SRob Herring }; 946*724ba675SRob Herring 947*724ba675SRob Herring uart1 { 948*724ba675SRob Herring uart1_xfer: uart1-xfer { 949*724ba675SRob Herring rockchip,pins = <1 RK_PD3 1 &pcfg_pull_up>, 950*724ba675SRob Herring <1 RK_PD2 1 &pcfg_pull_none>; 951*724ba675SRob Herring }; 952*724ba675SRob Herring 953*724ba675SRob Herring uart1_cts: uart1-cts { 954*724ba675SRob Herring rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>; 955*724ba675SRob Herring }; 956*724ba675SRob Herring 957*724ba675SRob Herring uart1_rts: uart1-rts { 958*724ba675SRob Herring rockchip,pins = <1 RK_PD1 1 &pcfg_pull_none>; 959*724ba675SRob Herring }; 960*724ba675SRob Herring }; 961*724ba675SRob Herring 962*724ba675SRob Herring uart2m0 { 963*724ba675SRob Herring uart2m0_xfer: uart2m0-xfer { 964*724ba675SRob Herring rockchip,pins = <2 RK_PD2 1 &pcfg_pull_up>, 965*724ba675SRob Herring <2 RK_PD1 1 &pcfg_pull_none>; 966*724ba675SRob Herring }; 967*724ba675SRob Herring }; 968*724ba675SRob Herring 969*724ba675SRob Herring uart2m1 { 970*724ba675SRob Herring uart2m1_xfer: uart2m1-xfer { 971*724ba675SRob Herring rockchip,pins = <3 RK_PC3 2 &pcfg_pull_up>, 972*724ba675SRob Herring <3 RK_PC2 2 &pcfg_pull_none>; 973*724ba675SRob Herring }; 974*724ba675SRob Herring }; 975*724ba675SRob Herring 976*724ba675SRob Herring uart2_5v { 977*724ba675SRob Herring uart2_5v_cts: uart2_5v-cts { 978*724ba675SRob Herring rockchip,pins = <1 RK_PD4 1 &pcfg_pull_none>; 979*724ba675SRob Herring }; 980*724ba675SRob Herring 981*724ba675SRob Herring uart2_5v_rts: uart2_5v-rts { 982*724ba675SRob Herring rockchip,pins = <1 RK_PD5 1 &pcfg_pull_none>; 983*724ba675SRob Herring }; 984*724ba675SRob Herring }; 985*724ba675SRob Herring }; 986*724ba675SRob Herring}; 987