mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
f9d67436ce
Some minor fixes for SPI flash on the Pinebook Pro and also default to saving environment to the SPI flash as it's guaranteed to be on board. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> (applied with make savedefconfig) Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
51 lines
687 B
Text
51 lines
687 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"
|
|
|
|
/ {
|
|
aliases {
|
|
spi0 = &spi1;
|
|
};
|
|
|
|
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>;
|
|
};
|