2019-05-07 18:21:50 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
|
|
|
|
*/
|
|
|
|
|
2019-05-07 18:21:52 +00:00
|
|
|
#include "rk3399-u-boot.dtsi"
|
2019-05-07 18:21:50 +00:00
|
|
|
#include "rk3399-sdram-lpddr3-4GB-1600.dtsi"
|
2019-11-09 20:30:06 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
2020-06-03 07:25:28 +00:00
|
|
|
stdout-path = "serial2:1500000n8";
|
2020-05-24 14:56:18 +00:00
|
|
|
u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
|
2019-11-09 20:30:06 +00:00
|
|
|
};
|
|
|
|
};
|
2020-03-31 09:39:57 +00:00
|
|
|
|
|
|
|
&rng {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2020-04-28 10:00:15 +00:00
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&rk808 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
2020-05-26 03:34:33 +00:00
|
|
|
|
|
|
|
&tcphy1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbdrd3_1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbdrd_dwc3_1 {
|
|
|
|
dr_mode = "host";
|
|
|
|
status = "okay";
|
|
|
|
};
|
2020-08-11 06:44:30 +00:00
|
|
|
|
|
|
|
&sdmmc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
bus-width = <4>;
|
|
|
|
cap-mmc-highspeed;
|
|
|
|
cap-sd-highspeed;
|
|
|
|
cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
|
|
|
disable-wp;
|
|
|
|
max-frequency = <150000000>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
|
|
|
|
status = "okay";
|
|
|
|
};
|