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;
|
|
|
|
};
|
2020-11-05 13:32:12 +00:00
|
|
|
|
|
|
|
smbios {
|
|
|
|
compatible = "u-boot,sysinfo-smbios";
|
|
|
|
|
|
|
|
smbios {
|
|
|
|
system {
|
|
|
|
manufacturer = "pine64";
|
|
|
|
product = "rock64_rk3328";
|
|
|
|
};
|
|
|
|
|
|
|
|
baseboard {
|
|
|
|
manufacturer = "pine64";
|
|
|
|
product = "rock64_rk3328";
|
|
|
|
};
|
|
|
|
|
|
|
|
chassis {
|
|
|
|
manufacturer = "pine64";
|
|
|
|
product = "rock64_rk3328";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2019-10-08 17:59:50 +00:00
|
|
|
};
|
2019-08-02 07:40:00 +00:00
|
|
|
|
2020-05-13 19:55:20 +00:00
|
|
|
&gpio0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
&sdmmc0m1_pin {
|
2020-05-13 19:55:20 +00:00
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcfg_pull_up_4ma {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
2020-05-13 19:55:20 +00:00
|
|
|
|
|
|
|
/* Need this and all the pinctrl/gpio stuff above to set pinmux */
|
|
|
|
&vcc_sd {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2020-07-08 22:50:33 +00:00
|
|
|
|
|
|
|
&spi0 {
|
|
|
|
spi_flash: spiflash@0 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
};
|