OSDN Git Service

ARM: meson: add support for the Meson8m2 SoCs
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Wed, 9 May 2018 23:50:34 +0000 (01:50 +0200)
committerKevin Hilman <khilman@baylibre.com>
Fri, 11 May 2018 00:03:28 +0000 (17:03 -0700)
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>
arch/arm/mach-meson/Kconfig
arch/arm/mach-meson/meson.c

index d90f61e..2bc6304 100644 (file)
@@ -19,7 +19,7 @@ config MACH_MESON6
        select MESON6_TIMER
 
 config MACH_MESON8
-       bool "Amlogic Meson8 SoCs support"
+       bool "Amlogic Meson8 and Meson8m2 SoCs support"
        default ARCH_MESON
        select MESON6_TIMER
        select COMMON_CLK_MESON8B
index 4e23571..c8d99df 100644 (file)
@@ -20,6 +20,7 @@ static const char * const meson_common_board_compat[] = {
        "amlogic,meson6",
        "amlogic,meson8",
        "amlogic,meson8b",
+       "amlogic,meson8m2",
        NULL,
 };