Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Andy Yan | a1579a4 | 2017-08-02 21:08:59 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH |
Andy Yan | a1579a4 | 2017-08-02 21:08:59 +0800 | [diff] [blame] | 4 | */ |
Kever Yang | 6dc01e9 | 2019-03-29 22:48:25 +0800 | [diff] [blame] | 5 | / { |
| 6 | chosen { |
| 7 | u-boot,spl-boot-order = &emmc; |
| 8 | }; |
| 9 | }; |
| 10 | |
| 11 | &dmc { |
| 12 | u-boot,dm-pre-reloc; |
| 13 | |
| 14 | /* |
| 15 | * PX5-evb(2GB) need to use CBRD mode, or else the dram is not correct |
| 16 | * See doc/device-tree-bindings/clock/rockchip,rk3368-dmc.txt for |
| 17 | * details on the 'rockchip,memory-schedule' property and how it |
| 18 | * affects the physical-address to device-address mapping. |
| 19 | */ |
| 20 | rockchip,memory-schedule = <DMC_MSCH_CBRD>; |
| 21 | rockchip,ddr-frequency = <800000000>; |
| 22 | rockchip,ddr-speed-bin = <DDR3_1600K>; |
| 23 | |
| 24 | status = "okay"; |
| 25 | }; |
Andy Yan | a1579a4 | 2017-08-02 21:08:59 +0800 | [diff] [blame] | 26 | |
| 27 | &pinctrl { |
| 28 | u-boot,dm-pre-reloc; |
| 29 | }; |
| 30 | |
| 31 | &service_msch { |
| 32 | u-boot,dm-pre-reloc; |
| 33 | }; |
| 34 | |
| 35 | &dmc { |
| 36 | u-boot,dm-pre-reloc; |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | |
| 40 | &pmugrf { |
| 41 | u-boot,dm-pre-reloc; |
| 42 | }; |
| 43 | |
Kever Yang | 6dc01e9 | 2019-03-29 22:48:25 +0800 | [diff] [blame] | 44 | &sgrf { |
| 45 | u-boot,dm-pre-reloc; |
| 46 | }; |
| 47 | |
Andy Yan | a1579a4 | 2017-08-02 21:08:59 +0800 | [diff] [blame] | 48 | &cru { |
| 49 | u-boot,dm-pre-reloc; |
| 50 | }; |
| 51 | |
| 52 | &grf { |
| 53 | u-boot,dm-pre-reloc; |
| 54 | }; |
| 55 | |
| 56 | &uart4 { |
| 57 | u-boot,dm-pre-reloc; |
| 58 | }; |
Kever Yang | 6dc01e9 | 2019-03-29 22:48:25 +0800 | [diff] [blame] | 59 | |
| 60 | &emmc { |
Andy Yan | 16bff199 | 2019-11-26 21:15:39 +0800 | [diff] [blame] | 61 | /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */ |
| 62 | u-boot,spl-fifo-mode; |
Kever Yang | 6dc01e9 | 2019-03-29 22:48:25 +0800 | [diff] [blame] | 63 | u-boot,dm-pre-reloc; |
| 64 | }; |
Kever Yang | 2fb4567 | 2019-03-29 22:48:31 +0800 | [diff] [blame] | 65 | |
| 66 | &timer0 { |
| 67 | u-boot,dm-pre-reloc; |
| 68 | clock-frequency = <24000000>; |
| 69 | status = "okay"; |
| 70 | }; |