OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 12... | Line 12... | |||
12 | cfi@1f000000 { |
12 | cfi@1f000000 { |
|
13 | compatible = "cfi-flash"; |
13 | compatible = "cfi-flash"; |
|
14 | reg = <0x1f000000 0x800000>; |
14 | reg = <0x1f000000 0x800000>; |
|
15 | bank-width = <2>; |
15 | bank-width = <2>; |
|
16 | device-width = <2>; |
16 | device-width = <2>; |
|
- | 17 | #address-cells = <1>; |
||
- | 18 | #size-cells = <1>; |
||
Line 17... | Line -... | |||
17 | |
- | ||
18 | partitions { |
- | ||
19 | compatible = "fixed-partitions"; |
- | ||
20 | #address-cells = <1>; |
- | ||
21 | #size-cells = <1>; |
- | ||
22 | |
19 | |
|
23 | partition@0 { |
20 | partition@0 { |
|
24 | label = "u-boot"; |
21 | label = "u-boot"; |
|
25 | reg = <0x0 0x30000>; |
22 | reg = <0x0 0x30000>; |
|
26 | read-only; |
23 | read-only; |
|
27 | }; |
24 | }; |
|
28 | |
25 | |
|
29 | partition@30000 { |
26 | partition@30000 { |
|
30 | label = "u-boot-env"; |
27 | label = "u-boot-env"; |
|
31 | reg = <0x30000 0x10000>; |
28 | reg = <0x30000 0x10000>; |
|
32 | read-only; |
29 | read-only; |
|
33 | }; |
30 | }; |
|
34 | |
31 | |
|
35 | factory: partition@40000 { |
32 | factory: partition@40000 { |
|
36 | label = "factory"; |
33 | label = "factory"; |
|
37 | reg = <0x40000 0x10000>; |
34 | reg = <0x40000 0x10000>; |
|
38 | read-only; |
35 | read-only; |
|
39 | }; |
36 | }; |
|
40 | |
37 | |
|
41 | partition@50000 { |
- | ||
42 | compatible = "denx,uimage"; |
38 | partition@50000 { |
|
43 | label = "firmware"; |
39 | label = "firmware"; |
|
44 | reg = <0x50000 0x7b0000>; |
- | ||
45 | }; |
40 | reg = <0x50000 0x7b0000>; |
|
46 | }; |
41 | }; |
|
Line 47... | Line 42... | |||
47 | }; |
42 | }; |
|
48 | |
43 | |
|
Line 49... | Line 44... | |||
49 | leds { |
44 | gpio-leds { |
|
50 | compatible = "gpio-leds"; |
45 | compatible = "gpio-leds"; |
|
51 | |
46 | |
|
52 | usb { |
- | ||
53 | label = "bc2:blue:usb"; |
- | ||
54 | gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; |
47 | usb { |
|
55 | trigger-sources = <&otg_port1>; |
48 | label = "bc2:blue:usb"; |
|
Line 56... | Line 49... | |||
56 | linux,default-trigger = "usbport"; |
49 | gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; |
|
57 | }; |
50 | }; |
|
- | 51 | }; |
||
- | 52 | |
||
58 | }; |
53 | gpio-keys-polled { |
|
Line 59... | Line 54... | |||
59 | |
54 | compatible = "gpio-keys-polled"; |
|
60 | keys { |
55 | #address-cells = <1>; |
|
61 | compatible = "gpio-keys-polled"; |
56 | #size-cells = <0>; |