1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Device tree file for ZII's SSMB SPU3 board
6 * SSMB - SPU3 Switch Management Board
7 * SPU - Seat Power Unit
9 * Copyright (C) 2015, 2016 Zodiac Inflight Innovations
11 * Based on an original 'vf610-twr.dts' which is Copyright 2015,
12 * Freescale Semiconductor, Inc.
19 model = "ZII VF610 SSMB SPU3 Board";
20 compatible = "zii,vf610spu3", "zii,vf610dev", "fsl,vf610";
27 device_type = "memory";
28 reg = <0x80000000 0x20000000>;
32 compatible = "gpio-leds";
33 pinctrl-0 = <&pinctrl_leds_debug>;
34 pinctrl-names = "default";
37 label = "zii:green:debug1";
38 gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>;
39 linux,default-trigger = "heartbeat";
43 reg_vcc_3v3_mcu: regulator {
44 compatible = "regulator-fixed";
45 regulator-name = "vcc_3v3_mcu";
46 regulator-min-microvolt = <3300000>;
47 regulator-max-microvolt = <3300000>;
50 supply-voltage-monitor {
51 compatible = "iio-hwmon";
52 io-channels = <&adc0 8>, /* 12V_MAIN */
53 <&adc0 9>, /* +3.3V */
54 <&adc1 8>, /* VCC_1V5 */
55 <&adc1 9>; /* VCC_1V2 */
60 vref-supply = <®_vcc_3v3_mcu>;
65 vref-supply = <®_vcc_3v3_mcu>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_dspi1>;
74 * Some SPU3s come with SPI-NOR chip DNPed, so we leave this
75 * node disabled by default and rely on bootloader to enable
76 * it when appropriate.
83 compatible = "m25p128", "jedec,spi-nor";
85 spi-max-frequency = <50000000>;
89 reg = <0x0 0x01000000>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&pinctrl_esdhc0>;
108 keep-power-in-suspend;
115 pinctrl-names = "default";
116 pinctrl-0 = <&pinctrl_esdhc1>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&pinctrl_fec1>;
134 #address-cells = <1>;
136 clock-frequency = <12500000>;
141 compatible = "marvell,mv88e6190";
142 pinctrl-0 = <&pinctrl_gpio_switch0>;
143 pinctrl-names = "default";
145 eeprom-length = <65536>;
146 interrupt-parent = <&gpio3>;
147 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
148 interrupt-controller;
149 #interrupt-cells = <2>;
152 #address-cells = <1>;
168 label = "eth_cu_1000_1";
173 label = "eth_cu_1000_2";
178 label = "eth_cu_1000_3";
183 label = "eth_cu_1000_4";
188 label = "eth_cu_1000_5";
193 label = "eth_cu_1000_6";
201 clock-frequency = <100000>;
202 pinctrl-names = "default";
203 pinctrl-0 = <&pinctrl_i2c0>;
206 gpio6: io-expander@22 {
207 compatible = "nxp,pca9554";
214 compatible = "national,lm75";
219 compatible = "atmel,24c04";
225 compatible = "atmel,24c04";
231 clock-frequency = <100000>;
232 pinctrl-names = "default";
233 pinctrl-0 = <&pinctrl_i2c1>;
237 compatible = "zii,rave-wdt";
247 pinctrl-names = "default";
248 pinctrl-0 = <&pinctrl_uart0>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&pinctrl_uart1>;
258 compatible = "zii,rave-sp-rdu2";
259 current-speed = <1000000>;
260 #address-cells = <1>;
264 compatible = "zii,rave-sp-watchdog";
268 compatible = "zii,rave-sp-eeprom";
270 #address-cells = <1>;
272 zii,eeprom-name = "main-eeprom";
282 pinctrl_dspi1: dspi1grp {
284 VF610_PAD_PTD5__DSPI1_CS0 0x1182
285 VF610_PAD_PTD4__DSPI1_CS1 0x1182
286 VF610_PAD_PTC6__DSPI1_SIN 0x1181
287 VF610_PAD_PTC7__DSPI1_SOUT 0x1182
288 VF610_PAD_PTC8__DSPI1_SCK 0x1182
292 pinctrl_esdhc0: esdhc0grp {
294 VF610_PAD_PTC0__ESDHC0_CLK 0x31ef
295 VF610_PAD_PTC1__ESDHC0_CMD 0x31ef
296 VF610_PAD_PTC2__ESDHC0_DAT0 0x31ef
297 VF610_PAD_PTC3__ESDHC0_DAT1 0x31ef
298 VF610_PAD_PTC4__ESDHC0_DAT2 0x31ef
299 VF610_PAD_PTC5__ESDHC0_DAT3 0x31ef
300 VF610_PAD_PTD23__ESDHC0_DAT4 0x31ef
301 VF610_PAD_PTD22__ESDHC0_DAT5 0x31ef
302 VF610_PAD_PTD21__ESDHC0_DAT6 0x31ef
303 VF610_PAD_PTD20__ESDHC0_DAT7 0x31ef
307 pinctrl_esdhc1: esdhc1grp {
309 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
310 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
311 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
312 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
313 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
314 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
318 pinctrl_fec1: fec1grp {
320 VF610_PAD_PTA6__RMII_CLKIN 0x30d1
321 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2
322 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3
323 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1
324 VF610_PAD_PTC12__ENET_RMII1_RXD1 0x30d1
325 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1
326 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1
327 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2
328 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2
329 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2
333 pinctrl_gpio_switch0: pinctrl-gpio-switch0 {
335 VF610_PAD_PTB28__GPIO_98 0x219d
339 pinctrl_i2c0: i2c0grp {
341 VF610_PAD_PTB14__I2C0_SCL 0x37ff
342 VF610_PAD_PTB15__I2C0_SDA 0x37ff
346 pinctrl_i2c1: i2c1grp {
348 VF610_PAD_PTB16__I2C1_SCL 0x37ff
349 VF610_PAD_PTB17__I2C1_SDA 0x37ff
353 pinctrl_leds_debug: pinctrl-leds-debug {
355 VF610_PAD_PTD3__GPIO_82 0x31c2
359 pinctrl_uart0: uart0grp {
361 VF610_PAD_PTB10__UART0_TX 0x21a2
362 VF610_PAD_PTB11__UART0_RX 0x21a1
366 pinctrl_uart1: uart1grp {
368 VF610_PAD_PTB23__UART1_TX 0x21a2
369 VF610_PAD_PTB24__UART1_RX 0x21a1