From e4d9217fe5419364d2fe89e69c2e4f9f47fd30b6 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 26 Nov 2018 13:26:06 +0100 Subject: ramips: improve BDCOM WAP2100-SK support Use the generic board detection instead of the target specific one as all recent additions are doing. Setup the USB led via devicetree (a58535771f11) and include the required driver by default. Merge the led userspace setting with an existing identical case. Use the wps led for boot status indication. Move the partitions into a partition table node (6031ab345df8) and drop needless labels. Drop misplaced cells properties (53624c1702e6). Cleanup the pinmux and only switch pins to gpio functions which a referenced as gpio in the dts. Match the maximum image size with the size of the firmware partition. Signed-off-by: Mathias Kresin --- target/linux/ramips/image/mt7620.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'target/linux/ramips/image') diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 5e3d37b5c8..bf04a75ea1 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -80,14 +80,13 @@ define Device/ArcherMR200 endef TARGET_DEVICES += ArcherMR200 -define Device/BDCOM-WAP2100-SK +define Device/bdcom_wap2100-sk DTS := BDCOM-WAP2100-SK - IMAGE_SIZE := $(ralink_default_fw_size_16M) - SUPPORTED_DEVICES += wap2100-sk + IMAGE_SIZE := 15808k DEVICE_TITLE := BDCOM WAP2100-SK (ZTE ZXECS EBG3130) - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 kmod-sdhci-mt7620 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport endef -TARGET_DEVICES += BDCOM-WAP2100-SK +TARGET_DEVICES += bdcom_wap2100-sk define Device/bocco DTS := BOCCO -- cgit v1.2.3