OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "argus,atp-52b", "ralink,rt3052-soc"; |
9 | compatible = "argus,atp-52b", "ralink,rt3052-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Argus ATP-52B"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_run; |
- | ||
14 | led-failsafe = &led_run; |
- | ||
15 | led-running = &led_run; |
- | ||
16 | led-upgrade = &led_run; |
- | ||
17 | }; |
10 | model = "Argus ATP-52B"; |
|
18 | |
11 | |
|
19 | cfi@1f000000 { |
12 | cfi@1f000000 { |
|
20 | compatible = "cfi-flash"; |
13 | compatible = "cfi-flash"; |
|
21 | reg = <0x1f000000 0x800000>; |
14 | reg = <0x1f000000 0x800000>; |
|
- | 15 | bank-width = <2>; |
||
- | 16 | device-width = <2>; |
||
- | 17 | #address-cells = <1>; |
||
- | 18 | #size-cells = <1>; |
||
- | 19 | |
||
- | 20 | partition@0 { |
||
- | 21 | label = "bootloader"; |
||
- | 22 | reg = <0x0 0x30000>; |
||
- | 23 | read-only; |
||
- | 24 | }; |
||
- | 25 | |
||
- | 26 | partition@30000 { |
||
- | 27 | label = "config"; |
||
- | 28 | reg = <0x30000 0x10000>; |
||
- | 29 | }; |
||
- | 30 | |
||
- | 31 | factory: partition@40000 { |
||
- | 32 | label = "factory"; |
||
Line 22... | Line -... | |||
22 | bank-width = <2>; |
- | ||
23 | device-width = <2>; |
- | ||
24 | |
- | ||
25 | partitions { |
- | ||
26 | compatible = "fixed-partitions"; |
- | ||
27 | #address-cells = <1>; |
- | ||
28 | #size-cells = <1>; |
- | ||
29 | |
- | ||
30 | partition@0 { |
- | ||
31 | label = "bootloader"; |
- | ||
32 | reg = <0x0 0x30000>; |
- | ||
33 | read-only; |
- | ||
34 | }; |
- | ||
35 | |
- | ||
36 | partition@30000 { |
- | ||
37 | label = "config"; |
- | ||
38 | reg = <0x30000 0x10000>; |
- | ||
39 | }; |
- | ||
40 | |
- | ||
41 | factory: partition@40000 { |
- | ||
42 | label = "factory"; |
- | ||
43 | reg = <0x40000 0x10000>; |
33 | reg = <0x40000 0x10000>; |
|
44 | }; |
- | ||
45 | |
34 | }; |
|
46 | partition@50000 { |
35 | |
|
47 | compatible = "denx,uimage"; |
- | ||
48 | label = "firmware"; |
36 | partition@50000 { |
|
49 | reg = <0x50000 0x7a0000>; |
37 | label = "firmware"; |
|
Line 50... | Line 38... | |||
50 | }; |
38 | reg = <0x50000 0x7a0000>; |
|
51 | }; |
39 | }; |
|
Line 52... | Line 40... | |||
52 | }; |
40 | }; |
|
53 | |
41 | |
|
54 | leds { |
42 | gpio-leds { |
|
55 | compatible = "gpio-leds"; |
43 | compatible = "gpio-leds"; |
|
Line 56... | Line 44... | |||
56 | |
44 | |
|
57 | led_run: run { |
45 | run { |
|
58 | label = "atp-52b:green:run"; |
46 | label = "atp-52b:green:run"; |
|
59 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
47 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
|
60 | }; |
48 | }; |
|
Line 61... | Line 49... | |||
61 | |
49 | |
|
62 | net { |
50 | net { |
|
- | 51 | label = "atp-52b:amber:net"; |
||
- | 52 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
||
63 | label = "atp-52b:amber:net"; |
53 | }; |
|
Line 64... | Line 54... | |||
64 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
54 | }; |
|
65 | }; |
55 | |
|
66 | }; |
56 | gpio-keys-polled { |