arm64:dts: gate BPI-M8 sunxi dtb/dtbo with board config

This commit is contained in:
Qubot 2026-05-27 21:49:03 +08:00
parent 95a99baba7
commit 1fcdebd370
5 changed files with 12 additions and 4 deletions

View File

@ -20,6 +20,12 @@ config ARCH_SUNXI
help
This enables support for Allwinner sunxi based SoCs like the A64.
config BOARD_BANANAPI_M8
bool "Banana Pi BPI-M8 board support"
depends on ARCH_SUNXI
help
Enable board-specific DTS/overlay build targets for Banana Pi BPI-M8.
config ARCH_ALPINE
bool "Annapurna Labs Alpine platform"
select ALPINE_MSI if PCI

View File

@ -29,4 +29,5 @@ subdir-y += synaptics
subdir-y += ti
subdir-y += toshiba
subdir-y += xilinx
subdir-y += allwinner
subdir-y += sunxi

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_SUNXI) += sun60i-a733-bananapi-m8.dtb
dtb-$(CONFIG_BOARD_BANANAPI_M8) += sun60i-a733-bananapi-m8.dtb
subdir-y += overlay

View File

@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
dtbo-$(CONFIG_ARCH_SUNXI) += board1.dtbo
dtbo-$(CONFIG_ARCH_SUNXI) += board2.dtbo
dtbo-$(CONFIG_ARCH_SUNXI) += board3.dtbo
dtbo-$(CONFIG_BOARD_BANANAPI_M8) += board1.dtbo
dtbo-$(CONFIG_BOARD_BANANAPI_M8) += board2.dtbo
dtbo-$(CONFIG_BOARD_BANANAPI_M8) += board3.dtbo

View File

@ -4,6 +4,7 @@ CONFIG_ARCH_SUN60I=y
CONFIG_ARCH_SUN60IW2=y
CONFIG_AW_IC_BOARD=y
CONFIG_AW_SOC_NAME="A733"
CONFIG_BOARD_BANANAPI_M8=y
# CONFIG_AW_UART is not set
CONFIG_AW_UART_NG=y
CONFIG_AW_SERIAL_CONSOLE=y