u-boot/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi
Hugh Cole-Baker 92cb207af1 rockchip: pinebook-pro: default to SPI bus 1 for SPI-flash
SPI flash on this machine is located on bus 1, default to using bus 1
for SPI flash and stop aliasing it to bus 0.

Signed-off-by: Hugh Cole-Baker <sigmaris@gmail.com>
Suggested-by: Simon Glass <sjg@chromium.org>
Fixes: c4cea2bb ("rockchip: Enable building a SPI ROM image on bob")
2021-01-08 08:40:43 -05:00

47 lines
655 B
Text

// 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"
/ {
chosen {
u-boot,spl-boot-order = "same-as-spl", &sdhci, &spiflash, &sdmmc;
};
config {
u-boot,spl-payload-offset = <0x60000>; /* @ 384KB */
};
};
&i2c0 {
u-boot,dm-pre-reloc;
};
&rk808 {
u-boot,dm-pre-reloc;
};
&rng {
status = "okay";
};
&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>;
};