blob: f102b2aef4207649e6c7cb9720bb138d42a540d0 [file] [log] [blame]
Kever Yang1e1cb952020-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
6/ {
7 aliases {
8 mmc0 = &emmc;
9 mmc1 = &sdmmc;
10 };
11
12 chosen {
13 u-boot,spl-boot-order = &emmc, &sdmmc;
14 };
Lin Jinhanfb9230c2020-03-31 17:39:58 +080015
Jagan Teki43419b92021-11-15 23:08:19 +053016 dmc {
17 u-boot,dm-pre-reloc;
18 compatible = "rockchip,px30-dmc", "syscon";
19 reg = <0x0 0xff2a0000 0x0 0x1000>;
20 };
21
Lin Jinhanfb9230c2020-03-31 17:39:58 +080022 rng: rng@ff0b0000 {
23 compatible = "rockchip,cryptov2-rng";
24 reg = <0x0 0xff0b0000 0x0 0x4000>;
25 status = "disabled";
26 };
Kever Yang1e1cb952020-03-31 15:32:46 +080027};
28
Kever Yang1e1cb952020-03-31 15:32:46 +080029&uart2 {
30 clock-frequency = <24000000>;
31 u-boot,dm-pre-reloc;
32};
33
34&uart5 {
35 clock-frequency = <24000000>;
36 u-boot,dm-pre-reloc;
37};
38
39&sdmmc {
40 u-boot,dm-pre-reloc;
41
42 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
43 u-boot,spl-fifo-mode;
44};
45
46&emmc {
47 u-boot,dm-pre-reloc;
48
49 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
50 u-boot,spl-fifo-mode;
51};
52
53&grf {
54 u-boot,dm-pre-reloc;
55};
56
57&pmugrf {
58 u-boot,dm-pre-reloc;
59};
60
61&xin24m {
62 u-boot,dm-pre-reloc;
63};
64
65&cru {
66 u-boot,dm-pre-reloc;
Jagan Teki19a4d312021-11-15 23:08:20 +053067 /delete-property/ assigned-clocks;
68 /delete-property/ assigned-clock-rates;
Kever Yang1e1cb952020-03-31 15:32:46 +080069};
70
71&pmucru {
72 u-boot,dm-pre-reloc;
Jagan Teki19a4d312021-11-15 23:08:20 +053073 /delete-property/ assigned-clocks;
74 /delete-property/ assigned-clock-rates;
Kever Yang1e1cb952020-03-31 15:32:46 +080075};
76
77&saradc {
78 u-boot,dm-pre-reloc;
79 status = "okay";
80};
81
82&gpio0 {
83 u-boot,dm-pre-reloc;
84};
85
86&gpio1 {
87 u-boot,dm-pre-reloc;
88};
89
90&gpio2 {
91 u-boot,dm-pre-reloc;
92};
93
94&gpio3 {
95 u-boot,dm-pre-reloc;
96};