1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2019 Fuzhou Rockchip Electron 3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd 4 * Copyright (c) 2019 Vamrs Limited 4 * Copyright (c) 2019 Vamrs Limited 5 * Copyright (c) 2019 Amarula Solutions(India) 5 * Copyright (c) 2019 Amarula Solutions(India) 6 */ 6 */ 7 7 8 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/pwm/pwm.h> 11 11 12 / { 12 / { 13 compatible = "vamrs,rk3399pro-vmarc-so 13 compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; 14 14 15 aliases { 15 aliases { 16 ethernet0 = &gmac; 16 ethernet0 = &gmac; 17 mmc0 = &sdhci; 17 mmc0 = &sdhci; 18 mmc1 = &sdmmc; 18 mmc1 = &sdmmc; 19 }; 19 }; 20 20 21 vcc3v3_pcie: vcc-pcie-regulator { 21 vcc3v3_pcie: vcc-pcie-regulator { 22 compatible = "regulator-fixed" 22 compatible = "regulator-fixed"; 23 enable-active-high; 23 enable-active-high; 24 gpio = <&gpio4 RK_PD4 GPIO_ACT 24 gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>; 25 pinctrl-names = "default"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pcie_pwr>; 26 pinctrl-0 = <&pcie_pwr>; 27 regulator-name = "vcc3v3_pcie" 27 regulator-name = "vcc3v3_pcie"; 28 regulator-always-on; 28 regulator-always-on; 29 regulator-boot-on; 29 regulator-boot-on; 30 vin-supply = <&vcc5v0_sys>; 30 vin-supply = <&vcc5v0_sys>; 31 }; 31 }; 32 }; 32 }; 33 33 34 &cpu_l0 { 34 &cpu_l0 { 35 cpu-supply = <&vdd_cpu_l>; 35 cpu-supply = <&vdd_cpu_l>; 36 }; 36 }; 37 37 38 &cpu_l1 { 38 &cpu_l1 { 39 cpu-supply = <&vdd_cpu_l>; 39 cpu-supply = <&vdd_cpu_l>; 40 }; 40 }; 41 41 42 &cpu_l2 { 42 &cpu_l2 { 43 cpu-supply = <&vdd_cpu_l>; 43 cpu-supply = <&vdd_cpu_l>; 44 }; 44 }; 45 45 46 &cpu_l3 { 46 &cpu_l3 { 47 cpu-supply = <&vdd_cpu_l>; 47 cpu-supply = <&vdd_cpu_l>; 48 }; 48 }; 49 49 50 &emmc_phy { 50 &emmc_phy { 51 status = "okay"; 51 status = "okay"; 52 }; 52 }; 53 53 54 &gmac { 54 &gmac { 55 assigned-clocks = <&cru SCLK_RMII_SRC> 55 assigned-clocks = <&cru SCLK_RMII_SRC>; 56 phy-supply = <&vcc_lan>; 56 phy-supply = <&vcc_lan>; 57 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ 57 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 58 }; 58 }; 59 59 60 &hdmi { 60 &hdmi { 61 ddc-i2c-bus = <&i2c3>; 61 ddc-i2c-bus = <&i2c3>; 62 pinctrl-names = "default"; 62 pinctrl-names = "default"; 63 pinctrl-0 = <&hdmi_cec>; 63 pinctrl-0 = <&hdmi_cec>; 64 }; 64 }; 65 65 66 &i2c0 { 66 &i2c0 { 67 clock-frequency = <400000>; 67 clock-frequency = <400000>; 68 i2c-scl-falling-time-ns = <30>; 68 i2c-scl-falling-time-ns = <30>; 69 i2c-scl-rising-time-ns = <180>; 69 i2c-scl-rising-time-ns = <180>; 70 status = "okay"; 70 status = "okay"; 71 71 72 rk809: pmic@20 { 72 rk809: pmic@20 { 73 compatible = "rockchip,rk809"; 73 compatible = "rockchip,rk809"; 74 reg = <0x20>; 74 reg = <0x20>; 75 interrupt-parent = <&gpio1>; 75 interrupt-parent = <&gpio1>; 76 interrupts = <RK_PC2 IRQ_TYPE_ 76 interrupts = <RK_PC2 IRQ_TYPE_LEVEL_LOW>; 77 #clock-cells = <1>; 77 #clock-cells = <1>; 78 clock-output-names = "rk808-cl 78 clock-output-names = "rk808-clkout1", "rk808-clkout2"; 79 pinctrl-names = "default"; 79 pinctrl-names = "default"; 80 pinctrl-0 = <&pmic_int_l>; 80 pinctrl-0 = <&pmic_int_l>; 81 rockchip,system-power-controll 81 rockchip,system-power-controller; 82 wakeup-source; 82 wakeup-source; 83 83 84 vcc1-supply = <&vcc5v0_sys>; 84 vcc1-supply = <&vcc5v0_sys>; 85 vcc2-supply = <&vcc5v0_sys>; 85 vcc2-supply = <&vcc5v0_sys>; 86 vcc3-supply = <&vcc5v0_sys>; 86 vcc3-supply = <&vcc5v0_sys>; 87 vcc4-supply = <&vcc5v0_sys>; 87 vcc4-supply = <&vcc5v0_sys>; 88 vcc5-supply = <&vcc_buck5>; 88 vcc5-supply = <&vcc_buck5>; 89 vcc6-supply = <&vcc_buck5>; 89 vcc6-supply = <&vcc_buck5>; 90 vcc7-supply = <&vcc5v0_sys>; 90 vcc7-supply = <&vcc5v0_sys>; 91 vcc8-supply = <&vcc3v3_sys>; 91 vcc8-supply = <&vcc3v3_sys>; 92 vcc9-supply = <&vcc5v0_sys>; 92 vcc9-supply = <&vcc5v0_sys>; 93 93 94 regulators { 94 regulators { 95 vdd_log: DCDC_REG1 { 95 vdd_log: DCDC_REG1 { 96 regulator-name 96 regulator-name = "vdd_log"; 97 regulator-alwa 97 regulator-always-on; 98 regulator-boot 98 regulator-boot-on; 99 regulator-min- 99 regulator-min-microvolt = <750000>; 100 regulator-max- 100 regulator-max-microvolt = <1350000>; 101 regulator-init 101 regulator-initial-mode = <0x2>; 102 regulator-stat 102 regulator-state-mem { 103 regula 103 regulator-off-in-suspend; 104 regula 104 regulator-suspend-microvolt = <900000>; 105 }; 105 }; 106 }; 106 }; 107 107 108 vdd_cpu_l: DCDC_REG2 { 108 vdd_cpu_l: DCDC_REG2 { 109 regulator-name 109 regulator-name = "vdd_cpu_l"; 110 regulator-alwa 110 regulator-always-on; 111 regulator-boot 111 regulator-boot-on; 112 regulator-min- 112 regulator-min-microvolt = <750000>; 113 regulator-max- 113 regulator-max-microvolt = <1350000>; 114 regulator-ramp 114 regulator-ramp-delay = <6001>; 115 regulator-init 115 regulator-initial-mode = <0x2>; 116 regulator-stat 116 regulator-state-mem { 117 regula 117 regulator-off-in-suspend; 118 }; 118 }; 119 }; 119 }; 120 120 121 vcc_ddr: DCDC_REG3 { 121 vcc_ddr: DCDC_REG3 { 122 regulator-name 122 regulator-name = "vcc_ddr"; 123 regulator-alwa 123 regulator-always-on; 124 regulator-boot 124 regulator-boot-on; 125 regulator-init 125 regulator-initial-mode = <0x2>; 126 regulator-stat 126 regulator-state-mem { 127 regula 127 regulator-on-in-suspend; 128 }; 128 }; 129 }; 129 }; 130 130 131 vcc3v3_sys: DCDC_REG4 131 vcc3v3_sys: DCDC_REG4 { 132 regulator-name 132 regulator-name = "vcc3v3_sys"; 133 regulator-alwa 133 regulator-always-on; 134 regulator-boot 134 regulator-boot-on; 135 regulator-min- 135 regulator-min-microvolt = <3300000>; 136 regulator-max- 136 regulator-max-microvolt = <3300000>; 137 regulator-init 137 regulator-initial-mode = <0x2>; 138 regulator-stat 138 regulator-state-mem { 139 regula 139 regulator-on-in-suspend; 140 regula 140 regulator-suspend-microvolt = <3300000>; 141 }; 141 }; 142 }; 142 }; 143 143 144 vcc_buck5: DCDC_REG5 { 144 vcc_buck5: DCDC_REG5 { 145 regulator-name 145 regulator-name = "vcc_buck5"; 146 regulator-alwa 146 regulator-always-on; 147 regulator-boot 147 regulator-boot-on; 148 regulator-min- 148 regulator-min-microvolt = <2200000>; 149 regulator-max- 149 regulator-max-microvolt = <2200000>; 150 regulator-stat 150 regulator-state-mem { 151 regula 151 regulator-on-in-suspend; 152 regula 152 regulator-suspend-microvolt = <2200000>; 153 }; 153 }; 154 }; 154 }; 155 155 156 vcca_0v9: LDO_REG1 { 156 vcca_0v9: LDO_REG1 { 157 regulator-name 157 regulator-name = "vcca_0v9"; 158 regulator-alwa 158 regulator-always-on; 159 regulator-boot 159 regulator-boot-on; 160 regulator-min- 160 regulator-min-microvolt = <900000>; 161 regulator-max- 161 regulator-max-microvolt = <900000>; 162 regulator-stat 162 regulator-state-mem { 163 regula 163 regulator-on-in-suspend; 164 regula 164 regulator-suspend-microvolt = <900000>; 165 }; 165 }; 166 }; 166 }; 167 167 168 vcc_1v8: LDO_REG2 { 168 vcc_1v8: LDO_REG2 { 169 regulator-name 169 regulator-name = "vcc_1v8"; 170 regulator-alwa 170 regulator-always-on; 171 regulator-boot 171 regulator-boot-on; 172 regulator-min- 172 regulator-min-microvolt = <1800000>; 173 regulator-max- 173 regulator-max-microvolt = <1800000>; 174 regulator-stat 174 regulator-state-mem { 175 regula 175 regulator-on-in-suspend; 176 regula 176 regulator-suspend-microvolt = <1800000>; 177 }; 177 }; 178 }; 178 }; 179 179 180 vcc_0v9: LDO_REG3 { 180 vcc_0v9: LDO_REG3 { 181 regulator-name 181 regulator-name = "vcc_0v9"; 182 regulator-alwa 182 regulator-always-on; 183 regulator-boot 183 regulator-boot-on; 184 regulator-min- 184 regulator-min-microvolt = <900000>; 185 regulator-max- 185 regulator-max-microvolt = <900000>; 186 regulator-stat 186 regulator-state-mem { 187 regula 187 regulator-on-in-suspend; 188 regula 188 regulator-suspend-microvolt = <900000>; 189 }; 189 }; 190 }; 190 }; 191 191 192 vcca_1v8: LDO_REG4 { 192 vcca_1v8: LDO_REG4 { 193 regulator-name 193 regulator-name = "vcca_1v8"; 194 regulator-alwa 194 regulator-always-on; 195 regulator-boot 195 regulator-boot-on; 196 regulator-min- 196 regulator-min-microvolt = <1850000>; 197 regulator-max- 197 regulator-max-microvolt = <1850000>; 198 regulator-stat 198 regulator-state-mem { 199 regula 199 regulator-on-in-suspend; 200 regula 200 regulator-suspend-microvolt = <1850000>; 201 }; 201 }; 202 }; 202 }; 203 203 204 /* 204 /* 205 * As per BSP, but sch 205 * As per BSP, but schematic not showing any regulator 206 * pin for LD05. 206 * pin for LD05. 207 */ 207 */ 208 vdd1v5_dvp: LDO_REG5 { 208 vdd1v5_dvp: LDO_REG5 { 209 regulator-name 209 regulator-name = "vdd1v5_dvp"; 210 regulator-alwa 210 regulator-always-on; 211 regulator-boot 211 regulator-boot-on; 212 regulator-min- 212 regulator-min-microvolt = <1500000>; 213 regulator-max- 213 regulator-max-microvolt = <1500000>; 214 regulator-stat 214 regulator-state-mem { 215 regula 215 regulator-off-in-suspend; 216 }; 216 }; 217 }; 217 }; 218 218 219 vcc_1v5: LDO_REG6 { 219 vcc_1v5: LDO_REG6 { 220 regulator-name 220 regulator-name = "vcc_1v5"; 221 regulator-alwa 221 regulator-always-on; 222 regulator-boot 222 regulator-boot-on; 223 regulator-min- 223 regulator-min-microvolt = <1500000>; 224 regulator-max- 224 regulator-max-microvolt = <1500000>; 225 regulator-stat 225 regulator-state-mem { 226 regula 226 regulator-off-in-suspend; 227 }; 227 }; 228 }; 228 }; 229 229 230 vccio_3v0: LDO_REG7 { 230 vccio_3v0: LDO_REG7 { 231 regulator-name 231 regulator-name = "vccio_3v0"; 232 regulator-alwa 232 regulator-always-on; 233 regulator-boot 233 regulator-boot-on; 234 regulator-min- 234 regulator-min-microvolt = <3000000>; 235 regulator-max- 235 regulator-max-microvolt = <3000000>; 236 regulator-stat 236 regulator-state-mem { 237 regula 237 regulator-off-in-suspend; 238 }; 238 }; 239 }; 239 }; 240 240 241 vccio_sd: LDO_REG8 { 241 vccio_sd: LDO_REG8 { 242 regulator-name 242 regulator-name = "vccio_sd"; 243 regulator-alwa 243 regulator-always-on; 244 regulator-boot 244 regulator-boot-on; 245 regulator-min- 245 regulator-min-microvolt = <1800000>; 246 regulator-max- 246 regulator-max-microvolt = <3300000>; 247 regulator-stat 247 regulator-state-mem { 248 regula 248 regulator-off-in-suspend; 249 }; 249 }; 250 }; 250 }; 251 251 252 /* 252 /* 253 * As per BSP, but sch 253 * As per BSP, but schematic not showing any regulator 254 * pin for LD09. 254 * pin for LD09. 255 */ 255 */ 256 vcc_sd: LDO_REG9 { 256 vcc_sd: LDO_REG9 { 257 regulator-name 257 regulator-name = "vcc_sd"; 258 regulator-alwa 258 regulator-always-on; 259 regulator-boot 259 regulator-boot-on; 260 regulator-min- 260 regulator-min-microvolt = <3300000>; 261 regulator-max- 261 regulator-max-microvolt = <3300000>; 262 regulator-stat 262 regulator-state-mem { 263 regula 263 regulator-off-in-suspend; 264 }; 264 }; 265 }; 265 }; 266 266 267 vcc5v0_usb2: SWITCH_RE 267 vcc5v0_usb2: SWITCH_REG1 { 268 regulator-name 268 regulator-name = "vcc5v0_usb2"; 269 regulator-min- 269 regulator-min-microvolt = <5000000>; 270 regulator-max- 270 regulator-max-microvolt = <5000000>; 271 regulator-stat 271 regulator-state-mem { 272 regula 272 regulator-on-in-suspend; 273 regula 273 regulator-suspend-microvolt = <5000000>; 274 }; 274 }; 275 }; 275 }; 276 276 277 vccio_3v3: vcc_lan: SW 277 vccio_3v3: vcc_lan: SWITCH_REG2 { 278 regulator-name 278 regulator-name = "vccio_3v3"; 279 regulator-alwa 279 regulator-always-on; 280 regulator-boot 280 regulator-boot-on; 281 regulator-min- 281 regulator-min-microvolt = <3300000>; 282 regulator-max- 282 regulator-max-microvolt = <3300000>; 283 regulator-stat 283 regulator-state-mem { 284 regula 284 regulator-off-in-suspend; 285 }; 285 }; 286 }; 286 }; 287 }; 287 }; 288 }; 288 }; 289 }; 289 }; 290 290 291 &i2c1 { 291 &i2c1 { 292 i2c-scl-falling-time-ns = <30>; 292 i2c-scl-falling-time-ns = <30>; 293 i2c-scl-rising-time-ns = <140>; 293 i2c-scl-rising-time-ns = <140>; 294 status = "okay"; 294 status = "okay"; 295 }; 295 }; 296 296 297 &i2c2 { 297 &i2c2 { 298 clock-frequency = <400000>; 298 clock-frequency = <400000>; 299 status = "okay"; 299 status = "okay"; 300 300 301 hym8563: rtc@51 { 301 hym8563: rtc@51 { 302 compatible = "haoyu,hym8563"; 302 compatible = "haoyu,hym8563"; 303 reg = <0x51>; 303 reg = <0x51>; 304 #clock-cells = <0>; 304 #clock-cells = <0>; 305 clock-output-names = "hym8563" 305 clock-output-names = "hym8563"; 306 pinctrl-names = "default"; 306 pinctrl-names = "default"; 307 pinctrl-0 = <&hym8563_int>; 307 pinctrl-0 = <&hym8563_int>; 308 interrupt-parent = <&gpio4>; 308 interrupt-parent = <&gpio4>; 309 interrupts = <RK_PD6 IRQ_TYPE_ 309 interrupts = <RK_PD6 IRQ_TYPE_LEVEL_LOW>; 310 }; 310 }; 311 }; 311 }; 312 312 313 &i2c3 { 313 &i2c3 { 314 i2c-scl-rising-time-ns = <450>; 314 i2c-scl-rising-time-ns = <450>; 315 i2c-scl-falling-time-ns = <15>; 315 i2c-scl-falling-time-ns = <15>; 316 status = "okay"; 316 status = "okay"; 317 }; 317 }; 318 318 319 &io_domains { 319 &io_domains { 320 status = "okay"; 320 status = "okay"; 321 bt656-supply = <&vcca_1v8>; 321 bt656-supply = <&vcca_1v8>; 322 gpio1830-supply = <&vccio_3v0>; 322 gpio1830-supply = <&vccio_3v0>; 323 sdmmc-supply = <&vccio_sd>; 323 sdmmc-supply = <&vccio_sd>; 324 }; 324 }; 325 325 326 &pcie_phy { 326 &pcie_phy { 327 status = "okay"; 327 status = "okay"; 328 }; 328 }; 329 329 330 &pcie0 { 330 &pcie0 { 331 ep-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_ 331 ep-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; 332 num-lanes = <4>; 332 num-lanes = <4>; 333 pinctrl-0 = <&pcie_clkreqnb_cpm>; 333 pinctrl-0 = <&pcie_clkreqnb_cpm>; 334 pinctrl-names = "default"; 334 pinctrl-names = "default"; 335 vpcie0v9-supply = <&vcca_0v9>; /* VCC 335 vpcie0v9-supply = <&vcca_0v9>; /* VCC_0V9_S0 */ 336 vpcie1v8-supply = <&vcca_1v8>; /* VCC 336 vpcie1v8-supply = <&vcca_1v8>; /* VCC_1V8_S0 */ 337 vpcie3v3-supply = <&vcc3v3_pcie>; 337 vpcie3v3-supply = <&vcc3v3_pcie>; 338 status = "okay"; 338 status = "okay"; 339 }; 339 }; 340 340 341 &pinctrl { 341 &pinctrl { 342 hym8563 { 342 hym8563 { 343 hym8563_int: hym8563-int { 343 hym8563_int: hym8563-int { 344 rockchip,pins = <4 RK_ 344 rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>; 345 }; 345 }; 346 }; 346 }; 347 347 348 pcie { 348 pcie { 349 pcie_pwr: pcie-pwr { 349 pcie_pwr: pcie-pwr { 350 rockchip,pins = <4 RK_ 350 rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>; 351 }; 351 }; 352 }; 352 }; 353 353 354 pmic { 354 pmic { 355 pmic_int_l: pmic-int-l { 355 pmic_int_l: pmic-int-l { 356 rockchip,pins = <1 RK_ 356 rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>; 357 }; 357 }; 358 }; 358 }; 359 359 360 sdio-pwrseq { 360 sdio-pwrseq { 361 wifi_enable_h: wifi-enable-h { 361 wifi_enable_h: wifi-enable-h { 362 rockchip,pins = <2 RK_ 362 rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 363 }; 363 }; 364 }; 364 }; 365 365 366 vbus_host { 366 vbus_host { 367 usb1_en_oc: usb1-en-oc { 367 usb1_en_oc: usb1-en-oc { 368 rockchip,pins = <4 RK_ 368 rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>; 369 }; 369 }; 370 }; 370 }; 371 371 372 vbus_typec { 372 vbus_typec { 373 usb0_en_oc: usb0-en-oc { 373 usb0_en_oc: usb0-en-oc { 374 rockchip,pins = <4 RK_ 374 rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>; 375 }; 375 }; 376 }; 376 }; 377 }; 377 }; 378 378 379 &pmu_io_domains { 379 &pmu_io_domains { 380 status = "okay"; 380 status = "okay"; 381 pmu1830-supply = <&vcc_1v8>; 381 pmu1830-supply = <&vcc_1v8>; 382 }; 382 }; 383 383 384 &sdio_pwrseq { 384 &sdio_pwrseq { 385 /* 385 /* 386 * On the module itself this is one of 386 * On the module itself this is one of these (depending 387 * on the actual card populated): 387 * on the actual card populated): 388 * - SDIO_RESET_L_WL_REG_ON 388 * - SDIO_RESET_L_WL_REG_ON 389 * - PDN (power down when low) 389 * - PDN (power down when low) 390 */ 390 */ 391 reset-gpios = <&gpio2 RK_PD3 GPIO_ACTI 391 reset-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>; 392 }; 392 }; 393 393 394 &sdhci { 394 &sdhci { 395 bus-width = <8>; 395 bus-width = <8>; 396 mmc-hs400-1_8v; 396 mmc-hs400-1_8v; 397 mmc-hs400-enhanced-strobe; 397 mmc-hs400-enhanced-strobe; 398 non-removable; 398 non-removable; 399 status = "okay"; 399 status = "okay"; 400 }; 400 }; 401 401 402 &sdmmc { 402 &sdmmc { 403 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_ 403 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; 404 max-frequency = <150000000>; 404 max-frequency = <150000000>; 405 }; 405 }; 406 406 407 &tcphy0 { 407 &tcphy0 { 408 status = "okay"; 408 status = "okay"; 409 }; 409 }; 410 410 411 &tsadc { 411 &tsadc { 412 rockchip,hw-tshut-mode = <1>; 412 rockchip,hw-tshut-mode = <1>; 413 rockchip,hw-tshut-polarity = <1>; 413 rockchip,hw-tshut-polarity = <1>; 414 status = "okay"; 414 status = "okay"; 415 }; 415 }; 416 416 417 &u2phy0 { 417 &u2phy0 { 418 status = "okay"; 418 status = "okay"; 419 419 420 u2phy0_otg: otg-port { 420 u2phy0_otg: otg-port { 421 phy-supply = <&vbus_typec>; 421 phy-supply = <&vbus_typec>; 422 status = "okay"; 422 status = "okay"; 423 }; 423 }; 424 424 425 u2phy0_host: host-port { 425 u2phy0_host: host-port { 426 phy-supply = <&vbus_host>; 426 phy-supply = <&vbus_host>; 427 status = "okay"; 427 status = "okay"; 428 }; 428 }; 429 }; 429 }; 430 430 431 431 432 &u2phy1 { 432 &u2phy1 { 433 status = "okay"; 433 status = "okay"; 434 434 435 u2phy1_host: host-port { 435 u2phy1_host: host-port { 436 phy-supply = <&vbus_host>; 436 phy-supply = <&vbus_host>; 437 status = "okay"; 437 status = "okay"; 438 }; 438 }; 439 }; 439 }; 440 440 441 &usb_host0_ehci { 441 &usb_host0_ehci { 442 status = "okay"; 442 status = "okay"; 443 }; 443 }; 444 444 445 &usb_host0_ohci { 445 &usb_host0_ohci { 446 status = "okay"; 446 status = "okay"; 447 }; 447 }; 448 448 449 &usb_host1_ehci { 449 &usb_host1_ehci { 450 status = "okay"; 450 status = "okay"; 451 }; 451 }; 452 452 453 &usb_host1_ohci { 453 &usb_host1_ohci { 454 status = "okay"; 454 status = "okay"; 455 }; 455 }; 456 456 457 &usbdrd3_0 { 457 &usbdrd3_0 { 458 status = "okay"; 458 status = "okay"; 459 }; 459 }; 460 460 461 &usbdrd_dwc3_0 { 461 &usbdrd_dwc3_0 { 462 status = "okay"; 462 status = "okay"; 463 }; 463 }; 464 464 465 &vbus_host { 465 &vbus_host { 466 enable-active-high; 466 enable-active-high; 467 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH 467 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; /* USB1_EN_OC# */ 468 pinctrl-names = "default"; 468 pinctrl-names = "default"; 469 pinctrl-0 = <&usb1_en_oc>; 469 pinctrl-0 = <&usb1_en_oc>; 470 }; 470 }; 471 471 472 &vbus_typec { 472 &vbus_typec { 473 enable-active-high; 473 enable-active-high; 474 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH 474 gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; /* USB0_EN_OC# */ 475 pinctrl-names = "default"; 475 pinctrl-names = "default"; 476 pinctrl-0 = <&usb0_en_oc>; 476 pinctrl-0 = <&usb0_en_oc>; 477 }; 477 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.