2019-08-15 03:40:56 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* (C) Copyright 2019 Rockchip Electronics Co., Ltd
|
|
|
|
*/
|
|
|
|
|
2022-09-02 13:10:52 +00:00
|
|
|
#include "rockchip-u-boot.dtsi"
|
|
|
|
|
2019-08-15 03:40:56 +00:00
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
mmc0 = &emmc;
|
|
|
|
mmc1 = &sdmmc;
|
2020-07-08 21:57:40 +00:00
|
|
|
spi0 = &spi0;
|
2019-08-15 03:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
u-boot,spl-boot-order = &emmc, &sdmmc;
|
|
|
|
};
|
|
|
|
|
|
|
|
dmc: dmc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2019-08-15 03:40:56 +00:00
|
|
|
compatible = "rockchip,rk3328-dmc";
|
|
|
|
reg = <0x0 0xff400000 0x0 0x1000
|
|
|
|
0x0 0xff780000 0x0 0x3000
|
|
|
|
0x0 0xff100000 0x0 0x1000
|
|
|
|
0x0 0xff440000 0x0 0x1000
|
|
|
|
0x0 0xff720000 0x0 0x1000
|
|
|
|
0x0 0xff798000 0x0 0x1000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&cru {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2019-08-15 03:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&grf {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2019-08-15 03:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2019-08-15 03:40:56 +00:00
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2019-12-31 07:57:55 +00:00
|
|
|
|
|
|
|
/* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
|
|
|
|
u-boot,spl-fifo-mode;
|
2019-08-15 03:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2019-12-31 07:57:55 +00:00
|
|
|
|
|
|
|
/* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
|
|
|
|
u-boot,spl-fifo-mode;
|
2019-08-15 03:40:56 +00:00
|
|
|
};
|
2020-04-27 06:52:48 +00:00
|
|
|
|
|
|
|
&usb20_otg {
|
|
|
|
hnp-srp-disable;
|
|
|
|
};
|
2020-07-08 21:57:40 +00:00
|
|
|
|
|
|
|
&spi0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2020-07-08 21:57:40 +00:00
|
|
|
};
|