ramips: dts: Unify naming of gpio-led nodes
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / HC5761.dts
1 /dts-v1/;
2
3 #include "HC5X61.dtsi"
4
5 / {
6 compatible = "hiwifi,hc5761", "hiwifi,hc5x61", "ralink,mt7620a-soc";
7 model = "HiWiFi HC5761";
8
9 aliases {
10 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_system: system {
20 label = "hc5761:blue:system";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
22 };
23
24 internet {
25 label = "hc5761:blue:internet";
26 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
27 };
28
29 wlan2g {
30 label = "hc5761:blue:wlan2g";
31 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
32 };
33
34 wlan5g {
35 label = "hc5761:blue:wlan5g";
36 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
37 };
38 };
39 };
40
41 &ehci {
42 status = "okay";
43 };
44
45 &ohci {
46 status = "okay";
47 };
48
49 &pcie {
50 status = "okay";
51 };
52
53 &pcie0 {
54 mt76@0,0 {
55 reg = <0x0000 0 0 0 0>;
56 mediatek,mtd-eeprom = <&factory 0x8000>;
57 ieee80211-freq-limit = <5000000 6000000>;
58 };
59 };