2021-06-02 07:58:23 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
|
|
|
* (C) Copyright 2021 Rockchip Electronics Co., Ltd
|
|
|
|
*/
|
|
|
|
|
2022-09-02 13:10:52 +00:00
|
|
|
#include "rockchip-u-boot.dtsi"
|
|
|
|
|
2021-06-02 07:58:23 +00:00
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
mmc0 = &sdhci;
|
|
|
|
mmc1 = &sdmmc0;
|
|
|
|
};
|
|
|
|
|
2021-10-26 02:42:20 +00:00
|
|
|
chosen {
|
2023-03-14 00:38:23 +00:00
|
|
|
u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc0;
|
2021-10-26 02:42:20 +00:00
|
|
|
};
|
|
|
|
|
2021-06-02 07:58:23 +00:00
|
|
|
dmc: dmc {
|
|
|
|
compatible = "rockchip,rk3568-dmc";
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2021-06-02 07:58:23 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2023-02-22 22:44:41 +00:00
|
|
|
|
|
|
|
otp: nvmem@fe38c000 {
|
|
|
|
compatible = "rockchip,rk3568-otp";
|
|
|
|
reg = <0x0 0xfe38c000 0x0 0x4000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
cpu_id: id@a {
|
|
|
|
reg = <0x0a 0x10>;
|
|
|
|
};
|
|
|
|
};
|
2021-06-02 07:58:23 +00:00
|
|
|
};
|
|
|
|
|
2023-05-17 18:26:29 +00:00
|
|
|
&xin24m {
|
|
|
|
bootph-all;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-06-02 07:58:23 +00:00
|
|
|
&cru {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2021-06-02 07:58:23 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pmucru {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2021-06-02 07:58:23 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&grf {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2021-06-02 07:58:23 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pmugrf {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2021-06-02 07:58:23 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2021-10-26 02:42:20 +00:00
|
|
|
|
2022-10-04 01:30:30 +00:00
|
|
|
&sdhci {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-10-26 02:42:20 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2022-10-04 01:30:30 +00:00
|
|
|
&sdmmc0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-10-26 02:42:20 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2023-05-17 18:26:35 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_ROCKCHIP_SPI_IMAGE
|
|
|
|
&binman {
|
|
|
|
simple-bin-spi {
|
|
|
|
mkimage {
|
|
|
|
args = "-n", CONFIG_SYS_SOC, "-T", "rksd";
|
|
|
|
offset = <0x8000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|