1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 2 3 /* 3 /* 4 * Copyright (C) 2018 Zodiac Inflight Innovati 4 * Copyright (C) 2018 Zodiac Inflight Innovations 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 #include "vf610.dtsi" 8 #include "vf610.dtsi" 9 9 10 / { 10 / { 11 model = "ZII VF610 CFU1 Board"; 11 model = "ZII VF610 CFU1 Board"; 12 compatible = "zii,vf610cfu1", "zii,vf6 12 compatible = "zii,vf610cfu1", "zii,vf610dev", "fsl,vf610"; 13 13 14 chosen { 14 chosen { 15 stdout-path = &uart0; 15 stdout-path = &uart0; 16 }; 16 }; 17 17 18 memory@80000000 { 18 memory@80000000 { 19 device_type = "memory"; 19 device_type = "memory"; 20 reg = <0x80000000 0x20000000>; 20 reg = <0x80000000 0x20000000>; 21 }; 21 }; 22 22 23 gpio-leds { 23 gpio-leds { 24 compatible = "gpio-leds"; 24 compatible = "gpio-leds"; 25 pinctrl-0 = <&pinctrl_leds_deb 25 pinctrl-0 = <&pinctrl_leds_debug>; 26 pinctrl-names = "default"; 26 pinctrl-names = "default"; 27 27 28 led-debug { 28 led-debug { 29 label = "zii:green:deb 29 label = "zii:green:debug1"; 30 gpios = <&gpio2 18 GPI 30 gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>; 31 linux,default-trigger 31 linux,default-trigger = "heartbeat"; 32 }; 32 }; 33 33 34 led-fail { 34 led-fail { 35 label = "zii:red:fail" 35 label = "zii:red:fail"; 36 gpios = <&gpio3 12 GPI 36 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; 37 default-state = "off"; 37 default-state = "off"; 38 }; 38 }; 39 39 40 led-status { 40 led-status { 41 label = "zii:green:sta 41 label = "zii:green:status"; 42 gpios = <&gpio3 13 GPI 42 gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>; 43 default-state = "off"; 43 default-state = "off"; 44 }; 44 }; 45 45 46 led-debug-a { 46 led-debug-a { 47 label = "zii:green:deb 47 label = "zii:green:debug_a"; 48 gpios = <&gpio3 14 GPI 48 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>; 49 default-state = "off"; 49 default-state = "off"; 50 }; 50 }; 51 51 52 led-debug-b { 52 led-debug-b { 53 label = "zii:green:deb 53 label = "zii:green:debug_b"; 54 gpios = <&gpio3 15 GPI 54 gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>; 55 default-state = "off"; 55 default-state = "off"; 56 }; 56 }; 57 }; 57 }; 58 58 59 reg_vcc_3v3_mcu: regulator-vcc-3v3-mcu 59 reg_vcc_3v3_mcu: regulator-vcc-3v3-mcu { 60 compatible = "regulator-fixed 60 compatible = "regulator-fixed"; 61 regulator-name = "vcc_3v3_mcu 61 regulator-name = "vcc_3v3_mcu"; 62 regulator-min-microvolt = <33 62 regulator-min-microvolt = <3300000>; 63 regulator-max-microvolt = <33 63 regulator-max-microvolt = <3300000>; 64 }; 64 }; 65 65 66 sff: sfp { 66 sff: sfp { 67 compatible = "sff,sff"; 67 compatible = "sff,sff"; 68 pinctrl-0 = <&pinctrl_optical> 68 pinctrl-0 = <&pinctrl_optical>; 69 pinctrl-names = "default"; 69 pinctrl-names = "default"; 70 i2c-bus = <&i2c0>; 70 i2c-bus = <&i2c0>; 71 los-gpio = <&gpio4 4 GPIO_ACTI 71 los-gpio = <&gpio4 4 GPIO_ACTIVE_HIGH>; 72 tx-disable-gpio = <&gpio3 22 G 72 tx-disable-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; 73 }; 73 }; 74 74 75 supply-voltage-monitor { 75 supply-voltage-monitor { 76 compatible = "iio-hwmon"; 76 compatible = "iio-hwmon"; 77 io-channels = <&adc0 8>, /* 28 77 io-channels = <&adc0 8>, /* 28VDC_IN */ 78 <&adc0 9>, /* +3 78 <&adc0 9>, /* +3.3V */ 79 <&adc1 8>, /* VC 79 <&adc1 8>, /* VCC_1V5 */ 80 <&adc1 9>; /* VC 80 <&adc1 9>; /* VCC_1V2 */ 81 }; 81 }; 82 }; 82 }; 83 83 84 &adc0 { 84 &adc0 { 85 vref-supply = <®_vcc_3v3_mcu>; 85 vref-supply = <®_vcc_3v3_mcu>; 86 status = "okay"; 86 status = "okay"; 87 }; 87 }; 88 88 89 &adc1 { 89 &adc1 { 90 vref-supply = <®_vcc_3v3_mcu>; 90 vref-supply = <®_vcc_3v3_mcu>; 91 status = "okay"; 91 status = "okay"; 92 }; 92 }; 93 93 94 &dspi1 { 94 &dspi1 { 95 bus-num = <1>; 95 bus-num = <1>; 96 pinctrl-names = "default"; 96 pinctrl-names = "default"; 97 pinctrl-0 = <&pinctrl_dspi1>; 97 pinctrl-0 = <&pinctrl_dspi1>; 98 /* 98 /* 99 * Some CFU1s come with SPI-NOR chip D 99 * Some CFU1s come with SPI-NOR chip DNPed, so we leave this 100 * node disabled by default and rely o 100 * node disabled by default and rely on bootloader to enable 101 * it when appropriate. 101 * it when appropriate. 102 */ 102 */ 103 status = "disabled"; 103 status = "disabled"; 104 104 105 flash@0 { 105 flash@0 { 106 #address-cells = <1>; 106 #address-cells = <1>; 107 #size-cells = <1>; 107 #size-cells = <1>; 108 compatible = "m25p128", "jedec 108 compatible = "m25p128", "jedec,spi-nor"; 109 reg = <0>; 109 reg = <0>; 110 spi-max-frequency = <50000000> 110 spi-max-frequency = <50000000>; 111 111 112 partition@0 { 112 partition@0 { 113 label = "m25p128-0"; 113 label = "m25p128-0"; 114 reg = <0x0 0x01000000> 114 reg = <0x0 0x01000000>; 115 }; 115 }; 116 }; 116 }; 117 }; 117 }; 118 118 119 &edma0 { 119 &edma0 { 120 status = "okay"; 120 status = "okay"; 121 }; 121 }; 122 122 123 &edma1 { 123 &edma1 { 124 status = "okay"; 124 status = "okay"; 125 }; 125 }; 126 126 127 &esdhc0 { 127 &esdhc0 { 128 pinctrl-names = "default"; 128 pinctrl-names = "default"; 129 pinctrl-0 = <&pinctrl_esdhc0>; 129 pinctrl-0 = <&pinctrl_esdhc0>; 130 bus-width = <8>; 130 bus-width = <8>; 131 non-removable; 131 non-removable; 132 no-1-8-v; 132 no-1-8-v; 133 keep-power-in-suspend; 133 keep-power-in-suspend; 134 no-sdio; 134 no-sdio; 135 no-sd; 135 no-sd; 136 status = "okay"; 136 status = "okay"; 137 }; 137 }; 138 138 139 &esdhc1 { 139 &esdhc1 { 140 pinctrl-names = "default"; 140 pinctrl-names = "default"; 141 pinctrl-0 = <&pinctrl_esdhc1>; 141 pinctrl-0 = <&pinctrl_esdhc1>; 142 bus-width = <4>; 142 bus-width = <4>; 143 no-sdio; 143 no-sdio; 144 status = "okay"; 144 status = "okay"; 145 }; 145 }; 146 146 147 &fec1 { 147 &fec1 { 148 phy-mode = "rmii"; 148 phy-mode = "rmii"; 149 pinctrl-names = "default"; 149 pinctrl-names = "default"; 150 pinctrl-0 = <&pinctrl_fec1>; 150 pinctrl-0 = <&pinctrl_fec1>; 151 status = "okay"; 151 status = "okay"; 152 152 153 fixed-link { 153 fixed-link { 154 speed = <100>; 154 speed = <100>; 155 full-duplex; 155 full-duplex; 156 }; 156 }; 157 157 158 mdio1: mdio { 158 mdio1: mdio { 159 #address-cells = <1>; 159 #address-cells = <1>; 160 #size-cells = <0>; 160 #size-cells = <0>; 161 clock-frequency = <12500000>; 161 clock-frequency = <12500000>; 162 suppress-preamble; 162 suppress-preamble; 163 status = "okay"; 163 status = "okay"; 164 164 165 switch0: ethernet-switch@0 { 165 switch0: ethernet-switch@0 { 166 compatible = "marvell, 166 compatible = "marvell,mv88e6085"; 167 pinctrl-names = "defau 167 pinctrl-names = "default"; 168 pinctrl-0 = <&pinctrl_ 168 pinctrl-0 = <&pinctrl_switch>; 169 reg = <0>; 169 reg = <0>; 170 eeprom-length = <512>; 170 eeprom-length = <512>; 171 interrupt-parent = <&g 171 interrupt-parent = <&gpio3>; 172 interrupts = <2 IRQ_TY 172 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 173 interrupt-controller; 173 interrupt-controller; 174 #interrupt-cells = <2> 174 #interrupt-cells = <2>; 175 175 176 ethernet-ports { 176 ethernet-ports { 177 #address-cells 177 #address-cells = <1>; 178 #size-cells = 178 #size-cells = <0>; 179 179 180 ethernet-port@ 180 ethernet-port@0 { 181 reg = 181 reg = <0>; 182 label 182 label = "eth_cu_1000_1"; 183 }; 183 }; 184 184 185 ethernet-port@ 185 ethernet-port@1 { 186 reg = 186 reg = <1>; 187 label 187 label = "eth_cu_1000_2"; 188 }; 188 }; 189 189 190 ethernet-port@ 190 ethernet-port@2 { 191 reg = 191 reg = <2>; 192 label 192 label = "eth_cu_1000_3"; 193 }; 193 }; 194 194 195 ethernet-port@ 195 ethernet-port@5 { 196 reg = 196 reg = <5>; 197 label 197 label = "eth_fc_1000_1"; 198 phy-mo 198 phy-mode = "1000base-x"; 199 manage 199 managed = "in-band-status"; 200 sfp = 200 sfp = <&sff>; 201 }; 201 }; 202 202 203 ethernet-port@ 203 ethernet-port@6 { 204 reg = 204 reg = <6>; 205 phy-mo 205 phy-mode = "rmii"; 206 ethern 206 ethernet = <&fec1>; 207 207 208 fixed- 208 fixed-link { 209 209 speed = <100>; 210 210 full-duplex; 211 }; 211 }; 212 }; 212 }; 213 }; 213 }; 214 }; 214 }; 215 }; 215 }; 216 }; 216 }; 217 217 218 &i2c0 { 218 &i2c0 { 219 clock-frequency = <100000>; 219 clock-frequency = <100000>; 220 pinctrl-names = "default"; 220 pinctrl-names = "default"; 221 pinctrl-0 = <&pinctrl_i2c0>; 221 pinctrl-0 = <&pinctrl_i2c0>; 222 status = "okay"; 222 status = "okay"; 223 223 224 io-expander@22 { 224 io-expander@22 { 225 compatible = "nxp,pca9554"; 225 compatible = "nxp,pca9554"; 226 reg = <0x22>; 226 reg = <0x22>; 227 gpio-controller; 227 gpio-controller; 228 #gpio-cells = <2>; 228 #gpio-cells = <2>; 229 }; 229 }; 230 230 231 lm75@48 { 231 lm75@48 { 232 compatible = "national,lm75"; 232 compatible = "national,lm75"; 233 reg = <0x48>; 233 reg = <0x48>; 234 }; 234 }; 235 235 236 eeprom@52 { 236 eeprom@52 { 237 compatible = "atmel,24c04"; 237 compatible = "atmel,24c04"; 238 reg = <0x52>; 238 reg = <0x52>; 239 label = "nvm"; 239 label = "nvm"; 240 }; 240 }; 241 241 242 eeprom@54 { 242 eeprom@54 { 243 compatible = "atmel,24c04"; 243 compatible = "atmel,24c04"; 244 reg = <0x54>; 244 reg = <0x54>; 245 label = "nameplate"; 245 label = "nameplate"; 246 }; 246 }; 247 }; 247 }; 248 248 249 &i2c1 { 249 &i2c1 { 250 clock-frequency = <100000>; 250 clock-frequency = <100000>; 251 pinctrl-names = "default"; 251 pinctrl-names = "default"; 252 pinctrl-0 = <&pinctrl_i2c1>; 252 pinctrl-0 = <&pinctrl_i2c1>; 253 status = "okay"; 253 status = "okay"; 254 254 255 watchdog@38 { 255 watchdog@38 { 256 compatible = "zii,rave-wdt"; 256 compatible = "zii,rave-wdt"; 257 reg = <0x38>; 257 reg = <0x38>; 258 }; 258 }; 259 }; 259 }; 260 260 261 &snvsrtc { 261 &snvsrtc { 262 status = "disabled"; 262 status = "disabled"; 263 }; 263 }; 264 264 265 &uart0 { 265 &uart0 { 266 pinctrl-names = "default"; 266 pinctrl-names = "default"; 267 pinctrl-0 = <&pinctrl_uart0>; 267 pinctrl-0 = <&pinctrl_uart0>; 268 status = "okay"; 268 status = "okay"; 269 }; 269 }; 270 270 271 &iomuxc { 271 &iomuxc { 272 pinctrl_dspi1: dspi1grp { 272 pinctrl_dspi1: dspi1grp { 273 fsl,pins = < 273 fsl,pins = < 274 VF610_PAD_PTD5__DSPI1_ 274 VF610_PAD_PTD5__DSPI1_CS0 0x1182 275 VF610_PAD_PTC6__DSPI1_ 275 VF610_PAD_PTC6__DSPI1_SIN 0x1181 276 VF610_PAD_PTC7__DSPI1_ 276 VF610_PAD_PTC7__DSPI1_SOUT 0x1182 277 VF610_PAD_PTC8__DSPI1_ 277 VF610_PAD_PTC8__DSPI1_SCK 0x1182 278 >; 278 >; 279 }; 279 }; 280 280 281 pinctrl_esdhc0: esdhc0grp { 281 pinctrl_esdhc0: esdhc0grp { 282 fsl,pins = < 282 fsl,pins = < 283 VF610_PAD_PTC0__ESDHC0 283 VF610_PAD_PTC0__ESDHC0_CLK 0x31ef 284 VF610_PAD_PTC1__ESDHC0 284 VF610_PAD_PTC1__ESDHC0_CMD 0x31ef 285 VF610_PAD_PTC2__ESDHC0 285 VF610_PAD_PTC2__ESDHC0_DAT0 0x31ef 286 VF610_PAD_PTC3__ESDHC0 286 VF610_PAD_PTC3__ESDHC0_DAT1 0x31ef 287 VF610_PAD_PTC4__ESDHC0 287 VF610_PAD_PTC4__ESDHC0_DAT2 0x31ef 288 VF610_PAD_PTC5__ESDHC0 288 VF610_PAD_PTC5__ESDHC0_DAT3 0x31ef 289 VF610_PAD_PTD23__ESDHC 289 VF610_PAD_PTD23__ESDHC0_DAT4 0x31ef 290 VF610_PAD_PTD22__ESDHC 290 VF610_PAD_PTD22__ESDHC0_DAT5 0x31ef 291 VF610_PAD_PTD21__ESDHC 291 VF610_PAD_PTD21__ESDHC0_DAT6 0x31ef 292 VF610_PAD_PTD20__ESDHC 292 VF610_PAD_PTD20__ESDHC0_DAT7 0x31ef 293 >; 293 >; 294 }; 294 }; 295 295 296 pinctrl_esdhc1: esdhc1grp { 296 pinctrl_esdhc1: esdhc1grp { 297 fsl,pins = < 297 fsl,pins = < 298 VF610_PAD_PTA24__ESDHC 298 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef 299 VF610_PAD_PTA25__ESDHC 299 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef 300 VF610_PAD_PTA26__ESDHC 300 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef 301 VF610_PAD_PTA27__ESDHC 301 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef 302 VF610_PAD_PTA28__ESDHC 302 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef 303 VF610_PAD_PTA29__ESDHC 303 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef 304 >; 304 >; 305 }; 305 }; 306 306 307 pinctrl_fec1: fec1grp { 307 pinctrl_fec1: fec1grp { 308 fsl,pins = < 308 fsl,pins = < 309 VF610_PAD_PTA6__RMII_C 309 VF610_PAD_PTA6__RMII_CLKIN 0x30d1 310 VF610_PAD_PTC9__ENET_R 310 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30fe 311 VF610_PAD_PTC10__ENET_ 311 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3 312 VF610_PAD_PTC11__ENET_ 312 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1 313 VF610_PAD_PTC12__ENET_ 313 VF610_PAD_PTC12__ENET_RMII1_RXD1 0x30d1 314 VF610_PAD_PTC13__ENET_ 314 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1 315 VF610_PAD_PTC14__ENET_ 315 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1 316 VF610_PAD_PTC15__ENET_ 316 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2 317 VF610_PAD_PTC16__ENET_ 317 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2 318 VF610_PAD_PTC17__ENET_ 318 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2 319 >; 319 >; 320 }; 320 }; 321 321 322 pinctrl_i2c0: i2c0grp { 322 pinctrl_i2c0: i2c0grp { 323 fsl,pins = < 323 fsl,pins = < 324 VF610_PAD_PTB14__I2C0_ 324 VF610_PAD_PTB14__I2C0_SCL 0x37ff 325 VF610_PAD_PTB15__I2C0_ 325 VF610_PAD_PTB15__I2C0_SDA 0x37ff 326 >; 326 >; 327 }; 327 }; 328 328 329 pinctrl_i2c1: i2c1grp { 329 pinctrl_i2c1: i2c1grp { 330 fsl,pins = < 330 fsl,pins = < 331 VF610_PAD_PTB16__I2C1_ 331 VF610_PAD_PTB16__I2C1_SCL 0x37ff 332 VF610_PAD_PTB17__I2C1_ 332 VF610_PAD_PTB17__I2C1_SDA 0x37ff 333 >; 333 >; 334 }; 334 }; 335 335 336 pinctrl_leds_debug: pinctrl-leds-debug 336 pinctrl_leds_debug: pinctrl-leds-debug { 337 fsl,pins = < 337 fsl,pins = < 338 VF610_PAD_PTD3__GPIO_8 338 VF610_PAD_PTD3__GPIO_82 0x31c2 339 VF610_PAD_PTE3__GPIO_1 339 VF610_PAD_PTE3__GPIO_108 0x31c2 340 VF610_PAD_PTE4__GPIO_1 340 VF610_PAD_PTE4__GPIO_109 0x31c2 341 VF610_PAD_PTE5__GPIO_1 341 VF610_PAD_PTE5__GPIO_110 0x31c2 342 VF610_PAD_PTE6__GPIO_1 342 VF610_PAD_PTE6__GPIO_111 0x31c2 343 >; 343 >; 344 }; 344 }; 345 345 346 pinctrl_optical: optical-grp { 346 pinctrl_optical: optical-grp { 347 fsl,pins = < 347 fsl,pins = < 348 /* SFF SD input */ 348 /* SFF SD input */ 349 VF610_PAD_PTE27__GPIO_132 349 VF610_PAD_PTE27__GPIO_132 0x3061 350 350 351 /* SFF Transmit disable output 351 /* SFF Transmit disable output */ 352 VF610_PAD_PTE13__GPIO_118 352 VF610_PAD_PTE13__GPIO_118 0x3043 353 >; 353 >; 354 }; 354 }; 355 355 356 pinctrl_switch: switch-grp { 356 pinctrl_switch: switch-grp { 357 fsl,pins = < 357 fsl,pins = < 358 VF610_PAD_PTB28__GPIO_ 358 VF610_PAD_PTB28__GPIO_98 0x3061 359 >; 359 >; 360 }; 360 }; 361 361 362 pinctrl_uart0: uart0grp { 362 pinctrl_uart0: uart0grp { 363 fsl,pins = < 363 fsl,pins = < 364 VF610_PAD_PTB10__UART0 364 VF610_PAD_PTB10__UART0_TX 0x21a2 365 VF610_PAD_PTB11__UART0 365 VF610_PAD_PTB11__UART0_RX 0x21a1 366 >; 366 >; 367 }; 367 }; 368 }; 368 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.