OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "edimax,3g-6200n", "ralink,rt3050-soc"; |
9 | compatible = "edimax,3g-6200n", "ralink,rt3050-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Edimax 3g-6200n"; |
- | ||
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 = "Edimax 3g-6200n"; |
|
18 | |
11 | |
|
19 | cfi@1f000000 { |
12 | cfi@1f000000 { |
|
20 | compatible = "cfi-flash"; |
13 | compatible = "cfi-flash"; |
|
21 | reg = <0x1f000000 0x800000>; |
14 | reg = <0x1f000000 0x800000>; |
|
22 | bank-width = <2>; |
- | ||
23 | device-width = <2>; |
- | ||
24 | |
- | ||
25 | partitions { |
15 | bank-width = <2>; |
|
26 | compatible = "fixed-partitions"; |
16 | device-width = <2>; |
|
Line 27... | Line 17... | |||
27 | #address-cells = <1>; |
17 | #address-cells = <1>; |
|
28 | #size-cells = <1>; |
18 | #size-cells = <1>; |
|
Line 50... | Line 40... | |||
50 | reg = <0x3e0000 0x20000>; |
40 | reg = <0x3e0000 0x20000>; |
|
51 | read-only; |
41 | read-only; |
|
52 | }; |
42 | }; |
|
Line 53... | Line 43... | |||
53 | |
43 | |
|
54 | partition@50000 { |
- | ||
55 | compatible = "edimax,uimage"; |
44 | partition@50000 { |
|
56 | label = "firmware"; |
45 | label = "firmware"; |
|
57 | reg = <0x50000 0x390000>; |
46 | reg = <0x50000 0x390000>; |
|
58 | }; |
47 | }; |
|
59 | }; |
- | ||
Line 60... | Line 48... | |||
60 | }; |
48 | }; |
|
61 | |
49 | |
|
Line 62... | Line 50... | |||
62 | leds { |
50 | gpio-leds { |
|
63 | compatible = "gpio-leds"; |
51 | compatible = "gpio-leds"; |
|
64 | |
52 | |
|
65 | led_power: power { |
53 | power { |
|
Line 66... | Line 54... | |||
66 | label = "3g-6200n:green:power"; |
54 | label = "3g-6200n:green:power"; |
|
Line 73... | Line 61... | |||
73 | }; |
61 | }; |
|
Line 74... | Line 62... | |||
74 | |
62 | |
|
75 | 3g { |
63 | 3g { |
|
76 | label = "3g-6200n:blue:3g"; |
64 | label = "3g-6200n:blue:3g"; |
|
77 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
- | ||
78 | trigger-sources = <&otg_port1>; |
- | ||
79 | linux,default-trigger = "usbport"; |
65 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
|
80 | }; |
66 | }; |
|
Line 81... | Line 67... | |||
81 | }; |
67 | }; |
|
82 | |
68 | |
|
- | 69 | gpio-keys-polled { |
||
- | 70 | compatible = "gpio-keys-polled"; |
||
83 | keys { |
71 | #address-cells = <1>; |
|
Line 84... | Line 72... | |||
84 | compatible = "gpio-keys-polled"; |
72 | #size-cells = <0>; |
|
85 | poll-interval = <20>; |
73 | poll-interval = <20>; |
|
86 | |
74 | |