Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Kever Yang | b8482a6 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 2 | /* |
3 | * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd. | ||||
Kever Yang | b8482a6 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 4 | */ |
5 | |||||
Jagan Teki | 8184a7a | 2020-01-10 00:16:20 +0530 | [diff] [blame] | 6 | #include "rk3188-u-boot.dtsi" |
7 | |||||
Johan Jonker | 4a4834b1 | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 8 | / { |
9 | chosen { | ||||
10 | /* stdout-path = &uart2; */ | ||||
11 | stdout-path = "serial2:115200n8"; | ||||
12 | }; | ||||
13 | |||||
14 | config { | ||||
15 | u-boot,boot-led = "rock:red:power"; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 16 | bootph-all; |
Johan Jonker | 4a4834b1 | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 17 | }; |
18 | }; | ||||
19 | |||||
Kever Yang | b8482a6 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 20 | &cru { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 21 | bootph-pre-ram; |
Kever Yang | b8482a6 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 22 | }; |
23 | |||||
Johan Jonker | 4a4834b1 | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 24 | &dmc { |
25 | rockchip,pctl-timing = <0x12c 0xc8 0x1f4 0x1e 0x4e 0x4 0x69 0x6 | ||||
26 | 0x3 0x0 0x6 0x5 0xc 0x10 0x6 0x4 | ||||
27 | 0x4 0x5 0x4 0x200 0x3 0xa 0x40 0x0 | ||||
28 | 0x1 0x5 0x5 0x3 0xc 0x1e 0x100 0x0 | ||||
29 | 0x4 0x0>; | ||||
30 | rockchip,phy-timing = <0x208c6690 0x690878 0x10022a00 | ||||
31 | 0x220 0x40 0x0 0x0>; | ||||
32 | rockchip,sdram-params = <0x24716310 0 2 300000000 3 9 0>; | ||||
Kever Yang | b8482a6 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 33 | }; |
34 | |||||
Johan Jonker | 4a4834b1 | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 35 | &emmc { |
Heiko Stuebner | 99a8f74 | 2018-09-21 10:59:47 +0200 | [diff] [blame] | 36 | fifo-mode; |
37 | max-frequency = <16000000>; | ||||
38 | }; | ||||
39 | |||||
Johan Jonker | 4a4834b1 | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 40 | &mmc0 { |
Heiko Stuebner | 99a8f74 | 2018-09-21 10:59:47 +0200 | [diff] [blame] | 41 | fifo-mode; |
42 | max-frequency = <16000000>; | ||||
43 | }; | ||||
44 | |||||
Johan Jonker | 4a4834b1 | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 45 | &mmc1 { |
Heiko Stuebner | 99a8f74 | 2018-09-21 10:59:47 +0200 | [diff] [blame] | 46 | fifo-mode; |
47 | max-frequency = <16000000>; | ||||
48 | }; | ||||
49 | |||||
Johan Jonker | 4a4834b1 | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 50 | &pinctrl { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 51 | bootph-pre-ram; |
Kever Yang | b8482a6 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 52 | }; |
Kever Yang | eca183c | 2018-04-18 11:13:45 +0800 | [diff] [blame] | 53 | |
54 | &timer3 { | ||||
Kever Yang | eca183c | 2018-04-18 11:13:45 +0800 | [diff] [blame] | 55 | clock-frequency = <24000000>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 56 | bootph-pre-ram; |
Johan Jonker | 4a4834b1 | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 57 | }; |
58 | |||||
59 | &uart2 { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 60 | bootph-pre-ram; |
Kever Yang | eca183c | 2018-04-18 11:13:45 +0800 | [diff] [blame] | 61 | }; |