OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 9... | Line 9... | |||
9 | |
9 | |
|
10 | / { |
10 | / { |
|
11 | compatible = "netgear,wn3000rp-v3", "ralink,mt7620a-soc"; |
11 | compatible = "netgear,wn3000rp-v3", "ralink,mt7620a-soc"; |
|
Line 12... | Line -... | |||
12 | model = "Netgear WN3000RPv3"; |
- | ||
13 | |
- | ||
14 | aliases { |
- | ||
15 | led-boot = &led_power_green; |
- | ||
16 | led-failsafe = &led_power_green; |
- | ||
17 | led-running = &led_power_green; |
- | ||
18 | led-upgrade = &led_power_green; |
- | ||
19 | }; |
12 | model = "Netgear WN3000RPv3"; |
|
20 | |
13 | |
|
21 | chosen { |
14 | chosen { |
|
Line 22... | Line 15... | |||
22 | bootargs = "console=ttyS0,57600"; |
15 | bootargs = "console=ttyS0,57600"; |
|
23 | }; |
16 | }; |
|
Line 24... | Line 17... | |||
24 | |
17 | |
|
25 | leds { |
18 | gpio-leds { |
|
26 | compatible = "gpio-leds"; |
19 | compatible = "gpio-leds"; |
|
27 | |
20 | |
|
28 | led_power_green: power_g { |
21 | power_g { |
|
Line 70... | Line 63... | |||
70 | label = "wn3000rpv3:blue:rightarrow"; |
63 | label = "wn3000rpv3:blue:rightarrow"; |
|
71 | gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; |
64 | gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; |
|
72 | }; |
65 | }; |
|
73 | }; |
66 | }; |
|
Line 74... | Line 67... | |||
74 | |
67 | |
|
75 | keys { |
68 | gpio-keys-polled { |
|
- | 69 | compatible = "gpio-keys-polled"; |
||
- | 70 | #address-cells = <1>; |
||
76 | compatible = "gpio-keys-polled"; |
71 | #size-cells = <0>; |
|
Line 77... | Line 72... | |||
77 | poll-interval = <20>; |
72 | poll-interval = <20>; |
|
78 | |
73 | |
|
79 | reset { |
74 | reset { |
|
Line 96... | Line 91... | |||
96 | |
91 | |
|
97 | &spi0 { |
92 | &spi0 { |
|
Line 98... | Line 93... | |||
98 | status = "okay"; |
93 | status = "okay"; |
|
- | 94 | |
||
- | 95 | m25p80@0 { |
||
99 | |
96 | #address-cells = <1>; |
|
100 | m25p80@0 { |
97 | #size-cells = <1>; |
|
101 | compatible = "jedec,spi-nor"; |
98 | compatible = "jedec,spi-nor"; |
|
Line 102... | Line -... | |||
102 | reg = <0>; |
- | ||
103 | spi-max-frequency = <10000000>; |
- | ||
104 | |
- | ||
105 | partitions { |
- | ||
106 | compatible = "fixed-partitions"; |
- | ||
107 | #address-cells = <1>; |
99 | reg = <0>; |
|
108 | #size-cells = <1>; |
100 | spi-max-frequency = <10000000>; |
|
109 | |
101 | |
|
110 | partition@0 { |
102 | partition@0 { |
|
111 | label = "u-boot"; |
103 | label = "u-boot"; |
|
112 | reg = <0x0 0x30000>; |
104 | reg = <0x0 0x30000>; |
|
113 | read-only; |
105 | read-only; |
|
114 | }; |
106 | }; |
|
115 | |
107 | |
|
116 | partition@30000 { |
108 | partition@30000 { |
|
117 | label = "u-boot-env"; |
109 | label = "u-boot-env"; |
|
118 | reg = <0x30000 0x10000>; |
110 | reg = <0x30000 0x10000>; |
|
119 | read-only; |
111 | read-only; |
|
120 | }; |
- | ||
121 | |
112 | }; |
|
122 | partition@40000 { |
113 | |
|
123 | compatible = "denx,uimage"; |
114 | partition@40000 { |
|
124 | label = "firmware"; |
115 | label = "firmware"; |
|
125 | reg = <0x40000 0x7b0000>; |
116 | reg = <0x40000 0x7b0000>; |
|
126 | }; |
117 | }; |
|
127 | |
118 | |
|
128 | art: partition@7f0000 { |
119 | art: partition@7f0000 { |
|
129 | label = "art"; |
- | ||
130 | reg = <0x7f0000 0x10000>; |
120 | label = "art"; |
|
131 | read-only; |
121 | reg = <0x7f0000 0x10000>; |
|
132 | }; |
122 | read-only; |
|
Line 133... | Line 123... | |||
133 | }; |
123 | }; |