OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "rt3883.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "asus,rt-n56u", "ralink,rt3883-soc"; |
||
10 | model = "Asus RT-N56U"; |
||
11 | |||
12 | nor-flash@1c000000 { |
||
13 | compatible = "cfi-flash"; |
||
14 | reg = <0x1c000000 0x800000>; |
||
15 | bank-width = <2>; |
||
3 | office | 16 | #address-cells = <1>; |
17 | #size-cells = <1>; |
||
1 | office | 18 | |
3 | office | 19 | partition@0 { |
20 | reg = <0x0 0x0030000>; |
||
21 | label = "u-boot"; |
||
22 | read-only; |
||
23 | }; |
||
1 | office | 24 | |
3 | office | 25 | partition@30000 { |
26 | reg = <0x00030000 0x00010000>; |
||
27 | label = "u-boot-env"; |
||
28 | read-only; |
||
29 | }; |
||
1 | office | 30 | |
3 | office | 31 | factory: partition@40000 { |
32 | reg = <0x00040000 0x00010000>; |
||
33 | label = "factory"; |
||
34 | read-only; |
||
35 | }; |
||
1 | office | 36 | |
3 | office | 37 | partition@50000 { |
38 | reg = <0x00050000 0x007b0000>; |
||
39 | label = "firmware"; |
||
1 | office | 40 | }; |
41 | }; |
||
42 | |||
43 | rtl8367 { |
||
44 | compatible = "realtek,rtl8367"; |
||
45 | gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; |
||
46 | gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; |
||
47 | realtek,extif1 = <1 0 1 1 1 1 1 1 2>; |
||
48 | }; |
||
49 | |||
3 | office | 50 | gpio-keys-polled { |
1 | office | 51 | compatible = "gpio-keys-polled"; |
3 | office | 52 | #address-cells = <1>; |
53 | #size-cells = <0>; |
||
1 | office | 54 | poll-interval = <100>; |
55 | |||
56 | reset { |
||
57 | label = "reset"; |
||
58 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
||
59 | linux,code = <KEY_RESTART>; |
||
60 | }; |
||
61 | |||
62 | wps { |
||
63 | label = "wps"; |
||
64 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
||
65 | linux,code = <KEY_WPS_BUTTON>; |
||
66 | }; |
||
67 | }; |
||
68 | |||
3 | office | 69 | gpio-leds { |
1 | office | 70 | compatible = "gpio-leds"; |
71 | |||
3 | office | 72 | power { |
1 | office | 73 | label = "rt-n56u:blue:power"; |
74 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
75 | }; |
||
76 | |||
77 | lan { |
||
78 | label = "rt-n56u:blue:lan"; |
||
79 | gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; |
||
80 | }; |
||
81 | |||
82 | wan { |
||
83 | label = "rt-n56u:blue:wan"; |
||
84 | gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; |
||
85 | }; |
||
86 | |||
87 | usb { |
||
88 | label = "rt-n56u:blue:usb"; |
||
89 | gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; |
||
90 | }; |
||
91 | }; |
||
92 | }; |
||
93 | |||
94 | &gpio1 { |
||
95 | status = "okay"; |
||
96 | }; |
||
97 | |||
98 | &pinctrl { |
||
99 | state_default: pinctrl0 { |
||
100 | gpio { |
||
101 | ralink,group = "spi", "i2c", "jtag", "uartf"; |
||
102 | ralink,function = "gpio"; |
||
103 | }; |
||
104 | }; |
||
105 | }; |
||
106 | |||
107 | ðernet { |
||
108 | mtd-mac-address = <&factory 0x4>; |
||
109 | |||
110 | port@0 { |
||
111 | mediatek,fixed-link = <1000 1 1 1>; |
||
112 | }; |
||
113 | }; |
||
114 | |||
115 | &pci { |
||
116 | status = "okay"; |
||
3 | office | 117 | pinctrl-names = "default"; |
118 | pinctrl-0 = <&pci_pins>; |
||
1 | office | 119 | |
3 | office | 120 | pci_pins: pci { |
121 | pci { |
||
122 | ralink,group = "pci"; |
||
123 | ralink,function = "pci-fnc"; |
||
124 | }; |
||
125 | }; |
||
1 | office | 126 | |
3 | office | 127 | host-bridge { |
128 | pci-bridge@1 { |
||
129 | status = "okay"; |
||
130 | |||
131 | wifi@1814,3091 { |
||
132 | compatible = "pci1814,3091"; |
||
133 | reg = <0x10000 0 0 0 0>; |
||
134 | ralink,mtd-eeprom = <&factory 0x8000>; |
||
135 | }; |
||
136 | }; |
||
1 | office | 137 | }; |
138 | }; |
||
139 | |||
140 | &wmac { |
||
141 | status = "okay"; |
||
142 | ralink,2ghz = <0>; |
||
143 | ralink,mtd-eeprom = <&factory 0>; |
||
144 | }; |
||
145 | |||
146 | &ehci { |
||
147 | status = "okay"; |
||
148 | }; |
||
149 | |||
150 | &ohci { |
||
151 | status = "okay"; |
||
152 | }; |