OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "tplink,tl-wr902ac-v3", "mediatek,mt7628an-soc"; |
9 | compatible = "tplink,tl-wr902ac-v3", "mediatek,mt7628an-soc"; |
|
Line 10... | Line 10... | |||
10 | model = "TP-Link TL-WR902AC v3"; |
10 | model = "TP-Link TL-WR902AC 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 43... | Line 38... | |||
43 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
38 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
|
44 | linux,code = <KEY_WPS_BUTTON>; |
39 | linux,code = <KEY_WPS_BUTTON>; |
|
45 | }; |
40 | }; |
|
46 | }; |
41 | }; |
|
Line 47... | Line 42... | |||
47 | |
42 | |
|
48 | leds { |
43 | gpio-leds { |
|
Line 49... | Line 44... | |||
49 | compatible = "gpio-leds"; |
44 | compatible = "gpio-leds"; |
|
50 | |
45 | |
|
51 | lan { |
46 | lan { |
|
52 | label = "tl-wr902ac-v3:green:lan"; |
47 | label = "tl-wr902ac-v3:green:lan"; |
|
Line 53... | Line 48... | |||
53 | gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; |
48 | gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; |
|
54 | }; |
49 | }; |
|
55 | |
50 | |
|
56 | led_power: power { |
51 | power { |
|
Line 57... | Line 52... | |||
57 | label = "tl-wr902ac-v3:green:power"; |
52 | label = "tl-wr902ac-v3:green:power"; |
|
58 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
53 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
|
59 | }; |
54 | }; |
|
60 | |
- | ||
61 | usb { |
- | ||
62 | label = "tl-wr902ac-v3:green:usb"; |
55 | |
|
Line 63... | Line 56... | |||
63 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
56 | usb { |
|
64 | trigger-sources = <&ohci_port1>, <&ehci_port1>; |
57 | label = "tl-wr902ac-v3:green:usb"; |
|
65 | linux,default-trigger = "usbport"; |
58 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
|
Line 99... | Line 92... | |||
99 | status = "okay"; |
92 | status = "okay"; |
|
100 | }; |
93 | }; |
|
Line 101... | Line 94... | |||
101 | |
94 | |
|
102 | &pcie { |
95 | &pcie { |
|
103 | status = "okay"; |
- | ||
Line 104... | Line 96... | |||
104 | }; |
96 | status = "okay"; |
|
105 | |
97 | |
|
106 | &pcie0 { |
98 | pcie-bridge { |
|
- | 99 | mt76@1,0 { |
||
107 | mt76@0,0 { |
100 | reg = <0x0000 0 0 0 0>; |
|
108 | reg = <0x0000 0 0 0 0>; |
101 | device_type = "pci"; |
|
109 | mediatek,mtd-eeprom = <&factory 0x28000>; |
102 | mediatek,mtd-eeprom = <&factory 0x28000>; |
|
110 | ieee80211-freq-limit = <5000000 6000000>; |
103 | ieee80211-freq-limit = <5000000 6000000>; |
|
- | 104 | mtd-mac-address = <&factory 0xf100>; |
||
111 | mtd-mac-address = <&factory 0xf100>; |
105 | mtd-mac-address-increment = <(-1)>; |
|
112 | mtd-mac-address-increment = <(-1)>; |
106 | }; |