OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "trendnet,tew-691gr", "ralink,rt3883-soc"; |
9 | compatible = "trendnet,tew-691gr", "ralink,rt3883-soc"; |
|
Line 10... | Line -... | |||
10 | model = "TRENDnet TEW-691GR"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_wps; |
- | ||
14 | led-failsafe = &led_wps; |
- | ||
15 | led-running = &led_wps; |
- | ||
16 | led-upgrade = &led_wps; |
- | ||
17 | }; |
10 | model = "TRENDnet TEW-691GR"; |
|
18 | |
11 | |
|
19 | nor-flash@1c000000 { |
12 | nor-flash@1c000000 { |
|
20 | compatible = "cfi-flash"; |
13 | compatible = "cfi-flash"; |
|
- | 14 | reg = <0x1c000000 0x800000>; |
||
- | 15 | bank-width = <2>; |
||
Line 21... | Line -... | |||
21 | reg = <0x1c000000 0x800000>; |
- | ||
22 | bank-width = <2>; |
- | ||
23 | |
- | ||
24 | partitions { |
- | ||
25 | compatible = "fixed-partitions"; |
- | ||
26 | #address-cells = <1>; |
16 | #address-cells = <1>; |
|
27 | #size-cells = <1>; |
17 | #size-cells = <1>; |
|
28 | |
18 | |
|
29 | partition@0 { |
19 | partition@0 { |
|
30 | reg = <0x0 0x0030000>; |
20 | reg = <0x0 0x0030000>; |
|
31 | label = "u-boot"; |
21 | label = "u-boot"; |
|
32 | read-only; |
22 | read-only; |
|
33 | }; |
23 | }; |
|
34 | |
24 | |
|
35 | partition@30000 { |
25 | partition@30000 { |
|
36 | reg = <0x00030000 0x00010000>; |
26 | reg = <0x00030000 0x00010000>; |
|
37 | label = "u-boot-env"; |
27 | label = "u-boot-env"; |
|
38 | read-only; |
28 | read-only; |
|
39 | }; |
29 | }; |
|
40 | |
30 | |
|
41 | factory: partition@40000 { |
31 | factory: partition@40000 { |
|
42 | reg = <0x00040000 0x00010000>; |
32 | reg = <0x00040000 0x00010000>; |
|
43 | label = "factory"; |
33 | label = "factory"; |
|
44 | read-only; |
34 | read-only; |
|
45 | }; |
- | ||
46 | |
35 | }; |
|
47 | partition@50000 { |
36 | |
|
48 | compatible = "denx,uimage"; |
- | ||
49 | reg = <0x00050000 0x007b0000>; |
37 | partition@50000 { |
|
50 | label = "firmware"; |
38 | reg = <0x00050000 0x007b0000>; |
|
Line 51... | Line 39... | |||
51 | }; |
39 | label = "firmware"; |
|
52 | }; |
40 | }; |
|
- | 41 | }; |
||
- | 42 | |
||
53 | }; |
43 | gpio-keys-polled { |
|
Line 54... | Line 44... | |||
54 | |
44 | compatible = "gpio-keys-polled"; |
|
55 | keys { |
45 | #address-cells = <1>; |
|
56 | compatible = "gpio-keys-polled"; |
46 | #size-cells = <0>; |
|
Line 73... | Line 63... | |||
73 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
63 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
|
74 | linux,code = <KEY_RFKILL>; |
64 | linux,code = <KEY_RFKILL>; |
|
75 | }; |
65 | }; |
|
76 | }; |
66 | }; |
|
Line 77... | Line 67... | |||
77 | |
67 | |
|
78 | leds { |
68 | gpio-leds { |
|
Line 79... | Line 69... | |||
79 | compatible = "gpio-leds"; |
69 | compatible = "gpio-leds"; |
|
80 | |
70 | |
|
81 | led_wps: wps { |
71 | wps { |
|
82 | label = "tew-691gr:green:wps"; |
72 | label = "tew-691gr:green:wps"; |
|
83 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
73 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
|
84 | }; |
74 | }; |