Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright (C) 2019 Rockchip Electronics Co., Ltd | ||||
4 | */ | ||||
5 | |||||
6 | #include "rk3288-u-boot.dtsi" | ||||
Johan Jonker | 8ba3d406 | 2022-04-15 23:21:39 +0200 | [diff] [blame] | 7 | |
8 | &dmc { | ||||
9 | rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa | ||||
10 | 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7 | ||||
11 | 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0 | ||||
12 | 0x1 0x7 0x7 0x4 0xc 0x43 0x100 0x0 | ||||
13 | 0x5 0x0>; | ||||
14 | rockchip,phy-timing = <0x48f9aab4 0xea0910 0x1002c200 | ||||
15 | 0xa60 0x40 0x10 0x0>; | ||||
16 | rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>; | ||||
17 | }; | ||||
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 18 | |
Jonas Karlman | fd6ebba | 2024-11-05 21:51:37 +0000 | [diff] [blame] | 19 | &emmc { |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 20 | bootph-pre-ram; |
21 | bootph-some-ram; | ||||
22 | }; | ||||
23 | |||||
24 | &emmc_bus8 { | ||||
25 | bootph-pre-ram; | ||||
26 | bootph-some-ram; | ||||
27 | }; | ||||
28 | |||||
29 | &emmc_clk { | ||||
30 | bootph-pre-ram; | ||||
31 | bootph-some-ram; | ||||
32 | }; | ||||
33 | |||||
34 | &emmc_cmd { | ||||
35 | bootph-pre-ram; | ||||
36 | bootph-some-ram; | ||||
37 | }; | ||||
38 | |||||
39 | &emmc_pwr { | ||||
40 | bootph-pre-ram; | ||||
41 | bootph-some-ram; | ||||
42 | }; | ||||
43 | |||||
Jonas Karlman | a00bfa8 | 2024-11-05 21:51:46 +0000 | [diff] [blame] | 44 | &gmac { |
45 | snps,reset-delays-us = <0 10000 80000>; | ||||
46 | }; | ||||
47 | |||||
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 48 | &gpio7 { |
49 | /delete-property/ bootph-all; | ||||
Jonas Karlman | d9200b9 | 2024-11-05 21:51:42 +0000 | [diff] [blame] | 50 | bootph-pre-ram; |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 51 | }; |
52 | |||||
53 | &pcfg_pull_none { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 54 | bootph-all; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 55 | }; |
56 | |||||
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 57 | &pcfg_pull_none_12ma { |
58 | bootph-pre-ram; | ||||
59 | bootph-some-ram; | ||||
60 | }; | ||||
61 | |||||
62 | &pcfg_pull_up { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 63 | bootph-all; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 64 | }; |
65 | |||||
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 66 | &pcfg_pull_up_drv_12ma { |
67 | bootph-pre-ram; | ||||
68 | bootph-some-ram; | ||||
69 | }; | ||||
70 | |||||
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 71 | &sdmmc { |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 72 | bootph-pre-ram; |
73 | bootph-some-ram; | ||||
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 74 | }; |
75 | |||||
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 76 | &sdmmc_bus4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 77 | bootph-pre-ram; |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 78 | bootph-some-ram; |
79 | }; | ||||
80 | |||||
81 | &sdmmc_cd { | ||||
82 | bootph-pre-ram; | ||||
83 | bootph-some-ram; | ||||
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 84 | }; |
85 | |||||
86 | &sdmmc_clk { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 87 | bootph-pre-ram; |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 88 | bootph-some-ram; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 89 | }; |
90 | |||||
91 | &sdmmc_cmd { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 92 | bootph-pre-ram; |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 93 | bootph-some-ram; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 94 | }; |
95 | |||||
96 | &sdmmc_pwr { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 97 | bootph-pre-ram; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 98 | }; |
Jonas Karlman | fd6ebba | 2024-11-05 21:51:37 +0000 | [diff] [blame] | 99 | |
100 | &uart2 { | ||||
101 | bootph-all; | ||||
102 | }; | ||||
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 103 | |
104 | &uart2_xfer { | ||||
105 | bootph-pre-sram; | ||||
106 | bootph-pre-ram; | ||||
107 | }; | ||||
Jonas Karlman | d9200b9 | 2024-11-05 21:51:42 +0000 | [diff] [blame] | 108 | |
109 | &vcc_sd { | ||||
110 | bootph-pre-ram; | ||||
111 | }; |