OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 41... | Line 41... | |||
41 | |
41 | |
|
42 | chosen { |
42 | chosen { |
|
43 | bootargs = "console=ttyS0,115200"; |
43 | bootargs = "console=ttyS0,115200"; |
|
Line 44... | Line 44... | |||
44 | }; |
44 | }; |
|
45 | |
45 | |
|
46 | leds { |
46 | gpio-leds { |
|
47 | compatible = "gpio-leds"; |
47 | compatible = "gpio-leds"; |
|
48 | lan { |
48 | lan { |
|
49 | label = "we1026-5g:green:lan"; |
49 | label = "we1026-5g:green:lan"; |
|
Line 50... | Line 50... | |||
50 | gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; |
50 | gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; |
|
51 | }; |
51 | }; |
|
52 | |
52 | |
|
53 | usb { |
- | ||
54 | label = "we1026-5g:green:usb"; |
- | ||
55 | gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; |
53 | usb { |
|
Line 56... | Line 54... | |||
56 | trigger-sources = <&ohci_port1>, <&ehci_port1>; |
54 | label = "we1026-5g:green:usb"; |
|
57 | linux,default-trigger = "usbport"; |
55 | gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; |
|
58 | }; |
56 | }; |
|
59 | |
57 | |
|
60 | wifi { |
58 | wifi { |
|
Line 61... | Line 59... | |||
61 | label = "we1026-5g:green:wifi"; |
59 | label = "we1026-5g:green:wifi"; |
|
62 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
60 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
|
- | 61 | }; |
||
- | 62 | }; |
||
63 | }; |
63 | |
|
64 | }; |
64 | gpio-keys-polled { |
|
65 | |
65 | compatible = "gpio-keys-polled"; |
|
66 | keys { |
66 | #address-cells = <1>; |
|
67 | compatible = "gpio-keys-polled"; |
67 | #size-cells = <0>; |
|
Line 111... | Line 111... | |||
111 | }; |
111 | }; |
|
112 | }; |
112 | }; |
|
Line 113... | Line 113... | |||
113 | |
113 | |
|
114 | &pcie { |
114 | &pcie { |
|
115 | status = "okay"; |
- | ||
116 | }; |
- | ||
117 | |
115 | status = "okay"; |
|
118 | &pcie0 { |
116 | pcie-bridge { |
|
119 | wifi@0,0 { |
117 | wifi@14c3,7662 { |
|
120 | compatible = "pci14c3,7662"; |
118 | compatible = "pci14c3,7662"; |
|
121 | reg = <0x0000 0 0 0 0>; |
119 | reg = <0x0000 0 0 0 0>; |
|
122 | mediatek,mtd-eeprom = <&factory 0x8000>; |
120 | mediatek,mtd-eeprom = <&factory 0x8000>; |
|
- | 121 | ieee80211-freq-limit = <5000000 6000000>; |
||
123 | ieee80211-freq-limit = <5000000 6000000>; |
122 | }; |
|
124 | }; |
123 | }; |