blob: b7d13bcb860d31e5f316733542fc7a8fc4e4fa1f [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
Jonas Karlmanb5c3db72024-12-12 22:09:43 +000051&gmac {
52 snps,reset-delays-us = <0 10000 80000>;
53};
54
Jonas Karlman329c02c2024-12-12 22:09:38 +000055&gpio7 {
56 /delete-property/ bootph-all;
Jonas Karlmancef07042024-12-12 22:09:39 +000057 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000058};
59
60&pcfg_pull_none {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-all;
Kever Yangd47e8952019-07-09 21:58:50 +080062};
63
Jonas Karlman329c02c2024-12-12 22:09:38 +000064&pcfg_pull_none_12ma {
Jonas Karlmand364ad62024-12-12 22:09:35 +000065 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000066 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080067};
68
Jonas Karlman329c02c2024-12-12 22:09:38 +000069&pcfg_pull_up {
Simon Glassd3a98cb2023-02-13 08:56:33 -070070 bootph-all;
Kever Yangd47e8952019-07-09 21:58:50 +080071};
72
Jonas Karlman329c02c2024-12-12 22:09:38 +000073&pcfg_pull_up_drv_12ma {
74 bootph-pre-ram;
75 bootph-some-ram;
76};
77
Jonas Karlman87426962024-12-12 22:09:42 +000078&power_led {
79 default-state = "on";
80};
81
Jonas Karlmand364ad62024-12-12 22:09:35 +000082&sdmmc {
Jonas Karlman329c02c2024-12-12 22:09:38 +000083 bootph-pre-ram;
84 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080085};
86
Kever Yangd47e8952019-07-09 21:58:50 +080087&sdmmc_bus4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070088 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000089 bootph-some-ram;
90};
91
92&sdmmc_cd {
93 bootph-pre-ram;
94 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080095};
96
97&sdmmc_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070098 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000099 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +0800100};
101
102&sdmmc_cmd {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700103 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +0000104 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +0800105};
106
107&sdmmc_pwr {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700108 bootph-pre-ram;
Kever Yangd47e8952019-07-09 21:58:50 +0800109};
Jonas Karlmand364ad62024-12-12 22:09:35 +0000110
111&uart2 {
112 bootph-all;
113};
Jonas Karlman329c02c2024-12-12 22:09:38 +0000114
115&uart2_xfer {
116 bootph-pre-sram;
117 bootph-pre-ram;
118};
Jonas Karlmancef07042024-12-12 22:09:39 +0000119
120&vcc_sd {
121 bootph-pre-ram;
122};