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 117... | Line 109... | |||
117 | reg = <0x0 0x30000>; |
109 | reg = <0x0 0x30000>; |
|
118 | read-only; |
110 | read-only; |
|
119 | }; |
111 | }; |
|
120 | |
112 | |
|
121 | partition@30000 { |
113 | partition@30000 { |
|
Line 122... | Line 114... | |||
122 | label = "u-boot-env"; |
114 | label = "u-boot-env"; |
|
123 | reg = <0x30000 0x10000>; |
115 | reg = <0x30000 0x10000>; |
|
124 | read-only; |
116 | read-only; |
|
125 | }; |
117 | }; |
|
126 | |
118 | |
|
Line 127... | Line 119... | |||
127 | factory: partition@40000 { |
119 | factory: partition@40000 { |
|
128 | label = "factory"; |
- | ||
129 | reg = <0x40000 0x10000>; |
120 | label = "factory"; |
|
130 | read-only; |
121 | reg = <0x40000 0x10000>; |
|
131 | }; |
122 | read-only; |
|
Line 132... | Line 123... | |||
132 | |
123 | }; |
|
133 | partition@50000 { |
124 | |
|
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 | }; |
|
138 | |
129 | |
|
139 | partition@763000 { |
130 | partition@763000 { |
|
140 | label = "manufacture"; |
131 | label = "manufacture"; |
|
141 | reg = <0x763000 0x7D000>; |
132 | reg = <0x763000 0x7D000>; |
|
Line 142... | Line 133... | |||
142 | read-only; |
133 | read-only; |
|
143 | }; |
134 | }; |
|
144 | |
135 | |
|
145 | partition@7E0000 { |
136 | partition@7E0000 { |
|
146 | label = "backup"; |
- | ||
147 | reg = <0x7E0000 0x10000>; |
137 | label = "backup"; |
|
148 | read-only; |
138 | reg = <0x7E0000 0x10000>; |
|
149 | }; |
139 | read-only; |
|
Line 150... | Line 140... | |||
150 | |
140 | }; |
|
151 | partition@7F0000 { |
141 | |
|
- | 142 | partition@7F0000 { |
||
152 | label = "storage"; |
143 | label = "storage"; |
|
Line -... | Line 144... | |||
- | 144 | reg = <0x7F0000 0x10000>; |
||
153 | reg = <0x7F0000 0x10000>; |
145 | read-only; |
|
- | 146 | }; |
||
- | 147 | }; |
||
- | 148 | }; |
||
- | 149 | |
||
- | 150 | &pci { |
||
- | 151 | status = "okay"; |
||
- | 152 | pinctrl-names = "default"; |
||
154 | read-only; |
153 | pinctrl-0 = <&pci_pins>; |
|
Line 155... | Line 154... | |||
155 | }; |
154 | |
|
156 | }; |
155 | pci_pins: pci { |
|
157 | }; |
156 | pci { |
|
158 | }; |
157 | ralink,group = "pci"; |
|
- | 158 | ralink,function = "pci-fnc"; |
||
- | 159 | }; |
||
159 | |
160 | }; |
|
160 | &pci { |
161 | |
|
Line 161... | Line 162... | |||
161 | status = "okay"; |
162 | host-bridge { |
|
162 | }; |
163 | pci-bridge@1 { |