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";
114 switch0port5: port@5 {
117 phy-mode = "rgmii-txid";
118 link = <&switch1port6
141 #address-cells = <1>;
145 compatible = "marvell,mv88e6085";
146 #address-cells = <1>;
152 #address-cells = <1>;
157 phy-handle = <&switch1phy0>;
163 phy-handle = <&switch1phy1>;
169 phy-handle = <&switch1phy2>;
172 switch1port5: port@5 {
175 link = <&switch2port9>;
176 phy-mode = "rgmii-txid";
183 switch1port6: port@6 {
186 phy-mode = "rgmii-txid";
187 link = <&switch0port5>;
195 #address-cells = <1>;
197 switch1phy0: switch1phy0@0 {
200 switch1phy1: switch1phy0@1 {
203 switch1phy2: switch1phy0@2 {
211 #address-cells = <1>;
216 compatible = "marvell,mv88e6085";
217 #address-cells = <1>;
223 #address-cells = <1>;
246 link-gpios = <&gpio6 2
257 link-gpios = <&gpio6 3
262 switch2port9: port@9 {
265 phy-mode = "rgmii-txid";
266 link = <&switch1port5
279 #address-cells = <1>;
284 reg_vcc_3v3_mcu: regulator-vcc-3v3-mcu {
285 compatible = "regulator-fixed";
286 regulator-name = "vcc_3v3_mcu";
287 regulator-min-microvolt = <3300000>;
288 regulator-max-microvolt = <3300000>;
291 usb0_vbus: regulator-usb0-vbus {
292 compatible = "regulator-fixed";
293 pinctrl-0 = <&pinctrl_usb_vbus>;
294 regulator-name = "usb_vbus";
295 regulator-min-microvolt = <5000000>;
296 regulator-max-microvolt = <5000000>;
304 compatible = "spi-gpio";
305 pinctrl-0 = <&pinctrl_gpio_spi0>;
306 pinctrl-names = "default";
307 #address-cells = <1>;
309 gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
310 gpio-mosi = <&gpio1 11 GPIO_ACTIVE_HIGH>;
311 gpio-miso = <&gpio1 10 GPIO_ACTIVE_HIGH>;
312 cs-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH
313 &gpio1 8 GPIO_ACTIVE_HIGH>;
314 num-chipselects = <2>;
317 compatible = "m25p128", "jedec,spi-nor";
318 #address-cells = <1>;
321 spi-max-frequency = <1000000>;
325 compatible = "atmel,at93c46d";
326 pinctrl-0 = <&pinctrl_gpio_e6185_eeprom_sel>;
327 pinctrl-names = "default";
328 #address-cells = <0>;
331 spi-max-frequency = <500000>;
334 select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
340 pinctrl-names = "default";
341 pinctrl-0 = <&pinctrl_adc0_ad5>;
342 vref-supply = <®_vcc_3v3_mcu>;
351 pinctrl-names = "default";
352 pinctrl-0 = <&pinctrl_esdhc1>;
359 pinctrl-names = "default";
360 pinctrl-0 = <&pinctrl_fec0>;
366 pinctrl-names = "default";
367 pinctrl-0 = <&pinctrl_fec1>;
376 #address-cells = <1>;
383 clock-frequency = <100000>;
384 pinctrl-names = "default";
385 pinctrl-0 = <&pinctrl_i2c0>;
389 compatible = "nxp,pca9554";
397 compatible = "nxp,pca9554";
398 pinctrl-names = "default";
399 pinctrl-0 = <&pinctrl_pca9554_22>;
403 interrupt-parent = <&gpio2>;
404 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
408 compatible = "national,lm75";
413 compatible = "atmel,24c04";
418 compatible = "atmel,24c04";
423 compatible = "dallas,ds1682";
429 clock-frequency = <100000>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&pinctrl_i2c1>;
436 clock-frequency = <100000>;
437 pinctrl-names = "default";
438 pinctrl-0 = <&pinctrl_i2c2>;
442 compatible = "nxp,pca9548";
443 pinctrl-0 = <&pinctrl_i2c_mux_reset>;
444 pinctrl-names = "default";
445 #address-cells = <1>;
448 reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
451 #address-cells = <1>;
456 compatible = "atmel,24c02";
462 #address-cells = <1>;
467 compatible = "atmel,24c02";
473 #address-cells = <1>;
478 compatible = "atmel,24c02";
484 #address-cells = <1>;
489 compatible = "atmel,24c02";
495 #address-cells = <1>;
503 clock-frequency = <100000>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&pinctrl_i2c3>;
510 pinctrl-names = "default";
511 pinctrl-0 = <&pinctrl_uart0>;
516 pinctrl-names = "default";
517 pinctrl-0 = <&pinctrl_uart1>;
522 pinctrl-names = "default";
523 pinctrl-0 = <&pinctrl_uart2>;
528 disable-over-current;
529 vbus-supply = <&usb0_vbus>;
535 disable-over-current;
556 pinctrl_adc0_ad5: adc0ad5grp {
558 VF610_PAD_PTC30__ADC0_SE5 0x00a1
562 pinctrl_dspi0: dspi0grp {
564 VF610_PAD_PTB18__DSPI0_CS1 0x1182
565 VF610_PAD_PTB19__DSPI0_CS0 0x1182
566 VF610_PAD_PTB20__DSPI0_SIN 0x1181
567 VF610_PAD_PTB21__DSPI0_SOUT 0x1182
568 VF610_PAD_PTB22__DSPI0_SCK 0x1182
572 pinctrl_dspi2: dspi2grp {
574 VF610_PAD_PTD31__DSPI2_CS1 0x1182
575 VF610_PAD_PTD30__DSPI2_CS0 0x1182
576 VF610_PAD_PTD29__DSPI2_SIN 0x1181
577 VF610_PAD_PTD28__DSPI2_SOUT 0x1182
578 VF610_PAD_PTD27__DSPI2_SCK 0x1182
582 pinctrl_esdhc1: esdhc1grp {
584 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
585 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
586 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
587 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
588 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
589 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
590 VF610_PAD_PTA7__GPIO_134 0x219d
594 pinctrl_fec0: fec0grp {
596 VF610_PAD_PTC0__ENET_RMII0_MDC 0x30d2
597 VF610_PAD_PTC1__ENET_RMII0_MDIO 0x30d3
598 VF610_PAD_PTC2__ENET_RMII0_CRS 0x30d1
599 VF610_PAD_PTC3__ENET_RMII0_RXD1 0x30d1
600 VF610_PAD_PTC4__ENET_RMII0_RXD0 0x30d1
601 VF610_PAD_PTC5__ENET_RMII0_RXER 0x30d1
602 VF610_PAD_PTC6__ENET_RMII0_TXD1 0x30d2
603 VF610_PAD_PTC7__ENET_RMII0_TXD0 0x30d2
604 VF610_PAD_PTC8__ENET_RMII0_TXEN 0x30d2
608 pinctrl_fec1: fec1grp {
610 VF610_PAD_PTA6__RMII_CLKIN 0x30d1
611 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2
612 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3
613 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1
614 VF610_PAD_PTC12__ENET_RMII1_RXD1 0x30d1
615 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1
616 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1
617 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2
618 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2
619 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2
623 pinctrl_gpio_e6185_eeprom_sel: pinctrl-gpio-e6185-eeprom-spi0 {
625 VF610_PAD_PTE27__GPIO_132 0x33e2
629 pinctrl_gpio_spi0: pinctrl-gpio-spi0 {
631 VF610_PAD_PTB22__GPIO_44 0x33e2
632 VF610_PAD_PTB21__GPIO_43 0x33e2
633 VF610_PAD_PTB20__GPIO_42 0x33e1
634 VF610_PAD_PTB19__GPIO_41 0x33e2
635 VF610_PAD_PTB18__GPIO_40 0x33e2
639 pinctrl_i2c_mux_reset: pinctrl-i2c-mux-reset {
641 VF610_PAD_PTE14__GPIO_119 0x31c2
645 pinctrl_i2c0: i2c0grp {
647 VF610_PAD_PTB14__I2C0_SCL 0x37ff
648 VF610_PAD_PTB15__I2C0_SDA 0x37ff
652 pinctrl_i2c1: i2c1grp {
654 VF610_PAD_PTB16__I2C1_SCL 0x37ff
655 VF610_PAD_PTB17__I2C1_SDA 0x37ff
659 pinctrl_i2c2: i2c2grp {
661 VF610_PAD_PTA22__I2C2_SCL 0x37ff
662 VF610_PAD_PTA23__I2C2_SDA 0x37ff
666 pinctrl_i2c3: i2c3grp {
668 VF610_PAD_PTA30__I2C3_SCL 0x37ff
669 VF610_PAD_PTA31__I2C3_SDA 0x37ff
673 pinctrl_leds_debug: pinctrl-leds-debug {
675 VF610_PAD_PTD20__GPIO_74 0x31c2
679 pinctrl_mdio_mux: pinctrl-mdio-mux {
681 VF610_PAD_PTA18__GPIO_8 0x31c2
682 VF610_PAD_PTA19__GPIO_9 0x31c2
683 VF610_PAD_PTB2__GPIO_24 0x31c2
684 VF610_PAD_PTB3__GPIO_25 0x31c2
688 pinctrl_pca9554_22: pinctrl-pca95540-22 {
690 VF610_PAD_PTB28__GPIO_98 0x219d
694 pinctrl_pwm0: pwm0grp {
696 VF610_PAD_PTB0__FTM0_CH0 0x1582
697 VF610_PAD_PTB1__FTM0_CH1 0x1582
698 VF610_PAD_PTB2__FTM0_CH2 0x1582
699 VF610_PAD_PTB3__FTM0_CH3 0x1582
703 pinctrl_qspi0: qspi0grp {
705 VF610_PAD_PTD7__QSPI0_B_QSCK 0x31c3
706 VF610_PAD_PTD8__QSPI0_B_CS0 0x31ff
707 VF610_PAD_PTD9__QSPI0_B_DATA3 0x31c3
708 VF610_PAD_PTD10__QSPI0_B_DATA2 0x31c3
709 VF610_PAD_PTD11__QSPI0_B_DATA1 0x31c3
710 VF610_PAD_PTD12__QSPI0_B_DATA0 0x31c3
714 pinctrl_uart0: uart0grp {
716 VF610_PAD_PTB10__UART0_TX 0x21a2
717 VF610_PAD_PTB11__UART0_RX 0x21a1
721 pinctrl_uart1: uart1grp {
723 VF610_PAD_PTB23__UART1_TX 0x21a2
724 VF610_PAD_PTB24__UART1_RX 0x21a1
728 pinctrl_uart2: uart2grp {
730 VF610_PAD_PTD0__UART2_TX 0x21a2
731 VF610_PAD_PTD1__UART2_RX 0x21a1
735 pinctrl_usb_vbus: pinctrl-usb-vbus {
737 VF610_PAD_PTA16__GPIO_6 0x31c2
741 pinctrl_usb0_host: usb0-host-grp {
743 VF610_PAD_PTD6__GPIO_85 0x0062