blob: 59fa9f43a9764eb4c14ddbe8b3685837f1a962f7 [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
Quentin Schulz4a70e6a2024-05-24 11:23:30 +020036&uart2m0_xfer {
37 bootph-all;
38};
39
Kever Yang276de2a2020-03-31 15:32:46 +080040&uart5 {
41 clock-frequency = <24000000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070042 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080043};
44
Quentin Schulz4a70e6a2024-05-24 11:23:30 +020045&uart5_cts {
46 bootph-all;
47};
48
49&uart5_rts {
50 bootph-all;
51};
52
53&uart5_xfer {
54 bootph-all;
55};
56
Kever Yang276de2a2020-03-31 15:32:46 +080057&sdmmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070058 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080059
60 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
61 u-boot,spl-fifo-mode;
62};
63
64&emmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070065 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080066
67 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
68 u-boot,spl-fifo-mode;
69};
70
71&grf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080073};
74
75&pmugrf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070076 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080077};
78
79&xin24m {
Simon Glassd3a98cb2023-02-13 08:56:33 -070080 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080081};
82
83&cru {
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-all;
Jagan Teki20759fa2021-11-15 23:08:20 +053085 /delete-property/ assigned-clocks;
86 /delete-property/ assigned-clock-rates;
Kever Yang276de2a2020-03-31 15:32:46 +080087};
88
89&pmucru {
Simon Glassd3a98cb2023-02-13 08:56:33 -070090 bootph-all;
Jagan Teki20759fa2021-11-15 23:08:20 +053091 /delete-property/ assigned-clocks;
92 /delete-property/ assigned-clock-rates;
Kever Yang276de2a2020-03-31 15:32:46 +080093};
94
95&saradc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070096 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +080097 status = "okay";
98};
99
100&gpio0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700101 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +0800102};
103
104&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700105 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +0800106};
107
108&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +0800110};
111
112&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700113 bootph-all;
Kever Yang276de2a2020-03-31 15:32:46 +0800114};