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/base-files/lib/ramips.sh | 3 --- target/linux/ramips/base-files/lib/upgrade/platform.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'target/linux/ramips/base-files/lib') diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index ba6a13b65b..5741cbd2ee 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -553,9 +553,6 @@ ramips_board_detect() { *"W502U") name="w502u" ;; - *"WAP2100-SK") - name="wap2100-sk" - ;; *"WCR-1166DS") name="wcr-1166ds" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index cb6e5c1b5a..e4ddc0eec4 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -31,6 +31,7 @@ platform_check_image() { awm002-evb-4M|\ awm002-evb-8M|\ bc2|\ + bdcom,wap2100-sk|\ bocco|\ broadway|\ c108|\ @@ -186,7 +187,6 @@ platform_check_image() { widora,neo-32m|\ mqmaker,witi-256m|\ mqmaker,witi-512m|\ - wap2100-sk|\ we1026-5g-16m|\ wizfi630a|\ wl-330n|\ -- cgit v1.2.3