Loading...
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2015, 2016 Zodiac Inflight Innovations
4 */
5
6/dts-v1/;
7#include "vf610-zii-dev.dtsi"
8
9/ {
10 model = "ZII VF610 Development Board, Rev C";
11 compatible = "zii,vf610dev-c", "zii,vf610dev", "fsl,vf610";
12
13 mdio-mux {
14 compatible = "mdio-mux-gpio";
15 pinctrl-0 = <&pinctrl_mdio_mux>;
16 pinctrl-names = "default";
17 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH
18 &gpio0 9 GPIO_ACTIVE_HIGH
19 &gpio0 25 GPIO_ACTIVE_HIGH>;
20 mdio-parent-bus = <&mdio1>;
21 #address-cells = <1>;
22 #size-cells = <0>;
23
24 mdio_mux_1: mdio@1 {
25 reg = <1>;
26 #address-cells = <1>;
27 #size-cells = <0>;
28
29 switch0: switch@0 {
30 compatible = "marvell,mv88e6190";
31 pinctrl-0 = <&pinctrl_gpio_switch0>;
32 pinctrl-names = "default";
33 reg = <0>;
34 dsa,member = <0 0>;
35 eeprom-length = <65536>;
36 interrupt-parent = <&gpio0>;
37 interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
38 interrupt-controller;
39 #interrupt-cells = <2>;
40
41 ports {
42 #address-cells = <1>;
43 #size-cells = <0>;
44
45 port@0 {
46 reg = <0>;
47 label = "cpu";
48 ethernet = <&fec1>;
49
50 fixed-link {
51 speed = <100>;
52 full-duplex;
53 };
54 };
55
56 port@1 {
57 reg = <1>;
58 label = "lan1";
59 phy-handle = <&switch0phy1>;
60 };
61
62 port@2 {
63 reg = <2>;
64 label = "lan2";
65 phy-handle = <&switch0phy2>;
66 };
67
68 port@3 {
69 reg = <3>;
70 label = "lan3";
71 phy-handle = <&switch0phy3>;
72 };
73
74 port@4 {
75 reg = <4>;
76 label = "lan4";
77 phy-handle = <&switch0phy4>;
78 };
79
80 switch0port10: port@10 {
81 reg = <10>;
82 label = "dsa";
83 phy-mode = "xaui";
84 link = <&switch1port10>;
85 };
86 };
87
88 mdio {
89 #address-cells = <1>;
90 #size-cells = <0>;
91
92 switch0phy1: switch0phy@1 {
93 reg = <1>;
94 interrupt-parent = <&switch0>;
95 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
96 };
97
98 switch0phy2: switch0phy@2 {
99 reg = <2>;
100 interrupt-parent = <&switch0>;
101 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
102 };
103
104 switch0phy3: switch0phy@3 {
105 reg = <3>;
106 interrupt-parent = <&switch0>;
107 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
108 };
109
110 switch0phy4: switch0phy@4 {
111 reg = <4>;
112 interrupt-parent = <&switch0>;
113 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
114 };
115 };
116 };
117 };
118
119 mdio_mux_2: mdio@2 {
120 reg = <2>;
121 #address-cells = <1>;
122 #size-cells = <0>;
123
124 switch1: switch@0 {
125 compatible = "marvell,mv88e6190";
126 pinctrl-0 = <&pinctrl_gpio_switch1>;
127 pinctrl-names = "default";
128 reg = <0>;
129 dsa,member = <0 1>;
130 eeprom-length = <65536>;
131 interrupt-parent = <&gpio0>;
132 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
133 interrupt-controller;
134 #interrupt-cells = <2>;
135
136 ports {
137 #address-cells = <1>;
138 #size-cells = <0>;
139
140 port@1 {
141 reg = <1>;
142 label = "lan5";
143 phy-handle = <&switch1phy1>;
144 };
145
146 port@2 {
147 reg = <2>;
148 label = "lan6";
149 phy-handle = <&switch1phy2>;
150 };
151
152 port@3 {
153 reg = <3>;
154 label = "lan7";
155 phy-handle = <&switch1phy3>;
156 };
157
158 port@4 {
159 reg = <4>;
160 label = "lan8";
161 phy-handle = <&switch1phy4>;
162 };
163
164 port@9 {
165 reg = <9>;
166 label = "sff2";
167 phy-mode = "1000base-x";
168 managed = "in-band-status";
169 sfp = <&sff2>;
170 };
171
172 switch1port10: port@10 {
173 reg = <10>;
174 label = "dsa";
175 phy-mode = "xaui";
176 link = <&switch0port10>;
177 };
178 };
179 mdio {
180 #address-cells = <1>;
181 #size-cells = <0>;
182
183 switch1phy1: switch1phy@1 {
184 reg = <1>;
185 interrupt-parent = <&switch1>;
186 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
187 };
188
189 switch1phy2: switch1phy@2 {
190 reg = <2>;
191 interrupt-parent = <&switch1>;
192 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
193 };
194
195 switch1phy3: switch1phy@3 {
196 reg = <3>;
197 interrupt-parent = <&switch1>;
198 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
199 };
200
201 switch1phy4: switch1phy@4 {
202 reg = <4>;
203 interrupt-parent = <&switch1>;
204 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
205 };
206 };
207 };
208 };
209
210 mdio_mux_4: mdio@4 {
211 reg = <4>;
212 #address-cells = <1>;
213 #size-cells = <0>;
214 };
215 };
216
217 sff2: sff2 {
218 /* lower */
219 compatible = "sff,sff";
220 i2c-bus = <&sff2_i2c>;
221 los-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
222 tx-disable-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
223 };
224
225 sff3: sff3 {
226 /* upper */
227 compatible = "sff,sff";
228 i2c-bus = <&sff3_i2c>;
229 los-gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
230 tx-disable-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
231 };
232};
233
234&dspi0 {
235 bus-num = <0>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&pinctrl_dspi0>;
238 status = "okay";
239 spi-num-chipselects = <2>;
240
241 flash@0 {
242 compatible = "m25p128", "jedec,spi-nor";
243 #address-cells = <1>;
244 #size-cells = <1>;
245 reg = <0>;
246 spi-max-frequency = <1000000>;
247 };
248
249 atzb-rf-233@1 {
250 compatible = "atmel,at86rf233";
251
252 pinctrl-names = "default";
253 pinctrl-0 = <&pinctr_atzb_rf_233>;
254
255 spi-max-frequency = <7500000>;
256 reg = <1>;
257 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
258 interrupt-parent = <&gpio3>;
259 xtal-trim = /bits/ 8 <0x06>;
260
261 sleep-gpio = <&gpio0 24 GPIO_ACTIVE_HIGH>;
262 reset-gpio = <&gpio6 10 GPIO_ACTIVE_LOW>;
263
264 fsl,spi-cs-sck-delay = <180>;
265 fsl,spi-sck-cs-delay = <250>;
266 };
267};
268
269&i2c0 {
270 /*
271 * U712
272 *
273 * Exposed signals:
274 * P1 - WE2_CMD
275 * P2 - WE2_CLK
276 */
277 gpio5: io-expander@18 {
278 compatible = "nxp,pca9557";
279 reg = <0x18>;
280 gpio-controller;
281 #gpio-cells = <2>;
282 };
283
284 /*
285 * U121
286 *
287 * Exposed signals:
288 * I/O0 - ENET_SWR_EN
289 * I/O1 - ESW1_RESETn
290 * I/O2 - ARINC_RESET
291 * I/O3 - DD1_IO_RESET
292 * I/O4 - ESW2_RESETn
293 * I/O5 - ESW3_RESETn
294 * I/O6 - ESW4_RESETn
295 * I/O8 - TP909
296 * I/O9 - FEM_SEL
297 * I/O10 - WIFI_RESETn
298 * I/O11 - PHY_RSTn
299 * I/O12 - OPT1_SD
300 * I/O13 - OPT2_SD
301 * I/O14 - OPT1_TX_DIS
302 * I/O15 - OPT2_TX_DIS
303 */
304 gpio6: sx1503@20 {
305 compatible = "semtech,sx1503q";
306
307 pinctrl-names = "default";
308 pinctrl-0 = <&pinctrl_sx1503_20>;
309 #gpio-cells = <2>;
310 #interrupt-cells = <2>;
311 reg = <0x20>;
312 interrupt-parent = <&gpio0>;
313 interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
314 gpio-controller;
315 interrupt-controller;
316 };
317
318 /*
319 * U715
320 *
321 * Exposed signals:
322 * IO0 - WE1_CLK
323 * IO1 - WE1_CMD
324 */
325 gpio7: io-expander@22 {
326 compatible = "nxp,pca9554";
327 reg = <0x22>;
328 gpio-controller;
329 #gpio-cells = <2>;
330
331 };
332};
333
334&i2c1 {
335 eeprom@50 {
336 compatible = "atmel,24c02";
337 reg = <0x50>;
338 read-only;
339 };
340};
341
342&i2c2 {
343 i2c-mux@70 {
344 compatible = "nxp,pca9548";
345 pinctrl-0 = <&pinctrl_i2c_mux_reset>;
346 pinctrl-names = "default";
347 #address-cells = <1>;
348 #size-cells = <0>;
349 reg = <0x70>;
350 reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
351
352 i2c@0 {
353 #address-cells = <1>;
354 #size-cells = <0>;
355 reg = <0>;
356 };
357
358 sff2_i2c: i2c@1 {
359 #address-cells = <1>;
360 #size-cells = <0>;
361 reg = <1>;
362 };
363
364 sff3_i2c: i2c@2 {
365 #address-cells = <1>;
366 #size-cells = <0>;
367 reg = <2>;
368 };
369
370 i2c@3 {
371 #address-cells = <1>;
372 #size-cells = <0>;
373 reg = <3>;
374 };
375 };
376};
377
378&uart3 {
379 pinctrl-names = "default";
380 pinctrl-0 = <&pinctrl_uart3>;
381 status = "okay";
382};
383
384&gpio0 {
385 eth0_intrp {
386 gpio-hog;
387 gpios = <23 GPIO_ACTIVE_HIGH>;
388 input;
389 line-name = "sx1503-irq";
390 };
391};
392
393&gpio3 {
394 eth0_intrp {
395 gpio-hog;
396 gpios = <2 GPIO_ACTIVE_HIGH>;
397 input;
398 line-name = "eth0-intrp";
399 };
400};
401
402&fec0 {
403 mdio {
404 #address-cells = <1>;
405 #size-cells = <0>;
406 status = "okay";
407
408 ethernet-phy@0 {
409 compatible = "ethernet-phy-ieee802.3-c22";
410
411 pinctrl-names = "default";
412 pinctrl-0 = <&pinctrl_fec0_phy_int>;
413
414 interrupt-parent = <&gpio3>;
415 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
416 reg = <0>;
417 };
418 };
419};
420
421&iomuxc {
422 pinctr_atzb_rf_233: pinctrl-atzb-rf-233 {
423 fsl,pins = <
424 VF610_PAD_PTB2__GPIO_24 0x31c2
425 VF610_PAD_PTE27__GPIO_132 0x33e2
426 >;
427 };
428
429
430 pinctrl_sx1503_20: pinctrl-sx1503-20 {
431 fsl,pins = <
432 VF610_PAD_PTB1__GPIO_23 0x219d
433 >;
434 };
435
436 pinctrl_uart3: uart3grp {
437 fsl,pins = <
438 VF610_PAD_PTA20__UART3_TX 0x21a2
439 VF610_PAD_PTA21__UART3_RX 0x21a1
440 >;
441 };
442
443 pinctrl_mdio_mux: pinctrl-mdio-mux {
444 fsl,pins = <
445 VF610_PAD_PTA18__GPIO_8 0x31c2
446 VF610_PAD_PTA19__GPIO_9 0x31c2
447 VF610_PAD_PTB3__GPIO_25 0x31c2
448 >;
449 };
450
451 pinctrl_fec0_phy_int: pinctrl-fec0-phy-int {
452 fsl,pins = <
453 VF610_PAD_PTB28__GPIO_98 0x219d
454 >;
455 };
456};
1/*
2 * Copyright (C) 2015, 2016 Zodiac Inflight Innovations
3 *
4 * Based on an original 'vf610-twr.dts' which is Copyright 2015,
5 * Freescale Semiconductor, Inc.
6 *
7 * This file is dual-licensed: you can use it either under the terms
8 * of the GPL or the X11 license, at your option. Note that this dual
9 * licensing only applies to this file, and not this project as a
10 * whole.
11 *
12 * a) This file is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * version 2 as published by the Free Software Foundation.
15 *
16 * This file is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * Or, alternatively,
22 *
23 * b) Permission is hereby granted, free of charge, to any person
24 * obtaining a copy of this software and associated documentation
25 * files (the "Software"), to deal in the Software without
26 * restriction, including without limitation the rights to use,
27 * copy, modify, merge, publish, distribute, sublicense, and/or
28 * sell copies of the Software, and to permit persons to whom the
29 * Software is furnished to do so, subject to the following
30 * conditions:
31 *
32 * The above copyright notice and this permission notice shall be
33 * included in all copies or substantial portions of the Software.
34 *
35 * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND,
36 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42 * OTHER DEALINGS IN THE SOFTWARE.
43 */
44
45/dts-v1/;
46#include "vf610-zii-dev.dtsi"
47
48/ {
49 model = "ZII VF610 Development Board, Rev C";
50 compatible = "zii,vf610dev-c", "zii,vf610dev", "fsl,vf610";
51
52 mdio-mux {
53 compatible = "mdio-mux-gpio";
54 pinctrl-0 = <&pinctrl_mdio_mux>;
55 pinctrl-names = "default";
56 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH
57 &gpio0 9 GPIO_ACTIVE_HIGH
58 &gpio0 25 GPIO_ACTIVE_HIGH>;
59 mdio-parent-bus = <&mdio1>;
60 #address-cells = <1>;
61 #size-cells = <0>;
62
63 mdio_mux_1: mdio@1 {
64 reg = <1>;
65 #address-cells = <1>;
66 #size-cells = <0>;
67
68 switch0: switch@0 {
69 compatible = "marvell,mv88e6190";
70 pinctrl-0 = <&pinctrl_gpio_switch0>;
71 pinctrl-names = "default";
72 #address-cells = <1>;
73 #size-cells = <0>;
74 reg = <0>;
75 dsa,member = <0 0>;
76 eeprom-length = <65536>;
77 interrupt-parent = <&gpio0>;
78 interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
79 interrupt-controller;
80 #interrupt-cells = <2>;
81
82 ports {
83 #address-cells = <1>;
84 #size-cells = <0>;
85
86 port@0 {
87 reg = <0>;
88 label = "cpu";
89 ethernet = <&fec1>;
90
91 fixed-link {
92 speed = <100>;
93 full-duplex;
94 };
95 };
96
97 port@1 {
98 reg = <1>;
99 label = "lan1";
100 phy-handle = <&switch0phy1>;
101 };
102
103 port@2 {
104 reg = <2>;
105 label = "lan2";
106 phy-handle = <&switch0phy2>;
107 };
108
109 port@3 {
110 reg = <3>;
111 label = "lan3";
112 phy-handle = <&switch0phy3>;
113 };
114
115 port@4 {
116 reg = <4>;
117 label = "lan4";
118 phy-handle = <&switch0phy4>;
119 };
120
121 switch0port10: port@10 {
122 reg = <10>;
123 label = "dsa";
124 phy-mode = "xaui";
125 link = <&switch1port10>;
126 };
127 };
128
129 mdio {
130 #address-cells = <1>;
131 #size-cells = <0>;
132
133 switch0phy1: switch0phy@1 {
134 reg = <1>;
135 interrupt-parent = <&switch0>;
136 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
137 };
138
139 switch0phy2: switch0phy@2 {
140 reg = <2>;
141 interrupt-parent = <&switch0>;
142 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
143 };
144
145 switch0phy3: switch0phy@3 {
146 reg = <3>;
147 interrupt-parent = <&switch0>;
148 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
149 };
150
151 switch0phy4: switch0phy@4 {
152 reg = <4>;
153 interrupt-parent = <&switch0>;
154 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
155 };
156 };
157 };
158 };
159
160 mdio_mux_2: mdio@2 {
161 reg = <2>;
162 #address-cells = <1>;
163 #size-cells = <0>;
164
165 switch1: switch@0 {
166 compatible = "marvell,mv88e6190";
167 pinctrl-0 = <&pinctrl_gpio_switch1>;
168 pinctrl-names = "default";
169 #address-cells = <1>;
170 #size-cells = <0>;
171 reg = <0>;
172 dsa,member = <0 1>;
173 eeprom-length = <65536>;
174 interrupt-parent = <&gpio0>;
175 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
176 interrupt-controller;
177 #interrupt-cells = <2>;
178
179 ports {
180 #address-cells = <1>;
181 #size-cells = <0>;
182
183 port@1 {
184 reg = <1>;
185 label = "lan5";
186 phy-handle = <&switch1phy1>;
187 };
188
189 port@2 {
190 reg = <2>;
191 label = "lan6";
192 phy-handle = <&switch1phy2>;
193 };
194
195 port@3 {
196 reg = <3>;
197 label = "lan7";
198 phy-handle = <&switch1phy3>;
199 };
200
201 port@4 {
202 reg = <4>;
203 label = "lan8";
204 phy-handle = <&switch1phy4>;
205 };
206
207
208 switch1port10: port@10 {
209 reg = <10>;
210 label = "dsa";
211 phy-mode = "xaui";
212 link = <&switch0port10>;
213 };
214 };
215 mdio {
216 #address-cells = <1>;
217 #size-cells = <0>;
218
219 switch1phy1: switch1phy@1 {
220 reg = <1>;
221 interrupt-parent = <&switch1>;
222 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
223 };
224
225 switch1phy2: switch1phy@2 {
226 reg = <2>;
227 interrupt-parent = <&switch1>;
228 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
229 };
230
231 switch1phy3: switch1phy@3 {
232 reg = <3>;
233 interrupt-parent = <&switch1>;
234 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
235 };
236
237 switch1phy4: switch1phy@4 {
238 reg = <4>;
239 interrupt-parent = <&switch1>;
240 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
241 };
242 };
243 };
244 };
245
246 mdio_mux_4: mdio@4 {
247 reg = <4>;
248 #address-cells = <1>;
249 #size-cells = <0>;
250 };
251 };
252};
253
254&dspi0 {
255 bus-num = <0>;
256 pinctrl-names = "default";
257 pinctrl-0 = <&pinctrl_dspi0>;
258 status = "okay";
259 spi-num-chipselects = <2>;
260
261 m25p128@0 {
262 compatible = "m25p128", "jedec,spi-nor";
263 #address-cells = <1>;
264 #size-cells = <1>;
265 reg = <0>;
266 spi-max-frequency = <1000000>;
267 };
268
269 atzb-rf-233@1 {
270 compatible = "atmel,at86rf233";
271
272 pinctrl-names = "default";
273 pinctrl-0 = <&pinctr_atzb_rf_233>;
274
275 spi-max-frequency = <7500000>;
276 reg = <1>;
277 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
278 interrupt-parent = <&gpio3>;
279 xtal-trim = /bits/ 8 <0x06>;
280
281 sleep-gpio = <&gpio0 24 GPIO_ACTIVE_HIGH>;
282 reset-gpio = <&gpio6 10 GPIO_ACTIVE_HIGH>;
283
284 fsl,spi-cs-sck-delay = <180>;
285 fsl,spi-sck-cs-delay = <250>;
286 };
287};
288
289&i2c0 {
290 /*
291 * U712
292 *
293 * Exposed signals:
294 * P1 - WE2_CMD
295 * P2 - WE2_CLK
296 */
297 gpio5: pca9557@18 {
298 compatible = "nxp,pca9557";
299 reg = <0x18>;
300 gpio-controller;
301 #gpio-cells = <2>;
302 };
303
304 /*
305 * U121
306 *
307 * Exposed signals:
308 * I/O0 - ENET_SWR_EN
309 * I/O1 - ESW1_RESETn
310 * I/O2 - ARINC_RESET
311 * I/O3 - DD1_IO_RESET
312 * I/O4 - ESW2_RESETn
313 * I/O5 - ESW3_RESETn
314 * I/O6 - ESW4_RESETn
315 * I/O8 - TP909
316 * I/O9 - FEM_SEL
317 * I/O10 - WIFI_RESETn
318 * I/O11 - PHY_RSTn
319 * I/O12 - OPT1_SD
320 * I/O13 - OPT2_SD
321 * I/O14 - OPT1_TX_DIS
322 * I/O15 - OPT2_TX_DIS
323 */
324 gpio6: sx1503@20 {
325 compatible = "semtech,sx1503q";
326
327 pinctrl-names = "default";
328 pinctrl-0 = <&pinctrl_sx1503_20>;
329 #gpio-cells = <2>;
330 #interrupt-cells = <2>;
331 reg = <0x20>;
332 interrupt-parent = <&gpio0>;
333 interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
334 gpio-controller;
335 interrupt-controller;
336
337 enet_swr_en {
338 gpio-hog;
339 gpios = <0 GPIO_ACTIVE_HIGH>;
340 output-high;
341 line-name = "enet-swr-en";
342 };
343 };
344
345 /*
346 * U715
347 *
348 * Exposed signals:
349 * IO0 - WE1_CLK
350 * IO1 - WE1_CMD
351 */
352 gpio7: pca9554@22 {
353 compatible = "nxp,pca9554";
354 reg = <0x22>;
355 gpio-controller;
356 #gpio-cells = <2>;
357
358 };
359};
360
361&i2c1 {
362 at24mac602@50 {
363 compatible = "atmel,24c02";
364 reg = <0x50>;
365 read-only;
366 };
367};
368
369&i2c2 {
370 tca9548@70 {
371 compatible = "nxp,pca9548";
372 pinctrl-0 = <&pinctrl_i2c_mux_reset>;
373 pinctrl-names = "default";
374 #address-cells = <1>;
375 #size-cells = <0>;
376 reg = <0x70>;
377 reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
378
379 i2c@0 {
380 #address-cells = <1>;
381 #size-cells = <0>;
382 reg = <0>;
383 };
384
385 i2c@1 {
386 #address-cells = <1>;
387 #size-cells = <0>;
388 reg = <1>;
389
390 sfp2: at24c04@50 {
391 compatible = "atmel,24c02";
392 reg = <0x50>;
393 };
394 };
395
396 i2c@2 {
397 #address-cells = <1>;
398 #size-cells = <0>;
399 reg = <2>;
400
401 sfp3: at24c04@50 {
402 compatible = "atmel,24c02";
403 reg = <0x50>;
404 };
405 };
406
407 i2c@3 {
408 #address-cells = <1>;
409 #size-cells = <0>;
410 reg = <3>;
411 };
412 };
413};
414
415&uart3 {
416 pinctrl-names = "default";
417 pinctrl-0 = <&pinctrl_uart3>;
418 status = "okay";
419};
420
421&gpio0 {
422 eth0_intrp {
423 gpio-hog;
424 gpios = <23 GPIO_ACTIVE_HIGH>;
425 input;
426 line-name = "sx1503-irq";
427 };
428};
429
430&gpio3 {
431 eth0_intrp {
432 gpio-hog;
433 gpios = <2 GPIO_ACTIVE_HIGH>;
434 input;
435 line-name = "eth0-intrp";
436 };
437};
438
439&fec0 {
440 mdio {
441 #address-cells = <1>;
442 #size-cells = <0>;
443 status = "okay";
444
445 ethernet-phy@0 {
446 compatible = "ethernet-phy-ieee802.3-c22";
447
448 pinctrl-names = "default";
449 pinctrl-0 = <&pinctrl_fec0_phy_int>;
450
451 interrupt-parent = <&gpio3>;
452 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
453 reg = <0>;
454 };
455 };
456};
457
458&iomuxc {
459 pinctr_atzb_rf_233: pinctrl-atzb-rf-233 {
460 fsl,pins = <
461 VF610_PAD_PTB2__GPIO_24 0x31c2
462 VF610_PAD_PTE27__GPIO_132 0x33e2
463 >;
464 };
465
466
467 pinctrl_sx1503_20: pinctrl-sx1503-20 {
468 fsl,pins = <
469 VF610_PAD_PTB1__GPIO_23 0x219d
470 >;
471 };
472
473 pinctrl_uart3: uart3grp {
474 fsl,pins = <
475 VF610_PAD_PTA20__UART3_TX 0x21a2
476 VF610_PAD_PTA21__UART3_RX 0x21a1
477 >;
478 };
479
480 pinctrl_mdio_mux: pinctrl-mdio-mux {
481 fsl,pins = <
482 VF610_PAD_PTA18__GPIO_8 0x31c2
483 VF610_PAD_PTA19__GPIO_9 0x31c2
484 VF610_PAD_PTB3__GPIO_25 0x31c2
485 >;
486 };
487
488 pinctrl_fec0_phy_int: pinctrl-fec0-phy-int {
489 fsl,pins = <
490 VF610_PAD_PTB28__GPIO_98 0x219d
491 >;
492 };
493};