2018-05-06 22:27:01 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
2017-07-12 23:36:39 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
|
|
|
|
*/
|
|
|
|
|
2021-02-09 13:47:08 +00:00
|
|
|
#include "rk3368-u-boot.dtsi"
|
|
|
|
|
2017-07-12 23:36:39 +00:00
|
|
|
/ {
|
|
|
|
config {
|
|
|
|
u-boot,spl-payload-offset = <0x40000>; /* @ 256KB */
|
|
|
|
u-boot,mmc-env-offset = <0x4000>; /* @ 16KB */
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
u-boot,spl-boot-order = &emmc, &sdmmc;
|
|
|
|
};
|
|
|
|
|
2020-11-05 13:32:12 +00:00
|
|
|
smbios {
|
|
|
|
compatible = "u-boot,sysinfo-smbios";
|
|
|
|
|
|
|
|
smbios {
|
|
|
|
system {
|
|
|
|
manufacturer = "rockchip";
|
|
|
|
product = "sheep_rk3368";
|
|
|
|
};
|
|
|
|
|
|
|
|
baseboard {
|
|
|
|
manufacturer = "rockchip";
|
|
|
|
product = "sheep_rk3368";
|
|
|
|
};
|
|
|
|
|
|
|
|
chassis {
|
|
|
|
manufacturer = "rockchip";
|
|
|
|
product = "sheep_rk3368";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2017-07-12 23:36:39 +00:00
|
|
|
};
|
|
|
|
|
2021-02-09 13:47:09 +00:00
|
|
|
&gpio2 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2017-07-12 23:36:39 +00:00
|
|
|
&pinctrl {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&service_msch {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&dmc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Validation of throughput using SPEC2000 shows the following
|
|
|
|
* relative performance for the different memory schedules:
|
|
|
|
* - CBDR: 30.1
|
|
|
|
* - CBRD: 29.8
|
|
|
|
* - CRBD: 29.9
|
|
|
|
* Note that the best performance for any given application workload
|
|
|
|
* may vary from the default configured here (e.g. 164.gzip is fastest
|
|
|
|
* with CBRD, whereas 252.eon and 186.crafty are fastest with CRBD).
|
|
|
|
*
|
|
|
|
* 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_CBDR>;
|
|
|
|
rockchip,ddr-frequency = <800000000>;
|
|
|
|
rockchip,ddr-speed-bin = <DDR3_1600K>;
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pmugrf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sgrf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&cru {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&grf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&emmc {
|
2017-08-14 17:05:33 +00:00
|
|
|
u-boot,dm-spl;
|
2017-07-12 23:36:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc {
|
2017-08-14 17:05:33 +00:00
|
|
|
u-boot,dm-spl;
|
2017-07-12 23:36:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&spi1 {
|
2017-08-14 17:05:33 +00:00
|
|
|
u-boot,dm-spl;
|
2017-07-12 23:36:39 +00:00
|
|
|
|
|
|
|
spiflash: w25q32dw@0 {
|
2017-08-14 17:05:33 +00:00
|
|
|
u-boot,dm-spl;
|
2017-07-12 23:36:39 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-07-28 15:46:39 +00:00
|
|
|
&timer0 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
clock-frequency = <24000000>;
|
2017-09-11 20:04:26 +00:00
|
|
|
status = "okay";
|
2017-07-28 15:46:39 +00:00
|
|
|
};
|
|
|
|
|
2017-07-12 23:36:39 +00:00
|
|
|
|