blob: fb4a4fb59ca1edaf764d34994b4a97b6fb4c7d75 [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Philipp Tomsich1620d352017-07-13 01:36:39 +02002/*
3 * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
Philipp Tomsich1620d352017-07-13 01:36:39 +02004 */
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 Tomsichbfe07cc2017-09-11 22:04:26 +020015 tick-timer = "/timer@ff810000";
Philipp Tomsich1620d352017-07-13 01:36:39 +020016 };
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 Tomsiche6b04012017-08-14 19:05:33 +020073 u-boot,dm-spl;
Philipp Tomsich1620d352017-07-13 01:36:39 +020074};
75
76&sdmmc {
Philipp Tomsiche6b04012017-08-14 19:05:33 +020077 u-boot,dm-spl;
Philipp Tomsich1620d352017-07-13 01:36:39 +020078};
79
80&spi1 {
Philipp Tomsiche6b04012017-08-14 19:05:33 +020081 u-boot,dm-spl;
Philipp Tomsich1620d352017-07-13 01:36:39 +020082
83 spiflash: w25q32dw@0 {
Philipp Tomsiche6b04012017-08-14 19:05:33 +020084 u-boot,dm-spl;
Philipp Tomsich1620d352017-07-13 01:36:39 +020085 };
86};
87
Philipp Tomsich0a4873f2017-07-28 17:46:39 +020088&timer0 {
89 u-boot,dm-pre-reloc;
90 clock-frequency = <24000000>;
Philipp Tomsichbfe07cc2017-09-11 22:04:26 +020091 status = "okay";
Philipp Tomsich0a4873f2017-07-28 17:46:39 +020092};
93
Philipp Tomsich1620d352017-07-13 01:36:39 +020094