OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 11... | Line 11... | |||
11 | |
11 | |
|
12 | chosen { |
12 | chosen { |
|
13 | bootargs = "console=ttyS0,115200"; |
13 | bootargs = "console=ttyS0,115200"; |
|
Line 14... | Line 14... | |||
14 | }; |
14 | }; |
|
15 | |
15 | |
|
Line 16... | Line 16... | |||
16 | leds { |
16 | gpio-leds { |
|
17 | compatible = "gpio-leds"; |
17 | compatible = "gpio-leds"; |
|
18 | |
18 | |
|
Line 25... | Line 25... | |||
25 | label = "wr6202:blue:3g"; |
25 | label = "wr6202:blue:3g"; |
|
26 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
26 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
|
27 | }; |
27 | }; |
|
28 | }; |
28 | }; |
|
Line 29... | Line 29... | |||
29 | |
29 | |
|
30 | keys { |
30 | gpio-keys-polled { |
|
- | 31 | compatible = "gpio-keys-polled"; |
||
- | 32 | #address-cells = <1>; |
||
31 | compatible = "gpio-keys-polled"; |
33 | #size-cells = <0>; |
|
Line 32... | Line 34... | |||
32 | poll-interval = <20>; |
34 | poll-interval = <20>; |
|
33 | |
35 | |
|
34 | reset { |
36 | reset { |
|
Line 47... | Line 49... | |||
47 | cfi@1f000000 { |
49 | cfi@1f000000 { |
|
48 | compatible = "cfi-flash"; |
50 | compatible = "cfi-flash"; |
|
49 | reg = <0x1f000000 0x800000>; |
51 | reg = <0x1f000000 0x800000>; |
|
50 | bank-width = <2>; |
52 | bank-width = <2>; |
|
51 | device-width = <2>; |
53 | device-width = <2>; |
|
- | 54 | #address-cells = <1>; |
||
- | 55 | #size-cells = <1>; |
||
Line 52... | Line -... | |||
52 | |
- | ||
53 | partitions { |
- | ||
54 | compatible = "fixed-partitions"; |
- | ||
55 | #address-cells = <1>; |
- | ||
56 | #size-cells = <1>; |
- | ||
57 | |
56 | |
|
58 | partition@0 { |
57 | partition@0 { |
|
59 | label = "u-boot"; |
58 | label = "u-boot"; |
|
60 | reg = <0x0 0x30000>; |
59 | reg = <0x0 0x30000>; |
|
61 | read-only; |
60 | read-only; |
|
62 | }; |
61 | }; |
|
63 | |
62 | |
|
64 | partition@30000 { |
63 | partition@30000 { |
|
65 | label = "u-boot-env"; |
64 | label = "u-boot-env"; |
|
66 | reg = <0x30000 0x10000>; |
65 | reg = <0x30000 0x10000>; |
|
67 | read-only; |
66 | read-only; |
|
68 | }; |
67 | }; |
|
69 | |
68 | |
|
70 | factory: partition@40000 { |
69 | factory: partition@40000 { |
|
71 | label = "factory"; |
70 | label = "factory"; |
|
72 | reg = <0x40000 0x10000>; |
71 | reg = <0x40000 0x10000>; |
|
73 | read-only; |
72 | read-only; |
|
74 | }; |
73 | }; |
|
75 | |
74 | |
|
76 | partition@50000 { |
- | ||
77 | compatible = "denx,uimage"; |
75 | partition@50000 { |
|
78 | label = "firmware"; |
76 | label = "firmware"; |
|
79 | reg = <0x50000 0x7b0000>; |
- | ||
80 | }; |
77 | reg = <0x50000 0x7b0000>; |
|
81 | }; |
78 | }; |
|
Line 82... | Line 79... | |||
82 | }; |
79 | }; |
|
83 | |
80 | |