OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "omnima,miniembwifi", "ralink,rt3052-soc"; |
9 | compatible = "omnima,miniembwifi", "ralink,rt3052-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Omnima MiniEMBWiFi"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_status; |
- | ||
14 | led-failsafe = &led_status; |
- | ||
15 | led-running = &led_status; |
- | ||
16 | led-upgrade = &led_status; |
- | ||
17 | }; |
10 | model = "Omnima MiniEMBWiFi"; |
|
18 | |
11 | |
|
Line 19... | Line 12... | |||
19 | leds { |
12 | gpio-leds { |
|
20 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
21 | |
14 | |
|
22 | led_status: status { |
15 | status { |
|
Line 23... | Line 16... | |||
23 | label = "miniembwifi:green:status"; |
16 | label = "miniembwifi:green:status"; |
|
24 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
17 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
|
25 | }; |
18 | }; |
|
26 | |
19 | |
|
27 | wlan { |
20 | wlan { |
|
Line 28... | Line 21... | |||
28 | label = "miniembwifi:green:wlan"; |
21 | label = "miniembwifi:green:wlan"; |
|
29 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
22 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
|
- | 23 | }; |
||
- | 24 | }; |
||
30 | }; |
25 | |
|
Line 31... | Line 26... | |||
31 | }; |
26 | gpio-keys-polled { |
|
32 | |
27 | compatible = "gpio-keys-polled"; |
|
33 | keys { |
28 | #address-cells = <1>; |
|
Line 44... | Line 39... | |||
44 | cfi@1f000000 { |
39 | cfi@1f000000 { |
|
45 | compatible = "cfi-flash"; |
40 | compatible = "cfi-flash"; |
|
46 | reg = <0x1f000000 0x800000>; |
41 | reg = <0x1f000000 0x800000>; |
|
47 | bank-width = <2>; |
42 | bank-width = <2>; |
|
48 | device-width = <2>; |
43 | device-width = <2>; |
|
- | 44 | #address-cells = <1>; |
||
- | 45 | #size-cells = <1>; |
||
- | 46 | |
||
- | 47 | partition@0 { |
||
- | 48 | label = "u-boot"; |
||
- | 49 | reg = <0x0 0x30000>; |
||
- | 50 | read-only; |
||
- | 51 | }; |
||
- | 52 | |
||
- | 53 | partition@30000 { |
||
- | 54 | label = "u-boot-env"; |
||
- | 55 | reg = <0x30000 0x10000>; |
||
- | 56 | read-only; |
||
- | 57 | }; |
||
- | 58 | |
||
- | 59 | factory: partition@40000 { |
||
- | 60 | label = "factory"; |
||
- | 61 | reg = <0x40000 0x10000>; |
||
- | 62 | read-only; |
||
- | 63 | }; |
||
Line 49... | Line -... | |||
49 | |
- | ||
50 | partitions { |
- | ||
51 | compatible = "fixed-partitions"; |
- | ||
52 | #address-cells = <1>; |
- | ||
53 | #size-cells = <1>; |
- | ||
54 | |
- | ||
55 | partition@0 { |
- | ||
56 | label = "u-boot"; |
- | ||
57 | reg = <0x0 0x30000>; |
- | ||
58 | read-only; |
- | ||
59 | }; |
- | ||
60 | |
- | ||
61 | partition@30000 { |
- | ||
62 | label = "u-boot-env"; |
- | ||
63 | reg = <0x30000 0x10000>; |
- | ||
64 | read-only; |
- | ||
65 | }; |
- | ||
66 | |
- | ||
67 | factory: partition@40000 { |
- | ||
68 | label = "factory"; |
- | ||
69 | reg = <0x40000 0x10000>; |
- | ||
70 | read-only; |
- | ||
71 | }; |
- | ||
72 | |
64 | |
|
73 | partition@50000 { |
- | ||
74 | compatible = "denx,uimage"; |
65 | partition@50000 { |
|
75 | label = "firmware"; |
66 | label = "firmware"; |
|
76 | reg = <0x50000 0x7b0000>; |
- | ||
77 | }; |
67 | reg = <0x50000 0x7b0000>; |
|
78 | }; |
68 | }; |
|
79 | }; |
69 | }; |
|
Line 80... | Line 70... | |||
80 | }; |
70 | }; |