OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "linksys,re6500", "mediatek,mt7621-soc"; |
9 | compatible = "linksys,re6500", "mediatek,mt7621-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Linksys RE6500"; |
- | ||
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 = "Linksys RE6500"; |
|
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 | |
|
31 | wifi { |
24 | wifi { |
|
32 | label = "re6500:orange:wifi"; |
25 | label = "re6500:orange:wifi"; |
|
33 | gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
26 | gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
|
34 | }; |
27 | }; |
|
Line 35... | Line 28... | |||
35 | |
28 | |
|
36 | led_power: power { |
29 | power { |
|
- | 30 | label = "re6500:white:power"; |
||
- | 31 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
||
37 | label = "re6500:white:power"; |
32 | }; |
|
Line 38... | Line 33... | |||
38 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
33 | }; |
|
39 | }; |
34 | |
|
40 | }; |
35 | gpio-keys-polled { |
|
Line 59... | Line 54... | |||
59 | |
54 | |
|
60 | &spi0 { |
55 | &spi0 { |
|
Line 61... | Line 56... | |||
61 | status = "okay"; |
56 | status = "okay"; |
|
- | 57 | |
||
- | 58 | m25p80@0 { |
||
62 | |
59 | #address-cells = <1>; |
|
63 | m25p80@0 { |
60 | #size-cells = <1>; |
|
64 | compatible = "jedec,spi-nor"; |
61 | compatible = "jedec,spi-nor"; |
|
65 | reg = <0>; |
- | ||
66 | spi-max-frequency = <10000000>; |
- | ||
67 | |
- | ||
68 | partitions { |
- | ||
69 | compatible = "fixed-partitions"; |
62 | reg = <0>; |
|
Line 70... | Line 63... | |||
70 | #address-cells = <1>; |
63 | spi-max-frequency = <10000000>; |
|
71 | #size-cells = <1>; |
64 | m25p,chunked-io = <32>; |
|
72 | |
65 | |
|
73 | partition@0 { |
66 | partition@0 { |
|
Line 87... | Line 80... | |||
87 | reg = <0x40000 0x10000>; |
80 | reg = <0x40000 0x10000>; |
|
88 | read-only; |
81 | read-only; |
|
89 | }; |
82 | }; |
|
Line 90... | Line 83... | |||
90 | |
83 | |
|
91 | partition@50000 { |
- | ||
92 | compatible = "denx,uimage"; |
84 | partition@50000 { |
|
93 | label = "firmware"; |
85 | label = "firmware"; |
|
94 | reg = <0x50000 0x7b0000>; |
86 | reg = <0x50000 0x7b0000>; |
|
95 | }; |
87 | }; |
|
96 | }; |
88 | }; |
|
97 | }; |
- | ||
Line 98... | Line 89... | |||
98 | }; |
89 | }; |
|
99 | |
90 | |
|
100 | &pinctrl { |
91 | &pinctrl { |
|
101 | state_default: pinctrl0 { |
92 | state_default: pinctrl0 { |
|
Line 106... | Line 97... | |||
106 | }; |
97 | }; |
|
107 | }; |
98 | }; |
|
Line 108... | Line 99... | |||
108 | |
99 | |
|
109 | &pcie { |
100 | &pcie { |
|
110 | status = "okay"; |
- | ||
Line 111... | Line 101... | |||
111 | }; |
101 | status = "okay"; |
|
112 | |
102 | |
|
113 | &pcie0 { |
103 | pcie0 { |
|
- | 104 | mt76@0,0 { |
||
114 | mt76@0,0 { |
105 | reg = <0x0000 0 0 0 0>; |
|
115 | reg = <0x0000 0 0 0 0>; |
106 | device_type = "pci"; |
|
116 | mediatek,mtd-eeprom = <&factory 0x0000>; |
107 | mediatek,mtd-eeprom = <&factory 0x0000>; |
|
117 | ieee80211-freq-limit = <5000000 6000000>; |
108 | ieee80211-freq-limit = <5000000 6000000>; |
|
Line 118... | Line 109... | |||
118 | }; |
109 | }; |
|
119 | }; |
110 | }; |
|
120 | |
111 | |
|
- | 112 | pcie1 { |
||
121 | &pcie1 { |
113 | mt76@1,0 { |
|
122 | mt76@0,0 { |
114 | reg = <0x0000 0 0 0 0>; |
|
123 | reg = <0x0000 0 0 0 0>; |
115 | device_type = "pci"; |
|
124 | mediatek,mtd-eeprom = <&factory 0x8000>; |
116 | mediatek,mtd-eeprom = <&factory 0x8000>; |
|
- | 117 | ieee80211-freq-limit = <2400000 2500000>; |
||
Line 125... | Line 118... | |||
125 | ieee80211-freq-limit = <2400000 2500000>; |
118 | }; |
|
126 | }; |
119 | }; |
|
127 | }; |
120 | }; |