Prepare v2023.10
[platform/kernel/u-boot.git] / arch / arm / dts / rk3328-u-boot.dtsi
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * (C) Copyright 2019 Rockchip Electronics Co., Ltd
4  */
5
6 #include "rockchip-u-boot.dtsi"
7
8 / {
9         aliases {
10                 mmc0 = &emmc;
11                 mmc1 = &sdmmc;
12                 spi0 = &spi0;
13         };
14
15         chosen {
16                 u-boot,spl-boot-order = &emmc, &sdmmc;
17         };
18
19         dmc: dmc {
20                 bootph-all;
21                 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         };
29
30         rng: rng@ff060000 {
31                 compatible = "rockchip,cryptov1-rng";
32                 reg = <0x0 0xff060000 0x0 0x4000>;
33                 status = "okay";
34         };
35 };
36
37 &cru {
38         bootph-all;
39 };
40
41 &grf {
42         bootph-all;
43 };
44
45 &uart2 {
46         bootph-all;
47         clock-frequency = <24000000>;
48 };
49
50 &emmc {
51         bootph-all;
52
53         /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
54         u-boot,spl-fifo-mode;
55 };
56
57 &sdmmc {
58         bootph-all;
59
60         /* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
61         u-boot,spl-fifo-mode;
62 };
63
64 &usb20_otg {
65         hnp-srp-disable;
66 };
67
68 &spi0 {
69         bootph-all;
70 };