2 * Copyright (C) 2015, 2016 Zodiac Inflight Innovations
4 * Based on an original 'vf610-twr.dts' which is Copyright 2015,
5 * Freescale Semiconductor, Inc.
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
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.
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.
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
32 * The above copyright notice and this permission notice shall be
33 * included in all copies or substantial portions of the Software.
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.
46 #include "vf610-zii-dev.dtsi"
49 model = "ZII VF610 Development Board, Rev C";
50 compatible = "zii,vf610dev-c", "zii,vf610dev", "fsl,vf610";
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>;
69 compatible = "marvell,mv88e6190";
70 pinctrl-0 = <&pinctrl_gpio_switch0>;
71 pinctrl-names = "default";
76 eeprom-length = <512>;
77 interrupt-parent = <&gpio0>;
78 interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
80 #interrupt-cells = <2>;
100 phy-handle = <&switch0phy1>;
106 phy-handle = <&switch0phy2>;
112 phy-handle = <&switch0phy3>;
118 phy-handle = <&switch0phy4>;
121 switch0port10: port@10 {
125 link = <&switch1port10>;
130 #address-cells = <1>;
133 switch0phy1: switch0phy@1 {
135 interrupt-parent = <&switch0>;
136 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
139 switch0phy2: switch0phy@2 {
141 interrupt-parent = <&switch0>;
142 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
145 switch0phy3: switch0phy@3 {
147 interrupt-parent = <&switch0>;
148 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
151 switch0phy4: switch0phy@4 {
153 interrupt-parent = <&switch0>;
154 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
162 #address-cells = <1>;
166 compatible = "marvell,mv88e6190";
167 pinctrl-0 = <&pinctrl_gpio_switch1>;
168 pinctrl-names = "default";
169 #address-cells = <1>;
173 eeprom-length = <512>;
174 interrupt-parent = <&gpio0>;
175 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
176 interrupt-controller;
177 #interrupt-cells = <2>;
180 #address-cells = <1>;
186 phy-handle = <&switch1phy1>;
192 phy-handle = <&switch1phy2>;
198 phy-handle = <&switch1phy3>;
204 phy-handle = <&switch1phy4>;
208 switch1port10: port@10 {
212 link = <&switch0port10>;
216 #address-cells = <1>;
219 switch1phy1: switch1phy@1 {
221 interrupt-parent = <&switch1>;
222 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
225 switch1phy2: switch1phy@2 {
227 interrupt-parent = <&switch1>;
228 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
231 switch1phy3: switch1phy@3 {
233 interrupt-parent = <&switch1>;
234 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
237 switch1phy4: switch1phy@4 {
239 interrupt-parent = <&switch1>;
240 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
248 #address-cells = <1>;
256 pinctrl-names = "default";
257 pinctrl-0 = <&pinctrl_dspi0>;
259 spi-num-chipselects = <2>;
262 compatible = "m25p128", "jedec,spi-nor";
263 #address-cells = <1>;
266 spi-max-frequency = <1000000>;
270 compatible = "atmel,at86rf233";
272 pinctrl-names = "default";
273 pinctrl-0 = <&pinctr_atzb_rf_233>;
275 spi-max-frequency = <7500000>;
277 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
278 interrupt-parent = <&gpio3>;
279 xtal-trim = /bits/ 8 <0x06>;
281 sleep-gpio = <&gpio0 24 GPIO_ACTIVE_HIGH>;
282 reset-gpio = <&gpio6 10 GPIO_ACTIVE_HIGH>;
284 fsl,spi-cs-sck-delay = <180>;
285 fsl,spi-sck-cs-delay = <250>;
298 compatible = "nxp,pca9557";
311 * I/O3 - DD1_IO_RESET
317 * I/O10 - WIFI_RESETn
321 * I/O14 - OPT1_TX_DIS
322 * I/O15 - OPT2_TX_DIS
325 compatible = "semtech,sx1503q";
327 pinctrl-names = "default";
328 pinctrl-0 = <&pinctrl_sx1503_20>;
330 #interrupt-cells = <2>;
332 interrupt-parent = <&gpio0>;
333 interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
335 interrupt-controller;
339 gpios = <0 GPIO_ACTIVE_HIGH>;
341 line-name = "enet-swr-en";
353 compatible = "nxp,pca9554";
363 compatible = "atmel,24c02";
371 compatible = "nxp,pca9548";
372 pinctrl-0 = <&pinctrl_i2c_mux_reset>;
373 pinctrl-names = "default";
374 #address-cells = <1>;
377 reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
380 #address-cells = <1>;
386 #address-cells = <1>;
391 compatible = "atmel,24c02";
397 #address-cells = <1>;
402 compatible = "atmel,24c02";
408 #address-cells = <1>;
416 pinctrl-names = "default";
417 pinctrl-0 = <&pinctrl_uart3>;
424 gpios = <23 GPIO_ACTIVE_HIGH>;
426 line-name = "sx1503-irq";
433 gpios = <2 GPIO_ACTIVE_HIGH>;
435 line-name = "eth0-intrp";
441 #address-cells = <1>;
446 compatible = "ethernet-phy-ieee802.3-c22";
448 pinctrl-names = "default";
449 pinctrl-0 = <&pinctrl_fec0_phy_int>;
451 interrupt-parent = <&gpio3>;
452 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
459 pinctr_atzb_rf_233: pinctrl-atzb-rf-233 {
461 VF610_PAD_PTB2__GPIO_24 0x31c2
462 VF610_PAD_PTE27__GPIO_132 0x33e2
467 pinctrl_sx1503_20: pinctrl-sx1503-20 {
469 VF610_PAD_PTB1__GPIO_23 0x219d
473 pinctrl_uart3: uart3grp {
475 VF610_PAD_PTA20__UART3_TX 0x21a2
476 VF610_PAD_PTA21__UART3_RX 0x21a1
480 pinctrl_mdio_mux: pinctrl-mdio-mux {
482 VF610_PAD_PTA18__GPIO_8 0x31c2
483 VF610_PAD_PTA19__GPIO_9 0x31c2
484 VF610_PAD_PTB3__GPIO_25 0x31c2
488 pinctrl_fec0_phy_int: pinctrl-fec0-phy-int {
490 VF610_PAD_PTB28__GPIO_98 0x219d