~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: ad35d1058f2963051a18a689281b0ecb0b6126e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
if RCAR_GEN3

menu "Select Target SoC"

config R8A774A1
	bool "Renesas SoC R8A774A1"
	select GICV2
	imply CLK_R8A774A1
	imply PINCTRL_PFC_R8A774A1

config R8A774B1
	bool "Renesas SoC R8A774B1"
	select GICV2
	imply CLK_R8A774B1
	imply PINCTRL_PFC_R8A774B1

config R8A774C0
	bool "Renesas SoC R8A774C0"
	select GICV2
	imply CLK_R8A774C0
	imply PINCTRL_PFC_R8A774C0

config R8A774E1
	bool "Renesas SoC R8A774E1"
	select GICV2
	imply CLK_R8A774E1
	imply PINCTRL_PFC_R8A774E1

config R8A7795
	bool "Renesas SoC R8A7795"
	select GICV2
	imply CLK_R8A7795
	imply PINCTRL_PFC_R8A77951

config R8A7796
	bool "Renesas SoC R8A7796"
	select GICV2
	imply CLK_R8A77960
	imply CLK_R8A77961
	imply PINCTRL_PFC_R8A77960
	imply PINCTRL_PFC_R8A77961

config R8A77965
	bool "Renesas SoC R8A77965"
	select GICV2
	imply CLK_R8A77965
	imply PINCTRL_PFC_R8A77965

config R8A77970
	bool "Renesas SoC R8A77970"
	select GICV2
	imply CLK_R8A77970
	imply PINCTRL_PFC_R8A77970

config R8A77980
	bool "Renesas SoC R8A77980"
	select GICV2
	imply CLK_R8A77980
	imply PINCTRL_PFC_R8A77980

config R8A77990
	bool "Renesas SoC R8A77990"
	select GICV2
	imply CLK_R8A77990
	imply PINCTRL_PFC_R8A77990

config R8A77995
	bool "Renesas SoC R8A77995"
	select GICV2
	imply CLK_R8A77995
	imply PINCTRL_PFC_R8A77995

config RZ_G2
	bool "Renesas ARM SoCs RZ/G2 (64bit)"

endmenu

choice
	prompt "Renesas ARM64 SoCs board select"
	optional

config TARGET_BEACON_RZG2M
	bool "Beacon EmbeddedWorks RZ/G2 Dev Kit"
	select PINCTRL_PFC_R8A774A1
	select PINCTRL_PFC_R8A774B1
	select PINCTRL_PFC_R8A774E1
	select R8A774A1
	select R8A774B1
	select R8A774E1
	select RZ_G2
	imply CLK_CCF
	imply CLK_VERSACLOCK
	imply MULTI_DTB_FIT
	imply MULTI_DTB_FIT_USER_DEFINED_AREA

config TARGET_CONDOR
	bool "Condor board"
	imply R8A77980
	help
          Support for Renesas R-Car Gen3 Condor platform

config TARGET_V3HSK
	bool "V3HSK board"
	help
          Support for Renesas R-Car Gen3 V3HSK platform

config TARGET_DRAAK
	bool "Draak board"
	imply R8A77995
	help
          Support for Renesas R-Car Gen3 Draak platform

config TARGET_EAGLE
	bool "Eagle board"
	imply R8A77970
	help
          Support for Renesas R-Car Gen3 Eagle platform

config TARGET_V3MSK
	bool "V3MSK board"
	help
          Support for Renesas R-Car Gen3 V3MSK platform

config TARGET_EBISU
	bool "Ebisu board"
	imply R8A77990
	help
          Support for Renesas R-Car Gen3 Ebisu platform

config TARGET_HIHOPE_RZG2
	bool "HiHope RZ/G2 board"
	imply MULTI_DTB_FIT
	imply MULTI_DTB_FIT_USER_DEFINED_AREA
	imply R8A774A1
	imply R8A774B1
	imply R8A774E1
	imply RZ_G2
	imply SYS_MALLOC_F
	help
          Support for RZG2 HiHope platform

config TARGET_SILINUX_EK874
	bool "Silicon Linux EK874 board"
	imply R8A774C0
	imply RZ_G2
	help
          Support for Silicon Linux EK874 platform

config TARGET_SALVATOR_X
	bool "Salvator-X board"
	imply MULTI_DTB_FIT
	imply MULTI_DTB_FIT_USER_DEFINED_AREA
	imply R8A7795
	imply R8A7796
	imply R8A77965
	imply SYS_MALLOC_F
	help
          Support for Renesas R-Car Gen3 platform

config TARGET_ULCB
	bool "ULCB board"
	imply MULTI_DTB_FIT
	imply MULTI_DTB_FIT_USER_DEFINED_AREA
	imply R8A7795
	imply R8A7796
	imply R8A77965
	imply SYS_MALLOC_F
	help
          Support for Renesas R-Car Gen3 ULCB platform

endchoice

source "board/renesas/condor/Kconfig"
source "board/renesas/draak/Kconfig"
source "board/renesas/eagle/Kconfig"
source "board/renesas/ebisu/Kconfig"
source "board/renesas/salvator-x/Kconfig"
source "board/renesas/ulcb/Kconfig"
source "board/renesas/v3hsk/Kconfig"
source "board/renesas/v3msk/Kconfig"
source "board/beacon/beacon-rzg2m/Kconfig"
source "board/hoperun/hihope-rzg2/Kconfig"
source "board/silinux/ek874/Kconfig"

config MULTI_DTB_FIT_UNCOMPRESS_SZ
	default 0x80000 if TARGET_BEACON_RZG2M
	default 0x80000 if TARGET_HIHOPE_RZG2
	default 0x80000 if TARGET_SALVATOR_X
	default 0x80000 if TARGET_ULCB

config MULTI_DTB_FIT_USER_DEF_ADDR
	default 0x49000000 if TARGET_BEACON_RZG2M
	default 0x49000000 if TARGET_HIHOPE_RZG2
	default 0x49000000 if TARGET_SALVATOR_X
	default 0x49000000 if TARGET_ULCB

config DM_RESET
	default y if RCAR_GEN3

endif