Marek Vasut | e07fa9f | 2023-02-28 07:28:57 +0100 | [diff] [blame] | 1 | if RCAR_GEN3 |
| 2 | |
| 3 | menu "Select Target SoC" |
| 4 | |
| 5 | config R8A774A1 |
| 6 | bool "Renesas SoC R8A774A1" |
| 7 | select GICV2 |
| 8 | imply CLK_R8A774A1 |
| 9 | imply PINCTRL_PFC_R8A774A1 |
| 10 | |
| 11 | config R8A774B1 |
| 12 | bool "Renesas SoC R8A774B1" |
| 13 | select GICV2 |
| 14 | imply CLK_R8A774B1 |
| 15 | imply PINCTRL_PFC_R8A774B1 |
| 16 | |
| 17 | config R8A774C0 |
| 18 | bool "Renesas SoC R8A774C0" |
| 19 | select GICV2 |
| 20 | imply CLK_R8A774C0 |
| 21 | imply PINCTRL_PFC_R8A774C0 |
| 22 | |
| 23 | config R8A774E1 |
| 24 | bool "Renesas SoC R8A774E1" |
| 25 | select GICV2 |
| 26 | imply CLK_R8A774E1 |
| 27 | imply PINCTRL_PFC_R8A774E1 |
| 28 | |
| 29 | config R8A7795 |
| 30 | bool "Renesas SoC R8A7795" |
| 31 | select GICV2 |
| 32 | imply CLK_R8A7795 |
| 33 | imply PINCTRL_PFC_R8A77951 |
| 34 | |
| 35 | config R8A7796 |
| 36 | bool "Renesas SoC R8A7796" |
| 37 | select GICV2 |
| 38 | imply CLK_R8A77960 |
| 39 | imply CLK_R8A77961 |
| 40 | imply PINCTRL_PFC_R8A77960 |
| 41 | imply PINCTRL_PFC_R8A77961 |
| 42 | |
| 43 | config R8A77965 |
| 44 | bool "Renesas SoC R8A77965" |
| 45 | select GICV2 |
| 46 | imply CLK_R8A77965 |
| 47 | imply PINCTRL_PFC_R8A77965 |
| 48 | |
| 49 | config R8A77970 |
| 50 | bool "Renesas SoC R8A77970" |
| 51 | select GICV2 |
| 52 | imply CLK_R8A77970 |
| 53 | imply PINCTRL_PFC_R8A77970 |
| 54 | |
| 55 | config R8A77980 |
| 56 | bool "Renesas SoC R8A77980" |
| 57 | select GICV2 |
| 58 | imply CLK_R8A77980 |
| 59 | imply PINCTRL_PFC_R8A77980 |
| 60 | |
| 61 | config R8A77990 |
| 62 | bool "Renesas SoC R8A77990" |
| 63 | select GICV2 |
| 64 | imply CLK_R8A77990 |
| 65 | imply PINCTRL_PFC_R8A77990 |
| 66 | |
| 67 | config R8A77995 |
| 68 | bool "Renesas SoC R8A77995" |
| 69 | select GICV2 |
| 70 | imply CLK_R8A77995 |
| 71 | imply PINCTRL_PFC_R8A77995 |
| 72 | |
Marek Vasut | e07fa9f | 2023-02-28 07:28:57 +0100 | [diff] [blame] | 73 | config RZ_G2 |
| 74 | bool "Renesas ARM SoCs RZ/G2 (64bit)" |
| 75 | |
| 76 | endmenu |
| 77 | |
| 78 | choice |
| 79 | prompt "Renesas ARM64 SoCs board select" |
| 80 | optional |
| 81 | |
| 82 | config TARGET_BEACON_RZG2M |
| 83 | bool "Beacon EmbeddedWorks RZ/G2 Dev Kit" |
| 84 | select PINCTRL_PFC_R8A774A1 |
| 85 | select PINCTRL_PFC_R8A774B1 |
| 86 | select PINCTRL_PFC_R8A774E1 |
| 87 | select R8A774A1 |
| 88 | select R8A774B1 |
| 89 | select R8A774E1 |
| 90 | select RZ_G2 |
| 91 | imply CLK_CCF |
| 92 | imply CLK_VERSACLOCK |
| 93 | imply MULTI_DTB_FIT |
| 94 | imply MULTI_DTB_FIT_USER_DEFINED_AREA |
| 95 | |
| 96 | config TARGET_CONDOR |
| 97 | bool "Condor board" |
| 98 | imply R8A77980 |
| 99 | help |
| 100 | Support for Renesas R-Car Gen3 Condor platform |
| 101 | |
| 102 | config TARGET_DRAAK |
| 103 | bool "Draak board" |
| 104 | imply R8A77995 |
| 105 | help |
| 106 | Support for Renesas R-Car Gen3 Draak platform |
| 107 | |
| 108 | config TARGET_EAGLE |
| 109 | bool "Eagle board" |
| 110 | imply R8A77970 |
| 111 | help |
| 112 | Support for Renesas R-Car Gen3 Eagle platform |
| 113 | |
| 114 | config TARGET_EBISU |
| 115 | bool "Ebisu board" |
| 116 | imply R8A77990 |
| 117 | help |
| 118 | Support for Renesas R-Car Gen3 Ebisu platform |
| 119 | |
Marek Vasut | e07fa9f | 2023-02-28 07:28:57 +0100 | [diff] [blame] | 120 | config TARGET_HIHOPE_RZG2 |
| 121 | bool "HiHope RZ/G2 board" |
| 122 | imply MULTI_DTB_FIT |
| 123 | imply MULTI_DTB_FIT_USER_DEFINED_AREA |
| 124 | imply R8A774A1 |
| 125 | imply R8A774B1 |
| 126 | imply R8A774E1 |
| 127 | imply RZ_G2 |
| 128 | imply SYS_MALLOC_F |
| 129 | help |
| 130 | Support for RZG2 HiHope platform |
| 131 | |
| 132 | config TARGET_SILINUX_EK874 |
| 133 | bool "Silicon Linux EK874 board" |
| 134 | imply R8A774C0 |
| 135 | imply RZ_G2 |
| 136 | help |
| 137 | Support for Silicon Linux EK874 platform |
| 138 | |
| 139 | config TARGET_SALVATOR_X |
| 140 | bool "Salvator-X board" |
| 141 | imply MULTI_DTB_FIT |
| 142 | imply MULTI_DTB_FIT_USER_DEFINED_AREA |
| 143 | imply R8A7795 |
| 144 | imply R8A7796 |
| 145 | imply R8A77965 |
| 146 | imply SYS_MALLOC_F |
| 147 | help |
| 148 | Support for Renesas R-Car Gen3 platform |
| 149 | |
| 150 | config TARGET_ULCB |
| 151 | bool "ULCB board" |
| 152 | imply MULTI_DTB_FIT |
| 153 | imply MULTI_DTB_FIT_USER_DEFINED_AREA |
| 154 | imply R8A7795 |
| 155 | imply R8A7796 |
| 156 | imply R8A77965 |
| 157 | imply SYS_MALLOC_F |
| 158 | help |
| 159 | Support for Renesas R-Car Gen3 ULCB platform |
| 160 | |
| 161 | endchoice |
| 162 | |
| 163 | source "board/renesas/condor/Kconfig" |
| 164 | source "board/renesas/draak/Kconfig" |
| 165 | source "board/renesas/eagle/Kconfig" |
| 166 | source "board/renesas/ebisu/Kconfig" |
Marek Vasut | e07fa9f | 2023-02-28 07:28:57 +0100 | [diff] [blame] | 167 | source "board/renesas/salvator-x/Kconfig" |
| 168 | source "board/renesas/ulcb/Kconfig" |
| 169 | source "board/beacon/beacon-rzg2m/Kconfig" |
| 170 | source "board/hoperun/hihope-rzg2/Kconfig" |
| 171 | source "board/silinux/ek874/Kconfig" |
| 172 | |
| 173 | config MULTI_DTB_FIT_UNCOMPRESS_SZ |
| 174 | default 0x80000 if TARGET_BEACON_RZG2M |
| 175 | default 0x80000 if TARGET_HIHOPE_RZG2 |
| 176 | default 0x80000 if TARGET_SALVATOR_X |
| 177 | default 0x80000 if TARGET_ULCB |
| 178 | |
| 179 | config MULTI_DTB_FIT_USER_DEF_ADDR |
| 180 | default 0x49000000 if TARGET_BEACON_RZG2M |
| 181 | default 0x49000000 if TARGET_HIHOPE_RZG2 |
| 182 | default 0x49000000 if TARGET_SALVATOR_X |
| 183 | default 0x49000000 if TARGET_ULCB |
| 184 | |
| 185 | config DM_RESET |
| 186 | default y if RCAR_GEN3 |
| 187 | |
| 188 | endif |