OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "comfast,cf-wr800n", "ralink,mt7620n-soc"; |
9 | compatible = "comfast,cf-wr800n", "ralink,mt7620n-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Comfast CF-WR800N"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_wps; |
- | ||
14 | led-failsafe = &led_wps; |
- | ||
15 | led-running = &led_wps; |
- | ||
16 | led-upgrade = &led_wps; |
- | ||
17 | }; |
10 | model = "Comfast CF-WR800N"; |
|
18 | |
11 | |
|
19 | chosen { |
12 | chosen { |
|
Line 20... | Line 13... | |||
20 | bootargs = "console=ttyS0,115200"; |
13 | bootargs = "console=ttyS0,115200"; |
|
21 | }; |
14 | }; |
|
Line 22... | Line 15... | |||
22 | |
15 | |
|
23 | leds { |
16 | gpio-leds { |
|
24 | compatible = "gpio-leds"; |
17 | compatible = "gpio-leds"; |
|
Line 31... | Line 24... | |||
31 | wifi { |
24 | wifi { |
|
32 | label = "cf-wr800n:white:wifi"; |
25 | label = "cf-wr800n:white:wifi"; |
|
33 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
26 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
|
34 | }; |
27 | }; |
|
Line 35... | Line 28... | |||
35 | |
28 | |
|
36 | led_wps: wps { |
29 | wps { |
|
37 | label = "cf-wr800n:white:wps"; |
30 | label = "cf-wr800n:white:wps"; |
|
38 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
31 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
|
39 | }; |
32 | }; |
|
Line 40... | Line 33... | |||
40 | }; |
33 | }; |
|
41 | |
34 | |
|
- | 35 | gpio-keys-polled { |
||
- | 36 | compatible = "gpio-keys-polled"; |
||
42 | keys { |
37 | #address-cells = <1>; |
|
Line 43... | Line 38... | |||
43 | compatible = "gpio-keys-polled"; |
38 | #size-cells = <0>; |
|
44 | poll-interval = <20>; |
39 | poll-interval = <20>; |
|
45 | |
40 | |
|
Line 69... | Line 64... | |||
69 | |
64 | |
|
70 | &spi0 { |
65 | &spi0 { |
|
Line 71... | Line 66... | |||
71 | status = "okay"; |
66 | status = "okay"; |
|
- | 67 | |
||
- | 68 | m25p80@0 { |
||
72 | |
69 | #address-cells = <1>; |
|
73 | m25p80@0 { |
70 | #size-cells = <1>; |
|
74 | compatible = "jedec,spi-nor"; |
71 | compatible = "jedec,spi-nor"; |
|
Line 75... | Line -... | |||
75 | reg = <0>; |
- | ||
76 | spi-max-frequency = <10000000>; |
- | ||
77 | |
- | ||
78 | partitions { |
- | ||
79 | compatible = "fixed-partitions"; |
- | ||
80 | #address-cells = <1>; |
72 | reg = <0>; |
|
81 | #size-cells = <1>; |
73 | spi-max-frequency = <10000000>; |
|
82 | |
74 | |
|
83 | partition@0 { |
75 | partition@0 { |
|
84 | label = "u-boot"; |
76 | label = "u-boot"; |
|
85 | reg = <0x0 0x30000>; |
77 | reg = <0x0 0x30000>; |
|
86 | read-only; |
78 | read-only; |
|
87 | }; |
79 | }; |
|
88 | |
80 | |
|
89 | partition@30000 { |
81 | partition@30000 { |
|
90 | label = "u-boot-env"; |
82 | label = "u-boot-env"; |
|
91 | reg = <0x30000 0x10000>; |
83 | reg = <0x30000 0x10000>; |
|
92 | read-only; |
84 | read-only; |
|
93 | }; |
85 | }; |
|
94 | |
86 | |
|
95 | factory: partition@40000 { |
87 | factory: partition@40000 { |
|
96 | label = "factory"; |
88 | label = "factory"; |
|
97 | reg = <0x40000 0x10000>; |
89 | reg = <0x40000 0x10000>; |
|
98 | read-only; |
90 | read-only; |
|
99 | }; |
- | ||
100 | |
91 | }; |
|
101 | partition@50000 { |
92 | |
|
102 | compatible = "denx,uimage"; |
- | ||
103 | label = "firmware"; |
93 | partition@50000 { |
|
104 | reg = <0x50000 0x7b0000>; |
94 | label = "firmware"; |
|
105 | }; |
95 | reg = <0x50000 0x7b0000>; |
|
Line 106... | Line 96... | |||
106 | }; |
96 | }; |