OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "TPLINK-8M.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "tplink,c50-v3", "mediatek,mt7628an-soc"; |
||
10 | model = "TP-Link Archer C50 v3"; |
||
11 | |||
3 | office | 12 | gpio-keys-polled { |
1 | office | 13 | compatible = "gpio-keys-polled"; |
3 | office | 14 | #address-cells = <1>; |
15 | #size-cells = <0>; |
||
1 | office | 16 | poll-interval = <20>; |
17 | |||
18 | reset { |
||
19 | label = "reset"; |
||
20 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
||
21 | linux,code = <KEY_RESTART>; |
||
22 | }; |
||
23 | |||
24 | rfkill { |
||
25 | label = "rfkill"; |
||
26 | gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; |
||
27 | linux,code = <KEY_RFKILL>; |
||
28 | }; |
||
29 | }; |
||
30 | |||
3 | office | 31 | gpio-leds { |
1 | office | 32 | compatible = "gpio-leds"; |
33 | |||
34 | lan { |
||
35 | label = "c50-v3:green:lan"; |
||
36 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
||
37 | }; |
||
38 | |||
3 | office | 39 | power { |
1 | office | 40 | label = "c50-v3:green:power"; |
41 | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
||
42 | }; |
||
43 | |||
44 | wan { |
||
45 | label = "c50-v3:green:wan"; |
||
46 | gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; |
||
47 | }; |
||
48 | |||
49 | wan_orange { |
||
50 | label = "c50-v3:orange:wan"; |
||
51 | gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; |
||
52 | }; |
||
53 | |||
54 | wlan { |
||
55 | label = "c50-v3:green:wlan2g"; |
||
56 | gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; |
||
57 | }; |
||
58 | |||
59 | wlan5 { |
||
60 | label = "c50-v3:green:wlan5g"; |
||
61 | gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; |
||
62 | }; |
||
63 | |||
64 | wps { |
||
65 | label = "c50-v3:green:wps"; |
||
66 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
||
67 | }; |
||
68 | }; |
||
69 | }; |
||
70 | |||
71 | &pinctrl { |
||
72 | state_default: pinctrl0 { |
||
73 | gpio { |
||
74 | ralink,group = "i2c", "gpio", "p0led_an", "p1led_an", "p2led_an", |
||
75 | "p3led_an", "p4led_an", "wdt", "wled_an"; |
||
76 | ralink,function = "gpio"; |
||
77 | }; |
||
78 | }; |
||
79 | }; |
||
80 | |||
81 | &pcie { |
||
82 | status = "okay"; |
||
83 | |||
3 | office | 84 | pcie-bridge { |
85 | mt76@0,0 { |
||
86 | reg = <0x0000 0 0 0 0>; |
||
87 | device_type = "pci"; |
||
88 | mediatek,mtd-eeprom = <&factory 0x28000>; |
||
89 | ieee80211-freq-limit = <5000000 6000000>; |
||
90 | mtd-mac-address = <&factory 0xf100>; |
||
91 | mtd-mac-address-increment = <(-1)>; |
||
92 | }; |
||
1 | office | 93 | }; |
94 | }; |