9ad32000e2a51f3829558fda65df5dcb393bbb59
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7620a_hiwifi_hc5761.dts
1 #include "mt7620a_hiwifi_hc5x61.dtsi"
2
3 / {
4 compatible = "hiwifi,hc5761", "hiwifi,hc5x61", "ralink,mt7620a-soc";
5 model = "HiWiFi HC5761";
6
7 aliases {
8 led-boot = &led_system;
9 led-failsafe = &led_system;
10 led-running = &led_system;
11 led-upgrade = &led_system;
12 };
13
14 leds {
15 compatible = "gpio-leds";
16
17 led_system: system {
18 label = "hc5761:blue:system";
19 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
20 };
21
22 internet {
23 label = "hc5761:blue:internet";
24 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
25 };
26
27 wlan2g {
28 label = "hc5761:blue:wlan2g";
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "phy1tpt";
31 };
32
33 wlan5g {
34 label = "hc5761:blue:wlan5g";
35 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy0tpt";
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 };