[source] ramips: drop Edimax BR-6425 support

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 2 15:12:55 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/60f6c2b2eb21aefc49162cfc75fc94bdc6da0010

commit 60f6c2b2eb21aefc49162cfc75fc94bdc6da0010
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Mon Jul 31 18:02:40 2017 +0200

    ramips: drop Edimax BR-6425 support
    
    Code to build an image for the Edimax BR-6425 never existed.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 package/boot/uboot-envtools/files/ramips           |  1 -
 target/linux/ramips/base-files/etc/board.d/01_leds |  3 -
 target/linux/ramips/base-files/etc/diag.sh         |  1 -
 target/linux/ramips/base-files/lib/ramips.sh       |  3 -
 target/linux/ramips/dts/BR-6425.dts                | 73 ----------------------
 5 files changed, 81 deletions(-)

diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips
index fa80e95..70ba6a2 100644
--- a/package/boot/uboot-envtools/files/ramips
+++ b/package/boot/uboot-envtools/files/ramips
@@ -19,7 +19,6 @@ all0256n-8M|\
 all5002)
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
 	;;
-br-6425|\
 linkits7688|\
 linkits7688d|\
 miwifi-nano|\
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index f6208fb..db6910c 100644
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -78,9 +78,6 @@ asl26555-16M)
 bc2)
 	set_usb_led "$board:blue:usb"
 	;;
-br-6425)
-	set_wifi_led "$board:orange:wlan"
-	;;
 broadway)
 	set_usb_led "$board:red:diskmounted"
 	set_wifi_led "$board:red:wps_active"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index f5c0e83..ffd2abd 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -16,7 +16,6 @@ get_status_led() {
 	3g-6200n|\
 	ar670w|\
 	ar725w|\
-	br-6425|\
 	br-6475nd|\
 	c50|\
 	dch-m225|\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 3efdeda..cb8031f 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -82,9 +82,6 @@ ramips_board_detect() {
 	*"BC2")
 		name="bc2"
 		;;
-	*"BR-6425")
-		name="br-6425"
-		;;
 	*"BR-6475nD")
 		name="br-6475nd"
 		;;
diff --git a/target/linux/ramips/dts/BR-6425.dts b/target/linux/ramips/dts/BR-6425.dts
deleted file mode 100644
index 1e13c97..0000000
--- a/target/linux/ramips/dts/BR-6425.dts
+++ /dev/null
@@ -1,73 +0,0 @@
-/dts-v1/;
-
-#include "rt3050.dtsi"
-
-#include <dt-bindings/input/input.h>
-
-/ {
-	compatible = "BR-6425", "ralink,rt3052-soc";
-	model = "Edimax BR-6425";
-
-	cfi at 1f000000 {
-		compatible = "cfi-flash";
-		reg = <0x1f000000 0x800000>;
-		bank-width = <2>;
-		device-width = <2>;
-		#address-cells = <1>;
-		#size-cells = <1>;
-	};
-
-	gpio-leds {
-		compatible = "gpio-leds";
-
-		power {
-			label = "br-6425:green:power";
-			gpios = <&gpio0 9 1>;
-		};
-
-		wlan {
-			label = "br-6425:orange:wlan";
-			gpios = <&gpio0 14 1>;
-		};
-	};
-
-	gpio-keys-polled {
-		compatible = "gpio-keys-polled";
-		#address-cells = <1>;
-		#size-cells = <0>;
-		poll-interval = <20>;
-
-		reset_wps {
-			label = "reset_wps";
-			gpios = <&gpio0 12 1>;
-			linux,code = <KEY_RESTART>;
-		};
-
-		rfkill {
-			label = "RFKILL switch";
-			gpios = <&gpio0 13 1>;
-			linux,code = <KEY_RFKILL>;
-		};
-	};
-};
-
-&pinctrl {
-	state_default: pinctrl0 {
-		gpio {
-			ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
-			ralink,function = "gpio";
-		};
-	};
-};
-
-&ethernet {
-/*	mtd-mac-address = <&factory 0x4>; */
-};
-
-&esw {
-	mediatek,portmap = <0x2f>;
-};
-
-&wmac {
-/*	ralink,mtd-eeprom = <&factory 0>; */
-};



More information about the lede-commits mailing list