blob: 644198a4a2fbf338fec2b2b6460777e4c8b70018 [file] [log] [blame]
Kever Yange4ea8f32019-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 Jonker52a0c682022-04-15 23:21:39 +02008/ {
9 config {
Simon Glass8c103c32023-02-13 08:56:33 -070010 bootph-all;
Johan Jonker52a0c682022-04-15 23:21:39 +020011 u-boot,boot-led = "firefly:green:power";
12 };
13
14 leds {
Simon Glass8c103c32023-02-13 08:56:33 -070015 bootph-all;
Johan Jonker52a0c682022-04-15 23:21:39 +020016
17 work {
Simon Glass8c103c32023-02-13 08:56:33 -070018 bootph-all;
Johan Jonker52a0c682022-04-15 23:21:39 +020019 };
20
21 power {
Simon Glass8c103c32023-02-13 08:56:33 -070022 bootph-all;
Johan Jonker52a0c682022-04-15 23:21:39 +020023 };
24 };
25};
26
27&dmc {
28 rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
29 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
30 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
31 0x1 0x7 0x7 0x4 0xc 0x43 0x100 0x0
32 0x5 0x0>;
33 rockchip,phy-timing = <0x48f9aab4 0xea0910 0x1002c200
34 0xa60 0x40 0x10 0x0>;
35 /* Add a dummy value to cause of-platdata think this is bytes */
36 rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>;
37};
38
Kever Yange4ea8f32019-07-09 21:58:50 +080039&pinctrl {
Simon Glass8c103c32023-02-13 08:56:33 -070040 bootph-all;
Kever Yange4ea8f32019-07-09 21:58:50 +080041};
42
43&uart2 {
Simon Glass8c103c32023-02-13 08:56:33 -070044 bootph-all;
Kever Yange4ea8f32019-07-09 21:58:50 +080045};
46
47&sdmmc {
Simon Glass8c103c32023-02-13 08:56:33 -070048 bootph-all;
Kever Yange4ea8f32019-07-09 21:58:50 +080049};
50
51&emmc {
Simon Glass8c103c32023-02-13 08:56:33 -070052 bootph-all;
Kever Yange4ea8f32019-07-09 21:58:50 +080053};
54
55&gpio3 {
Simon Glass8c103c32023-02-13 08:56:33 -070056 bootph-all;
Kever Yange4ea8f32019-07-09 21:58:50 +080057};
58
59&gpio8 {
Simon Glass8c103c32023-02-13 08:56:33 -070060 bootph-all;
Kever Yange4ea8f32019-07-09 21:58:50 +080061};
62
Kever Yang2ea3add2019-07-09 21:58:51 +080063&pcfg_pull_up_drv_12ma {
Simon Glass8c103c32023-02-13 08:56:33 -070064 bootph-pre-ram;
Kever Yange4ea8f32019-07-09 21:58:50 +080065};
66
67&sdmmc_bus4 {
Simon Glass8c103c32023-02-13 08:56:33 -070068 bootph-pre-ram;
Kever Yange4ea8f32019-07-09 21:58:50 +080069};
70
71&sdmmc_clk {
Simon Glass8c103c32023-02-13 08:56:33 -070072 bootph-pre-ram;
Kever Yange4ea8f32019-07-09 21:58:50 +080073};
74
75&sdmmc_cmd {
Simon Glass8c103c32023-02-13 08:56:33 -070076 bootph-pre-ram;
Kever Yange4ea8f32019-07-09 21:58:50 +080077};
78
79&sdmmc_pwr {
Simon Glass8c103c32023-02-13 08:56:33 -070080 bootph-pre-ram;
Kever Yange4ea8f32019-07-09 21:58:50 +080081};