1*4882a593Smuzhiyun/* 2*4882a593Smuzhiyun * This file is dual-licensed: you can use it either under the terms 3*4882a593Smuzhiyun * of the GPL or the X11 license, at your option. Note that this dual 4*4882a593Smuzhiyun * licensing only applies to this file, and not this project as a 5*4882a593Smuzhiyun * whole. 6*4882a593Smuzhiyun * 7*4882a593Smuzhiyun * a) This file is free software; you can redistribute it and/or 8*4882a593Smuzhiyun * modify it under the terms of the GNU General Public License as 9*4882a593Smuzhiyun * published by the Free Software Foundation; either version 2 of the 10*4882a593Smuzhiyun * License, or (at your option) any later version. 11*4882a593Smuzhiyun * 12*4882a593Smuzhiyun * This file is distributed in the hope that it will be useful, 13*4882a593Smuzhiyun * but WITHOUT ANY WARRANTY; without even the implied warranty of 14*4882a593Smuzhiyun * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*4882a593Smuzhiyun * GNU General Public License for more details. 16*4882a593Smuzhiyun * 17*4882a593Smuzhiyun * Or, alternatively, 18*4882a593Smuzhiyun * 19*4882a593Smuzhiyun * b) Permission is hereby granted, free of charge, to any person 20*4882a593Smuzhiyun * obtaining a copy of this software and associated documentation 21*4882a593Smuzhiyun * files (the "Software"), to deal in the Software without 22*4882a593Smuzhiyun * restriction, including without limitation the rights to use, 23*4882a593Smuzhiyun * copy, modify, merge, publish, distribute, sublicense, and/or 24*4882a593Smuzhiyun * sell copies of the Software, and to permit persons to whom the 25*4882a593Smuzhiyun * Software is furnished to do so, subject to the following 26*4882a593Smuzhiyun * conditions: 27*4882a593Smuzhiyun * 28*4882a593Smuzhiyun * The above copyright notice and this permission notice shall be 29*4882a593Smuzhiyun * included in all copies or substantial portions of the Software. 30*4882a593Smuzhiyun * 31*4882a593Smuzhiyun * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 32*4882a593Smuzhiyun * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 33*4882a593Smuzhiyun * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 34*4882a593Smuzhiyun * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 35*4882a593Smuzhiyun * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 36*4882a593Smuzhiyun * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 37*4882a593Smuzhiyun * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 38*4882a593Smuzhiyun * OTHER DEALINGS IN THE SOFTWARE. 39*4882a593Smuzhiyun */ 40*4882a593Smuzhiyun 41*4882a593Smuzhiyun/dts-v1/; 42*4882a593Smuzhiyun#include <dt-bindings/gpio/gpio.h> 43*4882a593Smuzhiyun#include <dt-bindings/pinctrl/rockchip.h> 44*4882a593Smuzhiyun#include <dt-bindings/pwm/pwm.h> 45*4882a593Smuzhiyun#include "rk3128.dtsi" 46*4882a593Smuzhiyun#include "rk312x-android.dtsi" 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun/ { 49*4882a593Smuzhiyun model = "Rockchip RK3128 Fireprime board"; 50*4882a593Smuzhiyun compatible = "rockchip,rk3128"; 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun fiq-debugger { 53*4882a593Smuzhiyun compatible = "rockchip,fiq-debugger"; 54*4882a593Smuzhiyun rockchip,serial-id = <2>; 55*4882a593Smuzhiyun rockchip,signal-irq = <159>; 56*4882a593Smuzhiyun rockchip,wake-irq = <0>; 57*4882a593Smuzhiyun /* If enable uart uses irq instead of fiq */ 58*4882a593Smuzhiyun rockchip,irq-mode-enable = <1>; 59*4882a593Smuzhiyun rockchip,baudrate = <115200>; /* Only 115200 and 1500000 */ 60*4882a593Smuzhiyun interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_LOW>; 61*4882a593Smuzhiyun status = "okay"; 62*4882a593Smuzhiyun }; 63*4882a593Smuzhiyun 64*4882a593Smuzhiyun clkin_gmac: external-gmac-clock { 65*4882a593Smuzhiyun compatible = "fixed-clock"; 66*4882a593Smuzhiyun clock-frequency = <125000000>; 67*4882a593Smuzhiyun clock-output-names = "gmac_clkin"; 68*4882a593Smuzhiyun #clock-cells = <0>; 69*4882a593Smuzhiyun }; 70*4882a593Smuzhiyun 71*4882a593Smuzhiyun vcc_phy: vcc-phy-regulator { 72*4882a593Smuzhiyun compatible = "regulator-fixed"; 73*4882a593Smuzhiyun enable-active-high; 74*4882a593Smuzhiyun regulator-name = "vcc_phy"; 75*4882a593Smuzhiyun regulator-always-on; 76*4882a593Smuzhiyun regulator-boot-on; 77*4882a593Smuzhiyun }; 78*4882a593Smuzhiyun 79*4882a593Smuzhiyun vcc_sys: vcc-sys { 80*4882a593Smuzhiyun compatible = "regulator-fixed"; 81*4882a593Smuzhiyun regulator-name = "vcc_sys"; 82*4882a593Smuzhiyun regulator-always-on; 83*4882a593Smuzhiyun regulator-boot-on; 84*4882a593Smuzhiyun regulator-min-microvolt = <5000000>; 85*4882a593Smuzhiyun regulator-max-microvolt = <5000000>; 86*4882a593Smuzhiyun }; 87*4882a593Smuzhiyun 88*4882a593Smuzhiyun vcc_host_5v: vcc-host-5v-regulator { 89*4882a593Smuzhiyun compatible = "regulator-fixed"; 90*4882a593Smuzhiyun enable-active-high; 91*4882a593Smuzhiyun gpio = <&gpio3 20 GPIO_ACTIVE_HIGH>; 92*4882a593Smuzhiyun pinctrl-names = "default"; 93*4882a593Smuzhiyun pinctrl-0 = <&host_vbus_drv>; 94*4882a593Smuzhiyun regulator-name = "vcc_host_5v"; 95*4882a593Smuzhiyun regulator-always-on; 96*4882a593Smuzhiyun }; 97*4882a593Smuzhiyun 98*4882a593Smuzhiyun vcc_otg_vbus: otg-vbus-regulator { 99*4882a593Smuzhiyun compatible = "regulator-fixed"; 100*4882a593Smuzhiyun gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>; 101*4882a593Smuzhiyun pinctrl-names = "default"; 102*4882a593Smuzhiyun pinctrl-0 = <&otg_vbus_drv>; 103*4882a593Smuzhiyun regulator-name = "vcc_otg_vbus"; 104*4882a593Smuzhiyun regulator-min-microvolt = <5000000>; 105*4882a593Smuzhiyun regulator-max-microvolt = <5000000>; 106*4882a593Smuzhiyun enable-active-high; 107*4882a593Smuzhiyun }; 108*4882a593Smuzhiyun 109*4882a593Smuzhiyun xin32k: xin32k { 110*4882a593Smuzhiyun compatible = "fixed-clock"; 111*4882a593Smuzhiyun clock-frequency = <32768>; 112*4882a593Smuzhiyun clock-output-names = "xin32k"; 113*4882a593Smuzhiyun #clock-cells = <0>; 114*4882a593Smuzhiyun }; 115*4882a593Smuzhiyun}; 116*4882a593Smuzhiyun 117*4882a593Smuzhiyun&cma_region { 118*4882a593Smuzhiyun /delete-property/ reg; 119*4882a593Smuzhiyun}; 120*4882a593Smuzhiyun 121*4882a593Smuzhiyun&cpu0 { 122*4882a593Smuzhiyun cpu-supply = <&vdd_arm>; 123*4882a593Smuzhiyun}; 124*4882a593Smuzhiyun 125*4882a593Smuzhiyun&emmc { 126*4882a593Smuzhiyun bus-width = <8>; 127*4882a593Smuzhiyun cap-mmc-highspeed; 128*4882a593Smuzhiyun no-sdio; 129*4882a593Smuzhiyun no-sd; 130*4882a593Smuzhiyun disable-wp; 131*4882a593Smuzhiyun non-removable; 132*4882a593Smuzhiyun num-slots = <1>; 133*4882a593Smuzhiyun pinctrl-names = "default"; 134*4882a593Smuzhiyun pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; 135*4882a593Smuzhiyun status = "okay"; 136*4882a593Smuzhiyun}; 137*4882a593Smuzhiyun 138*4882a593Smuzhiyun&gmac { 139*4882a593Smuzhiyun assigned-clocks = <&cru SCLK_MAC>; 140*4882a593Smuzhiyun assigned-clock-parents = <&clkin_gmac>; 141*4882a593Smuzhiyun clock_in_out = "input"; 142*4882a593Smuzhiyun pinctrl-names = "default"; 143*4882a593Smuzhiyun pinctrl-0 = <&rgmii_pins>; 144*4882a593Smuzhiyun phy-supply = <&vcc_phy>; 145*4882a593Smuzhiyun phy-mode = "rgmii"; 146*4882a593Smuzhiyun snps,reset-active-low; 147*4882a593Smuzhiyun snps,reset-delays-us = <0 10000 50000>; 148*4882a593Smuzhiyun snps,reset-gpio = <&gpio2 24 GPIO_ACTIVE_LOW>; 149*4882a593Smuzhiyun tx_delay = <0x30>; 150*4882a593Smuzhiyun rx_delay = <0x16>; 151*4882a593Smuzhiyun status = "okay"; 152*4882a593Smuzhiyun}; 153*4882a593Smuzhiyun 154*4882a593Smuzhiyun&i2c0 { 155*4882a593Smuzhiyun status = "okay"; 156*4882a593Smuzhiyun clock-frequency = <400000>; 157*4882a593Smuzhiyun 158*4882a593Smuzhiyun rk818: pmic@1c { 159*4882a593Smuzhiyun compatible = "rockchip,rk818"; 160*4882a593Smuzhiyun status = "okay"; 161*4882a593Smuzhiyun reg = <0x1c>; 162*4882a593Smuzhiyun clock-output-names = "rk818-clkout1", "wifibt_32kin"; 163*4882a593Smuzhiyun interrupt-parent = <&gpio3>; 164*4882a593Smuzhiyun interrupts = <22 IRQ_TYPE_LEVEL_LOW>; 165*4882a593Smuzhiyun pinctrl-names = "default"; 166*4882a593Smuzhiyun pinctrl-0 = <&pmic_int_l>; 167*4882a593Smuzhiyun rockchip,system-power-controller; 168*4882a593Smuzhiyun wakeup-source; 169*4882a593Smuzhiyun #clock-cells = <1>; 170*4882a593Smuzhiyun 171*4882a593Smuzhiyun vcc1-supply = <&vcc_sys>; 172*4882a593Smuzhiyun vcc2-supply = <&vcc_sys>; 173*4882a593Smuzhiyun vcc3-supply = <&vcc_sys>; 174*4882a593Smuzhiyun vcc4-supply = <&vcc_sys>; 175*4882a593Smuzhiyun vcc6-supply = <&vcc_sys>; 176*4882a593Smuzhiyun vcc7-supply = <&vcc_sys>; 177*4882a593Smuzhiyun vcc8-supply = <&vcc_sys>; 178*4882a593Smuzhiyun vcc9-supply = <&vcc_io>; 179*4882a593Smuzhiyun 180*4882a593Smuzhiyun regulators { 181*4882a593Smuzhiyun vdd_arm: DCDC_REG1 { 182*4882a593Smuzhiyun regulator-name = "vdd_arm"; 183*4882a593Smuzhiyun regulator-always-on; 184*4882a593Smuzhiyun regulator-boot-on; 185*4882a593Smuzhiyun regulator-min-microvolt = <750000>; 186*4882a593Smuzhiyun regulator-max-microvolt = <1450000>; 187*4882a593Smuzhiyun regulator-ramp-delay = <6001>; 188*4882a593Smuzhiyun regulator-state-mem { 189*4882a593Smuzhiyun regulator-on-in-suspend; 190*4882a593Smuzhiyun regulator-suspend-microvolt = <1100000>; 191*4882a593Smuzhiyun }; 192*4882a593Smuzhiyun }; 193*4882a593Smuzhiyun 194*4882a593Smuzhiyun vdd_logic: DCDC_REG2 { 195*4882a593Smuzhiyun regulator-name = "vdd_logic"; 196*4882a593Smuzhiyun regulator-always-on; 197*4882a593Smuzhiyun regulator-boot-on; 198*4882a593Smuzhiyun regulator-min-microvolt = <750000>; 199*4882a593Smuzhiyun regulator-max-microvolt = <1450000>; 200*4882a593Smuzhiyun regulator-ramp-delay = <6001>; 201*4882a593Smuzhiyun regulator-state-mem { 202*4882a593Smuzhiyun regulator-on-in-suspend; 203*4882a593Smuzhiyun regulator-suspend-microvolt = <1100000>; 204*4882a593Smuzhiyun }; 205*4882a593Smuzhiyun }; 206*4882a593Smuzhiyun 207*4882a593Smuzhiyun vcc_ddr: DCDC_REG3 { 208*4882a593Smuzhiyun regulator-name = "vcc_ddr"; 209*4882a593Smuzhiyun regulator-always-on; 210*4882a593Smuzhiyun regulator-boot-on; 211*4882a593Smuzhiyun regulator-state-mem { 212*4882a593Smuzhiyun regulator-on-in-suspend; 213*4882a593Smuzhiyun }; 214*4882a593Smuzhiyun }; 215*4882a593Smuzhiyun 216*4882a593Smuzhiyun vcc_io: DCDC_REG4 { 217*4882a593Smuzhiyun regulator-name = "vcc_io"; 218*4882a593Smuzhiyun regulator-always-on; 219*4882a593Smuzhiyun regulator-boot-on; 220*4882a593Smuzhiyun regulator-min-microvolt = <3300000>; 221*4882a593Smuzhiyun regulator-max-microvolt = <3300000>; 222*4882a593Smuzhiyun regulator-state-mem { 223*4882a593Smuzhiyun regulator-on-in-suspend; 224*4882a593Smuzhiyun regulator-suspend-microvolt = <3300000>; 225*4882a593Smuzhiyun }; 226*4882a593Smuzhiyun }; 227*4882a593Smuzhiyun 228*4882a593Smuzhiyun rk818_ldo1: LDO_REG1 { 229*4882a593Smuzhiyun regulator-name = "rk818_ldo1"; 230*4882a593Smuzhiyun regulator-always-on; 231*4882a593Smuzhiyun regulator-boot-on; 232*4882a593Smuzhiyun regulator-min-microvolt = <3300000>; 233*4882a593Smuzhiyun regulator-max-microvolt = <3300000>; 234*4882a593Smuzhiyun regulator-state-mem { 235*4882a593Smuzhiyun regulator-on-in-suspend; 236*4882a593Smuzhiyun regulator-suspend-microvolt = <3300000>; 237*4882a593Smuzhiyun }; 238*4882a593Smuzhiyun }; 239*4882a593Smuzhiyun 240*4882a593Smuzhiyun rk818_ldo2: LDO_REG2 { 241*4882a593Smuzhiyun regulator-name = "rk818_ldo2"; 242*4882a593Smuzhiyun regulator-always-on; 243*4882a593Smuzhiyun regulator-boot-on; 244*4882a593Smuzhiyun regulator-min-microvolt = <3000000>; 245*4882a593Smuzhiyun regulator-max-microvolt = <3000000>; 246*4882a593Smuzhiyun regulator-state-mem { 247*4882a593Smuzhiyun regulator-on-in-suspend; 248*4882a593Smuzhiyun regulator-suspend-microvolt = <3000000>; 249*4882a593Smuzhiyun }; 250*4882a593Smuzhiyun }; 251*4882a593Smuzhiyun 252*4882a593Smuzhiyun rk818_ldo3: LDO_REG3 { 253*4882a593Smuzhiyun regulator-name = "rk818_ldo3"; 254*4882a593Smuzhiyun regulator-always-on; 255*4882a593Smuzhiyun regulator-boot-on; 256*4882a593Smuzhiyun regulator-min-microvolt = <1100000>; 257*4882a593Smuzhiyun regulator-max-microvolt = <1100000>; 258*4882a593Smuzhiyun regulator-state-mem { 259*4882a593Smuzhiyun regulator-on-in-suspend; 260*4882a593Smuzhiyun regulator-suspend-microvolt = <1100000>; 261*4882a593Smuzhiyun }; 262*4882a593Smuzhiyun }; 263*4882a593Smuzhiyun 264*4882a593Smuzhiyun rk818_ldo4: LDO_REG4 { 265*4882a593Smuzhiyun regulator-name = "rk818_ldo4"; 266*4882a593Smuzhiyun regulator-always-on; 267*4882a593Smuzhiyun regulator-boot-on; 268*4882a593Smuzhiyun regulator-min-microvolt = <2800000>; 269*4882a593Smuzhiyun regulator-max-microvolt = <2800000>; 270*4882a593Smuzhiyun regulator-state-mem { 271*4882a593Smuzhiyun regulator-on-in-suspend; 272*4882a593Smuzhiyun regulator-suspend-microvolt = <2800000>; 273*4882a593Smuzhiyun }; 274*4882a593Smuzhiyun }; 275*4882a593Smuzhiyun 276*4882a593Smuzhiyun rk818_ldo5: LDO_REG5 { 277*4882a593Smuzhiyun regulator-name = "rk818_ldo5"; 278*4882a593Smuzhiyun regulator-always-on; 279*4882a593Smuzhiyun regulator-boot-on; 280*4882a593Smuzhiyun regulator-min-microvolt = <3000000>; 281*4882a593Smuzhiyun regulator-max-microvolt = <3000000>; 282*4882a593Smuzhiyun regulator-state-mem { 283*4882a593Smuzhiyun regulator-on-in-suspend; 284*4882a593Smuzhiyun regulator-suspend-microvolt = <3000000>; 285*4882a593Smuzhiyun }; 286*4882a593Smuzhiyun }; 287*4882a593Smuzhiyun 288*4882a593Smuzhiyun rk818_ldo6: LDO_REG6 { 289*4882a593Smuzhiyun regulator-name = "rk818_ldo6"; 290*4882a593Smuzhiyun regulator-always-on; 291*4882a593Smuzhiyun regulator-boot-on; 292*4882a593Smuzhiyun regulator-min-microvolt = <1200000>; 293*4882a593Smuzhiyun regulator-max-microvolt = <1200000>; 294*4882a593Smuzhiyun regulator-state-mem { 295*4882a593Smuzhiyun regulator-on-in-suspend; 296*4882a593Smuzhiyun regulator-suspend-microvolt = <1200000>; 297*4882a593Smuzhiyun }; 298*4882a593Smuzhiyun }; 299*4882a593Smuzhiyun 300*4882a593Smuzhiyun rk818_ldo7: LDO_REG7 { 301*4882a593Smuzhiyun regulator-name = "rk818_ldo7"; 302*4882a593Smuzhiyun regulator-always-on; 303*4882a593Smuzhiyun regulator-boot-on; 304*4882a593Smuzhiyun regulator-min-microvolt = <1800000>; 305*4882a593Smuzhiyun regulator-max-microvolt = <1800000>; 306*4882a593Smuzhiyun regulator-state-mem { 307*4882a593Smuzhiyun regulator-on-in-suspend; 308*4882a593Smuzhiyun regulator-suspend-microvolt = <1800000>; 309*4882a593Smuzhiyun }; 310*4882a593Smuzhiyun }; 311*4882a593Smuzhiyun 312*4882a593Smuzhiyun rk818_ldo8: LDO_REG8 { 313*4882a593Smuzhiyun regulator-name = "rk818_ldo8"; 314*4882a593Smuzhiyun regulator-always-on; 315*4882a593Smuzhiyun regulator-boot-on; 316*4882a593Smuzhiyun regulator-min-microvolt = <1800000>; 317*4882a593Smuzhiyun regulator-max-microvolt = <1800000>; 318*4882a593Smuzhiyun regulator-state-mem { 319*4882a593Smuzhiyun regulator-on-in-suspend; 320*4882a593Smuzhiyun regulator-suspend-microvolt = <1800000>; 321*4882a593Smuzhiyun }; 322*4882a593Smuzhiyun }; 323*4882a593Smuzhiyun 324*4882a593Smuzhiyun vcc_sd: LDO_REG9 { 325*4882a593Smuzhiyun regulator-name = "vcc_sd"; 326*4882a593Smuzhiyun regulator-always-on; 327*4882a593Smuzhiyun regulator-boot-on; 328*4882a593Smuzhiyun regulator-min-microvolt = <1800000>; 329*4882a593Smuzhiyun regulator-max-microvolt = <3000000>; 330*4882a593Smuzhiyun regulator-state-mem { 331*4882a593Smuzhiyun regulator-on-in-suspend; 332*4882a593Smuzhiyun regulator-suspend-microvolt = <3000000>; 333*4882a593Smuzhiyun }; 334*4882a593Smuzhiyun }; 335*4882a593Smuzhiyun 336*4882a593Smuzhiyun rk818_ldo10: SWITCH_REG { 337*4882a593Smuzhiyun regulator-name = "rk818_ldo10"; 338*4882a593Smuzhiyun regulator-always-on; 339*4882a593Smuzhiyun regulator-boot-on; 340*4882a593Smuzhiyun regulator-state-mem { 341*4882a593Smuzhiyun regulator-on-in-suspend; 342*4882a593Smuzhiyun }; 343*4882a593Smuzhiyun }; 344*4882a593Smuzhiyun }; 345*4882a593Smuzhiyun 346*4882a593Smuzhiyun battery { 347*4882a593Smuzhiyun compatible = "rk818-battery"; 348*4882a593Smuzhiyun ocv_table = <3400 3650 3693 3707 3731 3749 3760 349*4882a593Smuzhiyun 3770 3782 3796 3812 3829 3852 3882 350*4882a593Smuzhiyun 3915 3951 3981 4047 4086 4132 4182>; 351*4882a593Smuzhiyun design_capacity = <4000>; 352*4882a593Smuzhiyun design_qmax = <4000>; 353*4882a593Smuzhiyun bat_res = <100>; 354*4882a593Smuzhiyun max_input_current = <2000>; 355*4882a593Smuzhiyun max_chrg_current = <1400>; 356*4882a593Smuzhiyun max_chrg_voltage = <4200>; 357*4882a593Smuzhiyun sleep_enter_current = <300>; 358*4882a593Smuzhiyun sleep_exit_current = <300>; 359*4882a593Smuzhiyun power_off_thresd = <3400>; 360*4882a593Smuzhiyun zero_algorithm_vol = <3850>; 361*4882a593Smuzhiyun energy_mode = <0>; 362*4882a593Smuzhiyun fb_temperature = <105>; 363*4882a593Smuzhiyun sample_res = <20>; 364*4882a593Smuzhiyun max_soc_offset = <60>; 365*4882a593Smuzhiyun monitor_sec = <5>; 366*4882a593Smuzhiyun virtual_power = <1>; 367*4882a593Smuzhiyun power_dc2otg = <0>; 368*4882a593Smuzhiyun }; 369*4882a593Smuzhiyun }; 370*4882a593Smuzhiyun}; 371*4882a593Smuzhiyun 372*4882a593Smuzhiyun&pinctrl { 373*4882a593Smuzhiyun pmic { 374*4882a593Smuzhiyun pmic_int_l: pmic-int-l { 375*4882a593Smuzhiyun rockchip,pins = <3 RK_PC6 RK_FUNC_GPIO &pcfg_pull_default>; 376*4882a593Smuzhiyun }; 377*4882a593Smuzhiyun }; 378*4882a593Smuzhiyun 379*4882a593Smuzhiyun usb2 { 380*4882a593Smuzhiyun host_vbus_drv: host-vbus-drv { 381*4882a593Smuzhiyun rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>; 382*4882a593Smuzhiyun }; 383*4882a593Smuzhiyun 384*4882a593Smuzhiyun otg_vbus_drv: otg-vbus-drv { 385*4882a593Smuzhiyun rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 386*4882a593Smuzhiyun }; 387*4882a593Smuzhiyun }; 388*4882a593Smuzhiyun}; 389*4882a593Smuzhiyun 390*4882a593Smuzhiyun&sdmmc { 391*4882a593Smuzhiyun cap-mmc-highspeed; 392*4882a593Smuzhiyun no-sdio; 393*4882a593Smuzhiyun no-mmc; 394*4882a593Smuzhiyun broken-cd; 395*4882a593Smuzhiyun card-detect-delay = <800>; 396*4882a593Smuzhiyun ignore-pm-notify; 397*4882a593Smuzhiyun keep-power-in-suspend; 398*4882a593Smuzhiyun cd-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; /* CD GPIO */ 399*4882a593Smuzhiyun status = "disabled"; 400*4882a593Smuzhiyun}; 401*4882a593Smuzhiyun 402*4882a593Smuzhiyun&sdio { 403*4882a593Smuzhiyun cap-mmc-highspeed; 404*4882a593Smuzhiyun no-sd; 405*4882a593Smuzhiyun no-mmc; 406*4882a593Smuzhiyun ignore-pm-notify; 407*4882a593Smuzhiyun keep-power-in-suspend; 408*4882a593Smuzhiyun non-removable; 409*4882a593Smuzhiyun cap-sdio-irq; 410*4882a593Smuzhiyun status = "disabled"; 411*4882a593Smuzhiyun}; 412*4882a593Smuzhiyun 413*4882a593Smuzhiyun&u2phy { 414*4882a593Smuzhiyun status = "okay"; 415*4882a593Smuzhiyun 416*4882a593Smuzhiyun u2phy_otg: otg-port { 417*4882a593Smuzhiyun vbus-supply = <&vcc_otg_vbus>; 418*4882a593Smuzhiyun status = "okay"; 419*4882a593Smuzhiyun }; 420*4882a593Smuzhiyun 421*4882a593Smuzhiyun u2phy_host: host-port { 422*4882a593Smuzhiyun phy-supply = <&vcc_host_5v>; 423*4882a593Smuzhiyun status = "okay"; 424*4882a593Smuzhiyun }; 425*4882a593Smuzhiyun}; 426*4882a593Smuzhiyun 427*4882a593Smuzhiyun&usb_host_ehci { 428*4882a593Smuzhiyun status = "okay"; 429*4882a593Smuzhiyun}; 430*4882a593Smuzhiyun 431*4882a593Smuzhiyun&usb_host_ohci { 432*4882a593Smuzhiyun status = "okay"; 433*4882a593Smuzhiyun}; 434*4882a593Smuzhiyun 435*4882a593Smuzhiyun&usb_otg { 436*4882a593Smuzhiyun status = "okay"; 437*4882a593Smuzhiyun}; 438*4882a593Smuzhiyun 439*4882a593Smuzhiyun&vop { 440*4882a593Smuzhiyun status = "okay"; 441*4882a593Smuzhiyun}; 442*4882a593Smuzhiyun 443*4882a593Smuzhiyun&vop_mmu { 444*4882a593Smuzhiyun status = "okay"; 445*4882a593Smuzhiyun}; 446