d1: improve Nezha D1 support
authorZoltan HERPAI <[email protected]>
Mon, 26 May 2025 17:16:46 +0000 (17:16 +0000)
committerZoltan HERPAI <[email protected]>
Mon, 26 May 2025 17:26:51 +0000 (19:26 +0200)
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 <[email protected]>
target/linux/d1/image/Makefile

index ea41e65c760e09dc935f40b79a3f7ee0f66a71a2..b5e64c021831f9b4228d3778b185aac3554bb7d3 100644 (file)
@@ -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