OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 16... | Line 16... | |||
16 | cfi@1f000000 { |
16 | cfi@1f000000 { |
|
17 | compatible = "cfi-flash"; |
17 | compatible = "cfi-flash"; |
|
18 | reg = <0x1f000000 0x800000>; |
18 | reg = <0x1f000000 0x800000>; |
|
19 | bank-width = <2>; |
19 | bank-width = <2>; |
|
20 | device-width = <2>; |
20 | device-width = <2>; |
|
- | 21 | #address-cells = <1>; |
||
- | 22 | #size-cells = <1>; |
||
Line 21... | Line -... | |||
21 | |
- | ||
22 | partitions { |
- | ||
23 | compatible = "fixed-partitions"; |
- | ||
24 | #address-cells = <1>; |
- | ||
25 | #size-cells = <1>; |
- | ||
26 | |
23 | |
|
27 | partition@0 { |
24 | partition@0 { |
|
28 | label = "u-boot"; |
25 | label = "u-boot"; |
|
29 | reg = <0x0 0x30000>; |
26 | reg = <0x0 0x30000>; |
|
30 | read-only; |
27 | read-only; |
|
31 | }; |
28 | }; |
|
32 | |
29 | |
|
33 | partition@30000 { |
30 | partition@30000 { |
|
34 | label = "u-boot-env"; |
31 | label = "u-boot-env"; |
|
35 | reg = <0x30000 0x10000>; |
32 | reg = <0x30000 0x10000>; |
|
36 | read-only; |
33 | read-only; |
|
37 | }; |
34 | }; |
|
38 | |
35 | |
|
39 | factory: partition@40000 { |
36 | factory: partition@40000 { |
|
40 | label = "factory"; |
37 | label = "factory"; |
|
41 | reg = <0x40000 0x10000>; |
38 | reg = <0x40000 0x10000>; |
|
42 | read-only; |
39 | read-only; |
|
43 | }; |
40 | }; |
|
44 | |
41 | |
|
45 | partition@50000 { |
- | ||
46 | compatible = "denx,uimage"; |
42 | partition@50000 { |
|
47 | label = "firmware"; |
43 | label = "firmware"; |
|
48 | reg = <0x50000 0x7b0000>; |
- | ||
49 | }; |
44 | reg = <0x50000 0x7b0000>; |
|
50 | }; |
45 | }; |
|
Line 51... | Line 46... | |||
51 | }; |
46 | }; |
|
52 | |
47 | |
|
Line 53... | Line -... | |||
53 | gpio-export { |
- | ||
54 | compatible = "gpio-export"; |
48 | gpio-export { |
|
55 | |
49 | compatible = "gpio-export"; |
|
56 | /* |
- | ||
57 | * Used to enable power-over-ethernet passthrough from port0 to port1. |
50 | |
|
58 | * Disable passthrough by default to prevent accidental equipment damage. |
51 | // Used to enable power-over-ethernet passthrough from port0 to port1. |
|
59 | */ |
52 | // Disable passthrough by default to prevent accidental equipment damage. |
|
60 | poe { |
53 | poe { |
|
61 | gpio-export,name = "poe-passthrough"; |
54 | gpio-export,name = "poe-passthrough"; |
|
62 | gpio-export,output = <1>; |
55 | gpio-export,output = <1>; // OUT_INIT_HIGH |
|
Line 63... | Line 56... | |||
63 | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
56 | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; // GPIO 11, ACTIVE_LOW |
|
64 | }; |
57 | }; |
|
Line 65... | Line -... | |||
65 | }; |
- | ||
66 | |
58 | }; |
|
67 | leds { |
59 | |
|
68 | compatible = "gpio-leds"; |
- | ||
69 | |
60 | gpio-leds { |
|
70 | /* |
61 | compatible = "gpio-leds"; |
|
71 | * The following leds are defined in the ArcOS firmware, but reportedly |
62 | |
|
72 | * not present in the Freestation5 device. |
63 | // The following leds are defined in the ArcOS firmware, but reportedly |