blob: 0ddb0d8f25dc38ab51830dcb1efec68b9671089d [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Andy Yana1579a42017-08-02 21:08:59 +08002/*
3 * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
Andy Yana1579a42017-08-02 21:08:59 +08004 */
Heiko Stuebner15b1c4d2021-02-09 14:47:08 +01005
6#include "rk3368-u-boot.dtsi"
7
Kever Yang6dc01e92019-03-29 22:48:25 +08008/ {
9 chosen {
10 u-boot,spl-boot-order = &emmc;
11 };
12};
13
14&dmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070015 bootph-all;
Kever Yang6dc01e92019-03-29 22:48:25 +080016
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 Yana1579a42017-08-02 21:08:59 +080029
30&pinctrl {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-all;
Andy Yana1579a42017-08-02 21:08:59 +080032};
33
34&service_msch {
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-all;
Andy Yana1579a42017-08-02 21:08:59 +080036};
37
38&dmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070039 bootph-all;
Andy Yana1579a42017-08-02 21:08:59 +080040 status = "okay";
41};
42
43&pmugrf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070044 bootph-all;
Andy Yana1579a42017-08-02 21:08:59 +080045};
46
Kever Yang6dc01e92019-03-29 22:48:25 +080047&sgrf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-all;
Kever Yang6dc01e92019-03-29 22:48:25 +080049};
50
Andy Yana1579a42017-08-02 21:08:59 +080051&cru {
Simon Glassd3a98cb2023-02-13 08:56:33 -070052 bootph-all;
Andy Yana1579a42017-08-02 21:08:59 +080053};
54
55&grf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070056 bootph-all;
Andy Yana1579a42017-08-02 21:08:59 +080057};
58
59&uart4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070060 bootph-all;
Andy Yana1579a42017-08-02 21:08:59 +080061};
Kever Yang6dc01e92019-03-29 22:48:25 +080062
63&emmc {
Andy Yan16bff1992019-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;
Simon Glassd3a98cb2023-02-13 08:56:33 -070066 bootph-all;
Kever Yang6dc01e92019-03-29 22:48:25 +080067};
Kever Yang2fb45672019-03-29 22:48:31 +080068
69&timer0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070070 bootph-all;
Kever Yang2fb45672019-03-29 22:48:31 +080071 clock-frequency = <24000000>;
72 status = "okay";
73};