Merge tag 'u-boot-rockchip-20200501' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / arm / dts / rk3328-rock64-u-boot.dtsi
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd
4  */
5
6 #include "rk3328-u-boot.dtsi"
7 #include "rk3328-sdram-lpddr3-1600.dtsi"
8 / {
9         chosen {
10                 u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
11         };
12 };
13
14 &usb_host0_xhci {
15         vbus-supply = <&vcc_host_5v>;
16         status = "okay";
17 };
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 };