u-boot/arch/arm/mach-rmobile/include/mach
Paul Barker bf7fa7d561 arm: rmobile: Add CPU detection for RZ/G2L
The ARM TrustedFirmware code for the Renesas RZ/G2L SoC family passes a
devicetree blob to the bootloader as an argument in the same was
previous R-Car Gen3/Gen4 SoCs. This blob contains a compatible string
which can be used to identify the particular SoC we are running on.

We do this as reading the DEVID & PRR registers from u-boot is not
sufficient to differentiate between the R9A07G044L (RZ/G2L) and
R9A07G044C (RZ/G2LC) SoCs. An additional read from offset 0x11861178 is
needed but this address is in the OTP region which can only be read from
the secure world (i.e. TrustedFirmware). So we have to rely on
TrustedFirmware to determine the SoC and pass this information to u-boot
via an fdt blob.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2023-10-17 03:27:42 +02:00
..
boot0.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gpio.h rmobile: Drop CONFIG_SH73A0 and associated code 2023-02-07 14:33:49 -05:00
irqs.h ARM: rmobile: Move SoC headers to mach-rmobile/include/mach 2016-08-17 10:25:34 +09:00
mmc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
r8a7740-gpio.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
r8a7740.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
r8a7790.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
r8a7791.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
r8a7792.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
r8a7793.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
r8a7794.h global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
rcar-base.h Remove unused symbols 2022-12-05 16:06:07 -05:00
rcar-gen3-base.h rcar: i2c: Migrate SYS_I2C_SH to Kconfig 2021-08-30 14:10:07 -04:00
rcar-gen4-base.h ARM: rmobile: Add R-Car Generation 4 support 2023-04-07 14:33:46 +02:00
rcar-mstp.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
rmobile.h arm: rmobile: Add CPU detection for RZ/G2L 2023-10-17 03:27:42 +02:00
rzg2l.h arm: rmobile: Add basic RZ/G2L family support 2023-10-16 15:46:18 +02:00
sh_sdhi.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sys_proto.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00