From 60f6c2b2eb21aefc49162cfc75fc94bdc6da0010 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 31 Jul 2017 18:02:40 +0200 Subject: [PATCH] ramips: drop Edimax BR-6425 support Code to build an image for the Edimax BR-6425 never existed. Signed-off-by: Mathias Kresin --- package/boot/uboot-envtools/files/ramips | 1 - .../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(-) delete mode 100644 target/linux/ramips/dts/BR-6425.dts diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips index fa80e95299b..70ba6a23bed 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 f6208fb3923..db6910cdfec 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 f5c0e835c01..ffd2abd0786 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 3efdeda5333..cb8031fd82d 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 1e13c97ada2..00000000000 --- a/target/linux/ramips/dts/BR-6425.dts +++ /dev/null @@ -1,73 +0,0 @@ -/dts-v1/; - -#include "rt3050.dtsi" - -#include - -/ { - compatible = "BR-6425", "ralink,rt3052-soc"; - model = "Edimax BR-6425"; - - cfi@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 = ; - }; - - rfkill { - label = "RFKILL switch"; - gpios = <&gpio0 13 1>; - linux,code = ; - }; - }; -}; - -&pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; - ralink,function = "gpio"; - }; - }; -}; - -ðernet { -/* mtd-mac-address = <&factory 0x4>; */ -}; - -&esw { - mediatek,portmap = <0x2f>; -}; - -&wmac { -/* ralink,mtd-eeprom = <&factory 0>; */ -}; -- 2.30.2