blob: 936ce5572756a9d479f4f052e805382a6dbbad56 [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 */
Kever Yang6dc01e92019-03-29 22:48:25 +08005/ {
6 chosen {
7 u-boot,spl-boot-order = &emmc;
8 };
9};
10
11&dmc {
12 u-boot,dm-pre-reloc;
13
14 /*
15 * PX5-evb(2GB) need to use CBRD mode, or else the dram is not correct
16 * See doc/device-tree-bindings/clock/rockchip,rk3368-dmc.txt for
17 * details on the 'rockchip,memory-schedule' property and how it
18 * affects the physical-address to device-address mapping.
19 */
20 rockchip,memory-schedule = <DMC_MSCH_CBRD>;
21 rockchip,ddr-frequency = <800000000>;
22 rockchip,ddr-speed-bin = <DDR3_1600K>;
23
24 status = "okay";
25};
Andy Yana1579a42017-08-02 21:08:59 +080026
27&pinctrl {
28 u-boot,dm-pre-reloc;
29};
30
31&service_msch {
32 u-boot,dm-pre-reloc;
33};
34
35&dmc {
36 u-boot,dm-pre-reloc;
37 status = "okay";
38};
39
40&pmugrf {
41 u-boot,dm-pre-reloc;
42};
43
Kever Yang6dc01e92019-03-29 22:48:25 +080044&sgrf {
45 u-boot,dm-pre-reloc;
46};
47
Andy Yana1579a42017-08-02 21:08:59 +080048&cru {
49 u-boot,dm-pre-reloc;
50};
51
52&grf {
53 u-boot,dm-pre-reloc;
54};
55
56&uart4 {
57 u-boot,dm-pre-reloc;
58};
Kever Yang6dc01e92019-03-29 22:48:25 +080059
60&emmc {
Andy Yan16bff1992019-11-26 21:15:39 +080061 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
62 u-boot,spl-fifo-mode;
Kever Yang6dc01e92019-03-29 22:48:25 +080063 u-boot,dm-pre-reloc;
64};
Kever Yang2fb45672019-03-29 22:48:31 +080065
66&timer0 {
67 u-boot,dm-pre-reloc;
68 clock-frequency = <24000000>;
69 status = "okay";
70};