blob: 264fb7adf0b24ec1661fd34e700db56556e8d11c [file] [log] [blame]
Tom Rini4549e782018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Andy Yanbfc2ed52017-08-02 21:08:59 +08002/*
3 * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
Andy Yanbfc2ed52017-08-02 21:08:59 +08004 */
Heiko Stuebner5aefa4a2021-02-09 14:47:08 +01005
6#include "rk3368-u-boot.dtsi"
7
Kever Yang4d9dd402019-03-29 22:48:25 +08008/ {
9 chosen {
10 u-boot,spl-boot-order = &emmc;
11 };
12};
13
14&dmc {
15 u-boot,dm-pre-reloc;
16
17 /*
18 * PX5-evb(2GB) need to use CBRD mode, or else the dram is not correct
19 * See doc/device-tree-bindings/clock/rockchip,rk3368-dmc.txt for
20 * details on the 'rockchip,memory-schedule' property and how it
21 * affects the physical-address to device-address mapping.
22 */
23 rockchip,memory-schedule = <DMC_MSCH_CBRD>;
24 rockchip,ddr-frequency = <800000000>;
25 rockchip,ddr-speed-bin = <DDR3_1600K>;
26
27 status = "okay";
28};
Andy Yanbfc2ed52017-08-02 21:08:59 +080029
30&pinctrl {
31 u-boot,dm-pre-reloc;
32};
33
34&service_msch {
35 u-boot,dm-pre-reloc;
36};
37
38&dmc {
39 u-boot,dm-pre-reloc;
40 status = "okay";
41};
42
43&pmugrf {
44 u-boot,dm-pre-reloc;
45};
46
Kever Yang4d9dd402019-03-29 22:48:25 +080047&sgrf {
48 u-boot,dm-pre-reloc;
49};
50
Andy Yanbfc2ed52017-08-02 21:08:59 +080051&cru {
52 u-boot,dm-pre-reloc;
53};
54
55&grf {
56 u-boot,dm-pre-reloc;
57};
58
59&uart4 {
60 u-boot,dm-pre-reloc;
61};
Kever Yang4d9dd402019-03-29 22:48:25 +080062
63&emmc {
Andy Yanafe18f22019-11-26 21:15:39 +080064 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
65 u-boot,spl-fifo-mode;
Kever Yang4d9dd402019-03-29 22:48:25 +080066 u-boot,dm-pre-reloc;
67};
Kever Yang615e9b32019-03-29 22:48:31 +080068
69&timer0 {
70 u-boot,dm-pre-reloc;
71 clock-frequency = <24000000>;
72 status = "okay";
73};