tools/patchelf: update to 0.18.0
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / mt7628an_tplink_re305.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7628an.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 label-mac-device = &ethernet;
15 };
16
17 keys {
18 compatible = "gpio-keys";
19
20 reset {
21 label = "reset";
22 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 };
25
26 wps {
27 label = "wps";
28 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
30 };
31 };
32
33 leds {
34 compatible = "gpio-leds";
35
36 led_power: power {
37 label = "blue:power";
38 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
39 };
40
41 wlan2g {
42 label = "blue:wlan2g";
43 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
45 };
46
47 wlan5g {
48 label = "blue:wlan5g";
49 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy1tpt";
51 };
52
53 rssi1 {
54 label = "red:rssi";
55 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
56 };
57
58 rssi2 {
59 label = "blue:rssi";
60 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
61 };
62 };
63 };
64
65 &state_default {
66 gpio {
67 groups = "refclk", "wdt", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an";
68 function = "gpio";
69 };
70 };
71
72 &pcie {
73 status = "okay";
74 };
75
76 &pcie0 {
77 wlan5g: mt76@0,0 {
78 compatible = "mediatek,mt76";
79 reg = <0x0000 0 0 0 0>;
80 ieee80211-freq-limit = <5000000 6000000>;
81 };
82 };
83
84 &wmac {
85 status = "okay";
86 };