aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/airoha/files/arch/arm/mach-airoha/airoha.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/airoha/files/arch/arm/mach-airoha/airoha.c')
-rw-r--r--target/linux/airoha/files/arch/arm/mach-airoha/airoha.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/airoha/files/arch/arm/mach-airoha/airoha.c b/target/linux/airoha/files/arch/arm/mach-airoha/airoha.c
new file mode 100644
index 0000000000..ea23b5abb4
--- /dev/null
+++ b/target/linux/airoha/files/arch/arm/mach-airoha/airoha.c
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Device Tree support for Airoha SoCs
+ *
+ * Copyright (c) 2022 Felix Fietkau <nbd@nbd.name>
+ */
+#include <asm/mach/arch.h>
+
+static const char * const airoha_board_dt_compat[] = {
+ "airoha,en7523",
+ NULL,
+};
+
+DT_MACHINE_START(MEDIATEK_DT, "Airoha Cortex-A53 (Device Tree)")
+ .dt_compat = airoha_board_dt_compat,
+MACHINE_END