OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "tplink,re350-v1", "mediatek,mt7621-soc"; |
9 | compatible = "tplink,re350-v1", "mediatek,mt7621-soc"; |
|
Line 10... | Line -... | |||
10 | model = "TP-LINK RE350 v1"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_power; |
- | ||
14 | led-failsafe = &led_power; |
- | ||
15 | led-running = &led_power; |
- | ||
16 | led-upgrade = &led_power; |
- | ||
17 | }; |
10 | model = "TP-LINK RE350 v1"; |
|
18 | |
11 | |
|
19 | memory@0 { |
12 | memory@0 { |
|
20 | device_type = "memory"; |
13 | device_type = "memory"; |
|
Line 21... | Line 14... | |||
21 | reg = <0x0 0x4000000>; |
14 | reg = <0x0 0x4000000>; |
|
22 | }; |
15 | }; |
|
23 | |
16 | |
|
Line 24... | Line 17... | |||
24 | chosen { |
17 | chosen { |
|
25 | bootargs = "console=ttyS0,57600"; |
18 | bootargs = "console=ttyS0,57600"; |
|
Line 26... | Line 19... | |||
26 | }; |
19 | }; |
|
27 | |
20 | |
|
28 | leds { |
21 | gpio-leds { |
|
29 | compatible = "gpio-leds"; |
22 | compatible = "gpio-leds"; |
|
Line 30... | Line 23... | |||
30 | |
23 | |
|
Line 62... | Line 55... | |||
62 | label = "re350-v1:green:eth_link"; |
55 | label = "re350-v1:green:eth_link"; |
|
63 | gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; |
56 | gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; |
|
64 | }; |
57 | }; |
|
65 | }; |
58 | }; |
|
Line 66... | Line 59... | |||
66 | |
59 | |
|
67 | keys { |
60 | gpio-keys-polled { |
|
- | 61 | compatible = "gpio-keys-polled"; |
||
- | 62 | #address-cells = <1>; |
||
68 | compatible = "gpio-keys-polled"; |
63 | #size-cells = <0>; |
|
Line 69... | Line 64... | |||
69 | poll-interval = <20>; |
64 | poll-interval = <20>; |
|
70 | |
65 | |
|
71 | led { |
66 | led { |
|
Line 96... | Line 91... | |||
96 | |
91 | |
|
97 | &spi0 { |
92 | &spi0 { |
|
Line 98... | Line 93... | |||
98 | status = "okay"; |
93 | status = "okay"; |
|
- | 94 | |
||
- | 95 | w25q64@0 { |
||
99 | |
96 | #address-cells = <1>; |
|
100 | w25q64@0 { |
97 | #size-cells = <1>; |
|
101 | compatible = "jedec,spi-nor"; |
98 | compatible = "jedec,spi-nor"; |
|
- | 99 | reg = <0>; |
||
- | 100 | spi-max-frequency = <10000000>; |
||
- | 101 | m25p,chunked-io = <32>; |
||
- | 102 | |
||
- | 103 | partition@0 { |
||
- | 104 | label = "u-boot"; |
||
- | 105 | reg = <0x0 0x20000>; |
||
- | 106 | read-only; |
||
- | 107 | }; |
||
- | 108 | |
||
- | 109 | partition@20000 { |
||
- | 110 | label = "firmware"; |
||
Line 102... | Line -... | |||
102 | reg = <0>; |
- | ||
103 | spi-max-frequency = <10000000>; |
- | ||
104 | |
- | ||
105 | partitions { |
- | ||
106 | compatible = "fixed-partitions"; |
- | ||
107 | #address-cells = <1>; |
- | ||
108 | #size-cells = <1>; |
- | ||
109 | |
- | ||
110 | partition@0 { |
- | ||
111 | label = "u-boot"; |
- | ||
112 | reg = <0x0 0x20000>; |
- | ||
113 | read-only; |
- | ||
114 | }; |
- | ||
115 | |
- | ||
116 | partition@20000 { |
- | ||
117 | compatible = "tplink,firmware"; |
- | ||
118 | label = "firmware"; |
- | ||
119 | reg = <0x20000 0x5e0000>; |
111 | reg = <0x20000 0x5e0000>; |
|
120 | }; |
112 | }; |
|
121 | |
113 | |
|
122 | config: partition@600000 { |
114 | config: partition@600000 { |
|
123 | label = "config"; |
115 | label = "config"; |
|
124 | reg = <0x600000 0x50000>; |
116 | reg = <0x600000 0x50000>; |
|
125 | read-only; |
117 | read-only; |
|
126 | }; |
118 | }; |
|
127 | |
119 | |
|
128 | radio: partition@7f0000 { |
120 | radio: partition@7f0000 { |
|
129 | label = "radio"; |
- | ||
130 | reg = <0x7f0000 0x10000>; |
121 | label = "radio"; |
|
131 | read-only; |
122 | reg = <0x7f0000 0x10000>; |
|
132 | }; |
123 | read-only; |
|
Line 133... | Line 124... | |||
133 | }; |
124 | }; |
|
134 | }; |
125 | }; |
|
135 | }; |
- | ||
Line 136... | Line 126... | |||
136 | |
126 | }; |
|
137 | &pcie { |
127 | |
|
138 | status = "okay"; |
128 | &pcie { |
|
- | 129 | status = "okay"; |
||
139 | }; |
130 | |
|
140 | |
131 | pcie0 { |
|
141 | &pcie0 { |
132 | mt76@0,0 { |
|
- | 133 | reg = <0x0000 0 0 0 0>; |
||
142 | mt76@0,0 { |
134 | device_type = "pci"; |
|
143 | reg = <0x0000 0 0 0 0>; |
- | ||
Line 144... | Line 135... | |||
144 | mediatek,mtd-eeprom = <&radio 0>; |
135 | mediatek,mtd-eeprom = <&radio 0>; |
|
145 | mtd-mac-address = <&config 0x10008>; |
136 | mtd-mac-address = <&config 0x10008>; |
|
146 | mtd-mac-address-increment = <1>; |
137 | mtd-mac-address-increment = <1>; |
|
- | 138 | }; |
||
147 | }; |
139 | }; |
|
148 | }; |
140 | |
|
149 | |
141 | pcie1 { |
|
150 | &pcie1 { |
142 | mt76@1,0 { |
|
- | 143 | reg = <0x0000 0 0 0 0>; |
||
151 | mt76@0,0 { |
144 | device_type = "pci"; |
|
152 | reg = <0x0000 0 0 0 0>; |
145 | mediatek,mtd-eeprom = <&radio 0x8000>; |
|
Line 153... | Line 146... | |||
153 | mediatek,mtd-eeprom = <&radio 0x8000>; |
146 | ieee80211-freq-limit = <5000000 6000000>; |
|
154 | ieee80211-freq-limit = <5000000 6000000>; |
147 | mtd-mac-address = <&config 0x10008>; |