blob: 8318bf4e6030182e7d2c2f8ae39f62ee428d745f [file] [log] [blame]
Kever Yang2e91e202019-08-15 11:40:56 +08001// SPDX-License-Identifier: GPL-2.0+
Matwey V. Kornilov348a0b72019-06-09 00:27:16 +03002/*
Kever Yang2e91e202019-08-15 11:40:56 +08003 * (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd
Matwey V. Kornilov348a0b72019-06-09 00:27:16 +03004 */
5
Kever Yang2e91e202019-08-15 11:40:56 +08006#include "rk3328-u-boot.dtsi"
Kever Yangec552bf2019-08-02 10:40:00 +03007#include "rk3328-sdram-lpddr3-1600.dtsi"
Emmanuel Vadotb5500b22019-10-08 19:59:50 +02008/ {
9 chosen {
10 u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
11 };
12};
Kever Yangec552bf2019-08-02 10:40:00 +030013
Kever Yang8e5c8572019-08-15 11:28:31 +080014&usb_host0_xhci {
Chen-Yu Tsai062baa22020-04-27 14:52:54 +080015 vbus-supply = <&vcc_host_5v>;
Kever Yang8e5c8572019-08-15 11:28:31 +080016 status = "okay";
17};
Chen-Yu Tsai062baa22020-04-27 14:52:54 +080018
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};