2020-04-27 06:52:53 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "rk3328-u-boot.dtsi"
|
|
|
|
#include "rk3328-sdram-ddr4-666.dtsi"
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
|
|
|
|
};
|
2020-11-05 13:32:12 +00:00
|
|
|
|
|
|
|
smbios {
|
|
|
|
compatible = "u-boot,sysinfo-smbios";
|
|
|
|
|
|
|
|
smbios {
|
|
|
|
system {
|
|
|
|
manufacturer = "firefly";
|
|
|
|
product = "roc-rk3328-cc";
|
|
|
|
};
|
|
|
|
|
|
|
|
baseboard {
|
|
|
|
manufacturer = "firefly";
|
|
|
|
product = "roc-rk3328-cc";
|
|
|
|
};
|
|
|
|
|
|
|
|
chassis {
|
|
|
|
manufacturer = "firefly";
|
|
|
|
product = "roc-rk3328-cc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2020-04-27 06:52:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2020-04-27 06:52:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2020-04-27 06:52:53 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
&sdmmc0m1_pin {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2020-04-27 06:52:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pcfg_pull_up_4ma {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2020-04-27 06:52:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&usb_host0_xhci {
|
|
|
|
vbus-supply = <&vcc_host1_5v>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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_host1_5v {
|
|
|
|
/delete-property/ regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Need this and all the pinctrl/gpio stuff above to set pinmux */
|
|
|
|
&vcc_sd {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2020-04-27 06:52:53 +00:00
|
|
|
};
|