Joseph Chen | 868dc1d | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
2 | /* | ||||
3 | * (C) Copyright 2021 Rockchip Electronics Co., Ltd | ||||
4 | */ | ||||
5 | |||||
Quentin Schulz | d9ffa5e | 2022-09-02 15:10:52 +0200 | [diff] [blame] | 6 | #include "rockchip-u-boot.dtsi" |
7 | |||||
Joseph Chen | 868dc1d | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 8 | / { |
9 | aliases { | ||||
10 | mmc0 = &sdhci; | ||||
11 | mmc1 = &sdmmc0; | ||||
12 | }; | ||||
13 | |||||
Nico Cheng | 16bc03c | 2021-10-26 10:42:20 +0800 | [diff] [blame] | 14 | chosen { |
Jonas Karlman | 980da01 | 2023-03-14 00:38:23 +0000 | [diff] [blame] | 15 | u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc0; |
Nico Cheng | 16bc03c | 2021-10-26 10:42:20 +0800 | [diff] [blame] | 16 | }; |
17 | |||||
Joseph Chen | 868dc1d | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 18 | dmc: dmc { |
19 | compatible = "rockchip,rk3568-dmc"; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 20 | bootph-all; |
Joseph Chen | 868dc1d | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 21 | status = "okay"; |
22 | }; | ||||
Jonas Karlman | be56bb5 | 2023-02-22 22:44:41 +0000 | [diff] [blame] | 23 | |
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 Chen | 868dc1d | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 35 | }; |
36 | |||||
37 | &cru { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-all; |
Joseph Chen | 868dc1d | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 39 | status = "okay"; |
40 | }; | ||||
41 | |||||
42 | &pmucru { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 43 | bootph-all; |
Joseph Chen | 868dc1d | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 44 | status = "okay"; |
45 | }; | ||||
46 | |||||
47 | &grf { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 48 | bootph-all; |
Joseph Chen | 868dc1d | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 49 | status = "okay"; |
50 | }; | ||||
51 | |||||
52 | &pmugrf { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 53 | bootph-all; |
Joseph Chen | 868dc1d | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 54 | status = "okay"; |
55 | }; | ||||
Nico Cheng | 16bc03c | 2021-10-26 10:42:20 +0800 | [diff] [blame] | 56 | |
FUKAUMI Naoki | 98dc96a | 2022-10-04 01:30:30 +0000 | [diff] [blame] | 57 | &sdhci { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 58 | bootph-pre-ram; |
Nico Cheng | 16bc03c | 2021-10-26 10:42:20 +0800 | [diff] [blame] | 59 | status = "okay"; |
60 | }; | ||||
61 | |||||
FUKAUMI Naoki | 98dc96a | 2022-10-04 01:30:30 +0000 | [diff] [blame] | 62 | &sdmmc0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 63 | bootph-pre-ram; |
Nico Cheng | 16bc03c | 2021-10-26 10:42:20 +0800 | [diff] [blame] | 64 | status = "okay"; |
65 | }; |