[PATCH] octeontx: add default packages for on-board devices

Tim Harvey tharvey at gateworks.com
Fri Feb 17 17:06:41 PST 2023


The Gateworks Newport boards supported by the octeontx target have
the following on-board devices:
 - Gateworks System Controller
 - GPIO buttons
 - GPIO leds
 - GPS PPS
 - Accelerometer
 - MCP251X CAN controller

Add kernel drivers for these devices in DEFAULT_PACKAGES

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 target/linux/octeontx/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile
index 5260291d0504..25096c90ba96 100644
--- a/target/linux/octeontx/Makefile
+++ b/target/linux/octeontx/Makefile
@@ -20,4 +20,8 @@ include $(INCLUDE_DIR)/target.mk
 
 KERNELNAME:=Image
 
+DEFAULT_PACKAGES += kmod-hwmon-gsc kmod-leds-gpio kmod-pps-gpio \
+		    kmod-gpio-button-hotplug kmod-input-evdev kmod-rtc-ds1672 \
+		    kmod-can kmod-can-mcp251x
+
 $(eval $(call BuildTarget))
-- 
2.25.1




More information about the openwrt-devel mailing list