OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "planex,mzk-ex300np", "ralink,mt7620a-soc"; |
9 | compatible = "planex,mzk-ex300np", "ralink,mt7620a-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Planex MZK-EX300NP"; |
- | ||
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 = "Planex MZK-EX300NP"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
22 | wifi { |
15 | wifi { |
|
Line 23... | Line 16... | |||
23 | label = "mzk-ex300np:green:wifi"; |
16 | label = "mzk-ex300np:green:wifi"; |
|
24 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
|
25 | }; |
18 | }; |
|
26 | |
19 | |
|
Line 27... | Line 20... | |||
27 | led_wps: wps { |
20 | wps { |
|
Line 48... | Line 41... | |||
48 | label = "mzk-ex300np:blue:wifi3"; |
41 | label = "mzk-ex300np:blue:wifi3"; |
|
49 | gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; |
42 | gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; |
|
50 | }; |
43 | }; |
|
51 | }; |
44 | }; |
|
Line 52... | Line 45... | |||
52 | |
45 | |
|
53 | keys { |
46 | gpio-keys-polled { |
|
- | 47 | compatible = "gpio-keys-polled"; |
||
- | 48 | #address-cells = <1>; |
||
54 | compatible = "gpio-keys-polled"; |
49 | #size-cells = <0>; |
|
Line 55... | Line 50... | |||
55 | poll-interval = <20>; |
50 | poll-interval = <20>; |
|
56 | |
51 | |
|
57 | reset { |
52 | reset { |
|
Line 78... | Line 73... | |||
78 | |
73 | |
|
79 | &spi0 { |
74 | &spi0 { |
|
Line 80... | Line 75... | |||
80 | status = "okay"; |
75 | status = "okay"; |
|
- | 76 | |
||
- | 77 | m25p80@0 { |
||
81 | |
78 | #address-cells = <1>; |
|
82 | m25p80@0 { |
79 | #size-cells = <1>; |
|
83 | compatible = "jedec,spi-nor"; |
80 | compatible = "jedec,spi-nor"; |
|
Line 84... | Line -... | |||
84 | reg = <0>; |
- | ||
85 | spi-max-frequency = <10000000>; |
- | ||
86 | |
- | ||
87 | partitions { |
- | ||
88 | compatible = "fixed-partitions"; |
- | ||
89 | #address-cells = <1>; |
81 | reg = <0>; |
|
90 | #size-cells = <1>; |
82 | spi-max-frequency = <10000000>; |
|
91 | |
83 | |
|
92 | partition@0 { |
84 | partition@0 { |
|
93 | label = "u-boot"; |
85 | label = "u-boot"; |
|
94 | reg = <0x0 0x30000>; |
86 | reg = <0x0 0x30000>; |
|
95 | read-only; |
87 | read-only; |
|
96 | }; |
88 | }; |
|
97 | |
89 | |
|
98 | partition@30000 { |
90 | partition@30000 { |
|
99 | label = "u-boot-env"; |
91 | label = "u-boot-env"; |
|
100 | reg = <0x30000 0x10000>; |
92 | reg = <0x30000 0x10000>; |
|
101 | read-only; |
93 | read-only; |
|
102 | }; |
94 | }; |
|
103 | |
95 | |
|
104 | factory: partition@40000 { |
96 | factory: partition@40000 { |
|
105 | label = "factory"; |
97 | label = "factory"; |
|
106 | reg = <0x40000 0x10000>; |
98 | reg = <0x40000 0x10000>; |
|
107 | read-only; |
99 | read-only; |
|
108 | }; |
- | ||
109 | |
100 | }; |
|
110 | partition@50000 { |
101 | |
|
111 | compatible = "denx,uimage"; |
102 | partition@50000 { |
|
112 | label = "firmware"; |
103 | label = "firmware"; |
|
113 | reg = <0x50000 0x730000>; |
104 | reg = <0x50000 0x730000>; |
|
114 | }; |
105 | }; |
|
115 | |
106 | |
|
116 | partition@780000 { |
- | ||
117 | label = "Udata"; |
107 | partition@780000 { |
|
118 | reg = <0x780000 0x80000>; |
108 | label = "Udata"; |
|
119 | }; |
109 | reg = <0x780000 0x80000>; |
|
Line 120... | Line 110... | |||
120 | }; |
110 | }; |