[openwrt/openwrt] d1: improve Nezha D1 support

LEDE Commits lede-commits at lists.infradead.org
Mon May 26 10:28:16 PDT 2025


wigyori pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b69e6c35c515f2de579712685b9e498418df2758

commit b69e6c35c515f2de579712685b9e498418df2758
Author: Zoltan HERPAI <wigyori at uid0.hu>
AuthorDate: Mon May 26 17:16:46 2025 +0000

    d1: improve Nezha D1 support
    
    The Nezha board has a PCF8574 that acts as an I/O expander on the
    i2c2 bus. Enable the required module for it.
    
    Signed-off-by: Zoltan HERPAI <wigyori at uid0.hu>
---
 target/linux/d1/image/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/d1/image/Makefile b/target/linux/d1/image/Makefile
index ea41e65c76..b5e64c0218 100644
--- a/target/linux/d1/image/Makefile
+++ b/target/linux/d1/image/Makefile
@@ -87,6 +87,7 @@ define Device/allwinner_d1-nezha
   DEVICE_MODEL := D1
   DEVICE_DTS := allwinner/sun20i-d1-nezha
   SUPPORTED_DEVICES += nezha
+  DEVICE_PACKAGES += kmod-gpio-pcf857x
   UBOOT := nezha
 endef
 TARGET_DEVICES += allwinner_d1-nezha




More information about the lede-commits mailing list