Skip to content

Commit 0633d20

Browse files
xdarklightkhilman
authored andcommitted
ARM: meson: add support for the Meson8m2 SoCs
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>
1 parent 15b520f commit 0633d20

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

arch/arm/mach-meson/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ config MACH_MESON6
1919
select MESON6_TIMER
2020

2121
config MACH_MESON8
22-
bool "Amlogic Meson8 SoCs support"
22+
bool "Amlogic Meson8 and Meson8m2 SoCs support"
2323
default ARCH_MESON
2424
select MESON6_TIMER
2525
select COMMON_CLK_MESON8B

arch/arm/mach-meson/meson.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ static const char * const meson_common_board_compat[] = {
2020
"amlogic,meson6",
2121
"amlogic,meson8",
2222
"amlogic,meson8b",
23+
"amlogic,meson8m2",
2324
NULL,
2425
};
2526

0 commit comments

Comments
 (0)