OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "dlink,dir-600-b1", "ralink,rt3050-soc"; |
9 | compatible = "dlink,dir-600-b1", "ralink,rt3050-soc"; |
|
Line 10... | Line -... | |||
10 | model = "D-Link DIR-600 B1"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_status_green; |
- | ||
14 | led-failsafe = &led_status_green; |
- | ||
15 | led-running = &led_status_green; |
- | ||
16 | led-upgrade = &led_status_green; |
- | ||
17 | }; |
10 | model = "D-Link DIR-600 B1"; |
|
18 | |
11 | |
|
19 | cfi@1f000000 { |
12 | cfi@1f000000 { |
|
20 | compatible = "cfi-flash"; |
13 | compatible = "cfi-flash"; |
|
21 | reg = <0x1f000000 0x800000>; |
14 | reg = <0x1f000000 0x800000>; |
|
22 | bank-width = <2>; |
- | ||
23 | device-width = <2>; |
- | ||
24 | |
- | ||
25 | partitions { |
15 | bank-width = <2>; |
|
26 | compatible = "fixed-partitions"; |
16 | device-width = <2>; |
|
Line 27... | Line 17... | |||
27 | #address-cells = <1>; |
17 | #address-cells = <1>; |
|
28 | #size-cells = <1>; |
18 | #size-cells = <1>; |
|
Line 44... | Line 34... | |||
44 | reg = <0x40000 0x10000>; |
34 | reg = <0x40000 0x10000>; |
|
45 | read-only; |
35 | read-only; |
|
46 | }; |
36 | }; |
|
Line 47... | Line 37... | |||
47 | |
37 | |
|
48 | partition@50000 { |
- | ||
49 | compatible = "denx,uimage"; |
38 | partition@50000 { |
|
50 | label = "firmware"; |
39 | label = "firmware"; |
|
51 | reg = <0x50000 0x3b0000>; |
40 | reg = <0x50000 0x3b0000>; |
|
52 | }; |
41 | }; |
|
53 | }; |
- | ||
Line 54... | Line 42... | |||
54 | }; |
42 | }; |
|
55 | |
43 | |
|
- | 44 | gpio-keys-polled { |
||
- | 45 | compatible = "gpio-keys-polled"; |
||
56 | keys { |
46 | #address-cells = <1>; |
|
Line 57... | Line 47... | |||
57 | compatible = "gpio-keys-polled"; |
47 | #size-cells = <0>; |
|
58 | poll-interval = <20>; |
48 | poll-interval = <20>; |
|
59 | |
49 | |
|
Line 68... | Line 58... | |||
68 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
58 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
|
69 | linux,code = <KEY_WPS_BUTTON>; |
59 | linux,code = <KEY_WPS_BUTTON>; |
|
70 | }; |
60 | }; |
|
71 | }; |
61 | }; |
|
Line 72... | Line 62... | |||
72 | |
62 | |
|
73 | leds { |
63 | gpio-leds { |
|
Line 74... | Line 64... | |||
74 | compatible = "gpio-leds"; |
64 | compatible = "gpio-leds"; |
|
75 | |
65 | |
|
76 | status { |
66 | status { |
|
77 | label = "dir-600-b1:amber:status"; |
67 | label = "dir-600-b1:amber:status"; |
|
Line 78... | Line 68... | |||
78 | gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; |
68 | gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; |
|
79 | }; |
69 | }; |
|
80 | |
70 | |
|
81 | led_status_green: status2 { |
71 | status2 { |
|
Line 82... | Line 72... | |||
82 | label = "dir-600-b1:green:status"; |
72 | label = "dir-600-b1:green:status"; |