Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Kever Yang | 7abb7e8 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd. |
Kever Yang | 7abb7e8 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
Jagan Teki | a1b75cf | 2020-01-10 00:16:20 +0530 | [diff] [blame] | 6 | #include "rk3188-u-boot.dtsi" |
| 7 | |
Johan Jonker | d2a74ec | 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"; |
| 16 | u-boot,dm-pre-reloc; |
| 17 | }; |
| 18 | }; |
| 19 | |
Kever Yang | 7abb7e8 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 20 | &cru { |
| 21 | u-boot,dm-spl; |
| 22 | }; |
| 23 | |
Johan Jonker | d2a74ec | 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>; |
| 33 | }; |
| 34 | |
| 35 | &emmc { |
| 36 | fifo-mode; |
| 37 | max-frequency = <16000000>; |
Kever Yang | 7abb7e8 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 38 | }; |
| 39 | |
Heiko Stuebner | 598a26a | 2018-09-21 10:59:47 +0200 | [diff] [blame] | 40 | &mmc0 { |
| 41 | fifo-mode; |
| 42 | max-frequency = <16000000>; |
| 43 | }; |
| 44 | |
| 45 | &mmc1 { |
| 46 | fifo-mode; |
| 47 | max-frequency = <16000000>; |
| 48 | }; |
| 49 | |
Johan Jonker | d2a74ec | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 50 | &pinctrl { |
Kever Yang | 7abb7e8 | 2018-04-18 11:13:44 +0800 | [diff] [blame] | 51 | u-boot,dm-spl; |
| 52 | }; |
Kever Yang | f9ef544 | 2018-04-18 11:13:45 +0800 | [diff] [blame] | 53 | |
| 54 | &timer3 { |
| 55 | compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer"; |
Kever Yang | f9ef544 | 2018-04-18 11:13:45 +0800 | [diff] [blame] | 56 | clock-frequency = <24000000>; |
Johan Jonker | d2a74ec | 2021-06-25 15:26:33 +0200 | [diff] [blame] | 57 | u-boot,dm-spl; |
| 58 | }; |
| 59 | |
| 60 | &uart2 { |
| 61 | u-boot,dm-spl; |
Kever Yang | f9ef544 | 2018-04-18 11:13:45 +0800 | [diff] [blame] | 62 | }; |