OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "asus,rt-n56u", "ralink,rt3883-soc"; |
9 | compatible = "asus,rt-n56u", "ralink,rt3883-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Asus RT-N56U"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_power; |
- | ||
14 | led-failsafe = &led_power; |
- | ||
15 | led-running = &led_power; |
- | ||
16 | led-upgrade = &led_power; |
- | ||
17 | }; |
10 | model = "Asus RT-N56U"; |
|
18 | |
11 | |
|
19 | nor-flash@1c000000 { |
12 | nor-flash@1c000000 { |
|
20 | compatible = "cfi-flash"; |
13 | compatible = "cfi-flash"; |
|
- | 14 | reg = <0x1c000000 0x800000>; |
||
- | 15 | bank-width = <2>; |
||
Line 21... | Line -... | |||
21 | reg = <0x1c000000 0x800000>; |
- | ||
22 | bank-width = <2>; |
- | ||
23 | |
- | ||
24 | partitions { |
- | ||
25 | compatible = "fixed-partitions"; |
- | ||
26 | #address-cells = <1>; |
16 | #address-cells = <1>; |
|
27 | #size-cells = <1>; |
17 | #size-cells = <1>; |
|
28 | |
18 | |
|
29 | partition@0 { |
19 | partition@0 { |
|
30 | reg = <0x0 0x0030000>; |
20 | reg = <0x0 0x0030000>; |
|
Line 31... | Line 21... | |||
31 | label = "u-boot"; |
21 | label = "u-boot"; |
|
32 | read-only; |
22 | read-only; |
|
33 | }; |
23 | }; |
|
34 | |
24 | |
|
35 | partition@30000 { |
25 | partition@30000 { |
|
Line 36... | Line 26... | |||
36 | reg = <0x00030000 0x00010000>; |
26 | reg = <0x00030000 0x00010000>; |
|
37 | label = "u-boot-env"; |
27 | label = "u-boot-env"; |
|
38 | read-only; |
28 | read-only; |
|
39 | }; |
29 | }; |
|
40 | |
30 | |
|
Line 41... | Line 31... | |||
41 | factory: partition@40000 { |
31 | factory: partition@40000 { |
|
42 | reg = <0x00040000 0x00010000>; |
- | ||
43 | label = "factory"; |
32 | reg = <0x00040000 0x00010000>; |
|
44 | read-only; |
33 | label = "factory"; |
|
45 | }; |
- | ||
46 | |
34 | read-only; |
|
47 | partition@50000 { |
35 | }; |
|
Line 48... | Line 36... | |||
48 | compatible = "denx,uimage"; |
36 | |
|
49 | reg = <0x00050000 0x007b0000>; |
37 | partition@50000 { |
|
50 | label = "firmware"; |
38 | reg = <0x00050000 0x007b0000>; |
|
51 | }; |
39 | label = "firmware"; |
|
52 | }; |
40 | }; |
|
53 | }; |
41 | }; |
|
Line 54... | Line 42... | |||
54 | |
42 | |
|
55 | rtl8367 { |
43 | rtl8367 { |
|
- | 44 | compatible = "realtek,rtl8367"; |
||
- | 45 | gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; |
||
56 | compatible = "realtek,rtl8367"; |
46 | gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
|
Line 57... | Line 47... | |||
57 | gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; |
47 | realtek,extif1 = <1 0 1 1 1 1 1 1 2>; |
|
58 | gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
48 | }; |
|
59 | realtek,extif1 = <1 0 1 1 1 1 1 1 2>; |
49 | |
|
Line 74... | Line 64... | |||
74 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
64 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
|
75 | linux,code = <KEY_WPS_BUTTON>; |
65 | linux,code = <KEY_WPS_BUTTON>; |
|
76 | }; |
66 | }; |
|
77 | }; |
67 | }; |
|
Line 78... | Line 68... | |||
78 | |
68 | |
|
79 | leds { |
69 | gpio-leds { |
|
Line 80... | Line 70... | |||
80 | compatible = "gpio-leds"; |
70 | compatible = "gpio-leds"; |
|
81 | |
71 | |
|
82 | led_power: power { |
72 | power { |
|
83 | label = "rt-n56u:blue:power"; |
73 | label = "rt-n56u:blue:power"; |
|
Line 84... | Line 74... | |||
84 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
74 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
|
Line 122... | Line 112... | |||
122 | }; |
112 | }; |
|
123 | }; |
113 | }; |
|
Line 124... | Line 114... | |||
124 | |
114 | |
|
125 | &pci { |
115 | &pci { |
|
- | 116 | status = "okay"; |
||
126 | status = "okay"; |
117 | pinctrl-names = "default"; |
|
Line -... | Line 118... | |||
- | 118 | pinctrl-0 = <&pci_pins>; |
||
127 | }; |
119 | |
|
- | 120 | pci_pins: pci { |
||
- | 121 | pci { |
||
- | 122 | ralink,group = "pci"; |
||
- | 123 | ralink,function = "pci-fnc"; |
||
- | 124 | }; |
||
- | 125 | }; |
||
- | 126 | |
||
128 | |
127 | host-bridge { |
|
Line 129... | Line 128... | |||
129 | &pci1 { |
128 | pci-bridge@1 { |
|
130 | status = "okay"; |
129 | status = "okay"; |
|
131 | |
130 | |
|
132 | wifi@0,0 { |
131 | wifi@1814,3091 { |
|
- | 132 | compatible = "pci1814,3091"; |
||
- | 133 | reg = <0x10000 0 0 0 0>; |
||
133 | compatible = "pci1814,3091"; |
134 | ralink,mtd-eeprom = <&factory 0x8000>; |
|
134 | reg = <0x10000 0 0 0 0>; |
135 | }; |
|
Line 135... | Line 136... | |||
135 | ralink,mtd-eeprom = <&factory 0x8000>; |
136 | }; |
|
136 | }; |
137 | }; |