@@ -220,3 +220,31 @@ DT_MACHINE_START(EXYNOS_DT, "Samsung Exynos (Flattened Device Tree)")
220
220
.dt_compat = exynos_dt_compat ,
221
221
.dt_fixup = exynos_dt_fixup ,
222
222
MACHINE_END
223
+
224
+ #define ODROID_MACHINE_START (name , compat ) \
225
+ DT_MACHINE_START(EXYNOS5422_ODROID_##name, "ODROID-"#name) \
226
+ .l2c_aux_val = 0x3c400001, \
227
+ .l2c_aux_mask = 0xc20fffff, \
228
+ .smp = smp_ops(exynos_smp_ops), \
229
+ .map_io = exynos_init_io, \
230
+ .init_early = exynos_firmware_init, \
231
+ .init_irq = exynos_init_irq, \
232
+ .init_machine = exynos_dt_machine_init, \
233
+ .init_late = exynos_init_late, \
234
+ .dt_compat = compat, \
235
+ .dt_fixup = exynos_dt_fixup, \
236
+ MACHINE_END
237
+
238
+ static char const * const exynos5422_odroidxu3_dt_compat [] __initconst = {
239
+ "hardkernel,odroid-xu3" ,
240
+ "hardkernel,odroid-xu3-lite" ,
241
+ NULL ,
242
+ };
243
+
244
+ static char const * const exynos5422_odroidxu4_dt_compat [] __initconst = {
245
+ "hardkernel,odroid-xu4" ,
246
+ NULL ,
247
+ };
248
+
249
+ ODROID_MACHINE_START (XU3 , exynos5422_odroidxu3_dt_compat )
250
+ ODROID_MACHINE_START (XU4 , exynos5422_odroidxu4_dt_compat )
0 commit comments