OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "kingston,mlwg2", "ralink,mt7620n-soc"; |
9 | compatible = "kingston,mlwg2", "ralink,mt7620n-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Kingston MLWG2"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_system; |
- | ||
14 | led-failsafe = &led_system; |
- | ||
15 | led-running = &led_system; |
- | ||
16 | led-upgrade = &led_system; |
- | ||
17 | }; |
10 | model = "Kingston MLWG2"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
22 | led_system: system { |
15 | system { |
|
Line 23... | Line 16... | |||
23 | label = "mlwg2:blue:system"; |
16 | label = "mlwg2:blue:system"; |
|
24 | gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; |
|
25 | }; |
18 | }; |
|
26 | |
19 | |
|
27 | wifi { |
20 | wifi { |
|
Line 28... | Line 21... | |||
28 | label = "mlwg2:blue:wifi"; |
21 | label = "mlwg2:blue:wifi"; |
|
29 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
22 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
|
- | 23 | }; |
||
- | 24 | }; |
||
30 | }; |
25 | |
|
Line 31... | Line 26... | |||
31 | }; |
26 | gpio-keys-polled { |
|
32 | |
27 | compatible = "gpio-keys-polled"; |
|
33 | keys { |
28 | #address-cells = <1>; |
|
Line 62... | Line 57... | |||
62 | |
57 | |
|
63 | &spi0 { |
58 | &spi0 { |
|
Line 64... | Line 59... | |||
64 | status = "okay"; |
59 | status = "okay"; |
|
- | 60 | |
||
- | 61 | m25p80@0 { |
||
65 | |
62 | #address-cells = <1>; |
|
66 | m25p80@0 { |
63 | #size-cells = <1>; |
|
67 | compatible = "jedec,spi-nor"; |
64 | compatible = "jedec,spi-nor"; |
|
Line 68... | Line -... | |||
68 | reg = <0>; |
- | ||
69 | spi-max-frequency = <10000000>; |
- | ||
70 | |
- | ||
71 | partitions { |
- | ||
72 | compatible = "fixed-partitions"; |
- | ||
73 | #address-cells = <1>; |
65 | reg = <0>; |
|
74 | #size-cells = <1>; |
66 | spi-max-frequency = <10000000>; |
|
75 | |
67 | |
|
76 | partition@0 { |
68 | partition@0 { |
|
77 | label = "u-boot"; |
69 | label = "u-boot"; |
|
78 | reg = <0x0 0x30000>; |
70 | reg = <0x0 0x30000>; |
|
79 | read-only; |
71 | read-only; |
|
80 | }; |
72 | }; |
|
81 | |
73 | |
|
82 | partition@30000 { |
74 | partition@30000 { |
|
83 | label = "u-boot-env"; |
75 | label = "u-boot-env"; |
|
84 | reg = <0x30000 0x10000>; |
76 | reg = <0x30000 0x10000>; |
|
85 | read-only; |
77 | read-only; |
|
86 | }; |
78 | }; |
|
87 | |
79 | |
|
88 | factory: partition@40000 { |
80 | factory: partition@40000 { |
|
89 | label = "factory"; |
81 | label = "factory"; |
|
90 | reg = <0x40000 0x10000>; |
82 | reg = <0x40000 0x10000>; |
|
91 | read-only; |
83 | read-only; |
|
92 | }; |
- | ||
93 | |
84 | }; |
|
94 | partition@50000 { |
85 | |
|
95 | compatible = "denx,uimage"; |
86 | partition@50000 { |
|
96 | label = "firmware"; |
87 | label = "firmware"; |
|
97 | reg = <0x50000 0xf60000>; |
88 | reg = <0x50000 0xf60000>; |
|
98 | }; |
89 | }; |
|
99 | |
90 | |
|
100 | partition@fb0000 { |
- | ||
101 | label = "user-config"; |
91 | partition@fb0000 { |
|
102 | reg = <0xfb0000 0x50000>; |
92 | label = "user-config"; |
|
103 | }; |
93 | reg = <0xfb0000 0x50000>; |
|
Line 104... | Line 94... | |||
104 | }; |
94 | }; |