blob: 462eaf68f825e709d5c5e4c9673ff43f07b52c5a [file] [log] [blame]
Kever Yang276de2a2020-03-31 15:32:46 +08001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
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 Yang276de2a2020-03-31 15:32:46 +08008/ {
9 aliases {
10 mmc0 = &emmc;
11 mmc1 = &sdmmc;
12 };
13
14 chosen {
15 u-boot,spl-boot-order = &emmc, &sdmmc;
16 };
Lin Jinhane6c89cf2020-03-31 17:39:58 +080017
Jagan Tekia50c8962021-11-15 23:08:19 +053018 dmc {
19 u-boot,dm-pre-reloc;
20 compatible = "rockchip,px30-dmc", "syscon";
21 reg = <0x0 0xff2a0000 0x0 0x1000>;
22 };
23
Lin Jinhane6c89cf2020-03-31 17:39:58 +080024 rng: rng@ff0b0000 {
25 compatible = "rockchip,cryptov2-rng";
26 reg = <0x0 0xff0b0000 0x0 0x4000>;
27 status = "disabled";
28 };
Kever Yang276de2a2020-03-31 15:32:46 +080029};
30
Kever Yang276de2a2020-03-31 15:32:46 +080031&uart2 {
32 clock-frequency = <24000000>;
33 u-boot,dm-pre-reloc;
34};
35
36&uart5 {
37 clock-frequency = <24000000>;
38 u-boot,dm-pre-reloc;
39};
40
41&sdmmc {
42 u-boot,dm-pre-reloc;
43
44 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
45 u-boot,spl-fifo-mode;
46};
47
48&emmc {
49 u-boot,dm-pre-reloc;
50
51 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
52 u-boot,spl-fifo-mode;
53};
54
55&grf {
56 u-boot,dm-pre-reloc;
57};
58
59&pmugrf {
60 u-boot,dm-pre-reloc;
61};
62
63&xin24m {
64 u-boot,dm-pre-reloc;
65};
66
67&cru {
68 u-boot,dm-pre-reloc;
Jagan Teki20759fa2021-11-15 23:08:20 +053069 /delete-property/ assigned-clocks;
70 /delete-property/ assigned-clock-rates;
Kever Yang276de2a2020-03-31 15:32:46 +080071};
72
73&pmucru {
74 u-boot,dm-pre-reloc;
Jagan Teki20759fa2021-11-15 23:08:20 +053075 /delete-property/ assigned-clocks;
76 /delete-property/ assigned-clock-rates;
Kever Yang276de2a2020-03-31 15:32:46 +080077};
78
79&saradc {
80 u-boot,dm-pre-reloc;
81 status = "okay";
82};
83
84&gpio0 {
85 u-boot,dm-pre-reloc;
86};
87
88&gpio1 {
89 u-boot,dm-pre-reloc;
90};
91
92&gpio2 {
93 u-boot,dm-pre-reloc;
94};
95
96&gpio3 {
97 u-boot,dm-pre-reloc;
98};