kernel-5.15/0612-arm64-Enable-armv8-based-Baikal-M-SoC-support.patch

42 lines
1.2 KiB
Diff
Raw Normal View History

From 72be8c51625033aa7d30de3d3a6ceadd2111fd12 Mon Sep 17 00:00:00 2001
From: Alexey Sheplyakov <asheplyakov@basealt.ru>
Date: Tue, 25 Jan 2022 17:58:48 +0400
Subject: [PATCH 612/634] arm64: Enable armv8 based Baikal-M SoC support
This patch adds Kconfig entries necessary to enable
Baikal Electronics' Baikal-M (also known as BE-M1000) SoC
support. Also it enables pinctrl, timers and GPIO drivers.
Signed-off-by: Alexey Sheplyakov <asheplyakov@basealt.ru>
---
arch/arm64/Kconfig.platforms | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index b0ce18d4c..225b0f6dd 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -34,6 +34,19 @@ config ARCH_APPLE
This enables support for Apple's in-house ARM SoC family, starting
with the Apple M1.
+config ARCH_BAIKAL
+ bool "Baikal Electronics Baikal-M SoC Family"
+ select GPIOLIB
+ select PINCTRL
+ select OF_GPIO
+ select GPIO_SYSFS
+ select GPIO_DWAPB
+ select GPIO_GENERIC
+ select DW_APB_TIMER
+ select DW_APB_TIMER_OF
+ help
+ This enables support for Baikal Electronics Baikal-M SoC Family
+
config ARCH_BCM2835
bool "Broadcom BCM2835 family"
select TIMER_OF
--
2.33.2