openwrt/target/linux/ramips/dts/mt7628an_hiwifi_hc5661a.dts
Adrian Schmutzler e4ce3109f2 ramips: simplify state_default/pinctrl0 in device DTS files
The node pinctrl0 is already set up in the SOC DTSI files, but
defined again as member of pinctrl in most of the device DTS(I)
files. This patch removes this redundancy for the entire ramips
target.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-23 02:24:55 +01:00

44 lines
693 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";
};
};
};
&state_default {
gpio {
ralink,group = "i2c", "refclk", "wdt", "wled_an";
ralink,function = "gpio";
};
};
&ehci {
status = "disabled";
};
&ohci {
status = "disabled";
};