Tom Rini | 4549e78 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Philipp Tomsich | 4d02d20 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH |
Philipp Tomsich | 4d02d20 | 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; |
| 15 | }; |
| 16 | |
Simon Glass | 70190f8 | 2020-11-05 06:32:12 -0700 | [diff] [blame] | 17 | smbios { |
| 18 | compatible = "u-boot,sysinfo-smbios"; |
| 19 | |
| 20 | smbios { |
| 21 | system { |
| 22 | manufacturer = "rockchip"; |
| 23 | product = "sheep_rk3368"; |
| 24 | }; |
| 25 | |
| 26 | baseboard { |
| 27 | manufacturer = "rockchip"; |
| 28 | product = "sheep_rk3368"; |
| 29 | }; |
| 30 | |
| 31 | chassis { |
| 32 | manufacturer = "rockchip"; |
| 33 | product = "sheep_rk3368"; |
| 34 | }; |
| 35 | }; |
| 36 | }; |
Philipp Tomsich | 4d02d20 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | &pinctrl { |
| 40 | u-boot,dm-pre-reloc; |
| 41 | }; |
| 42 | |
| 43 | &service_msch { |
| 44 | u-boot,dm-pre-reloc; |
| 45 | }; |
| 46 | |
| 47 | &dmc { |
| 48 | u-boot,dm-pre-reloc; |
| 49 | |
| 50 | /* |
| 51 | * Validation of throughput using SPEC2000 shows the following |
| 52 | * relative performance for the different memory schedules: |
| 53 | * - CBDR: 30.1 |
| 54 | * - CBRD: 29.8 |
| 55 | * - CRBD: 29.9 |
| 56 | * Note that the best performance for any given application workload |
| 57 | * may vary from the default configured here (e.g. 164.gzip is fastest |
| 58 | * with CBRD, whereas 252.eon and 186.crafty are fastest with CRBD). |
| 59 | * |
| 60 | * See doc/device-tree-bindings/clock/rockchip,rk3368-dmc.txt for |
| 61 | * details on the 'rockchip,memory-schedule' property and how it |
| 62 | * affects the physical-address to device-address mapping. |
| 63 | */ |
| 64 | rockchip,memory-schedule = <DMC_MSCH_CBDR>; |
| 65 | rockchip,ddr-frequency = <800000000>; |
| 66 | rockchip,ddr-speed-bin = <DDR3_1600K>; |
| 67 | |
| 68 | status = "okay"; |
| 69 | }; |
| 70 | |
| 71 | &pmugrf { |
| 72 | u-boot,dm-pre-reloc; |
| 73 | }; |
| 74 | |
| 75 | &sgrf { |
| 76 | u-boot,dm-pre-reloc; |
| 77 | }; |
| 78 | |
| 79 | &cru { |
| 80 | u-boot,dm-pre-reloc; |
| 81 | }; |
| 82 | |
| 83 | &grf { |
| 84 | u-boot,dm-pre-reloc; |
| 85 | }; |
| 86 | |
| 87 | &uart0 { |
| 88 | u-boot,dm-pre-reloc; |
| 89 | }; |
| 90 | |
| 91 | &emmc { |
Philipp Tomsich | 75ff057 | 2017-08-14 19:05:33 +0200 | [diff] [blame] | 92 | u-boot,dm-spl; |
Philipp Tomsich | 4d02d20 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 93 | }; |
| 94 | |
| 95 | &sdmmc { |
Philipp Tomsich | 75ff057 | 2017-08-14 19:05:33 +0200 | [diff] [blame] | 96 | u-boot,dm-spl; |
Philipp Tomsich | 4d02d20 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 97 | }; |
| 98 | |
| 99 | &spi1 { |
Philipp Tomsich | 75ff057 | 2017-08-14 19:05:33 +0200 | [diff] [blame] | 100 | u-boot,dm-spl; |
Philipp Tomsich | 4d02d20 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 101 | |
| 102 | spiflash: w25q32dw@0 { |
Philipp Tomsich | 75ff057 | 2017-08-14 19:05:33 +0200 | [diff] [blame] | 103 | u-boot,dm-spl; |
Philipp Tomsich | 4d02d20 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 104 | }; |
| 105 | }; |
| 106 | |
Philipp Tomsich | bc824cc | 2017-07-28 17:46:39 +0200 | [diff] [blame] | 107 | &timer0 { |
| 108 | u-boot,dm-pre-reloc; |
| 109 | clock-frequency = <24000000>; |
Philipp Tomsich | f041176 | 2017-09-11 22:04:26 +0200 | [diff] [blame] | 110 | status = "okay"; |
Philipp Tomsich | bc824cc | 2017-07-28 17:46:39 +0200 | [diff] [blame] | 111 | }; |
| 112 | |
Philipp Tomsich | 4d02d20 | 2017-07-13 01:36:39 +0200 | [diff] [blame] | 113 | |