blob: a9f2536de2a21c87603502b0317683e54198c8b9 [file] [log] [blame]
Kever Yange68e10b2019-08-15 11:40:56 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * (C) Copyright 2019 Rockchip Electronics Co., Ltd
4 */
5
Quentin Schulzd9ffa5e2022-09-02 15:10:52 +02006#include "rockchip-u-boot.dtsi"
7
Kever Yange68e10b2019-08-15 11:40:56 +08008/ {
9 aliases {
10 mmc0 = &emmc;
11 mmc1 = &sdmmc;
Johannes Krottmayer47075e32020-07-08 23:57:40 +020012 spi0 = &spi0;
Kever Yange68e10b2019-08-15 11:40:56 +080013 };
14
15 chosen {
16 u-boot,spl-boot-order = &emmc, &sdmmc;
17 };
18
19 dmc: dmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070020 bootph-all;
Kever Yange68e10b2019-08-15 11:40:56 +080021 compatible = "rockchip,rk3328-dmc";
22 reg = <0x0 0xff400000 0x0 0x1000
23 0x0 0xff780000 0x0 0x3000
24 0x0 0xff100000 0x0 0x1000
25 0x0 0xff440000 0x0 0x1000
26 0x0 0xff720000 0x0 0x1000
27 0x0 0xff798000 0x0 0x1000>;
28 };
Peter Robinson67e81b42023-06-14 13:43:13 +010029
30 rng: rng@ff060000 {
31 compatible = "rockchip,cryptov1-rng";
32 reg = <0x0 0xff060000 0x0 0x4000>;
33 status = "okay";
34 };
Kever Yange68e10b2019-08-15 11:40:56 +080035};
36
37&cru {
Simon Glassd3a98cb2023-02-13 08:56:33 -070038 bootph-all;
Kever Yange68e10b2019-08-15 11:40:56 +080039};
40
41&grf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070042 bootph-all;
Kever Yange68e10b2019-08-15 11:40:56 +080043};
44
45&uart2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070046 bootph-all;
Kever Yange68e10b2019-08-15 11:40:56 +080047 clock-frequency = <24000000>;
48};
49
50&emmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-all;
Kever Yang49ec4b92019-12-31 15:57:55 +080052
53 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
54 u-boot,spl-fifo-mode;
Kever Yange68e10b2019-08-15 11:40:56 +080055};
56
57&sdmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070058 bootph-all;
Kever Yang49ec4b92019-12-31 15:57:55 +080059
60 /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
61 u-boot,spl-fifo-mode;
Kever Yange68e10b2019-08-15 11:40:56 +080062};
Chen-Yu Tsai2c63f6d2020-04-27 14:52:48 +080063
64&usb20_otg {
65 hnp-srp-disable;
66};
Johannes Krottmayer47075e32020-07-08 23:57:40 +020067
68&spi0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070069 bootph-all;
Johannes Krottmayer47075e32020-07-08 23:57:40 +020070};