ramips: add HC5X61A.dtsi for HiWiFi MT7628AN boards
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / mt7628an_hiwifi_hc5861b.dts
1 /dts-v1/;
2
3 #include "mt7628an_hiwifi_hc5x61a.dtsi"
4
5 / {
6 compatible = "hiwifi,hc5861b", "mediatek,mt7628an-soc";
7 model = "HiWiFi HC5861B";
8
9 leds {
10 compatible = "gpio-leds";
11
12 led_system: system {
13 label = "hc5861b:green:system";
14 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
15 };
16
17 wlan2g {
18 label = "hc5861b:green:wlan2g";
19 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
20 };
21 };
22 };
23
24 &pinctrl {
25 state_default: pinctrl0 {
26 gpio {
27 ralink,group = "refclk", "wdt", "wled_an";
28 ralink,function = "gpio";
29 };
30 };
31 };
32
33 &pcie {
34 status = "okay";
35 };
36
37 &pcie0 {
38 wifi@0,0 {
39 reg = <0x0000 0 0 0 0>;
40 mediatek,mtd-eeprom = <&factory 0x8000>;
41 mtd-mac-address = <&factory 0x2e>;
42 ieee80211-freq-limit = <5000000 6000000>;
43
44 led {
45 led-sources = <2>;
46 led-active-low;
47 };
48 };
49 };