OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "intenso,memory2move", "ralink,rt5350-soc"; |
9 | compatible = "intenso,memory2move", "ralink,rt5350-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Intenso Memory 2 Move"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_wifi; |
- | ||
14 | led-failsafe = &led_wifi; |
- | ||
15 | led-running = &led_wifi; |
- | ||
16 | led-upgrade = &led_wifi; |
- | ||
17 | }; |
10 | model = "Intenso Memory 2 Move"; |
|
18 | |
11 | |
|
19 | chosen { |
12 | chosen { |
|
Line 20... | Line 13... | |||
20 | bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5"; |
13 | bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5"; |
|
21 | }; |
14 | }; |
|
Line 22... | Line 15... | |||
22 | |
15 | |
|
23 | leds { |
16 | gpio-leds { |
|
24 | compatible = "gpio-leds"; |
17 | compatible = "gpio-leds"; |
|
25 | |
18 | |
|
Line 26... | Line 19... | |||
26 | led_wifi: wifi { |
19 | wifi { |
|
27 | label = "m2m:blue:wifi"; |
20 | label = "m2m:blue:wifi"; |
|
28 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
21 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
|
29 | }; |
22 | }; |
|
30 | |
23 | |
|
Line 31... | Line 24... | |||
31 | wan { |
24 | wan { |
|
32 | label = "m2m:green:wan"; |
25 | label = "m2m:green:wan"; |
|
- | 26 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
||
- | 27 | }; |
||
33 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
28 | }; |
|
Line 34... | Line 29... | |||
34 | }; |
29 | |
|
35 | }; |
30 | gpio-keys-polled { |
|
36 | |
31 | compatible = "gpio-keys-polled"; |
|
Line 54... | Line 49... | |||
54 | |
49 | |
|
55 | &spi0 { |
50 | &spi0 { |
|
Line 56... | Line 51... | |||
56 | status = "okay"; |
51 | status = "okay"; |
|
- | 52 | |
||
- | 53 | m25p80@0 { |
||
57 | |
54 | #address-cells = <1>; |
|
58 | m25p80@0 { |
55 | #size-cells = <1>; |
|
59 | compatible = "jedec,spi-nor"; |
56 | compatible = "jedec,spi-nor"; |
|
Line 60... | Line -... | |||
60 | reg = <0>; |
- | ||
61 | spi-max-frequency = <10000000>; |
- | ||
62 | |
- | ||
63 | partitions { |
- | ||
64 | compatible = "fixed-partitions"; |
- | ||
65 | #address-cells = <1>; |
57 | reg = <0>; |
|
66 | #size-cells = <1>; |
58 | spi-max-frequency = <10000000>; |
|
67 | |
59 | |
|
68 | partition@0 { |
60 | partition@0 { |
|
69 | label = "Bootloader"; |
61 | label = "Bootloader"; |
|
70 | reg = <0x0 0x30000>; |
62 | reg = <0x0 0x30000>; |
|
71 | read-only; |
63 | read-only; |
|
72 | }; |
64 | }; |
|
73 | |
65 | |
|
74 | partition@30000 { |
66 | partition@30000 { |
|
75 | label = "Config"; |
67 | label = "Config"; |
|
76 | reg = <0x30000 0x10000>; |
68 | reg = <0x30000 0x10000>; |
|
77 | read-only; |
69 | read-only; |
|
78 | }; |
70 | }; |
|
79 | |
71 | |
|
80 | factory: partition@40000 { |
72 | factory: partition@40000 { |
|
81 | label = "Factory"; |
73 | label = "Factory"; |
|
82 | reg = <0x40000 0x10000>; |
74 | reg = <0x40000 0x10000>; |
|
83 | read-only; |
75 | read-only; |
|
84 | }; |
- | ||
85 | |
76 | }; |
|
86 | partition@50000 { |
77 | |
|
87 | compatible = "denx,uimage"; |
- | ||
88 | label = "firmware"; |
78 | partition@50000 { |
|
89 | reg = <0x50000 0x7b0000>; |
79 | label = "firmware"; |
|
90 | }; |
80 | reg = <0x50000 0x7b0000>; |
|
Line 91... | Line 81... | |||
91 | }; |
81 | }; |