blob: 0a764ce5119cad690f9d5a41950f3bf47d1d7cd6 [file] [log] [blame]
Joseph Chen868dc1d2021-06-02 15:58:23 +08001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * (C) Copyright 2021 Rockchip Electronics Co., Ltd
4 */
5
Quentin Schulzd9ffa5e2022-09-02 15:10:52 +02006#include "rockchip-u-boot.dtsi"
7
Joseph Chen868dc1d2021-06-02 15:58:23 +08008/ {
9 aliases {
10 mmc0 = &sdhci;
11 mmc1 = &sdmmc0;
12 };
13
Nico Cheng16bc03c2021-10-26 10:42:20 +080014 chosen {
Jonas Karlman980da012023-03-14 00:38:23 +000015 u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc0;
Nico Cheng16bc03c2021-10-26 10:42:20 +080016 };
17
Joseph Chen868dc1d2021-06-02 15:58:23 +080018 dmc: dmc {
19 compatible = "rockchip,rk3568-dmc";
Simon Glassd3a98cb2023-02-13 08:56:33 -070020 bootph-all;
Joseph Chen868dc1d2021-06-02 15:58:23 +080021 status = "okay";
22 };
Jonas Karlmanbe56bb52023-02-22 22:44:41 +000023
24 otp: nvmem@fe38c000 {
25 compatible = "rockchip,rk3568-otp";
26 reg = <0x0 0xfe38c000 0x0 0x4000>;
27 #address-cells = <1>;
28 #size-cells = <1>;
29 status = "okay";
30
31 cpu_id: id@a {
32 reg = <0x0a 0x10>;
33 };
34 };
Joseph Chen868dc1d2021-06-02 15:58:23 +080035};
36
37&cru {
Simon Glassd3a98cb2023-02-13 08:56:33 -070038 bootph-all;
Joseph Chen868dc1d2021-06-02 15:58:23 +080039 status = "okay";
40};
41
42&pmucru {
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-all;
Joseph Chen868dc1d2021-06-02 15:58:23 +080044 status = "okay";
45};
46
47&grf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-all;
Joseph Chen868dc1d2021-06-02 15:58:23 +080049 status = "okay";
50};
51
52&pmugrf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-all;
Joseph Chen868dc1d2021-06-02 15:58:23 +080054 status = "okay";
55};
Nico Cheng16bc03c2021-10-26 10:42:20 +080056
FUKAUMI Naoki98dc96a2022-10-04 01:30:30 +000057&sdhci {
Simon Glassd3a98cb2023-02-13 08:56:33 -070058 bootph-pre-ram;
Nico Cheng16bc03c2021-10-26 10:42:20 +080059 status = "okay";
60};
61
FUKAUMI Naoki98dc96a2022-10-04 01:30:30 +000062&sdmmc0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-pre-ram;
Nico Cheng16bc03c2021-10-26 10:42:20 +080064 status = "okay";
65};