xref: /linux/arch/arm/mach-mediatek/mediatek.c (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 /*
2  * Device Tree support for Mediatek SoCs
3  *
4  * Copyright (c) 2014 MundoReader S.L.
5  * Author: Matthias Brugger <matthias.bgg@gmail.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  */
17 #include <linux/init.h>
18 #include <asm/mach/arch.h>
19 
20 static const char * const mediatek_board_dt_compat[] = {
21 	"mediatek,mt6589",
22 	"mediatek,mt6592",
23 	"mediatek,mt8127",
24 	"mediatek,mt8135",
25 	NULL,
26 };
27 
28 DT_MACHINE_START(MEDIATEK_DT, "Mediatek Cortex-A7 (Device Tree)")
29 	.dt_compat	= mediatek_board_dt_compat,
30 MACHINE_END
31