forked from Minki/linux
0633d20fea
Add the newly introduced compatible string for the Meson8m2 SoC. The existing Meson8 Kconfig entry is updated to also provide support for the Meson8m2 SoCs. The Meson8m2 SoC is mostly identical to the Meson8 SoC with just a few peripherals being updated. Both SoCs currently share the same pinctrl, clock and GPIO IRQ bindings. Thus the existing Kconfig entry is re-used to avoid duplication (the only cost is building a few extra DTBs). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
32 lines
919 B
C
32 lines
919 B
C
/*
|
|
* Copyright (C) 2014 Carlo Caione <carlo@caione.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
*/
|
|
|
|
#include <linux/of_platform.h>
|
|
#include <asm/mach/arch.h>
|
|
|
|
static const char * const meson_common_board_compat[] = {
|
|
"amlogic,meson6",
|
|
"amlogic,meson8",
|
|
"amlogic,meson8b",
|
|
"amlogic,meson8m2",
|
|
NULL,
|
|
};
|
|
|
|
DT_MACHINE_START(MESON, "Amlogic Meson platform")
|
|
.dt_compat = meson_common_board_compat,
|
|
.l2c_aux_val = 0,
|
|
.l2c_aux_mask = ~0,
|
|
MACHINE_END
|