blob: f953f6821326d25cb6e0c351b7577e0f5dd0f1cc [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;
Jonas Karlmancef07042024-12-12 22:09:39 +000055 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000056};
57
58&pcfg_pull_none {
Simon Glassd3a98cb2023-02-13 08:56:33 -070059 bootph-all;
Kever Yangd47e8952019-07-09 21:58:50 +080060};
61
Jonas Karlman329c02c2024-12-12 22:09:38 +000062&pcfg_pull_none_12ma {
Jonas Karlmand364ad62024-12-12 22:09:35 +000063 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000064 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080065};
66
Jonas Karlman329c02c2024-12-12 22:09:38 +000067&pcfg_pull_up {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-all;
Kever Yangd47e8952019-07-09 21:58:50 +080069};
70
Jonas Karlman329c02c2024-12-12 22:09:38 +000071&pcfg_pull_up_drv_12ma {
72 bootph-pre-ram;
73 bootph-some-ram;
74};
75
Jonas Karlmand364ad62024-12-12 22:09:35 +000076&sdmmc {
Jonas Karlman329c02c2024-12-12 22:09:38 +000077 bootph-pre-ram;
78 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080079};
80
Kever Yangd47e8952019-07-09 21:58:50 +080081&sdmmc_bus4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070082 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000083 bootph-some-ram;
84};
85
86&sdmmc_cd {
87 bootph-pre-ram;
88 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080089};
90
91&sdmmc_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070092 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000093 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080094};
95
96&sdmmc_cmd {
Simon Glassd3a98cb2023-02-13 08:56:33 -070097 bootph-pre-ram;
Jonas Karlman329c02c2024-12-12 22:09:38 +000098 bootph-some-ram;
Kever Yangd47e8952019-07-09 21:58:50 +080099};
100
101&sdmmc_pwr {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700102 bootph-pre-ram;
Kever Yangd47e8952019-07-09 21:58:50 +0800103};
Jonas Karlmand364ad62024-12-12 22:09:35 +0000104
105&uart2 {
106 bootph-all;
107};
Jonas Karlman329c02c2024-12-12 22:09:38 +0000108
109&uart2_xfer {
110 bootph-pre-sram;
111 bootph-pre-ram;
112};
Jonas Karlmancef07042024-12-12 22:09:39 +0000113
114&vcc_sd {
115 bootph-pre-ram;
116};