smaeul-u-boot/arch/arm/dts/r8a779g0-u-boot.dtsi
Marek Vasut 1487c34efa arm64: dts: renesas: Deduplicate extalr_clk bootph-all
Most R-Car Gen3 and Gen4 systems require extalr_clk very early
in the boot process. Currently the extalr_clk { bootph-all } DT
property to indicate this clock should be available early is set
in each SoC U-Boot DT extras file. Deduplicate this assignment to
new common r8a779x-rcar64-u-boot.dtsi file.

Note that R-Car Gen3 R8A77990 E3 and R8A77995 D3 and RZ R8A774C0
do not require extalr_clk early, therefore these SoCs still include
plain r8a779x-u-boot.dtsi in their U-Boot DT extras .

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2025-01-18 09:29:17 +01:00

187 lines
3.1 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0
/*
* Device Tree Source extras for U-Boot on R-Car R8A779G0 SoC
*
* Copyright (C) 2021 Renesas Electronics Corp.
*/
#include "r8a779x-rcar64-u-boot.dtsi"
/ {
binman: binman {
multiple-images;
section {
filename = "flash.bin";
pad-byte = <0xff>;
/* Offset 0x0000 set to 0x0000_0000 */
fill@0 {
offset = <0x0>;
size = <0x4>;
fill-byte = [00];
};
/* Offset 0x300c set to 0x0000_0000 */
fill@300c {
offset = <0x300c>;
size = <0x4>;
fill-byte = [00];
};
/* Offset 0x3154 set to 0xeb21_0000 */
fill@3154 {
offset = <0x3154>;
size = <0x2>;
fill-byte = [00];
};
fill@3156 {
offset = <0x3156>;
size = <0x1>;
fill-byte = [21];
};
fill@3157 {
offset = <0x3157>;
size = <0x1>;
fill-byte = [eb];
};
/* Offset 0x3264 set to 0x0003_b000 */
fill@3264 {
offset = <0x3264>;
size = <0x1>;
fill-byte = [00];
};
fill@3265 {
offset = <0x3265>;
size = <0x1>;
fill-byte = [b0];
};
fill@3266 {
offset = <0x3266>;
size = <0x1>;
fill-byte = [03];
};
fill@3267 {
offset = <0x3267>;
size = <0x1>;
fill-byte = [00];
};
u-boot-spl {
offset = <0x40000>;
align-end = <4>;
};
u-boot {
offset = <CONFIG_SYS_SPI_U_BOOT_OFFS>;
filename = "u-boot.itb";
fit {
description = "U-Boot mainline";
fit,fdt-list = "of-list";
#address-cells = <1>;
images {
uboot {
arch = "arm64";
compression = "none";
description = "U-Boot (64-bit)";
type = "standalone";
/*
* This is in DRAM. We cannot
* use TEXT_BASE here because
* this system uses PIE build
* and TEXT_BASE=0x0 .
*/
entry = <0x44100000>;
load = <0x44100000>;
uboot-blob {
filename = "u-boot-nodtb.bin";
type = "blob-ext";
};
};
@fdt-SEQ {
compression = "none";
description = "NAME";
type = "flat_dt";
uboot-fdt-blob {
filename = "u-boot.dtb";
type = "blob-ext";
};
};
};
configurations {
default = "@config-DEFAULT-SEQ";
@config-SEQ {
description = "NAME";
fdt = "fdt-SEQ";
firmware = "uboot";
};
};
};
};
};
};
};
&cpg {
bootph-all;
};
&hscif0 {
bootph-all;
};
&hscif0_pins {
bootph-all;
};
&pfc {
bootph-all;
};
&rpc {
bank-width = <2>;
num-cs = <1>;
};
&rst {
bootph-all;
};
&soc {
apmu@e6170000 { /* Remoteproc */
compatible = "renesas,r8a779g0-cr52";
reg = <0 0xe6170000 0 0x80000>;
power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
status = "okay";
};
ram@e6780000 { /* DBSC5 */
compatible = "renesas,r8a779g0-dbsc";
reg = <0 0xe6780000 0 0x80000>;
power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
status = "okay";
bootph-all;
};
ram@ffec0000 { /* RT-VRAM */
compatible = "renesas,r8a779g0-rtvram";
reg = <0 0xffec0000 0 0xf000>;
power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
status = "okay";
bootph-all;
};
};