OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "airlive,air3gii", "ralink,rt5350-soc"; |
9 | compatible = "airlive,air3gii", "ralink,rt5350-soc"; |
|
Line 10... | Line 10... | |||
10 | model = "AirLive Air3GII"; |
10 | model = "AirLive Air3GII"; |
|
11 | |
11 | |
|
Line 12... | Line 12... | |||
12 | leds { |
12 | gpio-leds { |
|
13 | compatible = "gpio-leds"; |
13 | compatible = "gpio-leds"; |
|
14 | |
14 | |
|
15 | wlan { |
15 | wlan { |
|
Line 16... | Line 16... | |||
16 | label = "air3gii:green:wlan"; |
16 | label = "air3gii:green:wlan"; |
|
17 | gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; |
17 | gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; |
|
18 | }; |
18 | }; |
|
19 | |
- | ||
20 | mobile { |
- | ||
21 | label = "air3gii:green:mobile"; |
19 | |
|
22 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
20 | mobile { |
|
Line 23... | Line 21... | |||
23 | trigger-sources = <&ohci_port1>, <&ehci_port1>; |
21 | label = "air3gii:green:mobile"; |
|
24 | linux,default-trigger = "usbport"; |
22 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
|
- | 23 | }; |
||
- | 24 | }; |
||
25 | }; |
25 | |
|
Line 26... | Line 26... | |||
26 | }; |
26 | gpio-keys-polled { |
|
27 | |
27 | compatible = "gpio-keys-polled"; |
|
28 | keys { |
28 | #address-cells = <1>; |
|
Line 43... | Line 43... | |||
43 | |
43 | |
|
44 | &spi0 { |
44 | &spi0 { |
|
Line 45... | Line 45... | |||
45 | status = "okay"; |
45 | status = "okay"; |
|
- | 46 | |
||
- | 47 | m25p80@0 { |
||
46 | |
48 | #address-cells = <1>; |
|
47 | m25p80@0 { |
49 | #size-cells = <1>; |
|
48 | compatible = "jedec,spi-nor"; |
50 | compatible = "jedec,spi-nor"; |
|
Line 49... | Line -... | |||
49 | reg = <0>; |
- | ||
50 | spi-max-frequency = <10000000>; |
- | ||
51 | |
- | ||
52 | partitions { |
- | ||
53 | compatible = "fixed-partitions"; |
- | ||
54 | #address-cells = <1>; |
51 | reg = <0>; |
|
55 | #size-cells = <1>; |
52 | spi-max-frequency = <10000000>; |
|
56 | |
53 | |
|
57 | partition@0 { |
54 | partition@0 { |
|
58 | label = "u-boot"; |
55 | label = "u-boot"; |
|
59 | reg = <0x0 0x30000>; |
56 | reg = <0x0 0x30000>; |
|
60 | read-only; |
57 | read-only; |
|
61 | }; |
58 | }; |
|
62 | |
59 | |
|
63 | partition@30000 { |
60 | partition@30000 { |
|
64 | label = "u-boot-env"; |
61 | label = "u-boot-env"; |
|
65 | reg = <0x30000 0x10000>; |
62 | reg = <0x30000 0x10000>; |
|
66 | read-only; |
63 | read-only; |
|
67 | }; |
64 | }; |
|
68 | |
65 | |
|
69 | factory: partition@40000 { |
66 | factory: partition@40000 { |
|
70 | label = "factory"; |
67 | label = "factory"; |
|
71 | reg = <0x40000 0x10000>; |
68 | reg = <0x40000 0x10000>; |
|
72 | read-only; |
69 | read-only; |
|
73 | }; |
- | ||
74 | |
70 | }; |
|
75 | partition@50000 { |
71 | |
|
76 | compatible = "denx,uimage"; |
- | ||
77 | label = "firmware"; |
72 | partition@50000 { |
|
78 | reg = <0x50000 0x3b0000>; |
73 | label = "firmware"; |
|
79 | }; |
74 | reg = <0x50000 0x3b0000>; |
|
Line 80... | Line 75... | |||
80 | }; |
75 | }; |