mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-29 05:18:51 +09:00
![Peter Robinson](/assets/img/avatar_default.png)
The rng is embedded in the SoC so enable it in the device tree universally, the use of it can be controlled by enabling/disabling at the device config level. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Cc: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
44 lines
626 B
Plaintext
44 lines
626 B
Plaintext
// 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;
|
|
};
|
|
|
|
&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>;
|
|
};
|