2018-05-06 22:27:01 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
2017-08-02 13:08:59 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
|
|
|
|
*/
|
2021-02-09 13:47:08 +00:00
|
|
|
|
|
|
|
#include "rk3368-u-boot.dtsi"
|
|
|
|
|
2019-03-29 14:48:25 +00:00
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
u-boot,spl-boot-order = &emmc;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&dmc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* PX5-evb(2GB) need to use CBRD mode, or else the dram is not correct
|
|
|
|
* See doc/device-tree-bindings/clock/rockchip,rk3368-dmc.txt for
|
|
|
|
* details on the 'rockchip,memory-schedule' property and how it
|
|
|
|
* affects the physical-address to device-address mapping.
|
|
|
|
*/
|
|
|
|
rockchip,memory-schedule = <DMC_MSCH_CBRD>;
|
|
|
|
rockchip,ddr-frequency = <800000000>;
|
|
|
|
rockchip,ddr-speed-bin = <DDR3_1600K>;
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-08-02 13:08:59 +00:00
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&service_msch {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&dmc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pmugrf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-03-29 14:48:25 +00:00
|
|
|
&sgrf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2017-08-02 13:08:59 +00:00
|
|
|
&cru {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&grf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart4 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
2019-03-29 14:48:25 +00:00
|
|
|
|
|
|
|
&emmc {
|
2019-11-26 13:15:39 +00:00
|
|
|
/* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
|
|
|
|
u-boot,spl-fifo-mode;
|
2019-03-29 14:48:25 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
2019-03-29 14:48:31 +00:00
|
|
|
|
|
|
|
&timer0 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|