]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: defconfig: enable pinctrl and dwmac support for TH1520
authorDrew Fustini <drew@pdp7.com>
Mon, 16 Dec 2024 00:31:15 +0000 (16:31 -0800)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 16 Dec 2024 09:39:10 +0000 (09:39 +0000)
Enable pinctrl and ethernet dwmac driver for the TH1520 SoC boards like
the BeagleV Ahead and the Sipeed LicheePi 4A.

Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Drew Fustini <drew@pdp7.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/configs/defconfig

index b4a37345703eb35757419aa5a2b057c82ed22fda..d26e670404b6b96014a1d4d0789b090eb51249d7 100644 (file)
@@ -167,6 +167,7 @@ CONFIG_PINCTRL_SOPHGO_CV1800B=y
 CONFIG_PINCTRL_SOPHGO_CV1812H=y
 CONFIG_PINCTRL_SOPHGO_SG2000=y
 CONFIG_PINCTRL_SOPHGO_SG2002=y
+CONFIG_PINCTRL_TH1520=y
 CONFIG_GPIO_DWAPB=y
 CONFIG_GPIO_SIFIVE=y
 CONFIG_POWER_RESET_GPIO_RESTART=y
@@ -242,6 +243,7 @@ CONFIG_RTC_DRV_SUN6I=y
 CONFIG_DMADEVICES=y
 CONFIG_DMA_SUN6I=m
 CONFIG_DW_AXI_DMAC=y
+CONFIG_DWMAC_THEAD=m
 CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_BALLOON=y
 CONFIG_VIRTIO_INPUT=y