xref: /openbmc/linux/arch/arm/mach-meson/meson.c (revision 151f4e2b)
1 /*
2  * Copyright (C) 2014 Carlo Caione <carlo@caione.org>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  *
14  */
15 
16 #include <linux/of_platform.h>
17 #include <asm/mach/arch.h>
18 
19 static const char * const meson_common_board_compat[] = {
20 	"amlogic,meson6",
21 	"amlogic,meson8",
22 	"amlogic,meson8b",
23 	"amlogic,meson8m2",
24 	NULL,
25 };
26 
27 DT_MACHINE_START(MESON, "Amlogic Meson platform")
28 	.dt_compat	= meson_common_board_compat,
29 	.l2c_aux_val	= 0,
30 	.l2c_aux_mask	= ~0,
31 MACHINE_END
32