blob: 13f5be27a969d67ec26e9ed57964a0bd5bcdc571 [file] [log] [blame]
Kever Yangd47e8952019-07-09 21:58:50 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 Rockchip Electronics Co., Ltd
4 */
5
6#include "rk3288-u-boot.dtsi"
7
Johan Jonker8ba3d4062022-04-15 23:21:39 +02008/ {
Jonas Karlman87426962024-12-12 22:09:42 +00009 chosen {
10 stdout-path = "serial2:115200n8";
Johan Jonker8ba3d4062022-04-15 23:21:39 +020011 };
12};
13
14&dmc {
15 rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
16 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
17 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
18 0x1 0x7 0x7 0x4 0xc 0x43 0x100 0x0
19 0x5 0x0>;
20 rockchip,phy-timing = <0x48f9aab4 0xea0910 0x1002c200
21 0xa60 0x40 0x10 0x0>;
22 /* Add a dummy value to cause of-platdata think this is bytes */
23 rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>;
24};
25
Jonas Karlmand364ad62024-12-12 22:09:35 +000026&emmc {
Jonas Karlman329c02c2024-12-12 22:09:38 +000027 bootph-pre-ram;
28 bootph-some-ram;
29};
30
31&emmc_bus8 {
32 bootph-pre-ram;
33 bootph-some-ram;
34};
35
36&emmc_clk {
37 bootph-pre-ram;
38 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080039};
40
Jonas Karlman329c02c2024-12-12 22:09:38 +000041&emmc_cmd {
42 bootph-pre-ram;
43 bootph-some-ram;
44};
45
46&emmc_pwr {
47 bootph-pre-ram;
48 bootph-some-ram;
49};
50
51&gpio7 {
52 /delete-property/ bootph-all;
Jonas Karlmancef07042024-12-12 22:09:39 +000053 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000054};
55
56&pcfg_pull_none {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-all;
Kever Yangd47e8952019-07-09 21:58:50 +080058};
59
Jonas Karlman329c02c2024-12-12 22:09:38 +000060&pcfg_pull_none_12ma {
Jonas Karlmand364ad62024-12-12 22:09:35 +000061 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000062 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080063};
64
Jonas Karlman329c02c2024-12-12 22:09:38 +000065&pcfg_pull_up {
Simon Glassd3a98cb2023-02-13 08:56:33 -070066 bootph-all;
Kever Yangd47e8952019-07-09 21:58:50 +080067};
68
Jonas Karlman329c02c2024-12-12 22:09:38 +000069&pcfg_pull_up_drv_12ma {
70 bootph-pre-ram;
71 bootph-some-ram;
72};
73
Jonas Karlman87426962024-12-12 22:09:42 +000074&power_led {
75 default-state = "on";
76};
77
Jonas Karlmand364ad62024-12-12 22:09:35 +000078&sdmmc {
Jonas Karlman329c02c2024-12-12 22:09:38 +000079 bootph-pre-ram;
80 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080081};
82
Kever Yangd47e8952019-07-09 21:58:50 +080083&sdmmc_bus4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000085 bootph-some-ram;
86};
87
88&sdmmc_cd {
89 bootph-pre-ram;
90 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080091};
92
93&sdmmc_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070094 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000095 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080096};
97
98&sdmmc_cmd {
Simon Glassd3a98cb2023-02-13 08:56:33 -070099 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +0000100 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +0800101};
102
103&sdmmc_pwr {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700104 bootph-pre-ram;
Kever Yangd47e8952019-07-09 21:58:50 +0800105};
Jonas Karlmand364ad62024-12-12 22:09:35 +0000106
107&uart2 {
108 bootph-all;
109};
Jonas Karlman329c02c2024-12-12 22:09:38 +0000110
111&uart2_xfer {
112 bootph-pre-sram;
113 bootph-pre-ram;
114};
Jonas Karlmancef07042024-12-12 22:09:39 +0000115
116&vcc_sd {
117 bootph-pre-ram;
118};