blob: 0a764ce5119cad690f9d5a41950f3bf47d1d7cd6 [file] [log] [blame]
Joseph Chen636ffbd2021-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 Schulz05713d52022-09-02 15:10:52 +02006#include "rockchip-u-boot.dtsi"
7
Joseph Chen636ffbd2021-06-02 15:58:23 +08008/ {
9 aliases {
10 mmc0 = &sdhci;
11 mmc1 = &sdmmc0;
12 };
13
Nico Cheng6b97f2d2021-10-26 10:42:20 +080014 chosen {
Jonas Karlman42f67fb2023-03-14 00:38:23 +000015 u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc0;
Nico Cheng6b97f2d2021-10-26 10:42:20 +080016 };
17
Joseph Chen636ffbd2021-06-02 15:58:23 +080018 dmc: dmc {
19 compatible = "rockchip,rk3568-dmc";
Simon Glass8c103c32023-02-13 08:56:33 -070020 bootph-all;
Joseph Chen636ffbd2021-06-02 15:58:23 +080021 status = "okay";
22 };
Jonas Karlman2eedb6d2023-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 Chen636ffbd2021-06-02 15:58:23 +080035};
36
37&cru {
Simon Glass8c103c32023-02-13 08:56:33 -070038 bootph-all;
Joseph Chen636ffbd2021-06-02 15:58:23 +080039 status = "okay";
40};
41
42&pmucru {
Simon Glass8c103c32023-02-13 08:56:33 -070043 bootph-all;
Joseph Chen636ffbd2021-06-02 15:58:23 +080044 status = "okay";
45};
46
47&grf {
Simon Glass8c103c32023-02-13 08:56:33 -070048 bootph-all;
Joseph Chen636ffbd2021-06-02 15:58:23 +080049 status = "okay";
50};
51
52&pmugrf {
Simon Glass8c103c32023-02-13 08:56:33 -070053 bootph-all;
Joseph Chen636ffbd2021-06-02 15:58:23 +080054 status = "okay";
55};
Nico Cheng6b97f2d2021-10-26 10:42:20 +080056
FUKAUMI Naoki85a8ef12022-10-04 01:30:30 +000057&sdhci {
Simon Glass8c103c32023-02-13 08:56:33 -070058 bootph-pre-ram;
FUKAUMI Naoki85a8ef12022-10-04 01:30:30 +000059 status = "okay";
60};
61
Nico Cheng6b97f2d2021-10-26 10:42:20 +080062&sdmmc0 {
Simon Glass8c103c32023-02-13 08:56:33 -070063 bootph-pre-ram;
Nico Cheng6b97f2d2021-10-26 10:42:20 +080064 status = "okay";
65};