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;
|
2023-07-28 12:05:40 +00:00
|
|
|
spi4 = &sfc;
|
2021-06-02 07:58:23 +00:00
|
|
|
};
|
|
|
|
|
2021-10-26 02:42:20 +00:00
|
|
|
chosen {
|
2023-07-28 11:53:08 +00:00
|
|
|
u-boot,spl-boot-order = "same-as-spl", &sdmmc0, &sdhci;
|
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
|
|
|
|
2023-07-28 11:53:07 +00:00
|
|
|
&pinctrl {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcfg_pull_none {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcfg_pull_up_drv_level_2 {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcfg_pull_up {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc_bus8 {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc_clk {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc_cmd {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc_datastrobe {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc_rstnout {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&fspi_pins {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc0_bus4 {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc0_clk {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc0_cmd {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc0_det {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc0_pwren {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart2m0_xfer {
|
|
|
|
bootph-all;
|
|
|
|
};
|
|
|
|
|
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
|