diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2022-02-18 00:23:45 +0100 |
---|---|---|
committer | Sungbo Eo <mans0n@gorani.run> | 2022-03-16 22:31:14 +0900 |
commit | be89c9eec4c28123b61ed020ad5b8b02905e73af (patch) | |
tree | 151238921999186e45c5f8e8cb6efbf7aa381881 /target/linux/ramips/dts/mt7620a_dlink_dwr-961-a1.dts | |
parent | 832b90216f5d9f5c825d7c89609fde9508d48d57 (diff) | |
download | upstream-be89c9eec4c28123b61ed020ad5b8b02905e73af.tar.gz upstream-be89c9eec4c28123b61ed020ad5b8b02905e73af.tar.bz2 upstream-be89c9eec4c28123b61ed020ad5b8b02905e73af.zip |
ramips: mt7620: Add support for D-Link DWR-961 A1
The DWR-961 A1 Wireless Router is based on the MT7620A SoC.
It's a merge of two Amit boards: DWR-960 with ethernet part
of Lava LR-25G001.
ROMID it's taken from Telenor branded version and it works with tested
device. Images from D-Link site for this router are from DWR-953 and it
have ROMID DLK6E2424001. I don't know if it's mistake on web-site
or if it's will require different image.
Specification:
- MediaTek MT7620A (580 Mhz)
- 128 MB of RAM
- 16 MB of FLASH
- 1x 802.11bgn radio
- 1x 802.11ac radio (MT7612 mpcie card)
- 5x 10/100/1000 Mbps Ethernet: 4xLAN and 1xWAN (QCA8337)
- 2x internal, non-detachable antennas (Wifi 2.4G)
- 3x external, detachable antennas (2x LTE, 1x Wifi 5G)
- 1x LTE modem cat 6
- UART (J5) header on PCB (57600 8n1)
- 13x LED, 2x button
- JBOOT bootloader
Installation:
Apply factory image via http web-gui or JBOOT recovery page
How to revert to OEM firmware:
- push the reset button and turn on the power. Wait until LED start
blinking (~10sec.)
- upload original factory image via JBOOT http (IP: 192.168.123.254)
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_dlink_dwr-961-a1.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_dlink_dwr-961-a1.dts | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620a_dlink_dwr-961-a1.dts b/target/linux/ramips/dts/mt7620a_dlink_dwr-961-a1.dts new file mode 100644 index 0000000000..7eae666668 --- /dev/null +++ b/target/linux/ramips/dts/mt7620a_dlink_dwr-961-a1.dts @@ -0,0 +1,62 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * D-Link DWR-961 A1 Board Description + * Copyright 2022 Pawel Dembicki <paweldembicki@gmail.com> + */ +#include "mt7620a_dlink_dwr-96x.dtsi" + +/ { + compatible = "dlink,dwr-961-a1", "ralink,mt7620a-soc"; + model = "D-Link DWR-961 A1"; + + leds { + hidden-1 { /* hidden next to wlan5g led */ + label = "green:hidden-1"; + gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; + }; + + hidden-2 { /* hidden next to sms led*/ + label = "green:hidden-2"; + gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; + }; + }; +}; + +ðernet { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii1_pins &mdio_pins>; + + port@5 { + status = "okay"; + phy-mode = "rgmii"; + mediatek,fixed-link = <1000 1 1 1>; + }; + + mdio-bus { + status = "okay"; + + ethernet-phy@0 { + reg = <0>; + phy-mode = "rgmii"; + qca,ar8327-initvals = < + 0x04 0x87300000 /* PORT0 PAD MODE CTRL */ + 0x0c 0x00000000 /* PORT6 PAD MODE CTRL */ + 0x7c 0x0000007e /* PORT0_STATUS */ + 0x80 0x00001200 /* PORT1_STATUS */ + 0x84 0x00001200 /* PORT2_STATUS */ + 0x88 0x00001200 /* PORT3_STATUS */ + 0x8c 0x00001200 /* PORT4_STATUS */ + 0x90 0x00001200 /* PORT5_STATUS */ + 0x94 0x00000000 /* PORT6_STATUS */ + >; + }; + }; +}; + +&gsw { + mediatek,ephy-base = /bits/ 8 <8>; +}; + +&wifi { + mediatek,mtd-eeprom = <&config 0xe29e>; +}; |