Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Philipp Tomsich | 1620d35 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH |
Philipp Tomsich | 1620d35 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | / { |
| 7 | config { |
| 8 | u-boot,spl-payload-offset = <0x40000>; /* @ 256KB */ |
| 9 | u-boot,mmc-env-offset = <0x4000>; /* @ 16KB */ |
| 10 | }; |
| 11 | |
| 12 | chosen { |
| 13 | stdout-path = "serial0:115200n8"; |
| 14 | u-boot,spl-boot-order = &emmc, &sdmmc; |
Philipp Tomsich | bfe07cc | 2017-09-11 22:04:26 +0200 | [diff] [blame] | 15 | tick-timer = "/timer@ff810000"; |
Philipp Tomsich | 1620d35 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | }; |
| 19 | |
| 20 | &pinctrl { |
| 21 | u-boot,dm-pre-reloc; |
| 22 | }; |
| 23 | |
| 24 | &service_msch { |
| 25 | u-boot,dm-pre-reloc; |
| 26 | }; |
| 27 | |
| 28 | &dmc { |
| 29 | u-boot,dm-pre-reloc; |
| 30 | |
| 31 | /* |
| 32 | * Validation of throughput using SPEC2000 shows the following |
| 33 | * relative performance for the different memory schedules: |
| 34 | * - CBDR: 30.1 |
| 35 | * - CBRD: 29.8 |
| 36 | * - CRBD: 29.9 |
| 37 | * Note that the best performance for any given application workload |
| 38 | * may vary from the default configured here (e.g. 164.gzip is fastest |
| 39 | * with CBRD, whereas 252.eon and 186.crafty are fastest with CRBD). |
| 40 | * |
| 41 | * See doc/device-tree-bindings/clock/rockchip,rk3368-dmc.txt for |
| 42 | * details on the 'rockchip,memory-schedule' property and how it |
| 43 | * affects the physical-address to device-address mapping. |
| 44 | */ |
| 45 | rockchip,memory-schedule = <DMC_MSCH_CBDR>; |
| 46 | rockchip,ddr-frequency = <800000000>; |
| 47 | rockchip,ddr-speed-bin = <DDR3_1600K>; |
| 48 | |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | &pmugrf { |
| 53 | u-boot,dm-pre-reloc; |
| 54 | }; |
| 55 | |
| 56 | &sgrf { |
| 57 | u-boot,dm-pre-reloc; |
| 58 | }; |
| 59 | |
| 60 | &cru { |
| 61 | u-boot,dm-pre-reloc; |
| 62 | }; |
| 63 | |
| 64 | &grf { |
| 65 | u-boot,dm-pre-reloc; |
| 66 | }; |
| 67 | |
| 68 | &uart0 { |
| 69 | u-boot,dm-pre-reloc; |
| 70 | }; |
| 71 | |
| 72 | &emmc { |
Philipp Tomsich | e6b0401 | 2017-08-14 19:05:33 +0200 | [diff] [blame] | 73 | u-boot,dm-spl; |
Philipp Tomsich | 1620d35 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 74 | }; |
| 75 | |
| 76 | &sdmmc { |
Philipp Tomsich | e6b0401 | 2017-08-14 19:05:33 +0200 | [diff] [blame] | 77 | u-boot,dm-spl; |
Philipp Tomsich | 1620d35 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 78 | }; |
| 79 | |
| 80 | &spi1 { |
Philipp Tomsich | e6b0401 | 2017-08-14 19:05:33 +0200 | [diff] [blame] | 81 | u-boot,dm-spl; |
Philipp Tomsich | 1620d35 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 82 | |
| 83 | spiflash: w25q32dw@0 { |
Philipp Tomsich | e6b0401 | 2017-08-14 19:05:33 +0200 | [diff] [blame] | 84 | u-boot,dm-spl; |
Philipp Tomsich | 1620d35 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 85 | }; |
| 86 | }; |
| 87 | |
Philipp Tomsich | 0a4873f | 2017-07-28 17:46:39 +0200 | [diff] [blame] | 88 | &timer0 { |
| 89 | u-boot,dm-pre-reloc; |
| 90 | clock-frequency = <24000000>; |
Philipp Tomsich | bfe07cc | 2017-09-11 22:04:26 +0200 | [diff] [blame] | 91 | status = "okay"; |
Philipp Tomsich | 0a4873f | 2017-07-28 17:46:39 +0200 | [diff] [blame] | 92 | }; |
| 93 | |
Philipp Tomsich | 1620d35 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 94 | |