OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "sitecom,wlr-6000", "ralink,rt3883-soc"; |
9 | compatible = "sitecom,wlr-6000", "ralink,rt3883-soc"; |
|
Line 10... | Line 10... | |||
10 | model = "Sitecom WLR-6000"; |
10 | model = "Sitecom WLR-6000"; |
|
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 | |
|
23 | reset { |
18 | reset { |
|
24 | label = "reset"; |
19 | label = "reset"; |
|
25 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
20 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
|
Line 26... | Line 21... | |||
26 | linux,code = <KEY_RESTART>; |
21 | linux,code = <KEY_RESTART>; |
|
27 | }; |
22 | }; |
|
Line 28... | Line 23... | |||
28 | }; |
23 | }; |
|
29 | |
24 | |
|
30 | leds { |
25 | gpio-leds { |
|
31 | compatible = "gpio-leds"; |
26 | compatible = "gpio-leds"; |
|
Line 32... | Line 27... | |||
32 | |
27 | |
|
Line 100... | Line 95... | |||
100 | |
95 | |
|
101 | &spi0 { |
96 | &spi0 { |
|
Line 102... | Line 97... | |||
102 | status = "okay"; |
97 | status = "okay"; |
|
- | 98 | |
||
- | 99 | m25p80@0 { |
||
103 | |
100 | #address-cells = <1>; |
|
104 | m25p80@0 { |
101 | #size-cells = <1>; |
|
105 | compatible = "jedec,spi-nor"; |
102 | compatible = "jedec,spi-nor"; |
|
106 | reg = <0>; |
103 | reg = <0>; |
|
Line 107... | Line -... | |||
107 | spi-max-frequency = <8600000>; |
- | ||
108 | m25p,fast-read; |
- | ||
109 | |
- | ||
110 | partitions { |
- | ||
111 | compatible = "fixed-partitions"; |
- | ||
112 | #address-cells = <1>; |
104 | spi-max-frequency = <8600000>; |
|
113 | #size-cells = <1>; |
105 | m25p,fast-read; |
|
114 | |
106 | |
|
115 | partition@0 { |
107 | partition@0 { |
|
116 | label = "u-boot"; |
108 | label = "u-boot"; |
|
Line 129... | Line 121... | |||
129 | reg = <0x40000 0x10000>; |
121 | reg = <0x40000 0x10000>; |
|
130 | read-only; |
122 | read-only; |
|
131 | }; |
123 | }; |
|
Line 132... | Line 124... | |||
132 | |
124 | |
|
133 | partition@50000 { |
- | ||
134 | compatible = "denx,uimage"; |
125 | partition@50000 { |
|
135 | label = "firmware"; |
126 | label = "firmware"; |
|
136 | reg = <0x50000 0x713000>; |
127 | reg = <0x50000 0x713000>; |
|
Line 137... | Line 128... | |||
137 | }; |
128 | }; |
|
Line 153... | Line 144... | |||
153 | reg = <0x7F0000 0x10000>; |
144 | reg = <0x7F0000 0x10000>; |
|
154 | read-only; |
145 | read-only; |
|
155 | }; |
146 | }; |
|
156 | }; |
147 | }; |
|
157 | }; |
148 | }; |
|
158 | }; |
- | ||
Line 159... | Line 149... | |||
159 | |
149 | |
|
160 | &pci { |
150 | &pci { |
|
- | 151 | status = "okay"; |
||
- | 152 | pinctrl-names = "default"; |
||
- | 153 | pinctrl-0 = <&pci_pins>; |
||
- | 154 | |
||
- | 155 | pci_pins: pci { |
||
- | 156 | pci { |
||
- | 157 | ralink,group = "pci"; |
||
- | 158 | ralink,function = "pci-fnc"; |
||
161 | status = "okay"; |
159 | }; |
|
Line -... | Line 160... | |||
- | 160 | }; |
||
162 | }; |
161 | |
|
163 | |
162 | host-bridge { |
|
Line 164... | Line 163... | |||
164 | &pci1 { |
163 | pci-bridge@1 { |
|
165 | status = "okay"; |
164 | status = "okay"; |
|
166 | |
165 | |
|
167 | wifi@0,0 { |
166 | wifi@1814,3091 { |
|
168 | compatible = "pci1814,3091"; |
167 | compatible = "pci1814,3091"; |
|
169 | reg = <0x10000 0 0 0 0>; |
168 | reg = <0x10000 0 0 0 0>; |
|
- | 169 | ralink,mtd-eeprom = <&factory 0x8000>; |
||
- | 170 | }; |
||
Line 170... | Line 171... | |||
170 | ralink,mtd-eeprom = <&factory 0x8000>; |
171 | }; |
|
171 | }; |
172 | }; |
|
172 | }; |
173 | }; |
|
173 | |
174 | |