1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Device tree file for ZII's SPB4 board
8 * Copyright (C) 2019 Zodiac Inflight Innovations
15 model = "ZII VF610 SPB4 Board";
16 compatible = "zii,vf610spb4", "zii,vf610dev", "fsl,vf610";
23 device_type = "memory";
24 reg = <0x80000000 0x20000000>;
28 compatible = "gpio-leds";
29 pinctrl-0 = <&pinctrl_leds_debug>;
30 pinctrl-names = "default";
33 label = "zii:green:debug1";
34 gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>;
35 linux,default-trigger = "heartbeat";
39 reg_vcc_3v3_mcu: regulator-vcc-3v3-mcu {
40 compatible = "regulator-fixed";
41 regulator-name = "vcc_3v3_mcu";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
46 supply-voltage-monitor {
47 compatible = "iio-hwmon";
48 io-channels = <&adc0 8>, /* 28V_SW */
49 <&adc0 9>, /* +3.3V */
50 <&adc1 8>, /* VCC_1V5 */
51 <&adc1 9>; /* VCC_1V2 */
56 vref-supply = <®_vcc_3v3_mcu>;
61 vref-supply = <®_vcc_3v3_mcu>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_dspi1>;
74 compatible = "m25p128", "jedec,spi-nor";
76 spi-max-frequency = <50000000>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_esdhc0>;
94 keep-power-in-suspend;
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_esdhc1>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_fec1>;
120 #address-cells = <1>;
122 clock-frequency = <12500000>;
127 compatible = "marvell,mv88e6190";
128 pinctrl-0 = <&pinctrl_gpio_switch0>;
129 pinctrl-names = "default";
131 eeprom-length = <65536>;
132 interrupt-parent = <&gpio3>;
133 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
134 interrupt-controller;
135 #interrupt-cells = <2>;
138 #address-cells = <1>;
154 label = "eth_cu_1000_1";
159 label = "eth_cu_1000_2";
164 label = "eth_cu_1000_3";
169 label = "eth_cu_1000_4";
174 label = "eth_cu_1000_5";
179 label = "eth_cu_1000_6";
187 clock-frequency = <100000>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_i2c0>;
193 compatible = "nxp,pca9554";
200 compatible = "atmel,24c04";
206 compatible = "atmel,24c04";
212 clock-frequency = <100000>;
213 pinctrl-names = "default";
214 pinctrl-0 = <&pinctrl_i2c1>;
218 compatible = "zii,rave-wdt";
228 pinctrl-names = "default";
229 pinctrl-0 = <&pinctrl_uart0>;
234 pinctrl-names = "default";
235 pinctrl-0 = <&pinctrl_uart1>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_uart2>;
245 compatible = "zii,rave-sp-rdu2";
246 current-speed = <1000000>;
247 #address-cells = <1>;
251 compatible = "zii,rave-sp-watchdog";
255 compatible = "zii,rave-sp-eeprom";
257 #address-cells = <1>;
259 zii,eeprom-name = "main-eeprom";
265 pinctrl-names = "default";
266 pinctrl-0 = <&pinctrl_uart3>;
275 pinctrl_dspi1: dspi1grp {
277 VF610_PAD_PTD5__DSPI1_CS0 0x1182
278 VF610_PAD_PTD4__DSPI1_CS1 0x1182
279 VF610_PAD_PTC6__DSPI1_SIN 0x1181
280 VF610_PAD_PTC7__DSPI1_SOUT 0x1182
281 VF610_PAD_PTC8__DSPI1_SCK 0x1182
285 pinctrl_esdhc0: esdhc0grp {
287 VF610_PAD_PTC0__ESDHC0_CLK 0x31ef
288 VF610_PAD_PTC1__ESDHC0_CMD 0x31ef
289 VF610_PAD_PTC2__ESDHC0_DAT0 0x31ef
290 VF610_PAD_PTC3__ESDHC0_DAT1 0x31ef
291 VF610_PAD_PTC4__ESDHC0_DAT2 0x31ef
292 VF610_PAD_PTC5__ESDHC0_DAT3 0x31ef
293 VF610_PAD_PTD23__ESDHC0_DAT4 0x31ef
294 VF610_PAD_PTD22__ESDHC0_DAT5 0x31ef
295 VF610_PAD_PTD21__ESDHC0_DAT6 0x31ef
296 VF610_PAD_PTD20__ESDHC0_DAT7 0x31ef
300 pinctrl_esdhc1: esdhc1grp {
302 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
303 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
304 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
305 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
306 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
307 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
311 pinctrl_fec1: fec1grp {
313 VF610_PAD_PTA6__RMII_CLKIN 0x30d1
314 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2
315 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3
316 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1
317 VF610_PAD_PTC12__ENET_RMII1_RXD1 0x30d1
318 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1
319 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1
320 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2
321 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2
322 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2
326 pinctrl_gpio_switch0: pinctrl-gpio-switch0 {
328 VF610_PAD_PTB28__GPIO_98 0x219d
332 pinctrl_i2c0: i2c0grp {
334 VF610_PAD_PTB14__I2C0_SCL 0x37ff
335 VF610_PAD_PTB15__I2C0_SDA 0x37ff
339 pinctrl_i2c1: i2c1grp {
341 VF610_PAD_PTB16__I2C1_SCL 0x37ff
342 VF610_PAD_PTB17__I2C1_SDA 0x37ff
346 pinctrl_leds_debug: pinctrl-leds-debug {
348 VF610_PAD_PTD3__GPIO_82 0x31c2
352 pinctrl_uart0: uart0grp {
354 VF610_PAD_PTB10__UART0_TX 0x21a2
355 VF610_PAD_PTB11__UART0_RX 0x21a1
359 pinctrl_uart1: uart1grp {
361 VF610_PAD_PTB23__UART1_TX 0x21a2
362 VF610_PAD_PTB24__UART1_RX 0x21a1
366 pinctrl_uart2: uart2grp {
368 VF610_PAD_PTD0__UART2_TX 0x21a2
369 VF610_PAD_PTD1__UART2_RX 0x21a1
373 pinctrl_uart3: uart3grp {
375 VF610_PAD_PTA30__UART3_TX 0x21a2
376 VF610_PAD_PTA31__UART3_RX 0x21a1