OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "dlink,dap-1522-a1", "ralink,rt2880-soc"; |
9 | compatible = "dlink,dap-1522-a1", "ralink,rt2880-soc"; |
|
Line 10... | Line -... | |||
10 | model = "D-Link DAP-1522 A1"; |
- | ||
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 = "D-Link DAP-1522 A1"; |
|
18 | |
11 | |
|
19 | cfi@bc400000 { |
12 | cfi@bc400000 { |
|
20 | compatible = "cfi-flash"; |
13 | compatible = "cfi-flash"; |
|
21 | reg = <0xbc400000 0x800000>; |
14 | reg = <0xbc400000 0x800000>; |
|
- | 15 | bank-width = <2>; |
||
- | 16 | device-width = <2>; |
||
- | 17 | #address-cells = <1>; |
||
- | 18 | #size-cells = <1>; |
||
- | 19 | |
||
- | 20 | partition@0 { |
||
- | 21 | label = "uboot"; |
||
- | 22 | reg = <0x0 0x30000>; |
||
- | 23 | read-only; |
||
- | 24 | }; |
||
- | 25 | |
||
- | 26 | factory: partition@30000 { |
||
- | 27 | label = "factory"; |
||
- | 28 | reg = <0x30000 0x10000>; |
||
Line 22... | Line -... | |||
22 | bank-width = <2>; |
- | ||
23 | device-width = <2>; |
- | ||
24 | |
- | ||
25 | partitions { |
- | ||
26 | compatible = "fixed-partitions"; |
- | ||
27 | #address-cells = <1>; |
- | ||
28 | #size-cells = <1>; |
- | ||
29 | |
- | ||
30 | partition@0 { |
- | ||
31 | label = "uboot"; |
- | ||
32 | reg = <0x0 0x30000>; |
- | ||
33 | read-only; |
- | ||
34 | }; |
- | ||
35 | |
- | ||
36 | factory: partition@30000 { |
- | ||
37 | label = "factory"; |
- | ||
38 | reg = <0x30000 0x10000>; |
- | ||
39 | read-only; |
29 | read-only; |
|
40 | }; |
- | ||
41 | |
30 | }; |
|
42 | partition@40000 { |
31 | |
|
43 | compatible = "wrg"; |
- | ||
44 | label = "firmware"; |
32 | partition@40000 { |
|
45 | reg = <0x40000 0x3a0000>; |
33 | label = "firmware"; |
|
Line 46... | Line 34... | |||
46 | }; |
34 | reg = <0x40000 0x3a0000>; |
|
47 | }; |
35 | }; |
|
48 | }; |
36 | }; |
|
49 | |
37 | |
|
50 | rtl8366s { |
38 | rtl8366s { |
|
Line 51... | Line 39... | |||
51 | compatible = "realtek,rtl8366s"; |
39 | compatible = "realtek,rtl8366s"; |
|
52 | gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; |
40 | gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; |
|
- | 41 | gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
||
- | 42 | }; |
||
53 | gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
43 | |
|
Line 54... | Line 44... | |||
54 | }; |
44 | gpio-keys-polled { |
|
55 | |
45 | compatible = "gpio-keys-polled"; |
|
56 | keys { |
46 | #address-cells = <1>; |
|
Line 82... | Line 72... | |||
82 | linux,code = <BTN_1>; |
72 | linux,code = <BTN_1>; |
|
83 | linux,input-type = <EV_SW>; |
73 | linux,input-type = <EV_SW>; |
|
84 | }; |
74 | }; |
|
85 | }; |
75 | }; |
|
Line 86... | Line 76... | |||
86 | |
76 | |
|
87 | leds { |
77 | gpio-leds { |
|
Line 88... | Line 78... | |||
88 | compatible = "gpio-leds"; |
78 | compatible = "gpio-leds"; |
|
89 | |
79 | |
|
90 | wps { |
80 | wps { |
|
Line 100... | Line 90... | |||
100 | sta { |
90 | sta { |
|
101 | label = "dap-1522-a1:red:sta"; |
91 | label = "dap-1522-a1:red:sta"; |
|
102 | gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; |
92 | gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; |
|
103 | }; |
93 | }; |
|
Line 104... | Line 94... | |||
104 | |
94 | |
|
105 | led_status: status { |
95 | status { |
|
106 | label = "dap-1522-a1:blue:status"; |
96 | label = "dap-1522-a1:blue:status"; |
|
107 | gpios = <&gpio2 20 GPIO_ACTIVE_LOW>; |
97 | gpios = <&gpio2 20 GPIO_ACTIVE_LOW>; |
|
108 | }; |
98 | }; |
|
109 | }; |
99 | }; |