2020-03-31 07:32:46 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
|
|
|
* (C) Copyright 2019 Rockchip Electronics Co., Ltd
|
|
|
|
*/
|
|
|
|
|
2022-09-02 13:10:52 +00:00
|
|
|
#include "rockchip-u-boot.dtsi"
|
|
|
|
|
2020-03-31 07:32:46 +00:00
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
mmc0 = &emmc;
|
|
|
|
mmc1 = &sdmmc;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
u-boot,spl-boot-order = &emmc, &sdmmc;
|
|
|
|
};
|
2020-03-31 09:39:58 +00:00
|
|
|
|
2021-11-15 17:38:19 +00:00
|
|
|
dmc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2021-11-15 17:38:19 +00:00
|
|
|
compatible = "rockchip,px30-dmc", "syscon";
|
|
|
|
reg = <0x0 0xff2a0000 0x0 0x1000>;
|
|
|
|
};
|
|
|
|
|
2020-03-31 09:39:58 +00:00
|
|
|
rng: rng@ff0b0000 {
|
|
|
|
compatible = "rockchip,cryptov2-rng";
|
|
|
|
reg = <0x0 0xff0b0000 0x0 0x4000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
clock-frequency = <24000000>;
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart5 {
|
|
|
|
clock-frequency = <24000000>;
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
|
|
|
|
/* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
|
|
|
|
u-boot,spl-fifo-mode;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
|
|
|
|
/* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
|
|
|
|
u-boot,spl-fifo-mode;
|
|
|
|
};
|
|
|
|
|
|
|
|
&grf {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pmugrf {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&xin24m {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&cru {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2021-11-15 17:38:20 +00:00
|
|
|
/delete-property/ assigned-clocks;
|
|
|
|
/delete-property/ assigned-clock-rates;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pmucru {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2021-11-15 17:38:20 +00:00
|
|
|
/delete-property/ assigned-clocks;
|
|
|
|
/delete-property/ assigned-clock-rates;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&saradc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio3 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-03-31 07:32:46 +00:00
|
|
|
};
|