OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "edimax,br-6475nd", "ralink,rt3883-soc"; |
9 | compatible = "edimax,br-6475nd", "ralink,rt3883-soc"; |
|
Line 10... | Line 10... | |||
10 | model = "Edimax BR-6475nD"; |
10 | model = "Edimax BR-6475nD"; |
|
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_power; |
- | ||
14 | led-failsafe = &led_power; |
- | ||
15 | led-running = &led_power; |
- | ||
16 | led-upgrade = &led_power; |
- | ||
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 = <100>; |
16 | poll-interval = <100>; |
|
22 | |
17 | |
|
Line 32... | Line 27... | |||
32 | linux,input-type = <EV_SW>; |
27 | linux,input-type = <EV_SW>; |
|
33 | linux,code = <KEY_RFKILL>; |
28 | linux,code = <KEY_RFKILL>; |
|
34 | }; |
29 | }; |
|
35 | }; |
30 | }; |
|
Line 36... | Line 31... | |||
36 | |
31 | |
|
37 | leds { |
32 | gpio-leds { |
|
Line 38... | Line 33... | |||
38 | compatible = "gpio-leds"; |
33 | compatible = "gpio-leds"; |
|
39 | |
34 | |
|
40 | led_power: power { |
35 | power { |
|
41 | label = "br-6475nd:green:power"; |
36 | label = "br-6475nd:green:power"; |
|
Line 42... | Line 37... | |||
42 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
37 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
|
Line 55... | Line 50... | |||
55 | |
50 | |
|
56 | nor-flash@1c000000 { |
51 | nor-flash@1c000000 { |
|
57 | compatible = "cfi-flash"; |
52 | compatible = "cfi-flash"; |
|
58 | reg = <0x1c000000 0x800000>; |
53 | reg = <0x1c000000 0x800000>; |
|
- | 54 | bank-width = <2>; |
||
- | 55 | #address-cells = <1>; |
||
Line 59... | Line -... | |||
59 | bank-width = <2>; |
- | ||
60 | |
- | ||
61 | partitions { |
- | ||
62 | compatible = "fixed-partitions"; |
- | ||
63 | #address-cells = <1>; |
- | ||
64 | #size-cells = <1>; |
56 | #size-cells = <1>; |
|
65 | |
57 | |
|
66 | partition@0 { |
58 | partition@0 { |
|
67 | reg = <0x00000000 0x00030000>; |
59 | reg = <0x00000000 0x00030000>; |
|
68 | label = "u-boot"; |
60 | label = "u-boot"; |
|
Line 69... | Line 61... | |||
69 | read-only; |
61 | read-only; |
|
70 | }; |
62 | }; |
|
71 | |
63 | |
|
72 | partition@30000 { |
64 | partition@30000 { |
|
73 | reg = <0x00030000 0x00010000>; |
65 | reg = <0x00030000 0x00010000>; |
|
Line 74... | Line 66... | |||
74 | label = "nvram"; |
66 | label = "nvram"; |
|
75 | read-only; |
67 | read-only; |
|
76 | }; |
68 | }; |
|
77 | |
69 | |
|
78 | factory: partition@40000 { |
70 | factory: partition@40000 { |
|
Line 79... | Line 71... | |||
79 | reg = <0x00040000 0x00010000>; |
71 | reg = <0x00040000 0x00010000>; |
|
80 | label = "factory"; |
72 | label = "factory"; |
|
81 | read-only; |
73 | read-only; |
|
82 | }; |
74 | }; |
|
83 | |
75 | |
|
Line 84... | Line 76... | |||
84 | devdata: partition@50000 { |
76 | devdata: partition@50000 { |
|
85 | reg = <0x00050000 0x00020000>; |
- | ||
86 | label = "devdata"; |
77 | reg = <0x00050000 0x00020000>; |
|
87 | read-only; |
78 | label = "devdata"; |
|
88 | }; |
- | ||
89 | |
79 | read-only; |
|
90 | partition@70000 { |
80 | }; |
|
Line 91... | Line 81... | |||
91 | compatible = "edimax,uimage"; |
81 | |
|
92 | reg = <0x00070000 0x00790000>; |
82 | partition@70000 { |
|
93 | label = "firmware"; |
83 | reg = <0x00070000 0x00790000>; |
|
94 | }; |
84 | label = "firmware"; |
|
95 | }; |
85 | }; |
|
96 | }; |
86 | }; |
|
Line 97... | Line -... | |||
97 | |
- | ||
98 | rtl8367 { |
87 | |
|
99 | compatible = "realtek,rtl8367"; |
88 | rtl8367 { |
|
100 | gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>; |
89 | compatible = "realtek,rtl8367"; |
|
101 | gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>; |
- | ||
102 | realtek,extif0 = <1 0 1 1 1 1 1 1 2>; |
90 | gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>; |
|
103 | }; |
91 | gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>; |
|
104 | |
92 | realtek,extif0 = <1 0 1 1 1 1 1 1 2>; |
|
105 | /* |
93 | }; |
|
Line 156... | Line 144... | |||
156 | ralink,mtd-eeprom = <&factory 0>; |
144 | ralink,mtd-eeprom = <&factory 0>; |
|
157 | }; |
145 | }; |
|
Line 158... | Line 146... | |||
158 | |
146 | |
|
159 | &pci { |
147 | &pci { |
|
- | 148 | status = "okay"; |
||
160 | status = "okay"; |
149 | pinctrl-names = "default"; |
|
Line -... | Line 150... | |||
- | 150 | pinctrl-0 = <&pci_pins>; |
||
161 | }; |
151 | |
|
- | 152 | pci_pins: pci { |
||
- | 153 | pci { |
||
- | 154 | ralink,group = "pci"; |
||
- | 155 | ralink,function = "pci-fnc"; |
||
- | 156 | }; |
||
- | 157 | }; |
||
- | 158 | |
||
162 | |
159 | host-bridge { |
|
Line 163... | Line 160... | |||
163 | &pci1 { |
160 | pci-bridge@1 { |
|
164 | status = "okay"; |
161 | status = "okay"; |
|
165 | |
162 | |
|
166 | wifi@0,0 { |
163 | wifi@0,0 { |
|
167 | compatible = "pci0,0"; |
164 | compatible = "pci0,0"; |
|
- | 165 | reg = <0x10000 0 0 0 0>; |
||
- | 166 | ralink,5ghz = <0>; |
||
168 | reg = <0x10000 0 0 0 0>; |
167 | ralink,mtd-eeprom = <&factory 0x8000>; |
|
169 | ralink,5ghz = <0>; |
168 | }; |
|
Line 170... | Line 169... | |||
170 | ralink,mtd-eeprom = <&factory 0x8000>; |
169 | }; |
|
171 | }; |
170 | }; |