2019-08-15 03:40:56 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2019-06-08 21:27:16 +00:00
|
|
|
/*
|
2019-08-15 03:40:56 +00:00
|
|
|
* (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd
|
2019-06-08 21:27:16 +00:00
|
|
|
*/
|
|
|
|
|
2019-08-15 03:40:56 +00:00
|
|
|
#include "rk3328-u-boot.dtsi"
|
2019-08-02 07:40:00 +00:00
|
|
|
#include "rk3328-sdram-lpddr3-1600.dtsi"
|
2019-10-08 17:59:50 +00:00
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
|
|
|
|
};
|
|
|
|
};
|
2019-08-02 07:40:00 +00:00
|
|
|
|
2019-08-15 03:28:31 +00:00
|
|
|
&usb_host0_xhci {
|
2020-04-27 06:52:54 +00:00
|
|
|
vbus-supply = <&vcc_host_5v>;
|
2019-08-15 03:28:31 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2020-04-27 06:52:54 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This makes XHCI responsible for toggling VBUS. This is needed to work
|
|
|
|
* around an issue where either XHCI only works with USB 2.0 or OTG doesn't
|
|
|
|
* work, depending on how VBUS is configured. Having USB 3.0 seems better.
|
|
|
|
*/
|
|
|
|
&vcc_host_5v {
|
|
|
|
/delete-property/ regulator-always-on;
|
|
|
|
/delete-property/ regulator-boot-on;
|
|
|
|
};
|