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>;
158 switch0phy2: switch1phy0@2 {
160 interrupt-parent = <&switch0>;
161 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
169 #address-cells = <1>;
173 compatible = "marvell,mv88e6085";
174 pinctrl-0 = <&pinctrl_gpio_switch1>;
175 pinctrl-names = "default";
176 #address-cells = <1>;
180 interrupt-parent = <&gpio0>;
181 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
182 interrupt-controller;
183 #interrupt-cells = <2>;
186 #address-cells = <1>;
191 phy-handle = <&switch1phy0>;
197 phy-handle = <&switch1phy1>;
203 phy-handle = <&switch1phy2>;
206 switch1port5: port@5 {
209 link = <&switch2port9>;
210 phy-mode = "rgmii-txid";
217 switch1port6: port@6 {
220 phy-mode = "rgmii-txid";
221 link = <&switch0port5>;
229 #address-cells = <1>;
231 switch1phy0: switch1phy0@0 {
233 interrupt-parent = <&switch1>;
234 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
236 switch1phy1: switch1phy0@1 {
238 interrupt-parent = <&switch1>;
239 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
241 switch1phy2: switch1phy0@2 {
243 interrupt-parent = <&switch1>;
244 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
251 #address-cells = <1>;
256 compatible = "marvell,mv88e6085";
257 #address-cells = <1>;
263 #address-cells = <1>;
286 link-gpios = <&gpio6 2
297 link-gpios = <&gpio6 3
302 switch2port9: port@9 {
305 phy-mode = "rgmii-txid";
306 link = <&switch1port5
319 #address-cells = <1>;
324 reg_vcc_3v3_mcu: regulator-vcc-3v3-mcu {
325 compatible = "regulator-fixed";
326 regulator-name = "vcc_3v3_mcu";
327 regulator-min-microvolt = <3300000>;
328 regulator-max-microvolt = <3300000>;
331 usb0_vbus: regulator-usb0-vbus {
332 compatible = "regulator-fixed";
333 pinctrl-0 = <&pinctrl_usb_vbus>;
334 regulator-name = "usb_vbus";
335 regulator-min-microvolt = <5000000>;
336 regulator-max-microvolt = <5000000>;
344 compatible = "spi-gpio";
345 pinctrl-0 = <&pinctrl_gpio_spi0>;
346 pinctrl-names = "default";
347 #address-cells = <1>;
349 gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
350 gpio-mosi = <&gpio1 11 GPIO_ACTIVE_HIGH>;
351 gpio-miso = <&gpio1 10 GPIO_ACTIVE_HIGH>;
352 cs-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH
353 &gpio1 8 GPIO_ACTIVE_HIGH>;
354 num-chipselects = <2>;
357 compatible = "m25p128", "jedec,spi-nor";
358 #address-cells = <1>;
361 spi-max-frequency = <1000000>;
365 compatible = "atmel,at93c46d";
366 pinctrl-0 = <&pinctrl_gpio_e6185_eeprom_sel>;
367 pinctrl-names = "default";
368 #address-cells = <0>;
371 spi-max-frequency = <500000>;
374 select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
380 pinctrl-names = "default";
381 pinctrl-0 = <&pinctrl_adc0_ad5>;
382 vref-supply = <®_vcc_3v3_mcu>;
391 pinctrl-names = "default";
392 pinctrl-0 = <&pinctrl_esdhc1>;
399 pinctrl-names = "default";
400 pinctrl-0 = <&pinctrl_fec0>;
406 pinctrl-names = "default";
407 pinctrl-0 = <&pinctrl_fec1>;
416 #address-cells = <1>;
423 clock-frequency = <100000>;
424 pinctrl-names = "default";
425 pinctrl-0 = <&pinctrl_i2c0>;
429 compatible = "nxp,pca9554";
437 compatible = "nxp,pca9554";
438 pinctrl-names = "default";
439 pinctrl-0 = <&pinctrl_pca9554_22>;
443 interrupt-parent = <&gpio2>;
444 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
448 compatible = "national,lm75";
453 compatible = "atmel,24c04";
458 compatible = "atmel,24c04";
463 compatible = "dallas,ds1682";
469 clock-frequency = <100000>;
470 pinctrl-names = "default";
471 pinctrl-0 = <&pinctrl_i2c1>;
476 clock-frequency = <100000>;
477 pinctrl-names = "default";
478 pinctrl-0 = <&pinctrl_i2c2>;
482 compatible = "nxp,pca9548";
483 pinctrl-0 = <&pinctrl_i2c_mux_reset>;
484 pinctrl-names = "default";
485 #address-cells = <1>;
488 reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
491 #address-cells = <1>;
496 compatible = "atmel,24c02";
502 #address-cells = <1>;
507 compatible = "atmel,24c02";
513 #address-cells = <1>;
518 compatible = "atmel,24c02";
524 #address-cells = <1>;
529 compatible = "atmel,24c02";
535 #address-cells = <1>;
543 pinctrl-names = "default";
544 pinctrl-0 = <&pinctrl_uart0>;
549 pinctrl-names = "default";
550 pinctrl-0 = <&pinctrl_uart1>;
555 pinctrl-names = "default";
556 pinctrl-0 = <&pinctrl_uart2>;
561 disable-over-current;
562 vbus-supply = <&usb0_vbus>;
568 disable-over-current;
589 pinctrl_adc0_ad5: adc0ad5grp {
591 VF610_PAD_PTC30__ADC0_SE5 0x00a1
595 pinctrl_dspi0: dspi0grp {
597 VF610_PAD_PTB18__DSPI0_CS1 0x1182
598 VF610_PAD_PTB19__DSPI0_CS0 0x1182
599 VF610_PAD_PTB20__DSPI0_SIN 0x1181
600 VF610_PAD_PTB21__DSPI0_SOUT 0x1182
601 VF610_PAD_PTB22__DSPI0_SCK 0x1182
605 pinctrl_dspi2: dspi2grp {
607 VF610_PAD_PTD31__DSPI2_CS1 0x1182
608 VF610_PAD_PTD30__DSPI2_CS0 0x1182
609 VF610_PAD_PTD29__DSPI2_SIN 0x1181
610 VF610_PAD_PTD28__DSPI2_SOUT 0x1182
611 VF610_PAD_PTD27__DSPI2_SCK 0x1182
615 pinctrl_esdhc1: esdhc1grp {
617 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
618 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
619 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
620 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
621 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
622 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
623 VF610_PAD_PTA7__GPIO_134 0x219d
627 pinctrl_fec0: fec0grp {
629 VF610_PAD_PTC0__ENET_RMII0_MDC 0x30d2
630 VF610_PAD_PTC1__ENET_RMII0_MDIO 0x30d3
631 VF610_PAD_PTC2__ENET_RMII0_CRS 0x30d1
632 VF610_PAD_PTC3__ENET_RMII0_RXD1 0x30d1
633 VF610_PAD_PTC4__ENET_RMII0_RXD0 0x30d1
634 VF610_PAD_PTC5__ENET_RMII0_RXER 0x30d1
635 VF610_PAD_PTC6__ENET_RMII0_TXD1 0x30d2
636 VF610_PAD_PTC7__ENET_RMII0_TXD0 0x30d2
637 VF610_PAD_PTC8__ENET_RMII0_TXEN 0x30d2
641 pinctrl_fec1: fec1grp {
643 VF610_PAD_PTA6__RMII_CLKIN 0x30d1
644 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2
645 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3
646 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1
647 VF610_PAD_PTC12__ENET_RMII1_RXD1 0x30d1
648 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1
649 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1
650 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2
651 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2
652 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2
656 pinctrl_gpio_e6185_eeprom_sel: pinctrl-gpio-e6185-eeprom-spi0 {
658 VF610_PAD_PTE27__GPIO_132 0x33e2
662 pinctrl_gpio_spi0: pinctrl-gpio-spi0 {
664 VF610_PAD_PTB22__GPIO_44 0x33e2
665 VF610_PAD_PTB21__GPIO_43 0x33e2
666 VF610_PAD_PTB20__GPIO_42 0x33e1
667 VF610_PAD_PTB19__GPIO_41 0x33e2
668 VF610_PAD_PTB18__GPIO_40 0x33e2
672 pinctrl_gpio_switch0: pinctrl-gpio-switch0 {
674 VF610_PAD_PTB5__GPIO_27 0x219d
678 pinctrl_gpio_switch1: pinctrl-gpio-switch1 {
680 VF610_PAD_PTB4__GPIO_26 0x219d
684 pinctrl_i2c_mux_reset: pinctrl-i2c-mux-reset {
686 VF610_PAD_PTE14__GPIO_119 0x31c2
690 pinctrl_i2c0: i2c0grp {
692 VF610_PAD_PTB14__I2C0_SCL 0x37ff
693 VF610_PAD_PTB15__I2C0_SDA 0x37ff
697 pinctrl_i2c1: i2c1grp {
699 VF610_PAD_PTB16__I2C1_SCL 0x37ff
700 VF610_PAD_PTB17__I2C1_SDA 0x37ff
704 pinctrl_i2c2: i2c2grp {
706 VF610_PAD_PTA22__I2C2_SCL 0x37ff
707 VF610_PAD_PTA23__I2C2_SDA 0x37ff
711 pinctrl_leds_debug: pinctrl-leds-debug {
713 VF610_PAD_PTD20__GPIO_74 0x31c2
717 pinctrl_mdio_mux: pinctrl-mdio-mux {
719 VF610_PAD_PTA18__GPIO_8 0x31c2
720 VF610_PAD_PTA19__GPIO_9 0x31c2
721 VF610_PAD_PTB2__GPIO_24 0x31c2
722 VF610_PAD_PTB3__GPIO_25 0x31c2
726 pinctrl_pca9554_22: pinctrl-pca95540-22 {
728 VF610_PAD_PTB28__GPIO_98 0x219d
732 pinctrl_pwm0: pwm0grp {
734 VF610_PAD_PTB0__FTM0_CH0 0x1582
735 VF610_PAD_PTB1__FTM0_CH1 0x1582
736 VF610_PAD_PTB2__FTM0_CH2 0x1582
737 VF610_PAD_PTB3__FTM0_CH3 0x1582
741 pinctrl_qspi0: qspi0grp {
743 VF610_PAD_PTD7__QSPI0_B_QSCK 0x31c3
744 VF610_PAD_PTD8__QSPI0_B_CS0 0x31ff
745 VF610_PAD_PTD9__QSPI0_B_DATA3 0x31c3
746 VF610_PAD_PTD10__QSPI0_B_DATA2 0x31c3
747 VF610_PAD_PTD11__QSPI0_B_DATA1 0x31c3
748 VF610_PAD_PTD12__QSPI0_B_DATA0 0x31c3
752 pinctrl_uart0: uart0grp {
754 VF610_PAD_PTB10__UART0_TX 0x21a2
755 VF610_PAD_PTB11__UART0_RX 0x21a1
759 pinctrl_uart1: uart1grp {
761 VF610_PAD_PTB23__UART1_TX 0x21a2
762 VF610_PAD_PTB24__UART1_RX 0x21a1
766 pinctrl_uart2: uart2grp {
768 VF610_PAD_PTD0__UART2_TX 0x21a2
769 VF610_PAD_PTD1__UART2_RX 0x21a1
773 pinctrl_usb_vbus: pinctrl-usb-vbus {
775 VF610_PAD_PTA16__GPIO_6 0x31c2
779 pinctrl_usb0_host: usb0-host-grp {
781 VF610_PAD_PTD6__GPIO_85 0x0062