OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "dlink,dir-810l", "ralink,mt7620a-soc"; |
9 | compatible = "dlink,dir-810l", "ralink,mt7620a-soc"; |
|
Line 10... | Line 10... | |||
10 | model = "D-Link DIR-810L"; |
10 | model = "D-Link DIR-810L"; |
|
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_power_green; |
- | ||
14 | led-failsafe = &led_power_green; |
- | ||
15 | led-running = &led_power_green; |
- | ||
16 | led-upgrade = &led_power_green; |
- | ||
17 | }; |
- | ||
18 | |
11 | |
|
- | 12 | gpio-keys-polled { |
||
- | 13 | compatible = "gpio-keys-polled"; |
||
19 | keys { |
14 | #address-cells = <1>; |
|
Line 20... | Line 15... | |||
20 | compatible = "gpio-keys-polled"; |
15 | #size-cells = <0>; |
|
21 | poll-interval = <20>; |
16 | poll-interval = <20>; |
|
22 | |
17 | |
|
Line 31... | Line 26... | |||
31 | gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
26 | gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
|
32 | linux,code = <BTN_0>; |
27 | linux,code = <BTN_0>; |
|
33 | }; |
28 | }; |
|
34 | }; |
29 | }; |
|
Line 35... | Line 30... | |||
35 | |
30 | |
|
36 | leds { |
31 | gpio-leds { |
|
Line 37... | Line 32... | |||
37 | compatible = "gpio-leds"; |
32 | compatible = "gpio-leds"; |
|
38 | |
33 | |
|
39 | led_power_green: power { |
34 | power { |
|
40 | label = "dir-810l:green:power"; |
35 | label = "dir-810l:green:power"; |
|
Line 41... | Line 36... | |||
41 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
36 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
|
42 | }; |
37 | }; |
|
43 | |
38 | |
|
44 | wan { |
39 | wan { |
|
Line 45... | Line 40... | |||
45 | label = "dir-810l:orange:wan"; |
40 | label = "dir-810l:orange:wan"; |
|
46 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
41 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
|
47 | }; |
42 | }; |
|
48 | |
43 | |
|
49 | power2 { |
44 | status { |
|
50 | label = "dir-810l:orange:power"; |
45 | label = "dir-810l:orange:power"; |
|
Line 51... | Line 46... | |||
51 | gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; |
46 | gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; |
|
52 | }; |
47 | }; |
|
Line 53... | Line 48... | |||
53 | }; |
48 | }; |
|
- | 49 | }; |
||
- | 50 | |
||
54 | }; |
51 | &spi0 { |
|
55 | |
52 | status = "okay"; |
|
56 | &spi0 { |
53 | |
|
Line 57... | Line -... | |||
57 | status = "okay"; |
- | ||
58 | |
- | ||
59 | m25p80@0 { |
- | ||
60 | compatible = "jedec,spi-nor"; |
- | ||
61 | reg = <0>; |
- | ||
62 | spi-max-frequency = <10000000>; |
54 | m25p80@0 { |
|
63 | |
55 | #address-cells = <1>; |
|
64 | partitions { |
56 | #size-cells = <1>; |
|
65 | compatible = "fixed-partitions"; |
57 | compatible = "jedec,spi-nor"; |
|
66 | #address-cells = <1>; |
58 | reg = <0>; |
|
Line 107... | Line 99... | |||
107 | reg = <0xe0000 0x80000>; |
99 | reg = <0xe0000 0x80000>; |
|
108 | read-only; |
100 | read-only; |
|
109 | }; |
101 | }; |
|
Line 110... | Line 102... | |||
110 | |
102 | |
|
111 | partition@170000 { |
- | ||
112 | compatible = "denx,uimage"; |
103 | partition@170000 { |
|
113 | label = "firmware"; |
104 | label = "firmware"; |
|
114 | reg = <0x170000 0x690000>; |
105 | reg = <0x170000 0x690000>; |
|
115 | }; |
106 | }; |
|
116 | }; |
107 | }; |
|
117 | }; |
- | ||
Line 118... | Line 108... | |||
118 | }; |
108 | }; |
|
119 | |
109 | |
|
120 | &pinctrl { |
110 | &pinctrl { |
|
121 | state_default: pinctrl0 { |
111 | state_default: pinctrl0 { |
|
Line 142... | Line 132... | |||
142 | }; |
132 | }; |
|
Line 143... | Line 133... | |||
143 | |
133 | |
|
144 | &wmac { |
134 | &wmac { |
|
145 | ralink,mtd-eeprom = <&factory 0>; |
135 | ralink,mtd-eeprom = <&factory 0>; |
|
146 | }; |
- | ||
147 | |
- | ||
148 | &pcie0 { |
- | ||
149 | wifi@0,0 { |
- | ||
150 | reg = <0x0000 0 0 0 0>; |
- | ||
151 | mediatek,mtd-eeprom = <&factory 0x8000>; |
- | ||
152 | ieee80211-freq-limit = <5000000 6000000>; |
- | ||
153 | }; |
- |