1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*724ba675SRob Herring 3*724ba675SRob Herring/* 4*724ba675SRob Herring * Device tree file for ZII's SSMB DTU board 5*724ba675SRob Herring * 6*724ba675SRob Herring * SSMB - SPU3 Switch Management Board 7*724ba675SRob Herring * DTU - Digital Tapping Unit 8*724ba675SRob Herring * 9*724ba675SRob Herring * Copyright (C) 2015-2019 Zodiac Inflight Innovations 10*724ba675SRob Herring * 11*724ba675SRob Herring * Based on an original 'vf610-twr.dts' which is Copyright 2015, 12*724ba675SRob Herring * Freescale Semiconductor, Inc. 13*724ba675SRob Herring */ 14*724ba675SRob Herring 15*724ba675SRob Herring/dts-v1/; 16*724ba675SRob Herring#include "vf610.dtsi" 17*724ba675SRob Herring 18*724ba675SRob Herring/ { 19*724ba675SRob Herring model = "ZII VF610 SSMB DTU Board"; 20*724ba675SRob Herring compatible = "zii,vf610dtu", "zii,vf610dev", "fsl,vf610"; 21*724ba675SRob Herring 22*724ba675SRob Herring chosen { 23*724ba675SRob Herring stdout-path = &uart0; 24*724ba675SRob Herring }; 25*724ba675SRob Herring 26*724ba675SRob Herring memory@80000000 { 27*724ba675SRob Herring device_type = "memory"; 28*724ba675SRob Herring reg = <0x80000000 0x20000000>; 29*724ba675SRob Herring }; 30*724ba675SRob Herring 31*724ba675SRob Herring gpio-leds { 32*724ba675SRob Herring compatible = "gpio-leds"; 33*724ba675SRob Herring pinctrl-0 = <&pinctrl_leds_debug>; 34*724ba675SRob Herring pinctrl-names = "default"; 35*724ba675SRob Herring 36*724ba675SRob Herring led-debug { 37*724ba675SRob Herring label = "zii:green:debug1"; 38*724ba675SRob Herring gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>; 39*724ba675SRob Herring linux,default-trigger = "heartbeat"; 40*724ba675SRob Herring }; 41*724ba675SRob Herring }; 42*724ba675SRob Herring 43*724ba675SRob Herring reg_vcc_3v3_mcu: regulator { 44*724ba675SRob Herring compatible = "regulator-fixed"; 45*724ba675SRob Herring regulator-name = "vcc_3v3_mcu"; 46*724ba675SRob Herring regulator-min-microvolt = <3300000>; 47*724ba675SRob Herring regulator-max-microvolt = <3300000>; 48*724ba675SRob Herring }; 49*724ba675SRob Herring 50*724ba675SRob Herring supply-voltage-monitor { 51*724ba675SRob Herring compatible = "iio-hwmon"; 52*724ba675SRob Herring io-channels = <&adc0 8>, /* 12V_MAIN */ 53*724ba675SRob Herring <&adc0 9>, /* +3.3V */ 54*724ba675SRob Herring <&adc1 8>, /* VCC_1V5 */ 55*724ba675SRob Herring <&adc1 9>; /* VCC_1V2 */ 56*724ba675SRob Herring }; 57*724ba675SRob Herring}; 58*724ba675SRob Herring 59*724ba675SRob Herring&adc0 { 60*724ba675SRob Herring vref-supply = <®_vcc_3v3_mcu>; 61*724ba675SRob Herring status = "okay"; 62*724ba675SRob Herring}; 63*724ba675SRob Herring 64*724ba675SRob Herring&adc1 { 65*724ba675SRob Herring vref-supply = <®_vcc_3v3_mcu>; 66*724ba675SRob Herring status = "okay"; 67*724ba675SRob Herring}; 68*724ba675SRob Herring 69*724ba675SRob Herring&edma0 { 70*724ba675SRob Herring status = "okay"; 71*724ba675SRob Herring}; 72*724ba675SRob Herring 73*724ba675SRob Herring&edma1 { 74*724ba675SRob Herring status = "okay"; 75*724ba675SRob Herring}; 76*724ba675SRob Herring 77*724ba675SRob Herring&esdhc0 { 78*724ba675SRob Herring pinctrl-names = "default"; 79*724ba675SRob Herring pinctrl-0 = <&pinctrl_esdhc0>; 80*724ba675SRob Herring bus-width = <8>; 81*724ba675SRob Herring non-removable; 82*724ba675SRob Herring no-1-8-v; 83*724ba675SRob Herring keep-power-in-suspend; 84*724ba675SRob Herring no-sdio; 85*724ba675SRob Herring no-sd; 86*724ba675SRob Herring status = "okay"; 87*724ba675SRob Herring}; 88*724ba675SRob Herring 89*724ba675SRob Herring&esdhc1 { 90*724ba675SRob Herring pinctrl-names = "default"; 91*724ba675SRob Herring pinctrl-0 = <&pinctrl_esdhc1>; 92*724ba675SRob Herring bus-width = <4>; 93*724ba675SRob Herring no-sdio; 94*724ba675SRob Herring status = "okay"; 95*724ba675SRob Herring}; 96*724ba675SRob Herring 97*724ba675SRob Herring&fec1 { 98*724ba675SRob Herring phy-mode = "rmii"; 99*724ba675SRob Herring pinctrl-names = "default"; 100*724ba675SRob Herring pinctrl-0 = <&pinctrl_fec1>; 101*724ba675SRob Herring status = "okay"; 102*724ba675SRob Herring 103*724ba675SRob Herring fixed-link { 104*724ba675SRob Herring speed = <100>; 105*724ba675SRob Herring full-duplex; 106*724ba675SRob Herring }; 107*724ba675SRob Herring 108*724ba675SRob Herring mdio1: mdio { 109*724ba675SRob Herring #address-cells = <1>; 110*724ba675SRob Herring #size-cells = <0>; 111*724ba675SRob Herring clock-frequency = <12500000>; 112*724ba675SRob Herring suppress-preamble; 113*724ba675SRob Herring status = "okay"; 114*724ba675SRob Herring 115*724ba675SRob Herring switch0: switch0@0 { 116*724ba675SRob Herring compatible = "marvell,mv88e6190"; 117*724ba675SRob Herring pinctrl-0 = <&pinctrl_gpio_switch0>; 118*724ba675SRob Herring pinctrl-names = "default"; 119*724ba675SRob Herring reg = <0>; 120*724ba675SRob Herring eeprom-length = <65536>; 121*724ba675SRob Herring interrupt-parent = <&gpio3>; 122*724ba675SRob Herring interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 123*724ba675SRob Herring interrupt-controller; 124*724ba675SRob Herring #interrupt-cells = <2>; 125*724ba675SRob Herring 126*724ba675SRob Herring ports { 127*724ba675SRob Herring #address-cells = <1>; 128*724ba675SRob Herring #size-cells = <0>; 129*724ba675SRob Herring 130*724ba675SRob Herring port@0 { 131*724ba675SRob Herring reg = <0>; 132*724ba675SRob Herring phy-mode = "rmii"; 133*724ba675SRob Herring ethernet = <&fec1>; 134*724ba675SRob Herring 135*724ba675SRob Herring fixed-link { 136*724ba675SRob Herring speed = <100>; 137*724ba675SRob Herring full-duplex; 138*724ba675SRob Herring }; 139*724ba675SRob Herring }; 140*724ba675SRob Herring 141*724ba675SRob Herring port@1 { 142*724ba675SRob Herring reg = <1>; 143*724ba675SRob Herring label = "eth_cu_100_3"; 144*724ba675SRob Herring }; 145*724ba675SRob Herring 146*724ba675SRob Herring port@5 { 147*724ba675SRob Herring reg = <5>; 148*724ba675SRob Herring label = "eth_cu_1000_4"; 149*724ba675SRob Herring }; 150*724ba675SRob Herring 151*724ba675SRob Herring port@6 { 152*724ba675SRob Herring reg = <6>; 153*724ba675SRob Herring label = "eth_cu_1000_5"; 154*724ba675SRob Herring }; 155*724ba675SRob Herring 156*724ba675SRob Herring port@8 { 157*724ba675SRob Herring reg = <8>; 158*724ba675SRob Herring label = "eth_cu_1000_1"; 159*724ba675SRob Herring }; 160*724ba675SRob Herring 161*724ba675SRob Herring port@9 { 162*724ba675SRob Herring reg = <9>; 163*724ba675SRob Herring label = "eth_cu_1000_2"; 164*724ba675SRob Herring phy-handle = <&phy9>; 165*724ba675SRob Herring phy-mode = "sgmii"; 166*724ba675SRob Herring managed = "in-band-status"; 167*724ba675SRob Herring }; 168*724ba675SRob Herring }; 169*724ba675SRob Herring 170*724ba675SRob Herring mdio1 { 171*724ba675SRob Herring compatible = "marvell,mv88e6xxx-mdio-external"; 172*724ba675SRob Herring #address-cells = <1>; 173*724ba675SRob Herring #size-cells = <0>; 174*724ba675SRob Herring 175*724ba675SRob Herring phy9: phy9@0 { 176*724ba675SRob Herring compatible = "ethernet-phy-ieee802.3-c45"; 177*724ba675SRob Herring pinctrl-0 = <&pinctrl_gpio_phy9>; 178*724ba675SRob Herring pinctrl-names = "default"; 179*724ba675SRob Herring interrupt-parent = <&gpio2>; 180*724ba675SRob Herring interrupts = <30 IRQ_TYPE_LEVEL_LOW>; 181*724ba675SRob Herring reg = <0>; 182*724ba675SRob Herring }; 183*724ba675SRob Herring }; 184*724ba675SRob Herring }; 185*724ba675SRob Herring }; 186*724ba675SRob Herring}; 187*724ba675SRob Herring 188*724ba675SRob Herring&i2c0 { 189*724ba675SRob Herring clock-frequency = <100000>; 190*724ba675SRob Herring pinctrl-names = "default"; 191*724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c0>; 192*724ba675SRob Herring status = "okay"; 193*724ba675SRob Herring 194*724ba675SRob Herring gpio6: gpio-expander@22 { 195*724ba675SRob Herring compatible = "nxp,pca9554"; 196*724ba675SRob Herring reg = <0x22>; 197*724ba675SRob Herring gpio-controller; 198*724ba675SRob Herring #gpio-cells = <2>; 199*724ba675SRob Herring }; 200*724ba675SRob Herring 201*724ba675SRob Herring /* On SSMB */ 202*724ba675SRob Herring temperature-sensor@48 { 203*724ba675SRob Herring compatible = "national,lm75"; 204*724ba675SRob Herring reg = <0x48>; 205*724ba675SRob Herring }; 206*724ba675SRob Herring 207*724ba675SRob Herring /* On DSB */ 208*724ba675SRob Herring temperature-sensor@4d { 209*724ba675SRob Herring compatible = "national,lm75"; 210*724ba675SRob Herring reg = <0x4d>; 211*724ba675SRob Herring }; 212*724ba675SRob Herring 213*724ba675SRob Herring eeprom@50 { 214*724ba675SRob Herring compatible = "atmel,24c04"; 215*724ba675SRob Herring reg = <0x50>; 216*724ba675SRob Herring label = "nameplate"; 217*724ba675SRob Herring }; 218*724ba675SRob Herring 219*724ba675SRob Herring eeprom@52 { 220*724ba675SRob Herring compatible = "atmel,24c04"; 221*724ba675SRob Herring reg = <0x52>; 222*724ba675SRob Herring }; 223*724ba675SRob Herring}; 224*724ba675SRob Herring 225*724ba675SRob Herring&snvsrtc { 226*724ba675SRob Herring status = "disabled"; 227*724ba675SRob Herring}; 228*724ba675SRob Herring 229*724ba675SRob Herring&uart0 { 230*724ba675SRob Herring pinctrl-names = "default"; 231*724ba675SRob Herring pinctrl-0 = <&pinctrl_uart0>; 232*724ba675SRob Herring status = "okay"; 233*724ba675SRob Herring}; 234*724ba675SRob Herring 235*724ba675SRob Herring&iomuxc { 236*724ba675SRob Herring pinctrl_dspi1: dspi1grp { 237*724ba675SRob Herring fsl,pins = < 238*724ba675SRob Herring VF610_PAD_PTD5__DSPI1_CS0 0x1182 239*724ba675SRob Herring VF610_PAD_PTD4__DSPI1_CS1 0x1182 240*724ba675SRob Herring VF610_PAD_PTC6__DSPI1_SIN 0x1181 241*724ba675SRob Herring VF610_PAD_PTC7__DSPI1_SOUT 0x1182 242*724ba675SRob Herring VF610_PAD_PTC8__DSPI1_SCK 0x1182 243*724ba675SRob Herring >; 244*724ba675SRob Herring }; 245*724ba675SRob Herring 246*724ba675SRob Herring pinctrl_esdhc0: esdhc0grp { 247*724ba675SRob Herring fsl,pins = < 248*724ba675SRob Herring VF610_PAD_PTC0__ESDHC0_CLK 0x31ef 249*724ba675SRob Herring VF610_PAD_PTC1__ESDHC0_CMD 0x31ef 250*724ba675SRob Herring VF610_PAD_PTC2__ESDHC0_DAT0 0x31ef 251*724ba675SRob Herring VF610_PAD_PTC3__ESDHC0_DAT1 0x31ef 252*724ba675SRob Herring VF610_PAD_PTC4__ESDHC0_DAT2 0x31ef 253*724ba675SRob Herring VF610_PAD_PTC5__ESDHC0_DAT3 0x31ef 254*724ba675SRob Herring VF610_PAD_PTD23__ESDHC0_DAT4 0x31ef 255*724ba675SRob Herring VF610_PAD_PTD22__ESDHC0_DAT5 0x31ef 256*724ba675SRob Herring VF610_PAD_PTD21__ESDHC0_DAT6 0x31ef 257*724ba675SRob Herring VF610_PAD_PTD20__ESDHC0_DAT7 0x31ef 258*724ba675SRob Herring >; 259*724ba675SRob Herring }; 260*724ba675SRob Herring 261*724ba675SRob Herring pinctrl_esdhc1: esdhc1grp { 262*724ba675SRob Herring fsl,pins = < 263*724ba675SRob Herring VF610_PAD_PTA24__ESDHC1_CLK 0x31ef 264*724ba675SRob Herring VF610_PAD_PTA25__ESDHC1_CMD 0x31ef 265*724ba675SRob Herring VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef 266*724ba675SRob Herring VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef 267*724ba675SRob Herring VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef 268*724ba675SRob Herring VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef 269*724ba675SRob Herring >; 270*724ba675SRob Herring }; 271*724ba675SRob Herring 272*724ba675SRob Herring pinctrl_fec1: fec1grp { 273*724ba675SRob Herring fsl,pins = < 274*724ba675SRob Herring VF610_PAD_PTA6__RMII_CLKIN 0x30d1 275*724ba675SRob Herring VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2 276*724ba675SRob Herring VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3 277*724ba675SRob Herring VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1 278*724ba675SRob Herring VF610_PAD_PTC12__ENET_RMII1_RXD1 0x30d1 279*724ba675SRob Herring VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1 280*724ba675SRob Herring VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1 281*724ba675SRob Herring VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2 282*724ba675SRob Herring VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2 283*724ba675SRob Herring VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2 284*724ba675SRob Herring >; 285*724ba675SRob Herring }; 286*724ba675SRob Herring 287*724ba675SRob Herring pinctrl_gpio_phy9: pinctrl-gpio-phy9 { 288*724ba675SRob Herring fsl,pins = < 289*724ba675SRob Herring VF610_PAD_PTB24__GPIO_94 0x219d 290*724ba675SRob Herring >; 291*724ba675SRob Herring }; 292*724ba675SRob Herring 293*724ba675SRob Herring pinctrl_gpio_switch0: pinctrl-gpio-switch0 { 294*724ba675SRob Herring fsl,pins = < 295*724ba675SRob Herring VF610_PAD_PTB28__GPIO_98 0x219d 296*724ba675SRob Herring >; 297*724ba675SRob Herring }; 298*724ba675SRob Herring 299*724ba675SRob Herring pinctrl_i2c0: i2c0grp { 300*724ba675SRob Herring fsl,pins = < 301*724ba675SRob Herring VF610_PAD_PTB14__I2C0_SCL 0x37ff 302*724ba675SRob Herring VF610_PAD_PTB15__I2C0_SDA 0x37ff 303*724ba675SRob Herring >; 304*724ba675SRob Herring }; 305*724ba675SRob Herring 306*724ba675SRob Herring pinctrl_i2c1: i2c1grp { 307*724ba675SRob Herring fsl,pins = < 308*724ba675SRob Herring VF610_PAD_PTB16__I2C1_SCL 0x37ff 309*724ba675SRob Herring VF610_PAD_PTB17__I2C1_SDA 0x37ff 310*724ba675SRob Herring >; 311*724ba675SRob Herring }; 312*724ba675SRob Herring 313*724ba675SRob Herring pinctrl_leds_debug: pinctrl-leds-debug { 314*724ba675SRob Herring fsl,pins = < 315*724ba675SRob Herring VF610_PAD_PTD3__GPIO_82 0x31c2 316*724ba675SRob Herring >; 317*724ba675SRob Herring }; 318*724ba675SRob Herring 319*724ba675SRob Herring pinctrl_uart0: uart0grp { 320*724ba675SRob Herring fsl,pins = < 321*724ba675SRob Herring VF610_PAD_PTB10__UART0_TX 0x21a2 322*724ba675SRob Herring VF610_PAD_PTB11__UART0_RX 0x21a1 323*724ba675SRob Herring >; 324*724ba675SRob Herring }; 325*724ba675SRob Herring}; 326