blob: 6d54214de9c7aa9ce30d15c636d837efd4ae2b1f [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;
15 };
16
Simon Glass8eb227e2020-11-05 06:32:12 -070017 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 Tomsich1620d352017-07-13 01:36:39 +020037};
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 Tomsiche6b04012017-08-14 19:05:33 +020092 u-boot,dm-spl;
Philipp Tomsich1620d352017-07-13 01:36:39 +020093};
94
95&sdmmc {
Philipp Tomsiche6b04012017-08-14 19:05:33 +020096 u-boot,dm-spl;
Philipp Tomsich1620d352017-07-13 01:36:39 +020097};
98
99&spi1 {
Philipp Tomsiche6b04012017-08-14 19:05:33 +0200100 u-boot,dm-spl;
Philipp Tomsich1620d352017-07-13 01:36:39 +0200101
102 spiflash: w25q32dw@0 {
Philipp Tomsiche6b04012017-08-14 19:05:33 +0200103 u-boot,dm-spl;
Philipp Tomsich1620d352017-07-13 01:36:39 +0200104 };
105};
106
Philipp Tomsich0a4873f2017-07-28 17:46:39 +0200107&timer0 {
108 u-boot,dm-pre-reloc;
109 clock-frequency = <24000000>;
Philipp Tomsichbfe07cc2017-09-11 22:04:26 +0200110 status = "okay";
Philipp Tomsich0a4873f2017-07-28 17:46:39 +0200111};
112
Philipp Tomsich1620d352017-07-13 01:36:39 +0200113