OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "buffalo,wmr-300", "ralink,mt7620n-soc"; |
9 | compatible = "buffalo,wmr-300", "ralink,mt7620n-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Buffalo WMR-300"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_status; |
- | ||
14 | led-failsafe = &led_status; |
- | ||
15 | led-running = &led_status; |
- | ||
16 | led-upgrade = &led_status; |
- | ||
17 | }; |
10 | model = "Buffalo WMR-300"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
Line 27... | Line 20... | |||
27 | aoss2 { |
20 | aoss2 { |
|
28 | label = "wmr-300:green:aoss"; |
21 | label = "wmr-300:green:aoss"; |
|
29 | gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; |
22 | gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; |
|
30 | }; |
23 | }; |
|
Line 31... | Line 24... | |||
31 | |
24 | |
|
32 | led_status: status { |
25 | power { |
|
33 | label = "wmr-300:green:status"; |
26 | label = "wmr-300:green:status"; |
|
34 | gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; |
27 | gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; |
|
35 | }; |
28 | }; |
|
Line 36... | Line 29... | |||
36 | }; |
29 | }; |
|
37 | |
30 | |
|
- | 31 | gpio-keys-polled { |
||
- | 32 | compatible = "gpio-keys-polled"; |
||
38 | keys { |
33 | #address-cells = <1>; |
|
Line 39... | Line 34... | |||
39 | compatible = "gpio-keys-polled"; |
34 | #size-cells = <0>; |
|
40 | poll-interval = <20>; |
35 | poll-interval = <20>; |
|
41 | |
36 | |
|
Line 59... | Line 54... | |||
59 | |
54 | |
|
60 | &spi0 { |
55 | &spi0 { |
|
Line 61... | Line 56... | |||
61 | status = "okay"; |
56 | status = "okay"; |
|
- | 57 | |
||
- | 58 | m25p80@0 { |
||
62 | |
59 | #address-cells = <1>; |
|
63 | m25p80@0 { |
60 | #size-cells = <1>; |
|
64 | compatible = "jedec,spi-nor"; |
61 | compatible = "jedec,spi-nor"; |
|
Line 65... | Line -... | |||
65 | reg = <0>; |
- | ||
66 | spi-max-frequency = <10000000>; |
- | ||
67 | |
- | ||
68 | partitions { |
- | ||
69 | compatible = "fixed-partitions"; |
- | ||
70 | #address-cells = <1>; |
62 | reg = <0>; |
|
71 | #size-cells = <1>; |
63 | spi-max-frequency = <10000000>; |
|
72 | |
64 | |
|
73 | partition@0 { |
65 | partition@0 { |
|
74 | label = "u-boot"; |
66 | label = "u-boot"; |
|
75 | reg = <0x0 0x30000>; |
67 | reg = <0x0 0x30000>; |
|
76 | read-only; |
68 | read-only; |
|
77 | }; |
69 | }; |
|
78 | |
70 | |
|
79 | partition@30000 { |
71 | partition@30000 { |
|
80 | label = "u-boot-env"; |
72 | label = "u-boot-env"; |
|
81 | reg = <0x30000 0x10000>; |
73 | reg = <0x30000 0x10000>; |
|
82 | read-only; |
74 | read-only; |
|
83 | }; |
75 | }; |
|
84 | |
76 | |
|
85 | factory: partition@40000 { |
77 | factory: partition@40000 { |
|
86 | label = "factory"; |
78 | label = "factory"; |
|
87 | reg = <0x40000 0x10000>; |
79 | reg = <0x40000 0x10000>; |
|
88 | read-only; |
80 | read-only; |
|
89 | }; |
- | ||
90 | |
81 | }; |
|
91 | partition@50000 { |
82 | |
|
92 | compatible = "denx,uimage"; |
- | ||
93 | label = "firmware"; |
83 | partition@50000 { |
|
94 | reg = <0x50000 0x7b0000>; |
84 | label = "firmware"; |
|
95 | }; |
85 | reg = <0x50000 0x7b0000>; |
|
Line 96... | Line 86... | |||
96 | }; |
86 | }; |