blob: f5406d4c7e1fbf221dd157da1d7e4f6752e97175 [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 */
Kever Yang4d9dd402019-03-29 22:48:25 +08005/ {
6 chosen {
7 u-boot,spl-boot-order = &emmc;
Kever Yang615e9b32019-03-29 22:48:31 +08008 tick-timer = "/timer@ff810000";
Kever Yang4d9dd402019-03-29 22:48:25 +08009 };
10};
11
12&dmc {
13 u-boot,dm-pre-reloc;
14
15 /*
16 * PX5-evb(2GB) need to use CBRD mode, or else the dram is not correct
17 * See doc/device-tree-bindings/clock/rockchip,rk3368-dmc.txt for
18 * details on the 'rockchip,memory-schedule' property and how it
19 * affects the physical-address to device-address mapping.
20 */
21 rockchip,memory-schedule = <DMC_MSCH_CBRD>;
22 rockchip,ddr-frequency = <800000000>;
23 rockchip,ddr-speed-bin = <DDR3_1600K>;
24
25 status = "okay";
26};
Andy Yanbfc2ed52017-08-02 21:08:59 +080027
28&pinctrl {
29 u-boot,dm-pre-reloc;
30};
31
32&service_msch {
33 u-boot,dm-pre-reloc;
34};
35
36&dmc {
37 u-boot,dm-pre-reloc;
38 status = "okay";
39};
40
41&pmugrf {
42 u-boot,dm-pre-reloc;
43};
44
Kever Yang4d9dd402019-03-29 22:48:25 +080045&sgrf {
46 u-boot,dm-pre-reloc;
47};
48
Andy Yanbfc2ed52017-08-02 21:08:59 +080049&cru {
50 u-boot,dm-pre-reloc;
51};
52
53&grf {
54 u-boot,dm-pre-reloc;
55};
56
57&uart4 {
58 u-boot,dm-pre-reloc;
59};
Kever Yang4d9dd402019-03-29 22:48:25 +080060
61&emmc {
62 u-boot,dm-pre-reloc;
63};
Kever Yang615e9b32019-03-29 22:48:31 +080064
65&timer0 {
66 u-boot,dm-pre-reloc;
67 clock-frequency = <24000000>;
68 status = "okay";
69};