Kever Yang | 2e91e20 | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Matwey V. Kornilov | 348a0b7 | 2019-06-09 00:27:16 +0300 | [diff] [blame] | 2 | /* |
Kever Yang | 2e91e20 | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 3 | * (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd |
Matwey V. Kornilov | 348a0b7 | 2019-06-09 00:27:16 +0300 | [diff] [blame] | 4 | */ |
| 5 | |
Kever Yang | 2e91e20 | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 6 | #include "rk3328-u-boot.dtsi" |
Kever Yang | ec552bf | 2019-08-02 10:40:00 +0300 | [diff] [blame] | 7 | #include "rk3328-sdram-lpddr3-1600.dtsi" |
Emmanuel Vadot | b5500b2 | 2019-10-08 19:59:50 +0200 | [diff] [blame] | 8 | / { |
| 9 | chosen { |
| 10 | u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc; |
| 11 | }; |
| 12 | }; |
Kever Yang | ec552bf | 2019-08-02 10:40:00 +0300 | [diff] [blame] | 13 | |
Kever Yang | 8e5c857 | 2019-08-15 11:28:31 +0800 | [diff] [blame] | 14 | &usb_host0_xhci { |
Chen-Yu Tsai | 062baa2 | 2020-04-27 14:52:54 +0800 | [diff] [blame] | 15 | vbus-supply = <&vcc_host_5v>; |
Kever Yang | 8e5c857 | 2019-08-15 11:28:31 +0800 | [diff] [blame] | 16 | status = "okay"; |
| 17 | }; |
Chen-Yu Tsai | 062baa2 | 2020-04-27 14:52:54 +0800 | [diff] [blame] | 18 | |
| 19 | /* |
| 20 | * This makes XHCI responsible for toggling VBUS. This is needed to work |
| 21 | * around an issue where either XHCI only works with USB 2.0 or OTG doesn't |
| 22 | * work, depending on how VBUS is configured. Having USB 3.0 seems better. |
| 23 | */ |
| 24 | &vcc_host_5v { |
| 25 | /delete-property/ regulator-always-on; |
| 26 | /delete-property/ regulator-boot-on; |
| 27 | }; |