OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "asus,rp-n53", "ralink,mt7620a-soc"; |
9 | compatible = "asus,rp-n53", "ralink,mt7620a-soc"; |
|
Line 10... | Line 10... | |||
10 | model = "Asus RP-N53"; |
10 | model = "Asus RP-N53"; |
|
11 | |
11 | |
|
- | 12 | gpio-keys-polled { |
||
- | 13 | compatible = "gpio-keys-polled"; |
||
12 | keys { |
14 | #address-cells = <1>; |
|
Line 13... | Line 15... | |||
13 | compatible = "gpio-keys-polled"; |
15 | #size-cells = <0>; |
|
14 | poll-interval = <20>; |
16 | poll-interval = <20>; |
|
15 | |
17 | |
|
Line 36... | Line 38... | |||
36 | gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; |
38 | gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; |
|
37 | linux,code = <BTN_1>; |
39 | linux,code = <BTN_1>; |
|
38 | }; |
40 | }; |
|
39 | }; |
41 | }; |
|
Line 40... | Line 42... | |||
40 | |
42 | |
|
41 | leds { |
43 | gpio-leds { |
|
Line 42... | Line 44... | |||
42 | compatible = "gpio-leds"; |
44 | compatible = "gpio-leds"; |
|
43 | |
45 | |
|
44 | backlight { |
46 | backlight { |
|
Line 99... | Line 101... | |||
99 | |
101 | |
|
100 | &spi0 { |
102 | &spi0 { |
|
Line 101... | Line 103... | |||
101 | status = "okay"; |
103 | status = "okay"; |
|
- | 104 | |
||
- | 105 | m25p80@0 { |
||
102 | |
106 | #address-cells = <1>; |
|
103 | m25p80@0 { |
107 | #size-cells = <1>; |
|
104 | compatible = "jedec,spi-nor"; |
108 | compatible = "jedec,spi-nor"; |
|
Line 105... | Line -... | |||
105 | reg = <0>; |
- | ||
106 | spi-max-frequency = <10000000>; |
- | ||
107 | |
- | ||
108 | partitions { |
- | ||
109 | compatible = "fixed-partitions"; |
- | ||
110 | #address-cells = <1>; |
109 | reg = <0>; |
|
111 | #size-cells = <1>; |
110 | spi-max-frequency = <10000000>; |
|
112 | |
111 | |
|
113 | partition@0 { |
112 | partition@0 { |
|
114 | label = "u-boot"; |
113 | label = "u-boot"; |
|
115 | reg = <0x0 0x30000>; |
114 | reg = <0x0 0x30000>; |
|
116 | read-only; |
115 | read-only; |
|
117 | }; |
116 | }; |
|
118 | |
117 | |
|
119 | partition@30000 { |
118 | partition@30000 { |
|
120 | label = "u-boot-env"; |
119 | label = "u-boot-env"; |
|
121 | reg = <0x30000 0x10000>; |
120 | reg = <0x30000 0x10000>; |
|
122 | read-only; |
121 | read-only; |
|
123 | }; |
122 | }; |
|
124 | |
123 | |
|
125 | factory: partition@40000 { |
124 | factory: partition@40000 { |
|
126 | label = "factory"; |
125 | label = "factory"; |
|
127 | reg = <0x40000 0x10000>; |
126 | reg = <0x40000 0x10000>; |
|
128 | read-only; |
127 | read-only; |
|
129 | }; |
- | ||
130 | |
128 | }; |
|
131 | partition@50000 { |
129 | |
|
132 | compatible = "denx,uimage"; |
- | ||
133 | label = "firmware"; |
130 | partition@50000 { |
|
134 | reg = <0x50000 0x7b0000>; |
131 | label = "firmware"; |
|
135 | }; |
132 | reg = <0x50000 0x7b0000>; |
|
Line 136... | Line 133... | |||
136 | }; |
133 | }; |
|
Line 164... | Line 161... | |||
164 | pinctrl-0 = <&ephy_pins>; |
161 | pinctrl-0 = <&ephy_pins>; |
|
165 | }; |
162 | }; |
|
Line 166... | Line 163... | |||
166 | |
163 | |
|
167 | &pcie { |
164 | &pcie { |
|
168 | status = "okay"; |
- | ||
Line 169... | Line 165... | |||
169 | }; |
165 | status = "okay"; |
|
170 | |
166 | |
|
171 | &pcie0 { |
167 | pcie-bridge { |
|
172 | wifi@0,0 { |
168 | wifi@1814,5592 { |
|
173 | compatible = "pci1814,5592"; |
169 | compatible = "pci1814,5592"; |
|
174 | reg = <0x0000 0 0 0 0>; |
170 | reg = <0x0000 0 0 0 0>; |
|
- | 171 | ralink,2ghz = <0>; |
||
175 | ralink,2ghz = <0>; |
172 | ralink,mtd-eeprom = <&factory 0x8000>; |
|
176 | ralink,mtd-eeprom = <&factory 0x8000>; |
173 | }; |