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"; |
|
Line 82... | Line 74... | |||
82 | reg = <0x40000 0x10000>; |
74 | reg = <0x40000 0x10000>; |
|
83 | read-only; |
75 | read-only; |
|
84 | }; |
76 | }; |
|
Line 85... | Line 77... | |||
85 | |
77 | |
|
86 | partition@50000 { |
- | ||
87 | compatible = "denx,uimage"; |
78 | partition@50000 { |
|
88 | label = "firmware"; |
79 | label = "firmware"; |
|
89 | reg = <0x50000 0x7b0000>; |
80 | reg = <0x50000 0x7b0000>; |
|
90 | }; |
81 | }; |
|
91 | }; |
82 | }; |
|
92 | }; |
- | ||
Line 93... | Line 83... | |||
93 | }; |
83 | }; |
|
94 | |
84 | |
|
95 | &pinctrl { |
85 | &pinctrl { |
|
96 | state_default: pinctrl0 { |
86 | state_default: pinctrl0 { |