OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "tplink,c50-v3", "mediatek,mt7628an-soc"; |
9 | compatible = "tplink,c50-v3", "mediatek,mt7628an-soc"; |
|
Line 10... | Line 10... | |||
10 | model = "TP-Link Archer C50 v3"; |
10 | model = "TP-Link Archer C50 v3"; |
|
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_power; |
- | ||
14 | led-failsafe = &led_power; |
- | ||
15 | led-running = &led_power; |
- | ||
16 | led-upgrade = &led_power; |
- | ||
17 | }; |
- | ||
18 | |
11 | |
|
- | 12 | gpio-keys-polled { |
||
- | 13 | compatible = "gpio-keys-polled"; |
||
19 | keys { |
14 | #address-cells = <1>; |
|
Line 20... | Line 15... | |||
20 | compatible = "gpio-keys-polled"; |
15 | #size-cells = <0>; |
|
21 | poll-interval = <20>; |
16 | poll-interval = <20>; |
|
22 | |
17 | |
|
Line 31... | Line 26... | |||
31 | gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; |
26 | gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; |
|
32 | linux,code = <KEY_RFKILL>; |
27 | linux,code = <KEY_RFKILL>; |
|
33 | }; |
28 | }; |
|
34 | }; |
29 | }; |
|
Line 35... | Line 30... | |||
35 | |
30 | |
|
36 | leds { |
31 | gpio-leds { |
|
Line 37... | Line 32... | |||
37 | compatible = "gpio-leds"; |
32 | compatible = "gpio-leds"; |
|
38 | |
33 | |
|
39 | lan { |
34 | lan { |
|
40 | label = "c50-v3:green:lan"; |
35 | label = "c50-v3:green:lan"; |
|
Line 41... | Line 36... | |||
41 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
36 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
|
42 | }; |
37 | }; |
|
43 | |
38 | |
|
44 | led_power: power { |
39 | power { |
|
Line 45... | Line 40... | |||
45 | label = "c50-v3:green:power"; |
40 | label = "c50-v3:green:power"; |
|
Line 83... | Line 78... | |||
83 | }; |
78 | }; |
|
84 | }; |
79 | }; |
|
Line 85... | Line 80... | |||
85 | |
80 | |
|
86 | &pcie { |
81 | &pcie { |
|
87 | status = "okay"; |
- | ||
Line 88... | Line 82... | |||
88 | }; |
82 | status = "okay"; |
|
89 | |
83 | |
|
90 | &pcie0 { |
84 | pcie-bridge { |
|
- | 85 | mt76@0,0 { |
||
91 | mt76@0,0 { |
86 | reg = <0x0000 0 0 0 0>; |
|
92 | reg = <0x0000 0 0 0 0>; |
87 | device_type = "pci"; |
|
93 | mediatek,mtd-eeprom = <&factory 0x28000>; |
88 | mediatek,mtd-eeprom = <&factory 0x28000>; |
|
94 | ieee80211-freq-limit = <5000000 6000000>; |
89 | ieee80211-freq-limit = <5000000 6000000>; |
|
- | 90 | mtd-mac-address = <&factory 0xf100>; |
||
95 | mtd-mac-address = <&factory 0xf100>; |
91 | mtd-mac-address-increment = <(-1)>; |
|
96 | mtd-mac-address-increment = <(-1)>; |
92 | }; |