]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: renesas: Replace R8A77950 with R8A77951
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Mon, 18 Mar 2024 14:59:37 +0000 (15:59 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 18 Apr 2024 03:21:03 +0000 (05:21 +0200)
R-Car R8A77950 H3 ES1.* was only available to an internal development
group and needed a lot of quirks and workarounds. Public users only
have R-Car R8A77950 H3 ES2 and newer. Switch existing systems to use
R8A77951 device trees.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
arch/arm/dts/Makefile
arch/arm/dts/r8a77951-salvator-x-u-boot.dtsi [moved from arch/arm/dts/r8a77950-salvator-x-u-boot.dtsi with 96% similarity]
arch/arm/dts/r8a77951-u-boot.dtsi [moved from arch/arm/dts/r8a77950-u-boot.dtsi with 93% similarity]
arch/arm/dts/r8a77951-ulcb-u-boot.dtsi [moved from arch/arm/dts/r8a77950-ulcb-u-boot.dtsi with 96% similarity]
board/renesas/salvator-x/salvator-x.c
board/renesas/ulcb/ulcb.c
configs/rcar3_salvator-x_defconfig
configs/rcar3_ulcb_defconfig

index 2da5eddd3759ca791304ab2f82eabb61fe5b786a..b1c9c6222e5d444a9aae94884591f35e0cf0b6f3 100644 (file)
@@ -1073,8 +1073,8 @@ dtb-$(CONFIG_RCAR_GEN3) += \
        r8a774b1-hihope-rzg2n.dtb \
        r8a774c0-ek874.dtb \
        r8a774e1-hihope-rzg2h.dtb \
-       r8a77950-ulcb.dtb \
-       r8a77950-salvator-x.dtb \
+       r8a77951-ulcb.dtb \
+       r8a77951-salvator-x.dtb \
        r8a77960-ulcb.dtb \
        r8a77960-salvator-x.dtb \
        r8a77965-ulcb.dtb \
similarity index 96%
rename from arch/arm/dts/r8a77950-salvator-x-u-boot.dtsi
rename to arch/arm/dts/r8a77951-salvator-x-u-boot.dtsi
index 23f12543746c7877e2302f2bb5fb3bb00b5359e7..744f4aaaad9e6ebf1735fce949f1a070ba390bd7 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include "r8a77950-u-boot.dtsi"
+#include "r8a77951-u-boot.dtsi"
 
 / {
        sysinfo {
similarity index 93%
rename from arch/arm/dts/r8a77950-u-boot.dtsi
rename to arch/arm/dts/r8a77951-u-boot.dtsi
index 92907ea09bf2b3109c15ecad2bdcbccd9dcb0655..4cbec5914798a646c025ae487c5c905a6e90c346 100644 (file)
@@ -30,7 +30,6 @@
 /delete-node/ &can1;
 /delete-node/ &canfd;
 /delete-node/ &csi20;
-/delete-node/ &csi21;
 /delete-node/ &csi40;
 /delete-node/ &csi41;
 /delete-node/ &drif00;
 /delete-node/ &du;
 /delete-node/ &fcpf0;
 /delete-node/ &fcpf1;
-/delete-node/ &fcpf2;
 /delete-node/ &fcpvb0;
 /delete-node/ &fcpvb1;
 /delete-node/ &fcpvd0;
 /delete-node/ &fcpvd1;
 /delete-node/ &fcpvd2;
-/delete-node/ &fcpvd3;
 /delete-node/ &fcpvi0;
 /delete-node/ &fcpvi1;
-/delete-node/ &fcpvi2;
 /delete-node/ &hdmi0;
 /delete-node/ &hdmi1;
 /delete-node/ &lvds0;
 /delete-node/ &vspd0;
 /delete-node/ &vspd1;
 /delete-node/ &vspd2;
-/delete-node/ &vspd3;
 /delete-node/ &vspi0;
 /delete-node/ &vspi1;
-/delete-node/ &vspi2;
 
 / {
        /delete-node/ cvbs-in;
similarity index 96%
rename from arch/arm/dts/r8a77950-ulcb-u-boot.dtsi
rename to arch/arm/dts/r8a77951-ulcb-u-boot.dtsi
index c65c2e6406d3d42bf6eaeb77d29bf6e5bfde6af0..305c48615208592738b86a6bf65e76d246d0dc48 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include "r8a77950-u-boot.dtsi"
+#include "r8a77951-u-boot.dtsi"
 
 / {
        cpld {
index afb3b63582b5bef650b57231a0b8b9fcc7dc550f..2c8860bcee47b295cae7dd8e7e57b1f3b90384e9 100644 (file)
@@ -79,7 +79,7 @@ int board_fit_config_name_match(const char *name)
        u32 cpu_type = renesas_get_cpu_type();
 
        if ((cpu_type == RENESAS_CPU_TYPE_R8A7795) &&
-           !strcmp(name, "r8a77950-salvator-x"))
+           !strcmp(name, "r8a77951-salvator-x"))
                return 0;
 
        if ((cpu_type == RENESAS_CPU_TYPE_R8A7796) &&
index cda6976602d279acb28001e29838d739203bc3b2..64f01b123cb20b9c23d570dbb6221b2d7ad968d7 100644 (file)
@@ -70,7 +70,7 @@ int board_fit_config_name_match(const char *name)
        u32 cpu_type = renesas_get_cpu_type();
 
        if ((cpu_type == RENESAS_CPU_TYPE_R8A7795) &&
-           !strcmp(name, "r8a77950-ulcb"))
+           !strcmp(name, "r8a77951-ulcb"))
                return 0;
 
        if ((cpu_type == RENESAS_CPU_TYPE_R8A7796) &&
index c76cbec76d46593df71a79bf72672bab79e1f501..22d649296e1112af03b73ddc373d47740f547e9a 100644 (file)
@@ -6,7 +6,7 @@ CONFIG_SYS_MALLOC_LEN=0x4000000
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_OFFSET=0xFFFE0000
 CONFIG_DM_GPIO=y
-CONFIG_DEFAULT_DEVICE_TREE="r8a77950-salvator-x"
+CONFIG_DEFAULT_DEVICE_TREE="r8a77951-salvator-x"
 CONFIG_SPL_TEXT_BASE=0xe6338000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_SALVATOR_X=y
@@ -21,8 +21,8 @@ CONFIG_FIT=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_USE_BOOTARGS=y
 CONFIG_USE_BOOTCOMMAND=y
-CONFIG_BOOTCOMMAND="tftp 0x48080000 Image; tftp 0x48000000 Image-r8a77950-salvator-x.dtb; booti 0x48080000 - 0x48000000"
-CONFIG_DEFAULT_FDT_FILE="r8a77950-salvator-x.dtb"
+CONFIG_BOOTCOMMAND="tftp 0x48080000 Image; tftp 0x48000000 Image-r8a77951-salvator-x.dtb; booti 0x48080000 - 0x48000000"
+CONFIG_DEFAULT_FDT_FILE="r8a77951-salvator-x.dtb"
 CONFIG_SYS_PBSIZE=2068
 CONFIG_SYS_MALLOC_BOOTPARAMS=y
 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
@@ -48,7 +48,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_OF_CONTROL=y
-CONFIG_OF_LIST="r8a77950-salvator-x r8a77960-salvator-x r8a77965-salvator-x"
+CONFIG_OF_LIST="r8a77951-salvator-x r8a77960-salvator-x r8a77965-salvator-x"
 CONFIG_MULTI_DTB_FIT_LZO=y
 CONFIG_MULTI_DTB_FIT_USER_DEFINED_AREA=y
 CONFIG_OF_DTB_PROPS_REMOVE=y
index 701dfcb7a0ee1dd0e1db755e53b0977ba285d050..8349f070ba4eaa98731d2f211e40ab071b97581f 100644 (file)
@@ -7,7 +7,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_OFFSET=0xFFFE0000
 CONFIG_DM_GPIO=y
-CONFIG_DEFAULT_DEVICE_TREE="r8a77950-ulcb"
+CONFIG_DEFAULT_DEVICE_TREE="r8a77951-ulcb"
 CONFIG_SPL_TEXT_BASE=0xe6338000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_ULCB=y
@@ -20,8 +20,8 @@ CONFIG_FIT=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_USE_BOOTARGS=y
 CONFIG_USE_BOOTCOMMAND=y
-CONFIG_BOOTCOMMAND="tftp 0x48080000 Image; tftp 0x48000000 Image-r8a77950-ulcb.dtb; booti 0x48080000 - 0x48000000"
-CONFIG_DEFAULT_FDT_FILE="r8a77950-ulcb.dtb"
+CONFIG_BOOTCOMMAND="tftp 0x48080000 Image; tftp 0x48000000 Image-r8a77951-ulcb.dtb; booti 0x48080000 - 0x48000000"
+CONFIG_DEFAULT_FDT_FILE="r8a77951-ulcb.dtb"
 CONFIG_SYS_PBSIZE=2068
 CONFIG_SYS_MALLOC_BOOTPARAMS=y
 CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
@@ -46,7 +46,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_OF_CONTROL=y
-CONFIG_OF_LIST="r8a77950-ulcb r8a77960-ulcb r8a77965-ulcb"
+CONFIG_OF_LIST="r8a77951-ulcb r8a77960-ulcb r8a77965-ulcb"
 CONFIG_MULTI_DTB_FIT_LZO=y
 CONFIG_MULTI_DTB_FIT_USER_DEFINED_AREA=y
 CONFIG_OF_DTB_PROPS_REMOVE=y