OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "petatel,psr-680w", "ralink,rt3052-soc"; |
9 | compatible = "petatel,psr-680w", "ralink,rt3052-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Petatel PSR-680W Wireless 3G Router"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_wan; |
- | ||
14 | led-failsafe = &led_wan; |
- | ||
15 | led-running = &led_wan; |
- | ||
16 | led-upgrade = &led_wan; |
- | ||
17 | }; |
10 | model = "Petatel PSR-680W Wireless 3G Router"; |
|
18 | |
11 | |
|
19 | chosen { |
12 | chosen { |
|
Line 20... | Line 13... | |||
20 | bootargs = "console=ttyS0,115200"; |
13 | bootargs = "console=ttyS0,115200"; |
|
21 | }; |
14 | }; |
|
22 | |
15 | |
|
23 | cfi@1f000000 { |
16 | cfi@1f000000 { |
|
24 | compatible = "cfi-flash"; |
17 | compatible = "cfi-flash"; |
|
- | 18 | reg = <0x1f000000 0x800000>; |
||
- | 19 | bank-width = <2>; |
||
- | 20 | device-width = <2>; |
||
- | 21 | #address-cells = <1>; |
||
- | 22 | #size-cells = <1>; |
||
- | 23 | |
||
- | 24 | partition@0 { |
||
- | 25 | label = "u-boot"; |
||
- | 26 | reg = <0x0 0x30000>; |
||
- | 27 | read-only; |
||
- | 28 | }; |
||
- | 29 | |
||
- | 30 | partition@30000 { |
||
- | 31 | label = "u-boot-env"; |
||
- | 32 | reg = <0x30000 0x10000>; |
||
- | 33 | read-only; |
||
- | 34 | }; |
||
- | 35 | |
||
- | 36 | factory: partition@40000 { |
||
- | 37 | label = "factory"; |
||
Line 25... | Line -... | |||
25 | reg = <0x1f000000 0x800000>; |
- | ||
26 | bank-width = <2>; |
- | ||
27 | device-width = <2>; |
- | ||
28 | |
- | ||
29 | partitions { |
- | ||
30 | compatible = "fixed-partitions"; |
- | ||
31 | #address-cells = <1>; |
- | ||
32 | #size-cells = <1>; |
- | ||
33 | |
- | ||
34 | partition@0 { |
- | ||
35 | label = "u-boot"; |
- | ||
36 | reg = <0x0 0x30000>; |
- | ||
37 | read-only; |
- | ||
38 | }; |
- | ||
39 | |
- | ||
40 | partition@30000 { |
- | ||
41 | label = "u-boot-env"; |
- | ||
42 | reg = <0x30000 0x10000>; |
- | ||
43 | read-only; |
- | ||
44 | }; |
- | ||
45 | |
- | ||
46 | factory: partition@40000 { |
- | ||
47 | label = "factory"; |
- | ||
48 | reg = <0x40000 0x10000>; |
38 | reg = <0x40000 0x10000>; |
|
49 | read-only; |
- | ||
50 | }; |
39 | read-only; |
|
51 | |
40 | }; |
|
52 | partition@50000 { |
- | ||
53 | compatible = "denx,uimage"; |
41 | |
|
54 | label = "firmware"; |
42 | partition@50000 { |
|
Line 55... | Line 43... | |||
55 | reg = <0x50000 0x3b0000>; |
43 | label = "firmware"; |
|
56 | }; |
44 | reg = <0x50000 0x3b0000>; |
|
Line 57... | Line 45... | |||
57 | }; |
45 | }; |
|
58 | }; |
46 | }; |
|
59 | |
47 | |
|
60 | leds { |
48 | gpio-leds { |
|
61 | compatible = "gpio-leds"; |
49 | compatible = "gpio-leds"; |
|
Line 62... | Line 50... | |||
62 | |
50 | |
|
63 | led_wan: wan { |
51 | wan { |
|
- | 52 | label = "psr-680w:red:wan"; |
||
- | 53 | gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; |
||
64 | label = "psr-680w:red:wan"; |
54 | }; |
|
Line 65... | Line 55... | |||
65 | gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; |
55 | }; |
|
66 | }; |
56 | |
|
67 | }; |
57 | gpio-keys-polled { |