1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com> 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring#include <dt-bindings/input/input.h> 7724ba675SRob Herring#include "rk3288.dtsi" 8724ba675SRob Herring 9724ba675SRob Herring/ { 10724ba675SRob Herring memory@0 { 11724ba675SRob Herring device_type = "memory"; 12724ba675SRob Herring reg = <0x0 0x0 0x0 0x80000000>; 13724ba675SRob Herring }; 14724ba675SRob Herring 15724ba675SRob Herring adc-keys { 16724ba675SRob Herring compatible = "adc-keys"; 17724ba675SRob Herring io-channels = <&saradc 1>; 18724ba675SRob Herring io-channel-names = "buttons"; 19724ba675SRob Herring keyup-threshold-microvolt = <1800000>; 20724ba675SRob Herring 21724ba675SRob Herring button-recovery { 22724ba675SRob Herring label = "Recovery"; 23724ba675SRob Herring linux,code = <KEY_VENDOR>; 24724ba675SRob Herring press-threshold-microvolt = <0>; 25724ba675SRob Herring }; 26724ba675SRob Herring }; 27724ba675SRob Herring 28*2c3944d9SJohan Jonker dovdd_1v8: regulator-dovdd-1v8 { 29724ba675SRob Herring compatible = "regulator-fixed"; 30724ba675SRob Herring regulator-name = "dovdd_1v8"; 31724ba675SRob Herring regulator-min-microvolt = <1800000>; 32724ba675SRob Herring regulator-max-microvolt = <1800000>; 33724ba675SRob Herring vin-supply = <&vcc28_dvp>; 34724ba675SRob Herring }; 35724ba675SRob Herring 36724ba675SRob Herring ext_gmac: external-gmac-clock { 37724ba675SRob Herring compatible = "fixed-clock"; 38724ba675SRob Herring #clock-cells = <0>; 39724ba675SRob Herring clock-frequency = <125000000>; 40724ba675SRob Herring clock-output-names = "ext_gmac"; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring ir: ir-receiver { 44724ba675SRob Herring compatible = "gpio-ir-receiver"; 45724ba675SRob Herring pinctrl-names = "default"; 46724ba675SRob Herring pinctrl-0 = <&ir_int>; 47724ba675SRob Herring }; 48724ba675SRob Herring 49724ba675SRob Herring keys: gpio-keys { 50724ba675SRob Herring compatible = "gpio-keys"; 51724ba675SRob Herring 52724ba675SRob Herring key-power { 53724ba675SRob Herring wakeup-source; 54724ba675SRob Herring gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 55724ba675SRob Herring label = "GPIO Power"; 56724ba675SRob Herring linux,code = <KEY_POWER>; 57724ba675SRob Herring pinctrl-names = "default"; 58724ba675SRob Herring pinctrl-0 = <&pwr_key>; 59724ba675SRob Herring }; 60724ba675SRob Herring }; 61724ba675SRob Herring 62724ba675SRob Herring leds { 63724ba675SRob Herring compatible = "gpio-leds"; 64724ba675SRob Herring 65724ba675SRob Herring work_led: led-0 { 66724ba675SRob Herring gpios = <&gpio8 RK_PA1 GPIO_ACTIVE_LOW>; 67724ba675SRob Herring label = "firefly:blue:user"; 68724ba675SRob Herring linux,default-trigger = "rc-feedback"; 69724ba675SRob Herring pinctrl-names = "default"; 70724ba675SRob Herring pinctrl-0 = <&work_led_pin>; 71724ba675SRob Herring }; 72724ba675SRob Herring 73724ba675SRob Herring power_led: led-1 { 74724ba675SRob Herring gpios = <&gpio8 RK_PA2 GPIO_ACTIVE_LOW>; 75724ba675SRob Herring label = "firefly:green:power"; 76724ba675SRob Herring linux,default-trigger = "default-on"; 77724ba675SRob Herring pinctrl-names = "default"; 78724ba675SRob Herring pinctrl-0 = <&power_led_pin>; 79724ba675SRob Herring }; 80724ba675SRob Herring }; 81724ba675SRob Herring 82*2c3944d9SJohan Jonker vbat_wl: vcc_sys: regulator-vsys { 83724ba675SRob Herring compatible = "regulator-fixed"; 84724ba675SRob Herring regulator-name = "vcc_sys"; 85724ba675SRob Herring regulator-min-microvolt = <5000000>; 86724ba675SRob Herring regulator-max-microvolt = <5000000>; 87724ba675SRob Herring regulator-always-on; 88724ba675SRob Herring regulator-boot-on; 89724ba675SRob Herring }; 90724ba675SRob Herring 91*2c3944d9SJohan Jonker vcc_sd: regulator-sdmmc { 92724ba675SRob Herring compatible = "regulator-fixed"; 93724ba675SRob Herring gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>; 94724ba675SRob Herring pinctrl-names = "default"; 95724ba675SRob Herring pinctrl-0 = <&sdmmc_pwr>; 96724ba675SRob Herring regulator-name = "vcc_sd"; 97724ba675SRob Herring regulator-min-microvolt = <3300000>; 98724ba675SRob Herring regulator-max-microvolt = <3300000>; 99724ba675SRob Herring startup-delay-us = <100000>; 100724ba675SRob Herring vin-supply = <&vcc_io>; 101724ba675SRob Herring }; 102724ba675SRob Herring 103*2c3944d9SJohan Jonker vcc_flash: regulator-flash { 104724ba675SRob Herring compatible = "regulator-fixed"; 105724ba675SRob Herring regulator-name = "vcc_flash"; 106724ba675SRob Herring regulator-min-microvolt = <1800000>; 107724ba675SRob Herring regulator-max-microvolt = <1800000>; 108724ba675SRob Herring vin-supply = <&vcc_io>; 109724ba675SRob Herring }; 110724ba675SRob Herring 111*2c3944d9SJohan Jonker vcc_5v: regulator-usb { 112724ba675SRob Herring compatible = "regulator-fixed"; 113724ba675SRob Herring regulator-name = "vcc_5v"; 114724ba675SRob Herring regulator-min-microvolt = <5000000>; 115724ba675SRob Herring regulator-max-microvolt = <5000000>; 116724ba675SRob Herring regulator-always-on; 117724ba675SRob Herring regulator-boot-on; 118724ba675SRob Herring vin-supply = <&vcc_sys>; 119724ba675SRob Herring }; 120724ba675SRob Herring 121*2c3944d9SJohan Jonker vcc_host_5v: regulator-usb-host { 122724ba675SRob Herring compatible = "regulator-fixed"; 123724ba675SRob Herring enable-active-high; 124724ba675SRob Herring gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>; 125724ba675SRob Herring pinctrl-names = "default"; 126724ba675SRob Herring pinctrl-0 = <&host_vbus_drv>; 127724ba675SRob Herring regulator-name = "vcc_host_5v"; 128724ba675SRob Herring regulator-min-microvolt = <5000000>; 129724ba675SRob Herring regulator-max-microvolt = <5000000>; 130724ba675SRob Herring regulator-always-on; 131724ba675SRob Herring vin-supply = <&vcc_5v>; 132724ba675SRob Herring }; 133724ba675SRob Herring 134*2c3944d9SJohan Jonker vcc_otg_5v: regulator-usb-otg { 135724ba675SRob Herring compatible = "regulator-fixed"; 136724ba675SRob Herring enable-active-high; 137724ba675SRob Herring gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; 138724ba675SRob Herring pinctrl-names = "default"; 139724ba675SRob Herring pinctrl-0 = <&otg_vbus_drv>; 140724ba675SRob Herring regulator-name = "vcc_otg_5v"; 141724ba675SRob Herring regulator-min-microvolt = <5000000>; 142724ba675SRob Herring regulator-max-microvolt = <5000000>; 143724ba675SRob Herring regulator-always-on; 144724ba675SRob Herring vin-supply = <&vcc_5v>; 145724ba675SRob Herring }; 146724ba675SRob Herring 147724ba675SRob Herring /* 148724ba675SRob Herring * A TT8142 creates both dovdd_1v8 and vcc28_dvp, controlled 149724ba675SRob Herring * by the dvp_pwr pin. 150724ba675SRob Herring */ 151*2c3944d9SJohan Jonker vcc28_dvp: regulator-vcc28-dvp { 152724ba675SRob Herring compatible = "regulator-fixed"; 153724ba675SRob Herring enable-active-high; 154724ba675SRob Herring gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>; 155724ba675SRob Herring pinctrl-names = "default"; 156724ba675SRob Herring pinctrl-0 = <&dvp_pwr>; 157724ba675SRob Herring regulator-name = "vcc28_dvp"; 158724ba675SRob Herring regulator-min-microvolt = <2800000>; 159724ba675SRob Herring regulator-max-microvolt = <2800000>; 160724ba675SRob Herring regulator-always-on; 161724ba675SRob Herring vin-supply = <&vcc_io>; 162724ba675SRob Herring }; 163724ba675SRob Herring}; 164724ba675SRob Herring 165724ba675SRob Herring&cpu0 { 166724ba675SRob Herring cpu0-supply = <&vdd_cpu>; 167724ba675SRob Herring}; 168724ba675SRob Herring 169724ba675SRob Herring&emmc { 170724ba675SRob Herring bus-width = <8>; 171724ba675SRob Herring cap-mmc-highspeed; 172724ba675SRob Herring disable-wp; 173724ba675SRob Herring non-removable; 174724ba675SRob Herring pinctrl-names = "default"; 175724ba675SRob Herring pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_pwr>, <&emmc_bus8>; 176724ba675SRob Herring vmmc-supply = <&vcc_io>; 177724ba675SRob Herring vqmmc-supply = <&vcc_flash>; 178724ba675SRob Herring status = "okay"; 179724ba675SRob Herring}; 180724ba675SRob Herring 181724ba675SRob Herring&gmac { 182724ba675SRob Herring assigned-clocks = <&cru SCLK_MAC>; 183724ba675SRob Herring assigned-clock-parents = <&ext_gmac>; 184724ba675SRob Herring clock_in_out = "input"; 185724ba675SRob Herring pinctrl-names = "default"; 186724ba675SRob Herring pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>; 187724ba675SRob Herring phy-supply = <&vcc_lan>; 188724ba675SRob Herring phy-mode = "rgmii"; 189724ba675SRob Herring snps,reset-active-low; 190724ba675SRob Herring snps,reset-delays-us = <0 10000 1000000>; 191724ba675SRob Herring snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>; 192724ba675SRob Herring tx_delay = <0x30>; 193724ba675SRob Herring rx_delay = <0x10>; 194724ba675SRob Herring status = "okay"; 195724ba675SRob Herring}; 196724ba675SRob Herring 197724ba675SRob Herring&gpu { 198724ba675SRob Herring mali-supply = <&vdd_gpu>; 199724ba675SRob Herring status = "okay"; 200724ba675SRob Herring}; 201724ba675SRob Herring 202724ba675SRob Herring&hdmi { 203724ba675SRob Herring ddc-i2c-bus = <&i2c5>; 204724ba675SRob Herring status = "okay"; 205724ba675SRob Herring}; 206724ba675SRob Herring 207724ba675SRob Herring&i2c0 { 208724ba675SRob Herring clock-frequency = <400000>; 209724ba675SRob Herring status = "okay"; 210724ba675SRob Herring 211724ba675SRob Herring vdd_cpu: syr827@40 { 212724ba675SRob Herring compatible = "silergy,syr827"; 213724ba675SRob Herring fcs,suspend-voltage-selector = <1>; 214724ba675SRob Herring reg = <0x40>; 215724ba675SRob Herring regulator-name = "vdd_cpu"; 216724ba675SRob Herring regulator-min-microvolt = <850000>; 217724ba675SRob Herring regulator-max-microvolt = <1350000>; 218724ba675SRob Herring regulator-always-on; 219724ba675SRob Herring regulator-boot-on; 220724ba675SRob Herring regulator-enable-ramp-delay = <300>; 221724ba675SRob Herring regulator-ramp-delay = <8000>; 222724ba675SRob Herring vin-supply = <&vcc_sys>; 223724ba675SRob Herring }; 224724ba675SRob Herring 225724ba675SRob Herring vdd_gpu: syr828@41 { 226724ba675SRob Herring compatible = "silergy,syr828"; 227724ba675SRob Herring fcs,suspend-voltage-selector = <1>; 228724ba675SRob Herring reg = <0x41>; 229724ba675SRob Herring regulator-name = "vdd_gpu"; 230724ba675SRob Herring regulator-min-microvolt = <850000>; 231724ba675SRob Herring regulator-max-microvolt = <1350000>; 232724ba675SRob Herring regulator-always-on; 233724ba675SRob Herring vin-supply = <&vcc_sys>; 234724ba675SRob Herring }; 235724ba675SRob Herring 236724ba675SRob Herring hym8563: rtc@51 { 237724ba675SRob Herring compatible = "haoyu,hym8563"; 238724ba675SRob Herring reg = <0x51>; 239724ba675SRob Herring #clock-cells = <0>; 240724ba675SRob Herring clock-output-names = "xin32k"; 241724ba675SRob Herring interrupt-parent = <&gpio7>; 242724ba675SRob Herring interrupts = <RK_PA4 IRQ_TYPE_EDGE_FALLING>; 243724ba675SRob Herring pinctrl-names = "default"; 244724ba675SRob Herring pinctrl-0 = <&rtc_int>; 245724ba675SRob Herring }; 246724ba675SRob Herring 247724ba675SRob Herring act8846: act8846@5a { 248724ba675SRob Herring compatible = "active-semi,act8846"; 249724ba675SRob Herring reg = <0x5a>; 250724ba675SRob Herring pinctrl-names = "default"; 251724ba675SRob Herring pinctrl-0 = <&pmic_vsel>, <&pwr_hold>; 252724ba675SRob Herring system-power-controller; 253724ba675SRob Herring 254724ba675SRob Herring vp1-supply = <&vcc_sys>; 255724ba675SRob Herring vp2-supply = <&vcc_sys>; 256724ba675SRob Herring vp3-supply = <&vcc_sys>; 257724ba675SRob Herring vp4-supply = <&vcc_sys>; 258724ba675SRob Herring inl1-supply = <&vcc_sys>; 259724ba675SRob Herring inl2-supply = <&vcc_sys>; 260724ba675SRob Herring inl3-supply = <&vcc_20>; 261724ba675SRob Herring 262724ba675SRob Herring regulators { 263724ba675SRob Herring vcc_ddr: REG1 { 264724ba675SRob Herring regulator-name = "vcc_ddr"; 265724ba675SRob Herring regulator-min-microvolt = <1200000>; 266724ba675SRob Herring regulator-max-microvolt = <1200000>; 267724ba675SRob Herring regulator-always-on; 268724ba675SRob Herring }; 269724ba675SRob Herring 270724ba675SRob Herring vcc_io: REG2 { 271724ba675SRob Herring regulator-name = "vcc_io"; 272724ba675SRob Herring regulator-min-microvolt = <3300000>; 273724ba675SRob Herring regulator-max-microvolt = <3300000>; 274724ba675SRob Herring regulator-always-on; 275724ba675SRob Herring }; 276724ba675SRob Herring 277724ba675SRob Herring vdd_log: REG3 { 278724ba675SRob Herring regulator-name = "vdd_log"; 279724ba675SRob Herring regulator-min-microvolt = <1100000>; 280724ba675SRob Herring regulator-max-microvolt = <1100000>; 281724ba675SRob Herring regulator-always-on; 282724ba675SRob Herring }; 283724ba675SRob Herring 284724ba675SRob Herring vcc_20: REG4 { 285724ba675SRob Herring regulator-name = "vcc_20"; 286724ba675SRob Herring regulator-min-microvolt = <2000000>; 287724ba675SRob Herring regulator-max-microvolt = <2000000>; 288724ba675SRob Herring regulator-always-on; 289724ba675SRob Herring }; 290724ba675SRob Herring 291724ba675SRob Herring vccio_sd: REG5 { 292724ba675SRob Herring regulator-name = "vccio_sd"; 293724ba675SRob Herring regulator-min-microvolt = <3300000>; 294724ba675SRob Herring regulator-max-microvolt = <3300000>; 295724ba675SRob Herring regulator-always-on; 296724ba675SRob Herring }; 297724ba675SRob Herring 298724ba675SRob Herring vdd10_lcd: REG6 { 299724ba675SRob Herring regulator-name = "vdd10_lcd"; 300724ba675SRob Herring regulator-min-microvolt = <1000000>; 301724ba675SRob Herring regulator-max-microvolt = <1000000>; 302724ba675SRob Herring regulator-always-on; 303724ba675SRob Herring }; 304724ba675SRob Herring 305724ba675SRob Herring vcca_18: REG7 { 306724ba675SRob Herring regulator-name = "vcca_18"; 307724ba675SRob Herring regulator-min-microvolt = <1800000>; 308724ba675SRob Herring regulator-max-microvolt = <1800000>; 309724ba675SRob Herring }; 310724ba675SRob Herring 311724ba675SRob Herring vcca_33: REG8 { 312724ba675SRob Herring regulator-name = "vcca_33"; 313724ba675SRob Herring regulator-min-microvolt = <3300000>; 314724ba675SRob Herring regulator-max-microvolt = <3300000>; 315724ba675SRob Herring }; 316724ba675SRob Herring 317724ba675SRob Herring vcc_lan: REG9 { 318724ba675SRob Herring regulator-name = "vcc_lan"; 319724ba675SRob Herring regulator-min-microvolt = <3300000>; 320724ba675SRob Herring regulator-max-microvolt = <3300000>; 321724ba675SRob Herring }; 322724ba675SRob Herring 323724ba675SRob Herring vdd_10: REG10 { 324724ba675SRob Herring regulator-name = "vdd_10"; 325724ba675SRob Herring regulator-min-microvolt = <1000000>; 326724ba675SRob Herring regulator-max-microvolt = <1000000>; 327724ba675SRob Herring regulator-always-on; 328724ba675SRob Herring }; 329724ba675SRob Herring 330724ba675SRob Herring vccio_wl: vcc_18: REG11 { 331724ba675SRob Herring regulator-name = "vcc_18"; 332724ba675SRob Herring regulator-min-microvolt = <1800000>; 333724ba675SRob Herring regulator-max-microvolt = <1800000>; 334724ba675SRob Herring regulator-always-on; 335724ba675SRob Herring }; 336724ba675SRob Herring 337724ba675SRob Herring vcc18_lcd: REG12 { 338724ba675SRob Herring regulator-name = "vcc18_lcd"; 339724ba675SRob Herring regulator-min-microvolt = <1800000>; 340724ba675SRob Herring regulator-max-microvolt = <1800000>; 341724ba675SRob Herring regulator-always-on; 342724ba675SRob Herring }; 343724ba675SRob Herring }; 344724ba675SRob Herring }; 345724ba675SRob Herring}; 346724ba675SRob Herring 347724ba675SRob Herring&i2c1 { 348724ba675SRob Herring status = "okay"; 349724ba675SRob Herring}; 350724ba675SRob Herring 351724ba675SRob Herring&i2c2 { 352724ba675SRob Herring status = "okay"; 353724ba675SRob Herring}; 354724ba675SRob Herring 355724ba675SRob Herring&i2c4 { 356724ba675SRob Herring status = "okay"; 357724ba675SRob Herring}; 358724ba675SRob Herring 359724ba675SRob Herring&i2c5 { 360724ba675SRob Herring status = "okay"; 361724ba675SRob Herring}; 362724ba675SRob Herring 363724ba675SRob Herring&io_domains { 364724ba675SRob Herring status = "okay"; 365724ba675SRob Herring 366724ba675SRob Herring audio-supply = <&vcca_33>; 367724ba675SRob Herring bb-supply = <&vcc_io>; 368724ba675SRob Herring dvp-supply = <&dovdd_1v8>; 369724ba675SRob Herring flash0-supply = <&vcc_flash>; 370724ba675SRob Herring flash1-supply = <&vcc_lan>; 371724ba675SRob Herring gpio30-supply = <&vcc_io>; 372724ba675SRob Herring gpio1830-supply = <&vcc_io>; 373724ba675SRob Herring lcdc-supply = <&vcc_io>; 374724ba675SRob Herring sdcard-supply = <&vccio_sd>; 375724ba675SRob Herring wifi-supply = <&vccio_wl>; 376724ba675SRob Herring}; 377724ba675SRob Herring 378724ba675SRob Herring&pinctrl { 379724ba675SRob Herring pcfg_output_high: pcfg-output-high { 380724ba675SRob Herring output-high; 381724ba675SRob Herring }; 382724ba675SRob Herring 383724ba675SRob Herring pcfg_output_low: pcfg-output-low { 384724ba675SRob Herring output-low; 385724ba675SRob Herring }; 386724ba675SRob Herring 387724ba675SRob Herring pcfg_pull_up_drv_12ma: pcfg-pull-up-drv-12ma { 388724ba675SRob Herring bias-pull-up; 389724ba675SRob Herring drive-strength = <12>; 390724ba675SRob Herring }; 391724ba675SRob Herring 392724ba675SRob Herring act8846 { 393724ba675SRob Herring pwr_hold: pwr-hold { 394724ba675SRob Herring rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_output_high>; 395724ba675SRob Herring }; 396724ba675SRob Herring }; 397724ba675SRob Herring 398724ba675SRob Herring dvp { 399724ba675SRob Herring dvp_pwr: dvp-pwr { 400724ba675SRob Herring rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 401724ba675SRob Herring }; 402724ba675SRob Herring }; 403724ba675SRob Herring 404724ba675SRob Herring gmac { 405724ba675SRob Herring phy_int: phy-int { 406724ba675SRob Herring rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 407724ba675SRob Herring }; 408724ba675SRob Herring 409724ba675SRob Herring phy_pmeb: phy-pmeb { 410724ba675SRob Herring rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; 411724ba675SRob Herring }; 412724ba675SRob Herring 413724ba675SRob Herring phy_rst: phy-rst { 414724ba675SRob Herring rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; 415724ba675SRob Herring }; 416724ba675SRob Herring }; 417724ba675SRob Herring 418724ba675SRob Herring hym8563 { 419724ba675SRob Herring rtc_int: rtc-int { 420724ba675SRob Herring rockchip,pins = <7 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 421724ba675SRob Herring }; 422724ba675SRob Herring }; 423724ba675SRob Herring 424724ba675SRob Herring keys { 425724ba675SRob Herring pwr_key: pwr-key { 426724ba675SRob Herring rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 427724ba675SRob Herring }; 428724ba675SRob Herring }; 429724ba675SRob Herring 430724ba675SRob Herring leds { 431724ba675SRob Herring power_led_pin: power-led-pin { 432724ba675SRob Herring rockchip,pins = <8 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 433724ba675SRob Herring }; 434724ba675SRob Herring 435724ba675SRob Herring work_led_pin: work-led-pin { 436724ba675SRob Herring rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 437724ba675SRob Herring }; 438724ba675SRob Herring }; 439724ba675SRob Herring 440724ba675SRob Herring sdmmc { 441724ba675SRob Herring /* 442724ba675SRob Herring * Default drive strength isn't enough to achieve even 443724ba675SRob Herring * high-speed mode on firefly board so bump up to 12ma. 444724ba675SRob Herring */ 445724ba675SRob Herring sdmmc_bus4: sdmmc-bus4 { 446724ba675SRob Herring rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_12ma>, 447724ba675SRob Herring <6 RK_PC1 1 &pcfg_pull_up_drv_12ma>, 448724ba675SRob Herring <6 RK_PC2 1 &pcfg_pull_up_drv_12ma>, 449724ba675SRob Herring <6 RK_PC3 1 &pcfg_pull_up_drv_12ma>; 450724ba675SRob Herring }; 451724ba675SRob Herring 452724ba675SRob Herring sdmmc_clk: sdmmc-clk { 453724ba675SRob Herring rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_12ma>; 454724ba675SRob Herring }; 455724ba675SRob Herring 456724ba675SRob Herring sdmmc_cmd: sdmmc-cmd { 457724ba675SRob Herring rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_12ma>; 458724ba675SRob Herring }; 459724ba675SRob Herring 460724ba675SRob Herring sdmmc_pwr: sdmmc-pwr { 461724ba675SRob Herring rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 462724ba675SRob Herring }; 463724ba675SRob Herring }; 464724ba675SRob Herring 465724ba675SRob Herring usb_host { 466724ba675SRob Herring host_vbus_drv: host-vbus-drv { 467724ba675SRob Herring rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 468724ba675SRob Herring }; 469724ba675SRob Herring 470724ba675SRob Herring usbhub_rst: usbhub-rst { 471724ba675SRob Herring rockchip,pins = <8 RK_PA3 RK_FUNC_GPIO &pcfg_output_high>; 472724ba675SRob Herring }; 473724ba675SRob Herring }; 474724ba675SRob Herring 475724ba675SRob Herring usb_otg { 476724ba675SRob Herring otg_vbus_drv: otg-vbus-drv { 477724ba675SRob Herring rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 478724ba675SRob Herring }; 479724ba675SRob Herring }; 480724ba675SRob Herring}; 481724ba675SRob Herring 482724ba675SRob Herring&saradc { 483724ba675SRob Herring vref-supply = <&vcc_18>; 484724ba675SRob Herring status = "okay"; 485724ba675SRob Herring}; 486724ba675SRob Herring 487724ba675SRob Herring&sdio0 { 488724ba675SRob Herring bus-width = <4>; 489724ba675SRob Herring disable-wp; 490724ba675SRob Herring non-removable; 491724ba675SRob Herring pinctrl-names = "default"; 492724ba675SRob Herring pinctrl-0 = <&sdio0_bus4>, <&sdio0_cmd>, <&sdio0_clk>; 493724ba675SRob Herring vmmc-supply = <&vbat_wl>; 494724ba675SRob Herring vqmmc-supply = <&vccio_wl>; 495724ba675SRob Herring status = "okay"; 496724ba675SRob Herring}; 497724ba675SRob Herring 498724ba675SRob Herring&sdmmc { 499724ba675SRob Herring bus-width = <4>; 500724ba675SRob Herring cap-mmc-highspeed; 501724ba675SRob Herring cap-sd-highspeed; 502724ba675SRob Herring card-detect-delay = <200>; 503724ba675SRob Herring disable-wp; 504724ba675SRob Herring pinctrl-names = "default"; 505724ba675SRob Herring pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>; 506724ba675SRob Herring vmmc-supply = <&vcc_sd>; 507724ba675SRob Herring vqmmc-supply = <&vccio_sd>; 508724ba675SRob Herring status = "okay"; 509724ba675SRob Herring}; 510724ba675SRob Herring 511724ba675SRob Herring&spi0 { 512724ba675SRob Herring pinctrl-names = "default"; 513724ba675SRob Herring pinctrl-0 = <&spi0_clk>, <&spi0_cs0>, <&spi0_tx>, <&spi0_rx>, <&spi0_cs1>; 514724ba675SRob Herring status = "okay"; 515724ba675SRob Herring}; 516724ba675SRob Herring 517724ba675SRob Herring&tsadc { 518724ba675SRob Herring rockchip,hw-tshut-mode = <0>; 519724ba675SRob Herring rockchip,hw-tshut-polarity = <0>; 520724ba675SRob Herring status = "okay"; 521724ba675SRob Herring}; 522724ba675SRob Herring 523724ba675SRob Herring&uart0 { 524724ba675SRob Herring pinctrl-names = "default"; 525724ba675SRob Herring pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>; 526724ba675SRob Herring status = "okay"; 527724ba675SRob Herring}; 528724ba675SRob Herring 529724ba675SRob Herring&uart1 { 530724ba675SRob Herring status = "okay"; 531724ba675SRob Herring}; 532724ba675SRob Herring 533724ba675SRob Herring&uart2 { 534724ba675SRob Herring status = "okay"; 535724ba675SRob Herring}; 536724ba675SRob Herring 537724ba675SRob Herring&uart3 { 538724ba675SRob Herring status = "okay"; 539724ba675SRob Herring}; 540724ba675SRob Herring 541724ba675SRob Herring&usbphy { 542724ba675SRob Herring status = "okay"; 543724ba675SRob Herring}; 544724ba675SRob Herring 545724ba675SRob Herring&usb_host1 { 546724ba675SRob Herring pinctrl-names = "default"; 547724ba675SRob Herring pinctrl-0 = <&usbhub_rst>; 548724ba675SRob Herring status = "okay"; 549724ba675SRob Herring}; 550724ba675SRob Herring 551724ba675SRob Herring&usb_otg { 552724ba675SRob Herring status = "okay"; 553724ba675SRob Herring}; 554724ba675SRob Herring 555724ba675SRob Herring&vopb { 556724ba675SRob Herring status = "okay"; 557724ba675SRob Herring}; 558724ba675SRob Herring 559724ba675SRob Herring&vopb_mmu { 560724ba675SRob Herring status = "okay"; 561724ba675SRob Herring}; 562724ba675SRob Herring 563724ba675SRob Herring&vopl { 564724ba675SRob Herring status = "okay"; 565724ba675SRob Herring}; 566724ba675SRob Herring 567724ba675SRob Herring&vopl_mmu { 568724ba675SRob Herring status = "okay"; 569724ba675SRob Herring}; 570724ba675SRob Herring 571724ba675SRob Herring&wdt { 572724ba675SRob Herring status = "okay"; 573724ba675SRob Herring}; 574