blob: 435a02acea5da4509bc62553be4f8d20ec2218c9 [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/ {
Johan Jonker8ba3d4062022-04-15 23:21:39 +02009 leds {
Johan Jonker8ba3d4062022-04-15 23:21:39 +020010 power {
Jonas Karlmanc00b2072024-12-12 22:09:34 +000011 default-state = "on";
Johan Jonker8ba3d4062022-04-15 23:21:39 +020012 };
13 };
14};
15
16&dmc {
17 rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
18 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
19 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
20 0x1 0x7 0x7 0x4 0xc 0x43 0x100 0x0
21 0x5 0x0>;
22 rockchip,phy-timing = <0x48f9aab4 0xea0910 0x1002c200
23 0xa60 0x40 0x10 0x0>;
24 /* Add a dummy value to cause of-platdata think this is bytes */
25 rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>;
26};
27
Jonas Karlmand364ad62024-12-12 22:09:35 +000028&emmc {
Jonas Karlman329c02c2024-12-12 22:09:38 +000029 bootph-pre-ram;
30 bootph-some-ram;
31};
32
33&emmc_bus8 {
34 bootph-pre-ram;
35 bootph-some-ram;
36};
37
38&emmc_clk {
39 bootph-pre-ram;
40 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080041};
42
Jonas Karlman329c02c2024-12-12 22:09:38 +000043&emmc_cmd {
44 bootph-pre-ram;
45 bootph-some-ram;
46};
47
48&emmc_pwr {
49 bootph-pre-ram;
50 bootph-some-ram;
51};
52
53&gpio7 {
54 /delete-property/ bootph-all;
55};
56
57&pcfg_pull_none {
Simon Glassd3a98cb2023-02-13 08:56:33 -070058 bootph-all;
Kever Yangd47e8952019-07-09 21:58:50 +080059};
60
Jonas Karlman329c02c2024-12-12 22:09:38 +000061&pcfg_pull_none_12ma {
Jonas Karlmand364ad62024-12-12 22:09:35 +000062 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000063 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080064};
65
Jonas Karlman329c02c2024-12-12 22:09:38 +000066&pcfg_pull_up {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-all;
Kever Yangd47e8952019-07-09 21:58:50 +080068};
69
Jonas Karlman329c02c2024-12-12 22:09:38 +000070&pcfg_pull_up_drv_12ma {
71 bootph-pre-ram;
72 bootph-some-ram;
73};
74
Jonas Karlmand364ad62024-12-12 22:09:35 +000075&sdmmc {
Jonas Karlman329c02c2024-12-12 22:09:38 +000076 bootph-pre-ram;
77 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080078};
79
Kever Yangd47e8952019-07-09 21:58:50 +080080&sdmmc_bus4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000082 bootph-some-ram;
83};
84
85&sdmmc_cd {
86 bootph-pre-ram;
87 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080088};
89
90&sdmmc_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000092 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080093};
94
95&sdmmc_cmd {
Simon Glassd3a98cb2023-02-13 08:56:33 -070096 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000097 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080098};
99
100&sdmmc_pwr {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700101 bootph-pre-ram;
Kever Yangd47e8952019-07-09 21:58:50 +0800102};
Jonas Karlmand364ad62024-12-12 22:09:35 +0000103
104&uart2 {
105 bootph-all;
106};
Jonas Karlman329c02c2024-12-12 22:09:38 +0000107
108&uart2_xfer {
109 bootph-pre-sram;
110 bootph-pre-ram;
111};