openwrt/target/linux/ramips/dts/mt7628an_hiwifi_hc5661a.dts
DENG Qingfang 9852859e77 ramips: improve support for HiWiFi HC5661A and HC5861B
HC5661A:
- Fix pinctrl
- Fix image size (15808k)
- Use switch trigger for WAN LED

Both:
- Use tpt LED trigger for wireless
- Explicitly disable USB nodes

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-08-08 21:02:03 +08:00

46 lines
722 B
Plaintext

/dts-v1/;
#include "mt7628an_hiwifi_hc5x61a.dtsi"
/ {
compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc";
model = "HiWiFi HC5661A";
leds {
compatible = "gpio-leds";
led_system: system {
label = "hc5661a:blue:system";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
};
internet {
label = "hc5661a:blue:internet";
gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
};
wlan2g {
label = "hc5661a:blue:wlan2g";
gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
};
};
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "refclk", "wdt", "wled_an";
ralink,function = "gpio";
};
};
};
&ehci {
status = "disabled";
};
&ohci {
status = "disabled";
};