OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 6... | Line 6... | |||
6 | |
6 | |
|
7 | / { |
7 | / { |
|
8 | compatible = "vocore,vocore2lite", "vocore,vocore2", "mediatek,mt7628an-soc"; |
8 | compatible = "vocore,vocore2lite", "vocore,vocore2", "mediatek,mt7628an-soc"; |
|
Line 9... | Line -... | |||
9 | model = "VoCore2-Lite"; |
- | ||
10 | |
- | ||
11 | aliases { |
- | ||
12 | led-boot = &led_status; |
- | ||
13 | led-failsafe = &led_status; |
- | ||
14 | led-running = &led_status; |
- | ||
15 | led-upgrade = &led_status; |
- | ||
16 | }; |
9 | model = "VoCore2-Lite"; |
|
17 | |
10 | |
|
Line 18... | Line 11... | |||
18 | leds { |
11 | gpio-leds { |
|
19 | compatible = "gpio-leds"; |
12 | compatible = "gpio-leds"; |
|
20 | |
13 | |
|
21 | led_status: status { |
14 | status { |
|
22 | label = "vocore2lite:green:status"; |
15 | label = "vocore2lite:green:status"; |
|
23 | gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
16 | gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
|
Line 24... | Line 17... | |||
24 | }; |
17 | }; |
|
25 | }; |
18 | }; |
|
Line 26... | Line 19... | |||
26 | }; |
19 | }; |
|
- | 20 | |
||
- | 21 | &spi0 { |
||
27 | |
22 | status = "okay"; |
|
28 | &spi0 { |
23 | |
|
29 | status = "okay"; |
24 | m25p80@0 { |
|
- | 25 | #address-cells = <1>; |
||
- | 26 | #size-cells = <1>; |
||
- | 27 | compatible = "jedec,spi-nor"; |
||
- | 28 | reg = <0>; |
||
- | 29 | spi-max-frequency = <10000000>; |
||
- | 30 | m25p,chunked-io = <32>; |
||
- | 31 | |
||
- | 32 | partition@0 { |
||
- | 33 | label = "u-boot"; |
||
- | 34 | reg = <0x0 0x30000>; |
||
- | 35 | read-only; |
||
- | 36 | }; |
||
- | 37 | |
||
- | 38 | partition@30000 { |
||
- | 39 | label = "u-boot-env"; |
||
- | 40 | reg = <0x30000 0x10000>; |
||
- | 41 | read-only; |
||
- | 42 | }; |
||
- | 43 | |
||
Line 30... | Line -... | |||
30 | |
- | ||
31 | m25p80@0 { |
- | ||
32 | compatible = "jedec,spi-nor"; |
- | ||
33 | reg = <0>; |
- | ||
34 | spi-max-frequency = <10000000>; |
- | ||
35 | |
- | ||
36 | partitions { |
- | ||
37 | compatible = "fixed-partitions"; |
- | ||
38 | #address-cells = <1>; |
- | ||
39 | #size-cells = <1>; |
- | ||
40 | |
- | ||
41 | partition@0 { |
- | ||
42 | label = "u-boot"; |
- | ||
43 | reg = <0x0 0x30000>; |
- | ||
44 | read-only; |
- | ||
45 | }; |
- | ||
46 | |
- | ||
47 | partition@30000 { |
- | ||
48 | label = "u-boot-env"; |
- | ||
49 | reg = <0x30000 0x10000>; |
- | ||
50 | read-only; |
- | ||
51 | }; |
- | ||
52 | |
- | ||
53 | factory: partition@40000 { |
44 | factory: partition@40000 { |
|
54 | label = "factory"; |
- | ||
55 | reg = <0x40000 0x10000>; |
45 | label = "factory"; |
|
56 | read-only; |
46 | reg = <0x40000 0x10000>; |
|
57 | }; |
- | ||
58 | |
47 | read-only; |
|
59 | partition@50000 { |
48 | }; |
|
60 | compatible = "denx,uimage"; |
49 | |