2021-01-06 23:06:11 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd
|
|
|
|
* (C) Copyright 2020 David Bauer
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "rk3328-u-boot.dtsi"
|
|
|
|
#include "rk3328-sdram-ddr4-666.dtsi"
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-01-06 23:06:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-01-06 23:06:11 +00:00
|
|
|
};
|
|
|
|
|
2021-07-22 15:20:43 +00:00
|
|
|
&sdmmc0m1_pin {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-01-06 23:06:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pcfg_pull_up_4ma {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-01-06 23:06:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* 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;
|
2021-01-06 23:06:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gmac2io {
|
|
|
|
snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
|
|
|
|
snps,reset-active-low;
|
|
|
|
snps,reset-delays-us = <0 10000 50000>;
|
|
|
|
};
|