OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 17... | Line 17... | |||
17 | |
17 | |
|
18 | / { |
18 | / { |
|
19 | compatible = "netgear,ex2700", "ralink,mt7620a-soc"; |
19 | compatible = "netgear,ex2700", "ralink,mt7620a-soc"; |
|
Line 20... | Line -... | |||
20 | model = "Netgear EX2700"; |
- | ||
21 | |
- | ||
22 | aliases { |
- | ||
23 | led-boot = &led_power_green; |
- | ||
24 | led-failsafe = &led_power_green; |
- | ||
25 | led-running = &led_power_green; |
- | ||
26 | led-upgrade = &led_power_green; |
- | ||
27 | }; |
20 | model = "Netgear EX2700"; |
|
28 | |
21 | |
|
29 | chosen { |
22 | chosen { |
|
Line 30... | Line 23... | |||
30 | bootargs = "console=ttyS0,57600"; |
23 | bootargs = "console=ttyS0,57600"; |
|
31 | }; |
24 | }; |
|
Line 32... | Line 25... | |||
32 | |
25 | |
|
33 | leds { |
26 | gpio-leds { |
|
34 | compatible = "gpio-leds"; |
27 | compatible = "gpio-leds"; |
|
35 | |
28 | |
|
36 | led_power_green: power_g { |
29 | power_g { |
|
Line 68... | Line 61... | |||
68 | label = "ex2700:green:wps"; |
61 | label = "ex2700:green:wps"; |
|
69 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
62 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
|
70 | }; |
63 | }; |
|
71 | }; |
64 | }; |
|
Line 72... | Line 65... | |||
72 | |
65 | |
|
73 | keys { |
66 | gpio-keys-polled { |
|
- | 67 | compatible = "gpio-keys-polled"; |
||
- | 68 | #address-cells = <1>; |
||
74 | compatible = "gpio-keys-polled"; |
69 | #size-cells = <0>; |
|
Line 75... | Line 70... | |||
75 | poll-interval = <20>; |
70 | poll-interval = <20>; |
|
76 | |
71 | |
|
77 | reset { |
72 | reset { |
|
Line 98... | Line 93... | |||
98 | |
93 | |
|
99 | &spi0 { |
94 | &spi0 { |
|
Line 100... | Line 95... | |||
100 | status = "okay"; |
95 | status = "okay"; |
|
- | 96 | |
||
- | 97 | m25p80@0 { |
||
101 | |
98 | #address-cells = <1>; |
|
102 | m25p80@0 { |
99 | #size-cells = <1>; |
|
103 | compatible = "jedec,spi-nor"; |
100 | compatible = "jedec,spi-nor"; |
|
Line 104... | Line -... | |||
104 | reg = <0>; |
- | ||
105 | spi-max-frequency = <10000000>; |
- | ||
106 | |
- | ||
107 | partitions { |
- | ||
108 | compatible = "fixed-partitions"; |
- | ||
109 | #address-cells = <1>; |
101 | reg = <0>; |
|
110 | #size-cells = <1>; |
102 | spi-max-frequency = <10000000>; |
|
111 | |
103 | |
|
112 | partition@0 { |
104 | partition@0 { |
|
113 | label = "u-boot"; |
105 | label = "u-boot"; |
|
114 | reg = <0x0 0x30000>; |
106 | reg = <0x0 0x30000>; |
|
115 | read-only; |
107 | read-only; |
|
116 | }; |
108 | }; |
|
117 | |
109 | |
|
118 | partition@30000 { |
110 | partition@30000 { |
|
119 | label = "u-boot-env"; |
111 | label = "u-boot-env"; |
|
120 | reg = <0x30000 0x10000>; |
112 | reg = <0x30000 0x10000>; |
|
121 | read-only; |
113 | read-only; |
|
122 | }; |
- | ||
123 | |
114 | }; |
|
124 | partition@40000 { |
115 | |
|
125 | compatible = "denx,uimage"; |
116 | partition@40000 { |
|
126 | label = "firmware"; |
117 | label = "firmware"; |
|
127 | reg = <0x40000 0x3b0000>; |
118 | reg = <0x40000 0x3b0000>; |
|
128 | }; |
119 | }; |
|
129 | |
120 | |
|
130 | art: partition@3f0000 { |
121 | art: partition@3f0000 { |
|
131 | label = "art"; |
- | ||
132 | reg = <0x3f0000 0x10000>; |
122 | label = "art"; |
|
133 | read-only; |
123 | reg = <0x3f0000 0x10000>; |
|
134 | }; |
124 | read-only; |
|
Line 135... | Line 125... | |||
135 | }; |
125 | }; |