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 | |||||
44 | &gpio7 { | ||||
45 | /delete-property/ bootph-all; | ||||
Jonas Karlman | d9200b9 | 2024-11-05 21:51:42 +0000 | [diff] [blame] | 46 | bootph-pre-ram; |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 47 | }; |
48 | |||||
49 | &pcfg_pull_none { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 50 | bootph-all; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 51 | }; |
52 | |||||
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 53 | &pcfg_pull_none_12ma { |
54 | bootph-pre-ram; | ||||
55 | bootph-some-ram; | ||||
56 | }; | ||||
57 | |||||
58 | &pcfg_pull_up { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 59 | bootph-all; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 60 | }; |
61 | |||||
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 62 | &pcfg_pull_up_drv_12ma { |
63 | bootph-pre-ram; | ||||
64 | bootph-some-ram; | ||||
65 | }; | ||||
66 | |||||
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 67 | &sdmmc { |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 68 | bootph-pre-ram; |
69 | bootph-some-ram; | ||||
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 70 | }; |
71 | |||||
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 72 | &sdmmc_bus4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 73 | bootph-pre-ram; |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 74 | bootph-some-ram; |
75 | }; | ||||
76 | |||||
77 | &sdmmc_cd { | ||||
78 | bootph-pre-ram; | ||||
79 | bootph-some-ram; | ||||
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 80 | }; |
81 | |||||
82 | &sdmmc_clk { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 83 | bootph-pre-ram; |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 84 | bootph-some-ram; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 85 | }; |
86 | |||||
87 | &sdmmc_cmd { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 88 | bootph-pre-ram; |
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 89 | bootph-some-ram; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 90 | }; |
91 | |||||
92 | &sdmmc_pwr { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 93 | bootph-pre-ram; |
Kever Yang | 00ac519 | 2019-07-09 21:58:52 +0800 | [diff] [blame] | 94 | }; |
Jonas Karlman | fd6ebba | 2024-11-05 21:51:37 +0000 | [diff] [blame] | 95 | |
96 | &uart2 { | ||||
97 | bootph-all; | ||||
98 | }; | ||||
Jonas Karlman | b1db188 | 2024-11-05 21:51:41 +0000 | [diff] [blame] | 99 | |
100 | &uart2_xfer { | ||||
101 | bootph-pre-sram; | ||||
102 | bootph-pre-ram; | ||||
103 | }; | ||||
Jonas Karlman | d9200b9 | 2024-11-05 21:51:42 +0000 | [diff] [blame] | 104 | |
105 | &vcc_sd { | ||||
106 | bootph-pre-ram; | ||||
107 | }; |