lantiq: generate unique ARV7519RW22 firmware
[openwrt/svn-archive/archive.git] / target / linux / lantiq / dts / ARV7519RW22.dts
1 /dts-v1/;
2
3 /include/ "vr9.dtsi"
4
5 / {
6 model = "ARV7519RW22 - Astoria Networks ARV7519RW22-A-LT";
7
8 chosen {
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10 };
11
12 memory@0 {
13 reg = <0x0 0x8000000>;
14 };
15
16 fpi@10000000 {
17 localbus@0 {
18 nor-boot@0 {
19 compatible = "lantiq,nor";
20 bank-width = <2>;
21 reg = <0 0x0 0x2000000>, <1 0x2000000 0x2000000>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24
25 partition@0 {
26 label = "uboot";
27 reg = <0x0 0x60000>;
28 read-only;
29 };
30
31 partition@60000 {
32 label = "uboot-env";
33 reg = <0x60000 0x20000>;
34 read-only;
35 };
36
37 partition@80000 {
38 label = "firmware";
39 reg = <0x80000 0x1e00000>;
40 };
41
42 partition@1e80000 {
43 label = "dsl_fw";
44 reg = <0x1e80000 0x100000>;
45 };
46
47 boardconfig: partition@1f80000 {
48 label = "boardconfig";
49 reg = <0x1f80000 0x80000>;
50 read-only;
51 };
52 };
53 };
54
55 gpio: pinmux@E100B10 {
56 pinctrl-names = "default";
57 pinctrl-0 = <&state_default>;
58
59 state_default: pinmux {
60 mdio {
61 lantiq,groups = "mdio";
62 lantiq,function = "mdio";
63 };
64 pcie-rst {
65 lantiq,pins = "io21";
66 lantiq,pull = <0>;
67 lantiq,output = <1>;
68 };
69 };
70 };
71
72 eth@E108000 {
73 #address-cells = <1>;
74 #size-cells = <0>;
75 compatible = "lantiq,xrx200-net";
76 reg = < 0xE108000 0x3000 /* switch */
77 0xE10B100 0x70 /* mdio */
78 0xE10B1D8 0x30 /* mii */
79 0xE10B308 0x30 /* pmac */
80 >;
81 interrupt-parent = <&icu0>;
82 interrupts = <73 72>;
83
84 lan: interface@0 {
85 compatible = "lantiq,xrx200-pdi";
86 #address-cells = <1>;
87 #size-cells = <0>;
88 reg = <0>;
89 mtd-mac-address = <&boardconfig 0x16>;
90 lantiq,switch;
91
92 ethernet@0 {
93 compatible = "lantiq,xrx200-pdi-port";
94 reg = <0>;
95 phy-mode = "rgmii";
96 phy-handle = <&phy0>;
97 };
98 ethernet@1 {
99 compatible = "lantiq,xrx200-pdi-port";
100 reg = <4>;
101 phy-mode = "mii";
102 phy-handle = <&phy13>;
103 };
104 ethernet@2 {
105 compatible = "lantiq,xrx200-pdi-port";
106 reg = <5>;
107 phy-mode = "mii";
108 phy-handle = <&phy14>;
109 };
110 ethernet@3 {
111 compatible = "lantiq,xrx200-pdi-port";
112 reg = <2>;
113 phy-mode = "mii";
114 phy-handle = <&phy11>;
115 };
116 ethernet@4 {
117 compatible = "lantiq,xrx200-pdi-port";
118 reg = <3>;
119 phy-mode = "mii";
120 phy-handle = <&phy12>;
121 };
122 };
123
124 mdio@0 {
125 #address-cells = <1>;
126 #size-cells = <0>;
127 compatible = "lantiq,xrx200-mdio";
128 phy0: ethernet-phy@0 {
129 reg = <0x0>;
130 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
131 };
132 phy11: ethernet-phy@11 {
133 reg = <0x11>;
134 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
135 };
136 phy12: ethernet-phy@12 {
137 reg = <0x12>;
138 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
139 };
140 phy13: ethernet-phy@13 {
141 reg = <0x13>;
142 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
143 };
144 phy14: ethernet-phy@14 {
145 reg = <0x14>;
146 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
147 };
148 };
149 };
150
151 ifxhcd@E101000 {
152 status = "okay";
153 gpios = <&gpio 32 0>;
154 lantiq,portmask = <0x3>;
155 };
156
157 pcie@d900000 {
158 status = "disabled";
159 compatible = "lantiq,pcie-xway";
160 };
161
162 pci@E105400 {
163 status = "disabled";
164 compatible = "lantiq,pci-xway";
165 };
166 };
167
168 gphy-xrx200 {
169 compatible = "lantiq,phy-xrx200";
170 firmware1 = "lantiq/vr9_phy22f_a1x.bin"; /*VR9 1.1*/
171 firmware2 = "lantiq/vr9_phy22f_a2x.bin"; /*VR9 1.2*/
172 phys = [ 00 01 ];
173 };
174
175 gpio-keys-polled {
176 compatible = "gpio-keys-polled";
177 #address-cells = <1>;
178 #size-cells = <0>;
179 poll-interval = <100>;
180
181 wps {
182 label = "wps";
183 gpios = <&gpio 20 1>;
184 linux,code = <0x211>;
185 };
186 reset {
187 label = "reset";
188 gpios = <&gpio 22 1>;
189 linux,code = <0x198>;
190 };
191 rfkill {
192 label = "rfkill";
193 gpios = <&gpio 45 1>;
194 linux,code = <0xf7>;
195 };
196 };
197
198 gpio-leds {
199 compatible = "gpio-leds";
200
201 lan_green {
202 label = "lan";
203 gpios = <&gpio 2 1>;
204 };
205 message_red {
206 label = "message_red";
207 gpios = <&gpio 10 1>;
208 };
209 power_red {
210 label = "power";
211 gpios = <&gpio 14 1>;
212 default-state = "on";
213 };
214 alarm_blue {
215 label = "alarm";
216 gpios = <&gpio 15 1>;
217 };
218 message_orange {
219 label = "message_orange";
220 gpios = <&gpio 19 1>;
221 };
222 message_green {
223 label = "message_green";
224 gpios = <&gpio 28 1>;
225 };
226 voice_green {
227 label = "voice";
228 gpios = <&gpio 29 1>;
229 };
230 };
231 };