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.
49 model = "ZII VF610 Development Board, Rev B";
50 compatible = "zii,vf610dev-b", "zii,vf610dev", "fsl,vf610";
53 stdout-path = "serial0:115200n8";
57 reg = <0x80000000 0x20000000>;
61 compatible = "gpio-leds";
62 pinctrl-0 = <&pinctrl_leds_debug>;
63 pinctrl-names = "default";
66 label = "zii:green:debug1";
67 gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
68 linux,default-trigger = "heartbeat";
73 compatible = "mdio-mux-gpio";
74 pinctrl-0 = <&pinctrl_mdio_mux>;
75 pinctrl-names = "default";
76 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH
77 &gpio0 9 GPIO_ACTIVE_HIGH
78 &gpio0 24 GPIO_ACTIVE_HIGH
79 &gpio0 25 GPIO_ACTIVE_HIGH>;
80 mdio-parent-bus = <&mdio1>;
90 compatible = "marvell,mv88e6085";
91 pinctrl-0 = <&pinctrl_gpio_switch0>;
92 pinctrl-names = "default";
97 interrupt-parent = <&gpio0>;
98 interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
100 #interrupt-cells = <2>;
103 #address-cells = <1>;
108 phy-handle = <&switch0phy0>;
114 phy-handle = <&switch0phy1>;
120 phy-handle = <&switch0phy2>;
123 switch0port5: port@5 {
126 phy-mode = "rgmii-txid";
127 link = <&switch1port6
146 #address-cells = <1>;
148 switch0phy0: switch0phy0@0 {
150 interrupt-parent = <&switch0>;
151 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
153 switch0phy1: switch1phy0@1 {
155 interrupt-parent = <&switch0>;
156 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; };
157 switch0phy2: switch1phy0@2 {
159 interrupt-parent = <&switch0>;
160 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
168 #address-cells = <1>;
172 compatible = "marvell,mv88e6085";
173 pinctrl-0 = <&pinctrl_gpio_switch1>;
174 pinctrl-names = "default";
175 #address-cells = <1>;
179 interrupt-parent = <&gpio0>;
180 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
181 interrupt-controller;
182 #interrupt-cells = <2>;
185 #address-cells = <1>;
190 phy-handle = <&switch1phy0>;
196 phy-handle = <&switch1phy1>;
202 phy-handle = <&switch1phy2>;
205 switch1port5: port@5 {
208 link = <&switch2port9>;
209 phy-mode = "rgmii-txid";
216 switch1port6: port@6 {
219 phy-mode = "rgmii-txid";
220 link = <&switch0port5>;
228 #address-cells = <1>;
230 switch1phy0: switch1phy0@0 {
232 interrupt-parent = <&switch1>;
233 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
235 switch1phy1: switch1phy0@1 {
237 interrupt-parent = <&switch1>;
238 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
240 switch1phy2: switch1phy0@2 {
242 interrupt-parent = <&switch1>;
243 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
250 #address-cells = <1>;
255 compatible = "marvell,mv88e6085";
256 #address-cells = <1>;
262 #address-cells = <1>;
285 link-gpios = <&gpio6 2
296 link-gpios = <&gpio6 3
301 switch2port9: port@9 {
304 phy-mode = "rgmii-txid";
305 link = <&switch1port5
318 #address-cells = <1>;
323 reg_vcc_3v3_mcu: regulator-vcc-3v3-mcu {
324 compatible = "regulator-fixed";
325 regulator-name = "vcc_3v3_mcu";
326 regulator-min-microvolt = <3300000>;
327 regulator-max-microvolt = <3300000>;
330 usb0_vbus: regulator-usb0-vbus {
331 compatible = "regulator-fixed";
332 pinctrl-0 = <&pinctrl_usb_vbus>;
333 regulator-name = "usb_vbus";
334 regulator-min-microvolt = <5000000>;
335 regulator-max-microvolt = <5000000>;
343 compatible = "spi-gpio";
344 pinctrl-0 = <&pinctrl_gpio_spi0>;
345 pinctrl-names = "default";
346 #address-cells = <1>;
348 gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
349 gpio-mosi = <&gpio1 11 GPIO_ACTIVE_HIGH>;
350 gpio-miso = <&gpio1 10 GPIO_ACTIVE_HIGH>;
351 cs-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH
352 &gpio1 8 GPIO_ACTIVE_HIGH>;
353 num-chipselects = <2>;
356 compatible = "m25p128", "jedec,spi-nor";
357 #address-cells = <1>;
360 spi-max-frequency = <1000000>;
364 compatible = "atmel,at93c46d";
365 pinctrl-0 = <&pinctrl_gpio_e6185_eeprom_sel>;
366 pinctrl-names = "default";
367 #address-cells = <0>;
370 spi-max-frequency = <500000>;
373 select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
379 pinctrl-names = "default";
380 pinctrl-0 = <&pinctrl_adc0_ad5>;
381 vref-supply = <®_vcc_3v3_mcu>;
390 pinctrl-names = "default";
391 pinctrl-0 = <&pinctrl_esdhc1>;
398 pinctrl-names = "default";
399 pinctrl-0 = <&pinctrl_fec0>;
405 pinctrl-names = "default";
406 pinctrl-0 = <&pinctrl_fec1>;
415 #address-cells = <1>;
422 clock-frequency = <100000>;
423 pinctrl-names = "default";
424 pinctrl-0 = <&pinctrl_i2c0>;
428 compatible = "nxp,pca9554";
436 compatible = "nxp,pca9554";
437 pinctrl-names = "default";
438 pinctrl-0 = <&pinctrl_pca9554_22>;
442 interrupt-parent = <&gpio2>;
443 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
447 compatible = "national,lm75";
452 compatible = "atmel,24c04";
457 compatible = "atmel,24c04";
462 compatible = "dallas,ds1682";
468 clock-frequency = <100000>;
469 pinctrl-names = "default";
470 pinctrl-0 = <&pinctrl_i2c1>;
475 clock-frequency = <100000>;
476 pinctrl-names = "default";
477 pinctrl-0 = <&pinctrl_i2c2>;
481 compatible = "nxp,pca9548";
482 pinctrl-0 = <&pinctrl_i2c_mux_reset>;
483 pinctrl-names = "default";
484 #address-cells = <1>;
487 reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
490 #address-cells = <1>;
495 compatible = "atmel,24c02";
501 #address-cells = <1>;
506 compatible = "atmel,24c02";
512 #address-cells = <1>;
517 compatible = "atmel,24c02";
523 #address-cells = <1>;
528 compatible = "atmel,24c02";
534 #address-cells = <1>;
542 pinctrl-names = "default";
543 pinctrl-0 = <&pinctrl_uart0>;
548 pinctrl-names = "default";
549 pinctrl-0 = <&pinctrl_uart1>;
554 pinctrl-names = "default";
555 pinctrl-0 = <&pinctrl_uart2>;
560 disable-over-current;
561 vbus-supply = <&usb0_vbus>;
567 disable-over-current;
588 pinctrl_adc0_ad5: adc0ad5grp {
590 VF610_PAD_PTC30__ADC0_SE5 0x00a1
594 pinctrl_dspi0: dspi0grp {
596 VF610_PAD_PTB18__DSPI0_CS1 0x1182
597 VF610_PAD_PTB19__DSPI0_CS0 0x1182
598 VF610_PAD_PTB20__DSPI0_SIN 0x1181
599 VF610_PAD_PTB21__DSPI0_SOUT 0x1182
600 VF610_PAD_PTB22__DSPI0_SCK 0x1182
604 pinctrl_dspi2: dspi2grp {
606 VF610_PAD_PTD31__DSPI2_CS1 0x1182
607 VF610_PAD_PTD30__DSPI2_CS0 0x1182
608 VF610_PAD_PTD29__DSPI2_SIN 0x1181
609 VF610_PAD_PTD28__DSPI2_SOUT 0x1182
610 VF610_PAD_PTD27__DSPI2_SCK 0x1182
614 pinctrl_esdhc1: esdhc1grp {
616 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
617 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
618 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
619 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
620 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
621 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
622 VF610_PAD_PTA7__GPIO_134 0x219d
626 pinctrl_fec0: fec0grp {
628 VF610_PAD_PTC0__ENET_RMII0_MDC 0x30d2
629 VF610_PAD_PTC1__ENET_RMII0_MDIO 0x30d3
630 VF610_PAD_PTC2__ENET_RMII0_CRS 0x30d1
631 VF610_PAD_PTC3__ENET_RMII0_RXD1 0x30d1
632 VF610_PAD_PTC4__ENET_RMII0_RXD0 0x30d1
633 VF610_PAD_PTC5__ENET_RMII0_RXER 0x30d1
634 VF610_PAD_PTC6__ENET_RMII0_TXD1 0x30d2
635 VF610_PAD_PTC7__ENET_RMII0_TXD0 0x30d2
636 VF610_PAD_PTC8__ENET_RMII0_TXEN 0x30d2
640 pinctrl_fec1: fec1grp {
642 VF610_PAD_PTA6__RMII_CLKIN 0x30d1
643 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2
644 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3
645 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1
646 VF610_PAD_PTC12__ENET_RMII1_RXD1 0x30d1
647 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1
648 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1
649 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2
650 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2
651 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2
655 pinctrl_gpio_e6185_eeprom_sel: pinctrl-gpio-e6185-eeprom-spi0 {
657 VF610_PAD_PTE27__GPIO_132 0x33e2
661 pinctrl_gpio_spi0: pinctrl-gpio-spi0 {
663 VF610_PAD_PTB22__GPIO_44 0x33e2
664 VF610_PAD_PTB21__GPIO_43 0x33e2
665 VF610_PAD_PTB20__GPIO_42 0x33e1
666 VF610_PAD_PTB19__GPIO_41 0x33e2
667 VF610_PAD_PTB18__GPIO_40 0x33e2
671 pinctrl_gpio_switch0: pinctrl-gpio-switch0 {
673 VF610_PAD_PTB5__GPIO_27 0x219d
677 pinctrl_gpio_switch1: pinctrl-gpio-switch1 {
679 VF610_PAD_PTB4__GPIO_26 0x219d
683 pinctrl_i2c_mux_reset: pinctrl-i2c-mux-reset {
685 VF610_PAD_PTE14__GPIO_119 0x31c2
689 pinctrl_i2c0: i2c0grp {
691 VF610_PAD_PTB14__I2C0_SCL 0x37ff
692 VF610_PAD_PTB15__I2C0_SDA 0x37ff
696 pinctrl_i2c1: i2c1grp {
698 VF610_PAD_PTB16__I2C1_SCL 0x37ff
699 VF610_PAD_PTB17__I2C1_SDA 0x37ff
703 pinctrl_i2c2: i2c2grp {
705 VF610_PAD_PTA22__I2C2_SCL 0x37ff
706 VF610_PAD_PTA23__I2C2_SDA 0x37ff
710 pinctrl_leds_debug: pinctrl-leds-debug {
712 VF610_PAD_PTD20__GPIO_74 0x31c2
716 pinctrl_mdio_mux: pinctrl-mdio-mux {
718 VF610_PAD_PTA18__GPIO_8 0x31c2
719 VF610_PAD_PTA19__GPIO_9 0x31c2
720 VF610_PAD_PTB2__GPIO_24 0x31c2
721 VF610_PAD_PTB3__GPIO_25 0x31c2
725 pinctrl_pca9554_22: pinctrl-pca95540-22 {
727 VF610_PAD_PTB28__GPIO_98 0x219d
731 pinctrl_pwm0: pwm0grp {
733 VF610_PAD_PTB0__FTM0_CH0 0x1582
734 VF610_PAD_PTB1__FTM0_CH1 0x1582
735 VF610_PAD_PTB2__FTM0_CH2 0x1582
736 VF610_PAD_PTB3__FTM0_CH3 0x1582
740 pinctrl_qspi0: qspi0grp {
742 VF610_PAD_PTD7__QSPI0_B_QSCK 0x31c3
743 VF610_PAD_PTD8__QSPI0_B_CS0 0x31ff
744 VF610_PAD_PTD9__QSPI0_B_DATA3 0x31c3
745 VF610_PAD_PTD10__QSPI0_B_DATA2 0x31c3
746 VF610_PAD_PTD11__QSPI0_B_DATA1 0x31c3
747 VF610_PAD_PTD12__QSPI0_B_DATA0 0x31c3
751 pinctrl_uart0: uart0grp {
753 VF610_PAD_PTB10__UART0_TX 0x21a2
754 VF610_PAD_PTB11__UART0_RX 0x21a1
758 pinctrl_uart1: uart1grp {
760 VF610_PAD_PTB23__UART1_TX 0x21a2
761 VF610_PAD_PTB24__UART1_RX 0x21a1
765 pinctrl_uart2: uart2grp {
767 VF610_PAD_PTD0__UART2_TX 0x21a2
768 VF610_PAD_PTD1__UART2_RX 0x21a1
772 pinctrl_usb_vbus: pinctrl-usb-vbus {
774 VF610_PAD_PTA16__GPIO_6 0x31c2
778 pinctrl_usb0_host: usb0-host-grp {
780 VF610_PAD_PTD6__GPIO_85 0x0062