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 | }; |
- | ||
15 | |
- | ||
16 | |
- | ||
17 | aliases { |
- | ||
18 | led-boot = &led_4g_0; |
- | ||
19 | led-failsafe = &led_4g_0; |
- | ||
20 | }; |
14 | }; |
|
21 | |
15 | |
|
Line 22... | Line 16... | |||
22 | leds { |
16 | gpio-leds { |
|
23 | compatible = "gpio-leds"; |
17 | compatible = "gpio-leds"; |
|
24 | |
18 | |
|
25 | led_4g_0: 4g-0 { |
19 | 4g-0 { |
|
Line 26... | Line 20... | |||
26 | label = "zbt-cpe102:green:4g-0"; |
20 | label = "zbt-cpe102:green:4g-0"; |
|
Line 36... | Line 30... | |||
36 | label = "zbt-cpe102:green:4g-2"; |
30 | label = "zbt-cpe102:green:4g-2"; |
|
37 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
31 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
|
38 | }; |
32 | }; |
|
39 | }; |
33 | }; |
|
Line 40... | Line 34... | |||
40 | |
34 | |
|
41 | keys { |
35 | gpio-keys-polled { |
|
- | 36 | compatible = "gpio-keys-polled"; |
||
- | 37 | #address-cells = <1>; |
||
42 | compatible = "gpio-keys-polled"; |
38 | #size-cells = <0>; |
|
Line 43... | Line 39... | |||
43 | poll-interval = <20>; |
39 | poll-interval = <20>; |
|
44 | |
40 | |
|
45 | reset { |
41 | reset { |
|
Line 64... | Line 60... | |||
64 | |
60 | |
|
65 | &spi0 { |
61 | &spi0 { |
|
Line 66... | Line 62... | |||
66 | status = "okay"; |
62 | status = "okay"; |
|
- | 63 | |
||
- | 64 | en25q64@0 { |
||
67 | |
65 | #address-cells = <1>; |
|
68 | en25q64@0 { |
66 | #size-cells = <1>; |
|
69 | compatible = "jedec,spi-nor"; |
67 | compatible = "jedec,spi-nor"; |
|
Line 70... | Line -... | |||
70 | reg = <0>; |
- | ||
71 | spi-max-frequency = <10000000>; |
- | ||
72 | |
- | ||
73 | partitions { |
- | ||
74 | compatible = "fixed-partitions"; |
- | ||
75 | #address-cells = <1>; |
68 | reg = <0>; |
|
76 | #size-cells = <1>; |
69 | spi-max-frequency = <10000000>; |
|
77 | |
70 | |
|
78 | partition@0 { |
71 | partition@0 { |
|
79 | label = "u-boot"; |
72 | label = "u-boot"; |
|
80 | reg = <0x0 0x30000>; |
73 | reg = <0x0 0x30000>; |
|
81 | read-only; |
74 | read-only; |
|
82 | }; |
75 | }; |
|
83 | |
76 | |
|
84 | partition@30000 { |
77 | partition@30000 { |
|
85 | label = "u-boot-env"; |
78 | label = "u-boot-env"; |
|
86 | reg = <0x30000 0x10000>; |
79 | reg = <0x30000 0x10000>; |
|
87 | read-only; |
80 | read-only; |
|
88 | }; |
81 | }; |
|
89 | |
82 | |
|
90 | factory: partition@40000 { |
83 | factory: partition@40000 { |
|
91 | label = "factory"; |
84 | label = "factory"; |
|
92 | reg = <0x40000 0x10000>; |
85 | reg = <0x40000 0x10000>; |
|
93 | read-only; |
86 | read-only; |
|
94 | }; |
- | ||
95 | |
87 | }; |
|
96 | partition@50000 { |
88 | |
|
97 | compatible = "denx,uimage"; |
- | ||
98 | label = "firmware"; |
89 | partition@50000 { |
|
99 | reg = <0x50000 0x760000>; |
90 | label = "firmware"; |
|
100 | }; |
91 | reg = <0x50000 0x760000>; |
|
Line 101... | Line 92... | |||
101 | }; |
92 | }; |