blob: 046da022ffe7522c4234bdc84a5bb010c06a2308 [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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070019 bootph-all;
Jagan Tekia50c8962021-11-15 23:08:19 +053020 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>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080034};
35
36&uart5 {
37 clock-frequency = <24000000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070038 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080039};
40
41&sdmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070042 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080043
44 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
45 u-boot,spl-fifo-mode;
46};
47
48&emmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080050
51 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
52 u-boot,spl-fifo-mode;
53};
54
55&grf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070056 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080057};
58
59&pmugrf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070060 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080061};
62
63&xin24m {
Simon Glassd3a98cb2023-02-13 08:56:33 -070064 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080065};
66
67&cru {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-all;
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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070074 bootph-all;
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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070080 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080081 status = "okay";
82};
83
84&gpio0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070085 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080086};
87
88&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070089 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080090};
91
92&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070093 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080094};
95
96&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070097 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080098};