Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 1 | // 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 Jonker | 8ba3d406 | 2022-04-15 23:21:39 +0200 | [diff] [blame] | 8 | / { |
| 9 | config { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 10 | bootph-all; |
Johan Jonker | 8ba3d406 | 2022-04-15 23:21:39 +0200 | [diff] [blame] | 11 | u-boot,boot-led = "firefly:green:power"; |
| 12 | }; |
| 13 | |
| 14 | leds { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 15 | bootph-all; |
Johan Jonker | 8ba3d406 | 2022-04-15 23:21:39 +0200 | [diff] [blame] | 16 | |
| 17 | work { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 18 | bootph-all; |
Johan Jonker | 8ba3d406 | 2022-04-15 23:21:39 +0200 | [diff] [blame] | 19 | }; |
| 20 | |
| 21 | power { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 22 | bootph-all; |
Johan Jonker | 8ba3d406 | 2022-04-15 23:21:39 +0200 | [diff] [blame] | 23 | }; |
| 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 Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 39 | &pinctrl { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 40 | bootph-all; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 41 | }; |
| 42 | |
| 43 | &uart2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 44 | bootph-all; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | &sdmmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 48 | bootph-all; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 49 | }; |
| 50 | |
| 51 | &emmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 52 | bootph-all; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 53 | }; |
| 54 | |
| 55 | &gpio3 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 56 | bootph-all; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 57 | }; |
| 58 | |
| 59 | &gpio8 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 60 | bootph-all; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 61 | }; |
| 62 | |
Kever Yang | ab7fddc | 2019-07-09 21:58:51 +0800 | [diff] [blame] | 63 | &pcfg_pull_up_drv_12ma { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 64 | bootph-pre-ram; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 65 | }; |
| 66 | |
| 67 | &sdmmc_bus4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 68 | bootph-pre-ram; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 69 | }; |
| 70 | |
| 71 | &sdmmc_clk { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 72 | bootph-pre-ram; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | &sdmmc_cmd { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 76 | bootph-pre-ram; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 77 | }; |
| 78 | |
| 79 | &sdmmc_pwr { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 80 | bootph-pre-ram; |
Kever Yang | d47e895 | 2019-07-09 21:58:50 +0800 | [diff] [blame] | 81 | }; |