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 "AS IS", 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 B";
50 compatible = "zii,vf610dev-b", "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 24 GPIO_ACTIVE_HIGH
59 &gpio0 25 GPIO_ACTIVE_HIGH>;
60 mdio-parent-bus = <&mdio1>;
70 compatible = "marvell,mv88e6085";
71 pinctrl-0 = <&pinctrl_gpio_switch0>;
72 pinctrl-names = "default";
75 interrupt-parent = <&gpio0>;
76 interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
78 #interrupt-cells = <2>;
79 eeprom-length = <512>;
88 phy-handle = <&switch0phy0>;
94 phy-handle = <&switch0phy1>;
100 phy-handle = <&switch0phy2>;
103 switch0port5: port@5 {
106 phy-mode = "rgmii-txid";
107 link = <&switch1port6
127 #address-cells = <1>;
129 switch0phy0: switch0phy0@0 {
131 interrupt-parent = <&switch0>;
132 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
134 switch0phy1: switch1phy0@1 {
136 interrupt-parent = <&switch0>;
137 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
139 switch0phy2: switch1phy0@2 {
141 interrupt-parent = <&switch0>;
142 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
150 #address-cells = <1>;
154 compatible = "marvell,mv88e6085";
155 pinctrl-0 = <&pinctrl_gpio_switch1>;
156 pinctrl-names = "default";
159 interrupt-parent = <&gpio0>;
160 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
161 interrupt-controller;
162 #interrupt-cells = <2>;
163 eeprom-length = <512>;
166 #address-cells = <1>;
172 phy-handle = <&switch1phy0>;
178 phy-handle = <&switch1phy1>;
184 phy-handle = <&switch1phy2>;
187 switch1port5: port@5 {
190 link = <&switch2port9>;
191 phy-mode = "rgmii-txid";
199 switch1port6: port@6 {
202 phy-mode = "rgmii-txid";
203 link = <&switch0port5>;
211 #address-cells = <1>;
214 switch1phy0: switch1phy0@0 {
216 interrupt-parent = <&switch1>;
217 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
220 switch1phy1: switch1phy0@1 {
222 interrupt-parent = <&switch1>;
223 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
226 switch1phy2: switch1phy0@2 {
228 interrupt-parent = <&switch1>;
229 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
236 #address-cells = <1>;
241 compatible = "marvell,mv88e6085";
246 #address-cells = <1>;
252 phy-handle = <&switch2phy0>;
258 phy-handle = <&switch2phy1>;
264 phy-handle = <&switch2phy2>;
274 link-gpios = <&gpio6 2
286 link-gpios = <&gpio6 3
291 switch2port9: port@9 {
294 phy-mode = "rgmii-txid";
295 link = <&switch1port5
305 #address-cells = <1>;
323 #address-cells = <1>;
329 compatible = "spi-gpio";
330 pinctrl-0 = <&pinctrl_gpio_spi0>;
331 pinctrl-names = "default";
332 #address-cells = <1>;
334 gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
335 gpio-mosi = <&gpio1 11 GPIO_ACTIVE_HIGH>;
336 gpio-miso = <&gpio1 10 GPIO_ACTIVE_HIGH>;
337 cs-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH
338 &gpio1 8 GPIO_ACTIVE_HIGH>;
339 num-chipselects = <2>;
342 compatible = "m25p128", "jedec,spi-nor";
343 #address-cells = <1>;
346 spi-max-frequency = <1000000>;
350 compatible = "atmel,at93c46d";
351 pinctrl-0 = <&pinctrl_gpio_e6185_eeprom_sel>;
352 pinctrl-names = "default";
353 #address-cells = <0>;
356 spi-max-frequency = <500000>;
359 select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
365 clock-frequency = <100000>;
366 pinctrl-names = "default";
367 pinctrl-0 = <&pinctrl_i2c0>;
371 compatible = "nxp,pca9554";
379 compatible = "nxp,pca9554";
380 pinctrl-names = "default";
381 pinctrl-0 = <&pinctrl_pca9554_22>;
385 interrupt-controller;
386 interrupt-parent = <&gpio3>;
387 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
392 clock-frequency = <100000>;
393 pinctrl-names = "default";
394 pinctrl-0 = <&pinctrl_i2c2>;
398 compatible = "nxp,pca9548";
399 pinctrl-0 = <&pinctrl_i2c_mux_reset>;
400 pinctrl-names = "default";
401 #address-cells = <1>;
404 reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
407 #address-cells = <1>;
412 compatible = "atmel,24c02";
418 #address-cells = <1>;
423 compatible = "atmel,24c02";
429 #address-cells = <1>;
434 compatible = "atmel,24c02";
440 #address-cells = <1>;
445 compatible = "atmel,24c02";
451 #address-cells = <1>;
460 pinctrl_gpio_e6185_eeprom_sel: pinctrl-gpio-e6185-eeprom-spi0 {
462 VF610_PAD_PTE27__GPIO_132 0x33e2
466 pinctrl_gpio_spi0: pinctrl-gpio-spi0 {
468 VF610_PAD_PTB22__GPIO_44 0x33e2
469 VF610_PAD_PTB21__GPIO_43 0x33e2
470 VF610_PAD_PTB20__GPIO_42 0x33e1
471 VF610_PAD_PTB19__GPIO_41 0x33e2
472 VF610_PAD_PTB18__GPIO_40 0x33e2
476 pinctrl_mdio_mux: pinctrl-mdio-mux {
478 VF610_PAD_PTA18__GPIO_8 0x31c2
479 VF610_PAD_PTA19__GPIO_9 0x31c2
480 VF610_PAD_PTB2__GPIO_24 0x31c2
481 VF610_PAD_PTB3__GPIO_25 0x31c2
485 pinctrl_pca9554_22: pinctrl-pca95540-22 {
487 VF610_PAD_PTB28__GPIO_98 0x219d