OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "rt2880.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 #address-cells = <1>;
10 #size-cells = <1>;
11 compatible = "belkin,f5d8235-v1", "ralink,rt2880-soc";
12 model = "Belkin F5D8235 v1";
13  
3 office 14 pci@440000 {
15 status = "ok";
1 office 16 };
17  
18 cfi@1f000000 {
19 compatible = "cfi-flash";
20 reg = <0xbc400000 0x800000>;
21 bank-width = <2>;
22 device-width = <2>;
3 office 23 #address-cells = <1>;
24 #size-cells = <1>;
1 office 25  
3 office 26 partition@0 {
27 label = "uboot";
28 reg = <0x0 0x30000>;
29 read-only;
30 };
1 office 31  
3 office 32 partition@30000 {
33 label = "uboot-env";
34 reg = <0x30000 0x10000>;
35 read-only;
36 };
1 office 37  
3 office 38 factory: partition@40000 {
39 label = "factory";
40 reg = <0x40000 0x10000>;
41 read-only;
42 };
1 office 43  
3 office 44 partition@50000 {
45 label = "firmware";
46 reg = <0x50000 0x7b0000>;
1 office 47 };
48 };
49  
50 rtl8366s {
51 compatible = "realtek,rtl8366s";
52 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
53 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
54  
55 realtek,initvals = <
56 0x0242 0x02BF
57 0x0245 0x02BF
58 0x0248 0x02BF
59 0x024B 0x02BF
60 0x024E 0x02BF
61 0x0251 0x02BF
62 0x0254 0x0A3F
63 0x0256 0x0A3F
64 0x0258 0x0A3F
65 0x025A 0x0A3F
66 0x025C 0x0A3F
67 0x025E 0x0A3F
68 0x0263 0x007C
69 0x0100 0x0004
70 0xBE5B 0x3500
71 0x800E 0x200F
72 0xBE1D 0x0F00
73 0x8001 0x5011
74 0x800A 0xA2F4
75 0x800B 0x17A3
76 0xBE4B 0x17A3
77 0xBE41 0x5011
78 0xBE17 0x2100
79 0x8000 0x8304
80 0xBE40 0x8304
81 0xBE4A 0xA2F4
82 0x800C 0xA8D5
83 0x8014 0x5500
84 0x8015 0x0004
85 0xBE4C 0xA8D5
86 0xBE59 0x0008
87 0xBE09 0x0E00
88 0xBE36 0x1036
89 0xBE37 0x1036
90 0x800D 0x00FF
91 0xBE4D 0x00FF
92 >;
93  
94 realtek,green-ethernet-features;
95 };
96  
3 office 97 gpio-keys-polled {
1 office 98 compatible = "gpio-keys-polled";
3 office 99 #address-cells = <1>;
100 #size-cells = <0>;
1 office 101 poll-interval = <100>;
102  
103 wps {
104 label = "wps";
105 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
106 linux,code = <KEY_WPS_BUTTON>;
107 };
108  
109 reset {
110 label = "reset";
111 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_RESTART>;
113 };
114 };
115  
3 office 116 gpio-leds {
1 office 117 compatible = "gpio-leds";
118  
119 internet {
120 label = "f5d8235-v1:blue:internet";
121 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
122 };
123  
124 internet2 {
125 label = "f5d8235-v1:amber:internet";
126 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
127 };
128  
129 modem {
130 label = "f5d8235-v1:blue:modem";
131 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
132 };
133  
134 modem2 {
135 label = "f5d8235-v1:amber:modem";
136 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
137 };
138  
139 router {
140 label = "f5d8235-v1:blue:router";
141 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
142 };
143  
144 storage {
145 label = "f5d8235-v1:blue:storage";
146 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
147 };
148  
149 storage2 {
150 label = "f5d8235-v1:amber:storage";
151 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
152 };
153  
154 security {
155 label = "f5d8235-v1:blue:security";
156 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
157 };
158  
159 security2 {
160 label = "f5d8235-v1:amber:security";
161 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
162 };
163  
3 office 164 wired {
1 office 165 label = "f5d8235-v1:blue:wired";
166 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
167 };
168  
169 wired2 {
170 label = "f5d8235-v1:amber:wired";
171 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
172 };
173  
174 wireless {
175 label = "f5d8235-v1:blue:wireless";
176 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
177 };
178  
179 wireless2 {
180 label = "f5d8235-v1:amber:wireless";
181 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
182 };
183 };
184 };
185  
186 &gpio0 {
187 status = "okay";
188 };
189  
190 &pinctrl {
191 state_default: pinctrl0 {
192 gpio {
193 ralink,group = "spi", "i2c", "jtag", "mdio", "uartlite";
194 ralink,function = "gpio";
195 };
196 };
197 };
198  
199 &ethernet {
200 status = "okay";
201 mtd-mac-address = <&factory 0x4>;
202  
203 port@0 {
204 mediatek,fixed-link = <1000 1 1 1>;
205 };
206 };
207  
208 &wmac {
209 status = "okay";
210 ralink,mtd-eeprom = <&factory 0x0>;
211 };