blob: ded7db0aeff14e4bc6673d951d9f4fbbb2ca64bc [file] [log] [blame]
Peter Robinson9fb8e242020-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/ {
10 aliases {
11 spi0 = &spi1;
12 };
13
14 chosen {
Peter Robinsonf9d67432020-06-08 23:50:30 +010015 u-boot,spl-boot-order = "same-as-spl", &sdhci, &spiflash, &sdmmc;
16 };
17
18 config {
19 u-boot,spl-payload-offset = <0x60000>; /* @ 384KB */
Peter Robinson9fb8e242020-04-20 20:27:36 +010020 };
21};
22
23&i2c0 {
24 u-boot,dm-pre-reloc;
25};
26
27&rk808 {
28 u-boot,dm-pre-reloc;
29};
30
Peter Robinsondc38a582020-06-08 23:50:28 +010031&rng {
32 status = "okay";
33};
34
Peter Robinson9fb8e242020-04-20 20:27:36 +010035&sdhci {
36 max-frequency = <25000000>;
37 u-boot,dm-pre-reloc;
38};
39
40&sdmmc {
41 max-frequency = <20000000>;
42 u-boot,dm-pre-reloc;
43};
44
45&spiflash {
46 u-boot,dm-pre-reloc;
47};
48
49&vdd_log {
50 regulator-init-microvolt = <950000>;
51};