2020-04-20 19:27:36 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 Peter Robinson <pbrobinson at gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "rk3399-u-boot.dtsi"
|
|
|
|
#include "rk3399-sdram-lpddr4-100.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
spi0 = &spi1;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
2020-06-08 22:50:30 +00:00
|
|
|
u-boot,spl-boot-order = "same-as-spl", &sdhci, &spiflash, &sdmmc;
|
|
|
|
};
|
|
|
|
|
|
|
|
config {
|
|
|
|
u-boot,spl-payload-offset = <0x60000>; /* @ 384KB */
|
2020-04-20 19:27:36 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&rk808 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2020-06-08 22:50:28 +00:00
|
|
|
&rng {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-04-20 19:27:36 +00:00
|
|
|
&sdhci {
|
|
|
|
max-frequency = <25000000>;
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc {
|
|
|
|
max-frequency = <20000000>;
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&spiflash {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&vdd_log {
|
|
|
|
regulator-init-microvolt = <950000>;
|
|
|
|
};
|