OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "asiarf,awapn2403", "ralink,rt3052-soc"; |
9 | compatible = "asiarf,awapn2403", "ralink,rt3052-soc"; |
|
Line 10... | Line -... | |||
10 | model = "AsiaRF AWAPN2403"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_wps; |
- | ||
14 | led-failsafe = &led_wps; |
- | ||
15 | led-running = &led_wps; |
- | ||
16 | led-upgrade = &led_wps; |
- | ||
17 | }; |
- | ||
18 | |
10 | model = "AsiaRF AWAPN2403"; |
|
19 | |
11 | |
|
Line 20... | Line 12... | |||
20 | leds { |
12 | gpio-leds { |
|
21 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
22 | |
14 | |
|
23 | led_wps: wps { |
15 | link { |
|
24 | label = "awapn2403:green:wps"; |
16 | label = "awapn2403:green:wps"; |
|
Line 25... | Line 17... | |||
25 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
|
26 | }; |
18 | }; |
|
- | 19 | }; |
||
- | 20 | |
||
27 | }; |
21 | gpio-keys-polled { |
|
Line 28... | Line 22... | |||
28 | |
22 | compatible = "gpio-keys-polled"; |
|
29 | keys { |
23 | #address-cells = <1>; |
|
30 | compatible = "gpio-keys-polled"; |
24 | #size-cells = <0>; |
|
Line 40... | Line 34... | |||
40 | |
34 | |
|
41 | &spi0 { |
35 | &spi0 { |
|
Line 42... | Line 36... | |||
42 | status = "okay"; |
36 | status = "okay"; |
|
- | 37 | |
||
- | 38 | m25p80@0 { |
||
43 | |
39 | #address-cells = <1>; |
|
44 | m25p80@0 { |
40 | #size-cells = <1>; |
|
45 | compatible = "jedec,spi-nor"; |
41 | compatible = "jedec,spi-nor"; |
|
Line 46... | Line -... | |||
46 | reg = <0>; |
- | ||
47 | spi-max-frequency = <10000000>; |
- | ||
48 | |
- | ||
49 | partitions { |
- | ||
50 | compatible = "fixed-partitions"; |
- | ||
51 | #address-cells = <1>; |
42 | reg = <0>; |
|
52 | #size-cells = <1>; |
43 | spi-max-frequency = <10000000>; |
|
53 | |
44 | |
|
54 | partition@0 { |
45 | partition@0 { |
|
55 | label = "u-boot"; |
46 | label = "u-boot"; |
|
56 | reg = <0x0 0x30000>; |
47 | reg = <0x0 0x30000>; |
|
57 | read-only; |
48 | read-only; |
|
58 | }; |
49 | }; |
|
59 | |
50 | |
|
60 | partition@30000 { |
51 | partition@30000 { |
|
61 | label = "u-boot-env"; |
52 | label = "u-boot-env"; |
|
62 | reg = <0x30000 0x10000>; |
53 | reg = <0x30000 0x10000>; |
|
63 | read-only; |
54 | read-only; |
|
64 | }; |
55 | }; |
|
65 | |
56 | |
|
66 | factory: partition@40000 { |
57 | factory: partition@40000 { |
|
67 | label = "factory"; |
58 | label = "factory"; |
|
68 | reg = <0x40000 0x10000>; |
59 | reg = <0x40000 0x10000>; |
|
69 | read-only; |
60 | read-only; |
|
70 | }; |
- | ||
71 | |
61 | }; |
|
72 | partition@50000 { |
62 | |
|
73 | compatible = "denx,uimage"; |
- | ||
74 | label = "firmware"; |
63 | partition@50000 { |
|
75 | reg = <0x50000 0x3b0000>; |
64 | label = "firmware"; |
|
76 | }; |
65 | reg = <0x50000 0x3b0000>; |
|
Line 77... | Line 66... | |||
77 | }; |
66 | }; |