Tom Rini | 4549e78 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Andy Yan | bfc2ed5 | 2017-08-02 21:08:59 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH |
Andy Yan | bfc2ed5 | 2017-08-02 21:08:59 +0800 | [diff] [blame] | 4 | */ |
Kever Yang | 4d9dd40 | 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 | bfc2ed5 | 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 | 4d9dd40 | 2019-03-29 22:48:25 +0800 | [diff] [blame] | 44 | &sgrf { |
| 45 | u-boot,dm-pre-reloc; |
| 46 | }; |
| 47 | |
Andy Yan | bfc2ed5 | 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 | 4d9dd40 | 2019-03-29 22:48:25 +0800 | [diff] [blame] | 59 | |
| 60 | &emmc { |
| 61 | u-boot,dm-pre-reloc; |
| 62 | }; |
Kever Yang | 615e9b3 | 2019-03-29 22:48:31 +0800 | [diff] [blame] | 63 | |
| 64 | &timer0 { |
| 65 | u-boot,dm-pre-reloc; |
| 66 | clock-frequency = <24000000>; |
| 67 | status = "okay"; |
| 68 | }; |