1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. 4*724ba675SRob Herring */ 5*724ba675SRob Herring 6*724ba675SRob Herring#include "rk3288.dtsi" 7*724ba675SRob Herring#include <dt-bindings/input/input.h> 8*724ba675SRob Herring#include <dt-bindings/clock/rockchip,rk808.h> 9*724ba675SRob Herring 10*724ba675SRob Herring/ { 11*724ba675SRob Herring chosen { 12*724ba675SRob Herring stdout-path = "serial2:115200n8"; 13*724ba675SRob Herring }; 14*724ba675SRob Herring 15*724ba675SRob Herring memory { 16*724ba675SRob Herring reg = <0x0 0x0 0x0 0x80000000>; 17*724ba675SRob Herring device_type = "memory"; 18*724ba675SRob Herring }; 19*724ba675SRob Herring 20*724ba675SRob Herring ext_gmac: external-gmac-clock { 21*724ba675SRob Herring compatible = "fixed-clock"; 22*724ba675SRob Herring #clock-cells = <0>; 23*724ba675SRob Herring clock-frequency = <125000000>; 24*724ba675SRob Herring clock-output-names = "ext_gmac"; 25*724ba675SRob Herring }; 26*724ba675SRob Herring 27*724ba675SRob Herring gpio-keys { 28*724ba675SRob Herring compatible = "gpio-keys"; 29*724ba675SRob Herring autorepeat; 30*724ba675SRob Herring 31*724ba675SRob Herring pinctrl-names = "default"; 32*724ba675SRob Herring pinctrl-0 = <&pwrbtn>; 33*724ba675SRob Herring 34*724ba675SRob Herring button { 35*724ba675SRob Herring gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 36*724ba675SRob Herring linux,code = <KEY_POWER>; 37*724ba675SRob Herring label = "GPIO Key Power"; 38*724ba675SRob Herring linux,input-type = <1>; 39*724ba675SRob Herring wakeup-source; 40*724ba675SRob Herring debounce-interval = <100>; 41*724ba675SRob Herring }; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring gpio-leds { 45*724ba675SRob Herring compatible = "gpio-leds"; 46*724ba675SRob Herring 47*724ba675SRob Herring act_led: led-0 { 48*724ba675SRob Herring gpios = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>; 49*724ba675SRob Herring linux,default-trigger = "mmc0"; 50*724ba675SRob Herring }; 51*724ba675SRob Herring 52*724ba675SRob Herring heartbeat_led: led-1 { 53*724ba675SRob Herring gpios = <&gpio1 RK_PD1 GPIO_ACTIVE_HIGH>; 54*724ba675SRob Herring linux,default-trigger = "heartbeat"; 55*724ba675SRob Herring }; 56*724ba675SRob Herring 57*724ba675SRob Herring pwr_led: led-2 { 58*724ba675SRob Herring gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>; 59*724ba675SRob Herring linux,default-trigger = "default-on"; 60*724ba675SRob Herring }; 61*724ba675SRob Herring }; 62*724ba675SRob Herring 63*724ba675SRob Herring sdio_pwrseq: sdio-pwrseq { 64*724ba675SRob Herring compatible = "mmc-pwrseq-simple"; 65*724ba675SRob Herring clocks = <&rk808 RK808_CLKOUT1>; 66*724ba675SRob Herring clock-names = "ext_clock"; 67*724ba675SRob Herring pinctrl-names = "default"; 68*724ba675SRob Herring pinctrl-0 = <&wifi_enable>; 69*724ba675SRob Herring reset-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_LOW>, 70*724ba675SRob Herring <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>; 71*724ba675SRob Herring }; 72*724ba675SRob Herring 73*724ba675SRob Herring sound { 74*724ba675SRob Herring compatible = "simple-audio-card"; 75*724ba675SRob Herring simple-audio-card,format = "i2s"; 76*724ba675SRob Herring simple-audio-card,name = "rockchip,tinker-codec"; 77*724ba675SRob Herring simple-audio-card,mclk-fs = <512>; 78*724ba675SRob Herring 79*724ba675SRob Herring simple-audio-card,codec { 80*724ba675SRob Herring sound-dai = <&hdmi>; 81*724ba675SRob Herring }; 82*724ba675SRob Herring 83*724ba675SRob Herring simple-audio-card,cpu { 84*724ba675SRob Herring sound-dai = <&i2s>; 85*724ba675SRob Herring }; 86*724ba675SRob Herring }; 87*724ba675SRob Herring 88*724ba675SRob Herring vcc_sys: vsys-regulator { 89*724ba675SRob Herring compatible = "regulator-fixed"; 90*724ba675SRob Herring regulator-name = "vcc_sys"; 91*724ba675SRob Herring regulator-min-microvolt = <5000000>; 92*724ba675SRob Herring regulator-max-microvolt = <5000000>; 93*724ba675SRob Herring regulator-always-on; 94*724ba675SRob Herring regulator-boot-on; 95*724ba675SRob Herring }; 96*724ba675SRob Herring 97*724ba675SRob Herring vcc_sd: sdmmc-regulator { 98*724ba675SRob Herring compatible = "regulator-fixed"; 99*724ba675SRob Herring gpio = <&gpio7 11 GPIO_ACTIVE_LOW>; 100*724ba675SRob Herring pinctrl-names = "default"; 101*724ba675SRob Herring pinctrl-0 = <&sdmmc_pwr>; 102*724ba675SRob Herring regulator-name = "vcc_sd"; 103*724ba675SRob Herring regulator-min-microvolt = <3300000>; 104*724ba675SRob Herring regulator-max-microvolt = <3300000>; 105*724ba675SRob Herring startup-delay-us = <100000>; 106*724ba675SRob Herring vin-supply = <&vcc_io>; 107*724ba675SRob Herring }; 108*724ba675SRob Herring}; 109*724ba675SRob Herring 110*724ba675SRob Herring&cpu0 { 111*724ba675SRob Herring cpu0-supply = <&vdd_cpu>; 112*724ba675SRob Herring}; 113*724ba675SRob Herring 114*724ba675SRob Herring&cpu_opp_table { 115*724ba675SRob Herring opp-1704000000 { 116*724ba675SRob Herring opp-hz = /bits/ 64 <1704000000>; 117*724ba675SRob Herring opp-microvolt = <1350000>; 118*724ba675SRob Herring }; 119*724ba675SRob Herring opp-1800000000 { 120*724ba675SRob Herring opp-hz = /bits/ 64 <1800000000>; 121*724ba675SRob Herring opp-microvolt = <1400000>; 122*724ba675SRob Herring }; 123*724ba675SRob Herring}; 124*724ba675SRob Herring 125*724ba675SRob Herring&gmac { 126*724ba675SRob Herring assigned-clocks = <&cru SCLK_MAC>; 127*724ba675SRob Herring assigned-clock-parents = <&ext_gmac>; 128*724ba675SRob Herring clock_in_out = "input"; 129*724ba675SRob Herring phy-mode = "rgmii"; 130*724ba675SRob Herring phy-supply = <&vcc33_lan>; 131*724ba675SRob Herring pinctrl-names = "default"; 132*724ba675SRob Herring pinctrl-0 = <&rgmii_pins>; 133*724ba675SRob Herring snps,reset-gpio = <&gpio4 7 0>; 134*724ba675SRob Herring snps,reset-active-low; 135*724ba675SRob Herring snps,reset-delays-us = <0 10000 1000000>; 136*724ba675SRob Herring tx_delay = <0x30>; 137*724ba675SRob Herring rx_delay = <0x10>; 138*724ba675SRob Herring status = "okay"; 139*724ba675SRob Herring}; 140*724ba675SRob Herring 141*724ba675SRob Herring&gpu { 142*724ba675SRob Herring mali-supply = <&vdd_gpu>; 143*724ba675SRob Herring status = "okay"; 144*724ba675SRob Herring}; 145*724ba675SRob Herring 146*724ba675SRob Herring&hdmi { 147*724ba675SRob Herring ddc-i2c-bus = <&i2c5>; 148*724ba675SRob Herring status = "okay"; 149*724ba675SRob Herring}; 150*724ba675SRob Herring 151*724ba675SRob Herring&i2c0 { 152*724ba675SRob Herring clock-frequency = <400000>; 153*724ba675SRob Herring status = "okay"; 154*724ba675SRob Herring 155*724ba675SRob Herring rk808: pmic@1b { 156*724ba675SRob Herring compatible = "rockchip,rk808"; 157*724ba675SRob Herring reg = <0x1b>; 158*724ba675SRob Herring interrupt-parent = <&gpio0>; 159*724ba675SRob Herring interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 160*724ba675SRob Herring #clock-cells = <1>; 161*724ba675SRob Herring clock-output-names = "xin32k", "rk808-clkout2"; 162*724ba675SRob Herring dvs-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>, 163*724ba675SRob Herring <&gpio0 12 GPIO_ACTIVE_HIGH>; 164*724ba675SRob Herring pinctrl-names = "default"; 165*724ba675SRob Herring pinctrl-0 = <&pmic_int &global_pwroff &dvs_1 &dvs_2>; 166*724ba675SRob Herring rockchip,system-power-controller; 167*724ba675SRob Herring wakeup-source; 168*724ba675SRob Herring 169*724ba675SRob Herring vcc1-supply = <&vcc_sys>; 170*724ba675SRob Herring vcc2-supply = <&vcc_sys>; 171*724ba675SRob Herring vcc3-supply = <&vcc_sys>; 172*724ba675SRob Herring vcc4-supply = <&vcc_sys>; 173*724ba675SRob Herring vcc6-supply = <&vcc_sys>; 174*724ba675SRob Herring vcc7-supply = <&vcc_sys>; 175*724ba675SRob Herring vcc8-supply = <&vcc_io>; 176*724ba675SRob Herring vcc9-supply = <&vcc_io>; 177*724ba675SRob Herring vcc10-supply = <&vcc_io>; 178*724ba675SRob Herring vcc11-supply = <&vcc_sys>; 179*724ba675SRob Herring vcc12-supply = <&vcc_io>; 180*724ba675SRob Herring vddio-supply = <&vcc_io>; 181*724ba675SRob Herring 182*724ba675SRob Herring regulators { 183*724ba675SRob Herring vdd_cpu: DCDC_REG1 { 184*724ba675SRob Herring regulator-always-on; 185*724ba675SRob Herring regulator-boot-on; 186*724ba675SRob Herring regulator-min-microvolt = <750000>; 187*724ba675SRob Herring regulator-max-microvolt = <1400000>; 188*724ba675SRob Herring regulator-name = "vdd_arm"; 189*724ba675SRob Herring regulator-ramp-delay = <6000>; 190*724ba675SRob Herring regulator-state-mem { 191*724ba675SRob Herring regulator-off-in-suspend; 192*724ba675SRob Herring }; 193*724ba675SRob Herring }; 194*724ba675SRob Herring 195*724ba675SRob Herring vdd_gpu: DCDC_REG2 { 196*724ba675SRob Herring regulator-always-on; 197*724ba675SRob Herring regulator-boot-on; 198*724ba675SRob Herring regulator-min-microvolt = <850000>; 199*724ba675SRob Herring regulator-max-microvolt = <1250000>; 200*724ba675SRob Herring regulator-name = "vdd_gpu"; 201*724ba675SRob Herring regulator-ramp-delay = <6000>; 202*724ba675SRob Herring regulator-state-mem { 203*724ba675SRob Herring regulator-on-in-suspend; 204*724ba675SRob Herring regulator-suspend-microvolt = <1000000>; 205*724ba675SRob Herring }; 206*724ba675SRob Herring }; 207*724ba675SRob Herring 208*724ba675SRob Herring vcc_ddr: DCDC_REG3 { 209*724ba675SRob Herring regulator-always-on; 210*724ba675SRob Herring regulator-boot-on; 211*724ba675SRob Herring regulator-name = "vcc_ddr"; 212*724ba675SRob Herring regulator-state-mem { 213*724ba675SRob Herring regulator-on-in-suspend; 214*724ba675SRob Herring }; 215*724ba675SRob Herring }; 216*724ba675SRob Herring 217*724ba675SRob Herring vcc_io: DCDC_REG4 { 218*724ba675SRob Herring regulator-always-on; 219*724ba675SRob Herring regulator-boot-on; 220*724ba675SRob Herring regulator-min-microvolt = <3300000>; 221*724ba675SRob Herring regulator-max-microvolt = <3300000>; 222*724ba675SRob Herring regulator-name = "vcc_io"; 223*724ba675SRob Herring regulator-state-mem { 224*724ba675SRob Herring regulator-on-in-suspend; 225*724ba675SRob Herring regulator-suspend-microvolt = <3300000>; 226*724ba675SRob Herring }; 227*724ba675SRob Herring }; 228*724ba675SRob Herring 229*724ba675SRob Herring vcc18_ldo1: LDO_REG1 { 230*724ba675SRob Herring regulator-always-on; 231*724ba675SRob Herring regulator-boot-on; 232*724ba675SRob Herring regulator-min-microvolt = <1800000>; 233*724ba675SRob Herring regulator-max-microvolt = <1800000>; 234*724ba675SRob Herring regulator-name = "vcc18_ldo1"; 235*724ba675SRob Herring regulator-state-mem { 236*724ba675SRob Herring regulator-on-in-suspend; 237*724ba675SRob Herring regulator-suspend-microvolt = <1800000>; 238*724ba675SRob Herring }; 239*724ba675SRob Herring }; 240*724ba675SRob Herring 241*724ba675SRob Herring vcc33_mipi: LDO_REG2 { 242*724ba675SRob Herring regulator-always-on; 243*724ba675SRob Herring regulator-boot-on; 244*724ba675SRob Herring regulator-min-microvolt = <3300000>; 245*724ba675SRob Herring regulator-max-microvolt = <3300000>; 246*724ba675SRob Herring regulator-name = "vcc33_mipi"; 247*724ba675SRob Herring regulator-state-mem { 248*724ba675SRob Herring regulator-off-in-suspend; 249*724ba675SRob Herring }; 250*724ba675SRob Herring }; 251*724ba675SRob Herring 252*724ba675SRob Herring vdd_10: LDO_REG3 { 253*724ba675SRob Herring regulator-always-on; 254*724ba675SRob Herring regulator-boot-on; 255*724ba675SRob Herring regulator-min-microvolt = <1000000>; 256*724ba675SRob Herring regulator-max-microvolt = <1000000>; 257*724ba675SRob Herring regulator-name = "vdd_10"; 258*724ba675SRob Herring regulator-state-mem { 259*724ba675SRob Herring regulator-on-in-suspend; 260*724ba675SRob Herring regulator-suspend-microvolt = <1000000>; 261*724ba675SRob Herring }; 262*724ba675SRob Herring }; 263*724ba675SRob Herring 264*724ba675SRob Herring vcc18_codec: LDO_REG4 { 265*724ba675SRob Herring regulator-always-on; 266*724ba675SRob Herring regulator-boot-on; 267*724ba675SRob Herring regulator-min-microvolt = <1800000>; 268*724ba675SRob Herring regulator-max-microvolt = <1800000>; 269*724ba675SRob Herring regulator-name = "vcc18_codec"; 270*724ba675SRob Herring regulator-state-mem { 271*724ba675SRob Herring regulator-on-in-suspend; 272*724ba675SRob Herring regulator-suspend-microvolt = <1800000>; 273*724ba675SRob Herring }; 274*724ba675SRob Herring }; 275*724ba675SRob Herring 276*724ba675SRob Herring vccio_sd: LDO_REG5 { 277*724ba675SRob Herring regulator-always-on; 278*724ba675SRob Herring regulator-boot-on; 279*724ba675SRob Herring regulator-min-microvolt = <1800000>; 280*724ba675SRob Herring regulator-max-microvolt = <3300000>; 281*724ba675SRob Herring regulator-name = "vccio_sd"; 282*724ba675SRob Herring regulator-state-mem { 283*724ba675SRob Herring regulator-on-in-suspend; 284*724ba675SRob Herring regulator-suspend-microvolt = <3300000>; 285*724ba675SRob Herring }; 286*724ba675SRob Herring }; 287*724ba675SRob Herring 288*724ba675SRob Herring vdd10_lcd: LDO_REG6 { 289*724ba675SRob Herring regulator-always-on; 290*724ba675SRob Herring regulator-boot-on; 291*724ba675SRob Herring regulator-min-microvolt = <1000000>; 292*724ba675SRob Herring regulator-max-microvolt = <1000000>; 293*724ba675SRob Herring regulator-name = "vdd10_lcd"; 294*724ba675SRob Herring regulator-state-mem { 295*724ba675SRob Herring regulator-on-in-suspend; 296*724ba675SRob Herring regulator-suspend-microvolt = <1000000>; 297*724ba675SRob Herring }; 298*724ba675SRob Herring }; 299*724ba675SRob Herring 300*724ba675SRob Herring vcc_18: LDO_REG7 { 301*724ba675SRob Herring regulator-always-on; 302*724ba675SRob Herring regulator-boot-on; 303*724ba675SRob Herring regulator-min-microvolt = <1800000>; 304*724ba675SRob Herring regulator-max-microvolt = <1800000>; 305*724ba675SRob Herring regulator-name = "vcc_18"; 306*724ba675SRob Herring regulator-state-mem { 307*724ba675SRob Herring regulator-on-in-suspend; 308*724ba675SRob Herring regulator-suspend-microvolt = <1800000>; 309*724ba675SRob Herring }; 310*724ba675SRob Herring }; 311*724ba675SRob Herring 312*724ba675SRob Herring vcc18_lcd: LDO_REG8 { 313*724ba675SRob Herring regulator-always-on; 314*724ba675SRob Herring regulator-boot-on; 315*724ba675SRob Herring regulator-min-microvolt = <1800000>; 316*724ba675SRob Herring regulator-max-microvolt = <1800000>; 317*724ba675SRob Herring regulator-name = "vcc18_lcd"; 318*724ba675SRob Herring regulator-state-mem { 319*724ba675SRob Herring regulator-on-in-suspend; 320*724ba675SRob Herring regulator-suspend-microvolt = <1800000>; 321*724ba675SRob Herring }; 322*724ba675SRob Herring }; 323*724ba675SRob Herring 324*724ba675SRob Herring vcc33_sd: SWITCH_REG1 { 325*724ba675SRob Herring regulator-always-on; 326*724ba675SRob Herring regulator-boot-on; 327*724ba675SRob Herring regulator-name = "vcc33_sd"; 328*724ba675SRob Herring regulator-state-mem { 329*724ba675SRob Herring regulator-on-in-suspend; 330*724ba675SRob Herring }; 331*724ba675SRob Herring }; 332*724ba675SRob Herring 333*724ba675SRob Herring vcc33_lan: SWITCH_REG2 { 334*724ba675SRob Herring regulator-always-on; 335*724ba675SRob Herring regulator-boot-on; 336*724ba675SRob Herring regulator-name = "vcc33_lan"; 337*724ba675SRob Herring regulator-state-mem { 338*724ba675SRob Herring regulator-on-in-suspend; 339*724ba675SRob Herring }; 340*724ba675SRob Herring }; 341*724ba675SRob Herring }; 342*724ba675SRob Herring }; 343*724ba675SRob Herring}; 344*724ba675SRob Herring 345*724ba675SRob Herring&i2c2 { 346*724ba675SRob Herring status = "okay"; 347*724ba675SRob Herring}; 348*724ba675SRob Herring 349*724ba675SRob Herring&i2c5 { 350*724ba675SRob Herring status = "okay"; 351*724ba675SRob Herring}; 352*724ba675SRob Herring 353*724ba675SRob Herring&i2s { 354*724ba675SRob Herring #sound-dai-cells = <0>; 355*724ba675SRob Herring status = "okay"; 356*724ba675SRob Herring}; 357*724ba675SRob Herring 358*724ba675SRob Herring&io_domains { 359*724ba675SRob Herring status = "okay"; 360*724ba675SRob Herring 361*724ba675SRob Herring sdcard-supply = <&vccio_sd>; 362*724ba675SRob Herring wifi-supply = <&vcc_18>; 363*724ba675SRob Herring}; 364*724ba675SRob Herring 365*724ba675SRob Herring&pinctrl { 366*724ba675SRob Herring pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 367*724ba675SRob Herring drive-strength = <8>; 368*724ba675SRob Herring }; 369*724ba675SRob Herring 370*724ba675SRob Herring pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 371*724ba675SRob Herring bias-pull-up; 372*724ba675SRob Herring drive-strength = <8>; 373*724ba675SRob Herring }; 374*724ba675SRob Herring 375*724ba675SRob Herring backlight { 376*724ba675SRob Herring bl_en: bl-en { 377*724ba675SRob Herring rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 378*724ba675SRob Herring }; 379*724ba675SRob Herring }; 380*724ba675SRob Herring 381*724ba675SRob Herring buttons { 382*724ba675SRob Herring pwrbtn: pwrbtn { 383*724ba675SRob Herring rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 384*724ba675SRob Herring }; 385*724ba675SRob Herring }; 386*724ba675SRob Herring 387*724ba675SRob Herring eth_phy { 388*724ba675SRob Herring eth_phy_pwr: eth-phy-pwr { 389*724ba675SRob Herring rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 390*724ba675SRob Herring }; 391*724ba675SRob Herring }; 392*724ba675SRob Herring 393*724ba675SRob Herring pmic { 394*724ba675SRob Herring pmic_int: pmic-int { 395*724ba675SRob Herring rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 396*724ba675SRob Herring }; 397*724ba675SRob Herring 398*724ba675SRob Herring dvs_1: dvs-1 { 399*724ba675SRob Herring rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_down>; 400*724ba675SRob Herring }; 401*724ba675SRob Herring 402*724ba675SRob Herring dvs_2: dvs-2 { 403*724ba675SRob Herring rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; 404*724ba675SRob Herring }; 405*724ba675SRob Herring }; 406*724ba675SRob Herring 407*724ba675SRob Herring sdmmc { 408*724ba675SRob Herring sdmmc_bus4: sdmmc-bus4 { 409*724ba675SRob Herring rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>, 410*724ba675SRob Herring <6 RK_PC1 1 &pcfg_pull_up_drv_8ma>, 411*724ba675SRob Herring <6 RK_PC2 1 &pcfg_pull_up_drv_8ma>, 412*724ba675SRob Herring <6 RK_PC3 1 &pcfg_pull_up_drv_8ma>; 413*724ba675SRob Herring }; 414*724ba675SRob Herring 415*724ba675SRob Herring sdmmc_clk: sdmmc-clk { 416*724ba675SRob Herring rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; 417*724ba675SRob Herring }; 418*724ba675SRob Herring 419*724ba675SRob Herring sdmmc_cmd: sdmmc-cmd { 420*724ba675SRob Herring rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; 421*724ba675SRob Herring }; 422*724ba675SRob Herring 423*724ba675SRob Herring sdmmc_pwr: sdmmc-pwr { 424*724ba675SRob Herring rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 425*724ba675SRob Herring }; 426*724ba675SRob Herring }; 427*724ba675SRob Herring 428*724ba675SRob Herring usb { 429*724ba675SRob Herring host_vbus_drv: host-vbus-drv { 430*724ba675SRob Herring rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 431*724ba675SRob Herring }; 432*724ba675SRob Herring 433*724ba675SRob Herring pwr_3g: pwr-3g { 434*724ba675SRob Herring rockchip,pins = <7 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 435*724ba675SRob Herring }; 436*724ba675SRob Herring }; 437*724ba675SRob Herring 438*724ba675SRob Herring sdio { 439*724ba675SRob Herring wifi_enable: wifi-enable { 440*724ba675SRob Herring rockchip,pins = <4 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>, 441*724ba675SRob Herring <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 442*724ba675SRob Herring }; 443*724ba675SRob Herring }; 444*724ba675SRob Herring}; 445*724ba675SRob Herring 446*724ba675SRob Herring&pwm0 { 447*724ba675SRob Herring status = "okay"; 448*724ba675SRob Herring}; 449*724ba675SRob Herring 450*724ba675SRob Herring&saradc { 451*724ba675SRob Herring vref-supply = <&vcc18_ldo1>; 452*724ba675SRob Herring status = "okay"; 453*724ba675SRob Herring}; 454*724ba675SRob Herring 455*724ba675SRob Herring&sdmmc { 456*724ba675SRob Herring bus-width = <4>; 457*724ba675SRob Herring cap-mmc-highspeed; 458*724ba675SRob Herring cap-sd-highspeed; 459*724ba675SRob Herring broken-cd; 460*724ba675SRob Herring disable-wp; /* wp not hooked up */ 461*724ba675SRob Herring pinctrl-names = "default"; 462*724ba675SRob Herring pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; 463*724ba675SRob Herring status = "okay"; 464*724ba675SRob Herring vmmc-supply = <&vcc33_sd>; 465*724ba675SRob Herring vqmmc-supply = <&vccio_sd>; 466*724ba675SRob Herring}; 467*724ba675SRob Herring 468*724ba675SRob Herring&sdio0 { 469*724ba675SRob Herring bus-width = <4>; 470*724ba675SRob Herring cap-sd-highspeed; 471*724ba675SRob Herring cap-sdio-irq; 472*724ba675SRob Herring keep-power-in-suspend; 473*724ba675SRob Herring max-frequency = <50000000>; 474*724ba675SRob Herring mmc-pwrseq = <&sdio_pwrseq>; 475*724ba675SRob Herring non-removable; 476*724ba675SRob Herring pinctrl-names = "default"; 477*724ba675SRob Herring pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>, <&sdio0_int>; 478*724ba675SRob Herring sd-uhs-sdr12; 479*724ba675SRob Herring sd-uhs-sdr25; 480*724ba675SRob Herring sd-uhs-sdr50; 481*724ba675SRob Herring vmmc-supply = <&vcc_io>; 482*724ba675SRob Herring vqmmc-supply = <&vcc_18>; 483*724ba675SRob Herring status = "okay"; 484*724ba675SRob Herring}; 485*724ba675SRob Herring 486*724ba675SRob Herring&tsadc { 487*724ba675SRob Herring rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */ 488*724ba675SRob Herring rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ 489*724ba675SRob Herring status = "okay"; 490*724ba675SRob Herring}; 491*724ba675SRob Herring 492*724ba675SRob Herring&uart0 { 493*724ba675SRob Herring status = "okay"; 494*724ba675SRob Herring}; 495*724ba675SRob Herring 496*724ba675SRob Herring&uart1 { 497*724ba675SRob Herring status = "okay"; 498*724ba675SRob Herring}; 499*724ba675SRob Herring 500*724ba675SRob Herring&uart2 { 501*724ba675SRob Herring status = "okay"; 502*724ba675SRob Herring}; 503*724ba675SRob Herring 504*724ba675SRob Herring&uart3 { 505*724ba675SRob Herring status = "okay"; 506*724ba675SRob Herring}; 507*724ba675SRob Herring 508*724ba675SRob Herring&uart4 { 509*724ba675SRob Herring status = "okay"; 510*724ba675SRob Herring}; 511*724ba675SRob Herring 512*724ba675SRob Herring&usbphy { 513*724ba675SRob Herring status = "okay"; 514*724ba675SRob Herring}; 515*724ba675SRob Herring 516*724ba675SRob Herring&usb_host0_ehci { 517*724ba675SRob Herring status = "okay"; 518*724ba675SRob Herring}; 519*724ba675SRob Herring 520*724ba675SRob Herring&usb_host1 { 521*724ba675SRob Herring status = "okay"; 522*724ba675SRob Herring}; 523*724ba675SRob Herring 524*724ba675SRob Herring&usb_otg { 525*724ba675SRob Herring status = "okay"; 526*724ba675SRob Herring}; 527*724ba675SRob Herring 528*724ba675SRob Herring&vopb { 529*724ba675SRob Herring status = "okay"; 530*724ba675SRob Herring}; 531*724ba675SRob Herring 532*724ba675SRob Herring&vopb_mmu { 533*724ba675SRob Herring status = "okay"; 534*724ba675SRob Herring}; 535*724ba675SRob Herring 536*724ba675SRob Herring&vopl { 537*724ba675SRob Herring status = "okay"; 538*724ba675SRob Herring}; 539*724ba675SRob Herring 540*724ba675SRob Herring&vopl_mmu { 541*724ba675SRob Herring status = "okay"; 542*724ba675SRob Herring}; 543*724ba675SRob Herring 544*724ba675SRob Herring&wdt { 545*724ba675SRob Herring status = "okay"; 546*724ba675SRob Herring}; 547