openwrt/target/linux/ramips/dts/mt7620a_edimax_ew-7476rpc.dts
Adrian Schmutzler 48047b3a5c ramips/mt7620: Name DTS files based on scheme
As introduced with ath79, DTS files for ramips will now be labelled
soc_vendor_device.dts(i). With this change, DTS files can be
selected automatically without further manual links.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-10 17:36:29 +02:00

48 lines
891 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
#include "mt7620a_edimax_ew-747x.dtsi"
/ {
compatible = "edimax,ew-7476rpc", "ralink,mt7620a-soc";
model = "Edimax EW-7476RPC";
leds {
compatible = "gpio-leds";
led_power: power {
label = "ew-7476rpc:green:power";
gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
};
lan {
label = "ew-7476rpc:green:lan";
gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
};
wlan2g {
label = "ew-7476rpc:blue:wlan2g";
gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1radio";
};
wlan5g {
label = "ew-7476rpc:blue:wlan5g";
gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio";
};
wps {
label = "ew-7476rpc:green:wps";
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
};
crossband {
label = "ew-7476rpc:green:crossband";
gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
};
};
};