aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_edimax_ew-7478ac.dts
diff options
context:
space:
mode:
authorDaniel Fuchs <software@sagacioussuricata.com>2022-10-25 01:13:30 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-13 22:36:06 +0100
commit794d1645b3d4e6735b4a749f39cfeaa05f60b101 (patch)
tree1a36663c2dbf9cd5d62015524db9a4eb1977d0c4 /target/linux/ramips/dts/mt7620a_edimax_ew-7478ac.dts
parent0cfd15552e335528743f1fcc4961959126788bf5 (diff)
downloadupstream-794d1645b3d4e6735b4a749f39cfeaa05f60b101.tar.gz
upstream-794d1645b3d4e6735b4a749f39cfeaa05f60b101.tar.bz2
upstream-794d1645b3d4e6735b4a749f39cfeaa05f60b101.zip
ramips: add support for Amped Wireless B1200EX
This device is almost identical to the already supported Edimax EW-7476RP5, the only differences are: - There is no mode selection slider switch on this device - The two wireless LEDs are green instead of blue - Model name in the CSYS header is RN10 Additional changes: - Moved WiFi LEDs and the slider switch to the individual dt files - Added ieee80211-freq-limit to the mt7612e radio to properly disable 2.4GHz band on this radio Device specifications: SoC: MediaTek MT7620a @ 580MHz RAM: 64M (Winbond W9751G6KB-25) FLASH: 8MB (Macronix) WiFi: SoC-integrated: MediaTek MT7620a bgn WiFi: MediaTek MT7612EN nac GbE: 1x (RTL8211E) BTN: WPS/RESET LED: - WiFi 5G (green) - WiFi 2.4G (green) - Signal Strength (green) - Power (green) - WPS (green) - LAN (green) UART: UART is present as Pads with throughholes on the PCB. They are located next to the WPS button 3.3V - RX - GND - TX / 57600-8N1 3.3V is the square pad Installation: Upload the sysupgrade image via the default web interface Signed-off-by: Daniel Fuchs <software@sagacioussuricata.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_edimax_ew-7478ac.dts')
-rw-r--r--target/linux/ramips/dts/mt7620a_edimax_ew-7478ac.dts35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620a_edimax_ew-7478ac.dts b/target/linux/ramips/dts/mt7620a_edimax_ew-7478ac.dts
index a0fa2e3da8..97da9cda4b 100644
--- a/target/linux/ramips/dts/mt7620a_edimax_ew-7478ac.dts
+++ b/target/linux/ramips/dts/mt7620a_edimax_ew-7478ac.dts
@@ -5,4 +5,39 @@
/ {
compatible = "edimax,ew-7478ac", "ralink,mt7620a-soc";
model = "Edimax EW-7478AC";
+
+ keys {
+ switch_high {
+ label = "switch high";
+ gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
+ linux,code = <BTN_0>;
+ linux,input-type = <EV_SW>;
+ };
+
+ switch_off {
+ label = "switch off";
+ gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
+ linux,code = <BTN_1>;
+ linux,input-type = <EV_SW>;
+ };
+ };
+
+ leds {
+ wlan2g {
+ label = "blue:wlan2g";
+ gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy1radio";
+ };
+
+ wlan5g {
+ label = "blue:wlan5g";
+ gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0radio";
+ };
+
+ crossband {
+ label = "green:crossband";
+ gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
+ };
+ };
};