aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_dlink_dir-882-a1.dts
diff options
context:
space:
mode:
authorAndrew Pikler <andrew.pikler@gmail.com>2020-10-05 17:16:44 +0300
committerPetr Štetiar <ynezz@true.cz>2020-12-22 19:11:50 +0100
commit28262f815e4d0fe5302babc696ed5ce518b33759 (patch)
tree2d0cff9a36ae80ae550d363c0f2ff63dc9b9eeee /target/linux/ramips/dts/mt7621_dlink_dir-882-a1.dts
parent40437b18f41918d7bbbb7da986b8842bf82f9ff0 (diff)
downloadupstream-28262f815e4d0fe5302babc696ed5ce518b33759.tar.gz
upstream-28262f815e4d0fe5302babc696ed5ce518b33759.tar.bz2
upstream-28262f815e4d0fe5302babc696ed5ce518b33759.zip
ramips: add support for D-Link DIR-882 R1
Specifications: - SoC: MediaTek MT7621AT - RAM: 128 MB (DDR3) - Flash: 16 MB (SPI NOR) - WiFi: MediaTek MT7615N (x2) - Switch: 1 WAN, 4 LAN (Gigabit) - Ports: 1 USB 2.0, 1 USB 3.0 - Buttons: Reset, WiFi Toggle, WPS - LEDs: Power, Internet, WiFi 2.4G WiFi 5G, USB 2.0, USB 3.0 The R1 revision is identical to the A1 revision except - No Config2 Parition, therefore - factory partition resized to 64k from 128K - Firmware partition offset is 0x50000 not 0x60000 - Firmware partitions size increased by 64K - Firmware partition type is "denx,uimage", not "sge,uimage" - Padding of image creation "uimage-padhdr 96" removed Installation: - Older firmware versions: put the factory image on a USB stick, turn on the telnet console, and flash using the following cmd "fw_updater Linux /mnt/usb_X_X/firmware.bin" - D-Link FailsafeUI: Power down the router, press and hold the reset button, then re-plug it. Keep the reset button pressed until the internet LED stops flashing, then jack into any lan port and manually assign a static IP address in 192.168.0.0/24 other than 192.168.0.0 (e.g. 192.168.0.2) and go to http://192.168.0.1 Flash with the factory image. Signed-off-by: Andrew Pikler <andrew.pikler@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_dlink_dir-882-a1.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_dlink_dir-882-a1.dts17
1 files changed, 1 insertions, 16 deletions
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-882-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-882-a1.dts
index bc2c6dfe86..cef0705393 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dir-882-a1.dts
+++ b/target/linux/ramips/dts/mt7621_dlink_dir-882-a1.dts
@@ -1,24 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7621_dlink_dir-8xx-a1.dtsi"
+#include "mt7621_dlink_dir-882-x1.dtsi"
/ {
compatible = "dlink,dir-882-a1", "mediatek,mt7621-soc";
model = "D-Link DIR-882 A1";
};
-
-&leds {
- usb2 {
- label = "green:usb2";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- trigger-sources = <&ehci_port2>;
- linux,default-trigger = "usbport";
- };
-
- usb3 {
- label = "green:usb3";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- trigger-sources = <&xhci_ehci_port1>;
- linux,default-trigger = "usbport";
- };
-};