blob: ee3b98698e68eba5f89d6a6875ca85f5db2159aa [file] [log] [blame]
Peter Robinson6a349e72020-04-20 20:27:36 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 Peter Robinson <pbrobinson at gmail.com>
4 */
5
6#include "rk3399-u-boot.dtsi"
7#include "rk3399-sdram-lpddr4-100.dtsi"
8
9/ {
Peter Robinson6a349e72020-04-20 20:27:36 +010010 chosen {
Peter Robinsoncee3edd2020-06-08 23:50:30 +010011 u-boot,spl-boot-order = "same-as-spl", &sdhci, &spiflash, &sdmmc;
12 };
13
14 config {
15 u-boot,spl-payload-offset = <0x60000>; /* @ 384KB */
Peter Robinson6a349e72020-04-20 20:27:36 +010016 };
17};
18
19&i2c0 {
20 u-boot,dm-pre-reloc;
21};
22
23&rk808 {
24 u-boot,dm-pre-reloc;
25};
26
Peter Robinson683f6772020-06-08 23:50:28 +010027&rng {
28 status = "okay";
29};
30
Peter Robinson6a349e72020-04-20 20:27:36 +010031&sdhci {
32 max-frequency = <25000000>;
33 u-boot,dm-pre-reloc;
34};
35
36&sdmmc {
37 max-frequency = <20000000>;
38 u-boot,dm-pre-reloc;
39};
40
41&spiflash {
42 u-boot,dm-pre-reloc;
43};
44
45&vdd_log {
46 regulator-init-microvolt = <950000>;
47};