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>;
104 #address-cells = <1>;
110 compatible = "marvell,dsa";
111 #address-cells = <2>;
113 dsa,ethernet = <&fec1>;
114 dsa,mii-bus = <&mdio_mux_1>;
116 /* 6352 - Primary - 7 ports */
117 switch0: switch@0-0 {
118 #address-cells = <1>;
121 eeprom-length = <512>;
138 switch0port5: port@5 {
141 phy-mode = "rgmii-txid";
142 link = <&switch1port6
163 /* 6352 - Secondary - 7 ports */
164 switch1: switch@0-1 {
165 #address-cells = <1>;
168 eeprom-length = <512>;
169 mii-bus = <&mdio_mux_2>;
186 switch1port5: port@5 {
189 link = <&switch2port9>;
190 phy-mode = "rgmii-txid";
198 switch1port6: port@6 {
201 phy-mode = "rgmii-txid";
202 link = <&switch0port5>;
211 /* 6185 - 10 ports */
212 switch2: switch@0-2 {
213 #address-cells = <1>;
216 mii-bus = <&mdio_mux_4>;
240 link-gpios = <&gpio6 2
252 link-gpios = <&gpio6 3
257 switch2port9: port@9 {
260 phy-mode = "rgmii-txid";
261 link = <&switch1port5
272 reg_vcc_3v3_mcu: regulator-vcc-3v3-mcu {
273 compatible = "regulator-fixed";
274 regulator-name = "vcc_3v3_mcu";
275 regulator-min-microvolt = <3300000>;
276 regulator-max-microvolt = <3300000>;
279 usb0_vbus: regulator-usb0-vbus {
280 compatible = "regulator-fixed";
281 pinctrl-0 = <&pinctrl_usb_vbus>;
282 regulator-name = "usb_vbus";
283 regulator-min-microvolt = <5000000>;
284 regulator-max-microvolt = <5000000>;
292 compatible = "spi-gpio";
293 pinctrl-0 = <&pinctrl_gpio_spi0>;
294 pinctrl-names = "default";
295 #address-cells = <1>;
297 gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
298 gpio-mosi = <&gpio1 11 GPIO_ACTIVE_HIGH>;
299 gpio-miso = <&gpio1 10 GPIO_ACTIVE_HIGH>;
300 cs-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH
301 &gpio1 8 GPIO_ACTIVE_HIGH>;
302 num-chipselects = <2>;
305 compatible = "m25p128", "jedec,spi-nor";
306 #address-cells = <1>;
309 spi-max-frequency = <1000000>;
313 compatible = "atmel,at93c46d";
314 pinctrl-0 = <&pinctrl_gpio_e6185_eeprom_sel>;
315 pinctrl-names = "default";
316 #address-cells = <0>;
319 spi-max-frequency = <500000>;
322 select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&pinctrl_adc0_ad5>;
330 vref-supply = <®_vcc_3v3_mcu>;
339 pinctrl-names = "default";
340 pinctrl-0 = <&pinctrl_esdhc1>;
347 pinctrl-names = "default";
348 pinctrl-0 = <&pinctrl_fec0>;
354 pinctrl-names = "default";
355 pinctrl-0 = <&pinctrl_fec1>;
364 #address-cells = <1>;
371 clock-frequency = <100000>;
372 pinctrl-names = "default";
373 pinctrl-0 = <&pinctrl_i2c0>;
377 compatible = "nxp,pca9554";
385 compatible = "nxp,pca9554";
386 pinctrl-names = "default";
387 pinctrl-0 = <&pinctrl_pca9554_22>;
391 interrupt-parent = <&gpio2>;
392 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
396 compatible = "national,lm75";
401 compatible = "atmel,24c04";
406 compatible = "atmel,24c04";
411 compatible = "dallas,ds1682";
417 clock-frequency = <100000>;
418 pinctrl-names = "default";
419 pinctrl-0 = <&pinctrl_i2c1>;
424 clock-frequency = <100000>;
425 pinctrl-names = "default";
426 pinctrl-0 = <&pinctrl_i2c2>;
430 compatible = "nxp,pca9548";
431 pinctrl-0 = <&pinctrl_i2c_mux_reset>;
432 pinctrl-names = "default";
433 #address-cells = <1>;
436 reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
439 #address-cells = <1>;
444 compatible = "atmel,24c02";
450 #address-cells = <1>;
455 compatible = "atmel,24c02";
461 #address-cells = <1>;
466 compatible = "atmel,24c02";
472 #address-cells = <1>;
477 compatible = "atmel,24c02";
483 #address-cells = <1>;
491 clock-frequency = <100000>;
492 pinctrl-names = "default";
493 pinctrl-0 = <&pinctrl_i2c3>;
498 pinctrl-names = "default";
499 pinctrl-0 = <&pinctrl_uart0>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&pinctrl_uart1>;
510 pinctrl-names = "default";
511 pinctrl-0 = <&pinctrl_uart2>;
516 disable-over-current;
517 vbus-supply = <&usb0_vbus>;
523 disable-over-current;
544 pinctrl_adc0_ad5: adc0ad5grp {
546 VF610_PAD_PTC30__ADC0_SE5 0x00a1
550 pinctrl_dspi0: dspi0grp {
552 VF610_PAD_PTB18__DSPI0_CS1 0x1182
553 VF610_PAD_PTB19__DSPI0_CS0 0x1182
554 VF610_PAD_PTB20__DSPI0_SIN 0x1181
555 VF610_PAD_PTB21__DSPI0_SOUT 0x1182
556 VF610_PAD_PTB22__DSPI0_SCK 0x1182
560 pinctrl_dspi2: dspi2grp {
562 VF610_PAD_PTD31__DSPI2_CS1 0x1182
563 VF610_PAD_PTD30__DSPI2_CS0 0x1182
564 VF610_PAD_PTD29__DSPI2_SIN 0x1181
565 VF610_PAD_PTD28__DSPI2_SOUT 0x1182
566 VF610_PAD_PTD27__DSPI2_SCK 0x1182
570 pinctrl_esdhc1: esdhc1grp {
572 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
573 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
574 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
575 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
576 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
577 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
578 VF610_PAD_PTA7__GPIO_134 0x219d
582 pinctrl_fec0: fec0grp {
584 VF610_PAD_PTC0__ENET_RMII0_MDC 0x30d2
585 VF610_PAD_PTC1__ENET_RMII0_MDIO 0x30d3
586 VF610_PAD_PTC2__ENET_RMII0_CRS 0x30d1
587 VF610_PAD_PTC3__ENET_RMII0_RXD1 0x30d1
588 VF610_PAD_PTC4__ENET_RMII0_RXD0 0x30d1
589 VF610_PAD_PTC5__ENET_RMII0_RXER 0x30d1
590 VF610_PAD_PTC6__ENET_RMII0_TXD1 0x30d2
591 VF610_PAD_PTC7__ENET_RMII0_TXD0 0x30d2
592 VF610_PAD_PTC8__ENET_RMII0_TXEN 0x30d2
596 pinctrl_fec1: fec1grp {
598 VF610_PAD_PTA6__RMII_CLKIN 0x30d1
599 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2
600 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3
601 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1
602 VF610_PAD_PTC12__ENET_RMII1_RXD1 0x30d1
603 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1
604 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1
605 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2
606 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2
607 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2
611 pinctrl_gpio_e6185_eeprom_sel: pinctrl-gpio-e6185-eeprom-spi0 {
613 VF610_PAD_PTE27__GPIO_132 0x33e2
617 pinctrl_gpio_spi0: pinctrl-gpio-spi0 {
619 VF610_PAD_PTB22__GPIO_44 0x33e2
620 VF610_PAD_PTB21__GPIO_43 0x33e2
621 VF610_PAD_PTB20__GPIO_42 0x33e1
622 VF610_PAD_PTB19__GPIO_41 0x33e2
623 VF610_PAD_PTB18__GPIO_40 0x33e2
627 pinctrl_i2c_mux_reset: pinctrl-i2c-mux-reset {
629 VF610_PAD_PTE14__GPIO_119 0x31c2
633 pinctrl_i2c0: i2c0grp {
635 VF610_PAD_PTB14__I2C0_SCL 0x37ff
636 VF610_PAD_PTB15__I2C0_SDA 0x37ff
640 pinctrl_i2c1: i2c1grp {
642 VF610_PAD_PTB16__I2C1_SCL 0x37ff
643 VF610_PAD_PTB17__I2C1_SDA 0x37ff
647 pinctrl_i2c2: i2c2grp {
649 VF610_PAD_PTA22__I2C2_SCL 0x37ff
650 VF610_PAD_PTA23__I2C2_SDA 0x37ff
654 pinctrl_i2c3: i2c3grp {
656 VF610_PAD_PTA30__I2C3_SCL 0x37ff
657 VF610_PAD_PTA31__I2C3_SDA 0x37ff
661 pinctrl_leds_debug: pinctrl-leds-debug {
663 VF610_PAD_PTD20__GPIO_74 0x31c2
667 pinctrl_mdio_mux: pinctrl-mdio-mux {
669 VF610_PAD_PTA18__GPIO_8 0x31c2
670 VF610_PAD_PTA19__GPIO_9 0x31c2
671 VF610_PAD_PTB2__GPIO_24 0x31c2
672 VF610_PAD_PTB3__GPIO_25 0x31c2
676 pinctrl_pca9554_22: pinctrl-pca95540-22 {
678 VF610_PAD_PTB28__GPIO_98 0x219d
682 pinctrl_pwm0: pwm0grp {
684 VF610_PAD_PTB0__FTM0_CH0 0x1582
685 VF610_PAD_PTB1__FTM0_CH1 0x1582
686 VF610_PAD_PTB2__FTM0_CH2 0x1582
687 VF610_PAD_PTB3__FTM0_CH3 0x1582
691 pinctrl_qspi0: qspi0grp {
693 VF610_PAD_PTD7__QSPI0_B_QSCK 0x31c3
694 VF610_PAD_PTD8__QSPI0_B_CS0 0x31ff
695 VF610_PAD_PTD9__QSPI0_B_DATA3 0x31c3
696 VF610_PAD_PTD10__QSPI0_B_DATA2 0x31c3
697 VF610_PAD_PTD11__QSPI0_B_DATA1 0x31c3
698 VF610_PAD_PTD12__QSPI0_B_DATA0 0x31c3
702 pinctrl_uart0: uart0grp {
704 VF610_PAD_PTB10__UART0_TX 0x21a2
705 VF610_PAD_PTB11__UART0_RX 0x21a1
709 pinctrl_uart1: uart1grp {
711 VF610_PAD_PTB23__UART1_TX 0x21a2
712 VF610_PAD_PTB24__UART1_RX 0x21a1
716 pinctrl_uart2: uart2grp {
718 VF610_PAD_PTD0__UART2_TX 0x21a2
719 VF610_PAD_PTD1__UART2_RX 0x21a1
723 pinctrl_usb_vbus: pinctrl-usb-vbus {
725 VF610_PAD_PTA16__GPIO_6 0x31c2
729 pinctrl_usb0_host: usb0-host-grp {
731 VF610_PAD_PTD6__GPIO_85 0x0062