| 1 |
// SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| 2 |
// |
| 3 |
// Copyright 2013 Freescale Semiconductor, Inc. |
| 4 |
|
| 5 |
#include "vf610-pinfunc.h" |
| 6 |
#include <dt-bindings/clock/vf610-clock.h> |
| 7 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 8 |
#include <dt-bindings/gpio/gpio.h> |
| 9 |
|
| 10 |
/ { |
| 11 |
aliases { |
| 12 |
can0 = &can0; |
| 13 |
can1 = &can1; |
| 14 |
ethernet0 = &fec0; |
| 15 |
ethernet1 = &fec1; |
| 16 |
serial0 = &uart0; |
| 17 |
serial1 = &uart1; |
| 18 |
serial2 = &uart2; |
| 19 |
serial3 = &uart3; |
| 20 |
serial4 = &uart4; |
| 21 |
serial5 = &uart5; |
| 22 |
gpio0 = &gpio0; |
| 23 |
gpio1 = &gpio1; |
| 24 |
gpio2 = &gpio2; |
| 25 |
gpio3 = &gpio3; |
| 26 |
gpio4 = &gpio4; |
| 27 |
usbphy0 = &usbphy0; |
| 28 |
usbphy1 = &usbphy1; |
| 29 |
}; |
| 30 |
|
| 31 |
fxosc: fxosc { |
| 32 |
compatible = "fixed-clock"; |
| 33 |
#clock-cells = <0>; |
| 34 |
clock-frequency = <24000000>; |
| 35 |
}; |
| 36 |
|
| 37 |
sxosc: sxosc { |
| 38 |
compatible = "fixed-clock"; |
| 39 |
#clock-cells = <0>; |
| 40 |
clock-frequency = <32768>; |
| 41 |
}; |
| 42 |
|
| 43 |
reboot: syscon-reboot { |
| 44 |
compatible = "syscon-reboot"; |
| 45 |
regmap = <&src>; |
| 46 |
offset = <0x0>; |
| 47 |
mask = <0x1000>; |
| 48 |
}; |
| 49 |
|
| 50 |
tempsensor: iio-hwmon { |
| 51 |
compatible = "iio-hwmon"; |
| 52 |
io-channels = <&adc0 16>, <&adc1 16>; |
| 53 |
}; |
| 54 |
|
| 55 |
soc { |
| 56 |
#address-cells = <1>; |
| 57 |
#size-cells = <1>; |
| 58 |
compatible = "simple-bus"; |
| 59 |
interrupt-parent = <&mscm_ir>; |
| 60 |
ranges; |
| 61 |
|
| 62 |
aips0: bus@40000000 { |
| 63 |
compatible = "fsl,aips-bus", "simple-bus"; |
| 64 |
#address-cells = <1>; |
| 65 |
#size-cells = <1>; |
| 66 |
reg = <0x40000000 0x00070000>; |
| 67 |
ranges; |
| 68 |
|
| 69 |
mscm_cpucfg: cpucfg@40001000 { |
| 70 |
compatible = "fsl,vf610-mscm-cpucfg", "syscon"; |
| 71 |
reg = <0x40001000 0x800>; |
| 72 |
}; |
| 73 |
|
| 74 |
mscm_ir: interrupt-controller@40001800 { |
| 75 |
compatible = "fsl,vf610-mscm-ir"; |
| 76 |
reg = <0x40001800 0x400>; |
| 77 |
fsl,cpucfg = <&mscm_cpucfg>; |
| 78 |
interrupt-controller; |
| 79 |
#interrupt-cells = <2>; |
| 80 |
}; |
| 81 |
|
| 82 |
edma0: dma-controller@40018000 { |
| 83 |
#dma-cells = <2>; |
| 84 |
compatible = "fsl,vf610-edma"; |
| 85 |
reg = <0x40018000 0x2000>, |
| 86 |
<0x40024000 0x1000>, |
| 87 |
<0x40025000 0x1000>; |
| 88 |
dma-channels = <32>; |
| 89 |
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>, |
| 90 |
<9 IRQ_TYPE_LEVEL_HIGH>; |
| 91 |
interrupt-names = "edma-tx", "edma-err"; |
| 92 |
clock-names = "dmamux0", "dmamux1"; |
| 93 |
clocks = <&clks VF610_CLK_DMAMUX0>, |
| 94 |
<&clks VF610_CLK_DMAMUX1>; |
| 95 |
status = "disabled"; |
| 96 |
}; |
| 97 |
|
| 98 |
can0: can@40020000 { |
| 99 |
compatible = "fsl,vf610-flexcan"; |
| 100 |
reg = <0x40020000 0x4000>; |
| 101 |
interrupts = <58 IRQ_TYPE_LEVEL_HIGH>; |
| 102 |
clocks = <&clks VF610_CLK_FLEXCAN0>, |
| 103 |
<&clks VF610_CLK_FLEXCAN0>; |
| 104 |
clock-names = "ipg", "per"; |
| 105 |
status = "disabled"; |
| 106 |
}; |
| 107 |
|
| 108 |
uart0: serial@40027000 { |
| 109 |
compatible = "fsl,vf610-lpuart"; |
| 110 |
reg = <0x40027000 0x1000>; |
| 111 |
interrupts = <61 IRQ_TYPE_LEVEL_HIGH>; |
| 112 |
clocks = <&clks VF610_CLK_UART0>; |
| 113 |
clock-names = "ipg"; |
| 114 |
dmas = <&edma0 0 2>, <&edma0 0 3>; |
| 115 |
dma-names = "rx","tx"; |
| 116 |
status = "disabled"; |
| 117 |
}; |
| 118 |
|
| 119 |
uart1: serial@40028000 { |
| 120 |
compatible = "fsl,vf610-lpuart"; |
| 121 |
reg = <0x40028000 0x1000>; |
| 122 |
interrupts = <62 IRQ_TYPE_LEVEL_HIGH>; |
| 123 |
clocks = <&clks VF610_CLK_UART1>; |
| 124 |
clock-names = "ipg"; |
| 125 |
dmas = <&edma0 0 4>, <&edma0 0 5>; |
| 126 |
dma-names = "rx","tx"; |
| 127 |
status = "disabled"; |
| 128 |
}; |
| 129 |
|
| 130 |
uart2: serial@40029000 { |
| 131 |
compatible = "fsl,vf610-lpuart"; |
| 132 |
reg = <0x40029000 0x1000>; |
| 133 |
interrupts = <63 IRQ_TYPE_LEVEL_HIGH>; |
| 134 |
clocks = <&clks VF610_CLK_UART2>; |
| 135 |
clock-names = "ipg"; |
| 136 |
dmas = <&edma0 0 6>, <&edma0 0 7>; |
| 137 |
dma-names = "rx","tx"; |
| 138 |
status = "disabled"; |
| 139 |
}; |
| 140 |
|
| 141 |
uart3: serial@4002a000 { |
| 142 |
compatible = "fsl,vf610-lpuart"; |
| 143 |
reg = <0x4002a000 0x1000>; |
| 144 |
interrupts = <64 IRQ_TYPE_LEVEL_HIGH>; |
| 145 |
clocks = <&clks VF610_CLK_UART3>; |
| 146 |
clock-names = "ipg"; |
| 147 |
dmas = <&edma0 0 8>, <&edma0 0 9>; |
| 148 |
dma-names = "rx","tx"; |
| 149 |
status = "disabled"; |
| 150 |
}; |
| 151 |
|
| 152 |
dspi0: spi@4002c000 { |
| 153 |
#address-cells = <1>; |
| 154 |
#size-cells = <0>; |
| 155 |
compatible = "fsl,vf610-dspi"; |
| 156 |
reg = <0x4002c000 0x1000>; |
| 157 |
interrupts = <67 IRQ_TYPE_LEVEL_HIGH>; |
| 158 |
clocks = <&clks VF610_CLK_DSPI0>; |
| 159 |
clock-names = "dspi"; |
| 160 |
spi-num-chipselects = <6>; |
| 161 |
dmas = <&edma1 1 13>, <&edma1 1 12>; |
| 162 |
dma-names = "tx", "rx"; |
| 163 |
status = "disabled"; |
| 164 |
}; |
| 165 |
|
| 166 |
dspi1: spi@4002d000 { |
| 167 |
#address-cells = <1>; |
| 168 |
#size-cells = <0>; |
| 169 |
compatible = "fsl,vf610-dspi"; |
| 170 |
reg = <0x4002d000 0x1000>; |
| 171 |
interrupts = <68 IRQ_TYPE_LEVEL_HIGH>; |
| 172 |
clocks = <&clks VF610_CLK_DSPI1>; |
| 173 |
clock-names = "dspi"; |
| 174 |
spi-num-chipselects = <4>; |
| 175 |
dmas = <&edma1 1 15>, <&edma1 1 14>; |
| 176 |
dma-names = "tx", "rx"; |
| 177 |
status = "disabled"; |
| 178 |
}; |
| 179 |
|
| 180 |
sai0: sai@4002f000 { |
| 181 |
compatible = "fsl,vf610-sai"; |
| 182 |
reg = <0x4002f000 0x1000>; |
| 183 |
interrupts = <84 IRQ_TYPE_LEVEL_HIGH>; |
| 184 |
clocks = <&clks VF610_CLK_SAI0>, |
| 185 |
<&clks VF610_CLK_SAI0_DIV>, |
| 186 |
<&clks 0>, <&clks 0>; |
| 187 |
clock-names = "bus", "mclk1", "mclk2", "mclk3"; |
| 188 |
dma-names = "rx", "tx"; |
| 189 |
dmas = <&edma0 0 16>, <&edma0 0 17>; |
| 190 |
status = "disabled"; |
| 191 |
}; |
| 192 |
|
| 193 |
sai1: sai@40030000 { |
| 194 |
compatible = "fsl,vf610-sai"; |
| 195 |
reg = <0x40030000 0x1000>; |
| 196 |
interrupts = <85 IRQ_TYPE_LEVEL_HIGH>; |
| 197 |
clocks = <&clks VF610_CLK_SAI1>, |
| 198 |
<&clks VF610_CLK_SAI1_DIV>, |
| 199 |
<&clks 0>, <&clks 0>; |
| 200 |
clock-names = "bus", "mclk1", "mclk2", "mclk3"; |
| 201 |
dma-names = "rx", "tx"; |
| 202 |
dmas = <&edma0 0 18>, <&edma0 0 19>; |
| 203 |
status = "disabled"; |
| 204 |
}; |
| 205 |
|
| 206 |
sai2: sai@40031000 { |
| 207 |
compatible = "fsl,vf610-sai"; |
| 208 |
reg = <0x40031000 0x1000>; |
| 209 |
interrupts = <86 IRQ_TYPE_LEVEL_HIGH>; |
| 210 |
clocks = <&clks VF610_CLK_SAI2>, |
| 211 |
<&clks VF610_CLK_SAI2_DIV>, |
| 212 |
<&clks 0>, <&clks 0>; |
| 213 |
clock-names = "bus", "mclk1", "mclk2", "mclk3"; |
| 214 |
dma-names = "rx", "tx"; |
| 215 |
dmas = <&edma0 0 20>, <&edma0 0 21>; |
| 216 |
status = "disabled"; |
| 217 |
}; |
| 218 |
|
| 219 |
sai3: sai@40032000 { |
| 220 |
compatible = "fsl,vf610-sai"; |
| 221 |
reg = <0x40032000 0x1000>; |
| 222 |
interrupts = <87 IRQ_TYPE_LEVEL_HIGH>; |
| 223 |
clocks = <&clks VF610_CLK_SAI3>, |
| 224 |
<&clks VF610_CLK_SAI3_DIV>, |
| 225 |
<&clks 0>, <&clks 0>; |
| 226 |
clock-names = "bus", "mclk1", "mclk2", "mclk3"; |
| 227 |
dma-names = "rx", "tx"; |
| 228 |
dmas = <&edma0 1 8>, <&edma0 1 9>; |
| 229 |
status = "disabled"; |
| 230 |
}; |
| 231 |
|
| 232 |
pit: pit@40037000 { |
| 233 |
compatible = "fsl,vf610-pit"; |
| 234 |
reg = <0x40037000 0x1000>; |
| 235 |
interrupts = <39 IRQ_TYPE_LEVEL_HIGH>; |
| 236 |
clocks = <&clks VF610_CLK_PIT>; |
| 237 |
clock-names = "pit"; |
| 238 |
}; |
| 239 |
|
| 240 |
pwm0: pwm@40038000 { |
| 241 |
compatible = "fsl,vf610-ftm-pwm"; |
| 242 |
#pwm-cells = <3>; |
| 243 |
reg = <0x40038000 0x1000>; |
| 244 |
clock-names = "ftm_sys", "ftm_ext", |
| 245 |
"ftm_fix", "ftm_cnt_clk_en"; |
| 246 |
clocks = <&clks VF610_CLK_FTM0>, |
| 247 |
<&clks VF610_CLK_FTM0_EXT_SEL>, |
| 248 |
<&clks VF610_CLK_FTM0_FIX_SEL>, |
| 249 |
<&clks VF610_CLK_FTM0_EXT_FIX_EN>; |
| 250 |
status = "disabled"; |
| 251 |
}; |
| 252 |
|
| 253 |
pwm1: pwm@40039000 { |
| 254 |
compatible = "fsl,vf610-ftm-pwm"; |
| 255 |
#pwm-cells = <3>; |
| 256 |
reg = <0x40039000 0x1000>; |
| 257 |
clock-names = "ftm_sys", "ftm_ext", |
| 258 |
"ftm_fix", "ftm_cnt_clk_en"; |
| 259 |
clocks = <&clks VF610_CLK_FTM1>, |
| 260 |
<&clks VF610_CLK_FTM1_EXT_SEL>, |
| 261 |
<&clks VF610_CLK_FTM1_FIX_SEL>, |
| 262 |
<&clks VF610_CLK_FTM1_EXT_FIX_EN>; |
| 263 |
status = "disabled"; |
| 264 |
}; |
| 265 |
|
| 266 |
adc0: adc@4003b000 { |
| 267 |
compatible = "fsl,vf610-adc"; |
| 268 |
reg = <0x4003b000 0x1000>; |
| 269 |
interrupts = <53 IRQ_TYPE_LEVEL_HIGH>; |
| 270 |
clocks = <&clks VF610_CLK_ADC0>; |
| 271 |
clock-names = "adc"; |
| 272 |
#io-channel-cells = <1>; |
| 273 |
status = "disabled"; |
| 274 |
fsl,adck-max-frequency = <30000000>, <40000000>, |
| 275 |
<20000000>; |
| 276 |
}; |
| 277 |
|
| 278 |
tcon0: timing-controller@4003d000 { |
| 279 |
compatible = "fsl,vf610-tcon"; |
| 280 |
reg = <0x4003d000 0x1000>; |
| 281 |
clocks = <&clks VF610_CLK_TCON0>; |
| 282 |
clock-names = "ipg"; |
| 283 |
status = "disabled"; |
| 284 |
}; |
| 285 |
|
| 286 |
wdoga5: watchdog@4003e000 { |
| 287 |
compatible = "fsl,vf610-wdt", "fsl,imx21-wdt"; |
| 288 |
reg = <0x4003e000 0x1000>; |
| 289 |
interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; |
| 290 |
clocks = <&clks VF610_CLK_WDT>; |
| 291 |
status = "disabled"; |
| 292 |
}; |
| 293 |
|
| 294 |
qspi0: spi@40044000 { |
| 295 |
#address-cells = <1>; |
| 296 |
#size-cells = <0>; |
| 297 |
compatible = "fsl,vf610-qspi"; |
| 298 |
reg = <0x40044000 0x1000>, <0x20000000 0x10000000>; |
| 299 |
reg-names = "QuadSPI", "QuadSPI-memory"; |
| 300 |
interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; |
| 301 |
clocks = <&clks VF610_CLK_QSPI0_EN>, |
| 302 |
<&clks VF610_CLK_QSPI0>; |
| 303 |
clock-names = "qspi_en", "qspi"; |
| 304 |
status = "disabled"; |
| 305 |
}; |
| 306 |
|
| 307 |
iomuxc: pinctrl@40048000 { |
| 308 |
compatible = "fsl,vf610-iomuxc"; |
| 309 |
reg = <0x40048000 0x1000>; |
| 310 |
}; |
| 311 |
|
| 312 |
gpio0: gpio@40049000 { |
| 313 |
compatible = "fsl,vf610-gpio"; |
| 314 |
reg = <0x40049000 0x1000 0x400ff000 0x40>; |
| 315 |
gpio-controller; |
| 316 |
#gpio-cells = <2>; |
| 317 |
interrupts = <107 IRQ_TYPE_LEVEL_HIGH>; |
| 318 |
interrupt-controller; |
| 319 |
#interrupt-cells = <2>; |
| 320 |
gpio-ranges = <&iomuxc 0 0 32>; |
| 321 |
ngpios = <32>; |
| 322 |
}; |
| 323 |
|
| 324 |
gpio1: gpio@4004a000 { |
| 325 |
compatible = "fsl,vf610-gpio"; |
| 326 |
reg = <0x4004a000 0x1000 0x400ff040 0x40>; |
| 327 |
gpio-controller; |
| 328 |
#gpio-cells = <2>; |
| 329 |
interrupts = <108 IRQ_TYPE_LEVEL_HIGH>; |
| 330 |
interrupt-controller; |
| 331 |
#interrupt-cells = <2>; |
| 332 |
gpio-ranges = <&iomuxc 0 32 32>; |
| 333 |
ngpios = <32>; |
| 334 |
}; |
| 335 |
|
| 336 |
gpio2: gpio@4004b000 { |
| 337 |
compatible = "fsl,vf610-gpio"; |
| 338 |
reg = <0x4004b000 0x1000 0x400ff080 0x40>; |
| 339 |
gpio-controller; |
| 340 |
#gpio-cells = <2>; |
| 341 |
interrupts = <109 IRQ_TYPE_LEVEL_HIGH>; |
| 342 |
interrupt-controller; |
| 343 |
#interrupt-cells = <2>; |
| 344 |
gpio-ranges = <&iomuxc 0 64 32>; |
| 345 |
ngpios = <32>; |
| 346 |
}; |
| 347 |
|
| 348 |
gpio3: gpio@4004c000 { |
| 349 |
compatible = "fsl,vf610-gpio"; |
| 350 |
reg = <0x4004c000 0x1000 0x400ff0c0 0x40>; |
| 351 |
gpio-controller; |
| 352 |
#gpio-cells = <2>; |
| 353 |
interrupts = <110 IRQ_TYPE_LEVEL_HIGH>; |
| 354 |
interrupt-controller; |
| 355 |
#interrupt-cells = <2>; |
| 356 |
gpio-ranges = <&iomuxc 0 96 32>; |
| 357 |
ngpios = <32>; |
| 358 |
}; |
| 359 |
|
| 360 |
gpio4: gpio@4004d000 { |
| 361 |
compatible = "fsl,vf610-gpio"; |
| 362 |
reg = <0x4004d000 0x1000 0x400ff100 0x40>; |
| 363 |
gpio-controller; |
| 364 |
#gpio-cells = <2>; |
| 365 |
interrupts = <111 IRQ_TYPE_LEVEL_HIGH>; |
| 366 |
interrupt-controller; |
| 367 |
#interrupt-cells = <2>; |
| 368 |
gpio-ranges = <&iomuxc 0 128 7>; |
| 369 |
ngpios = <7>; |
| 370 |
}; |
| 371 |
|
| 372 |
anatop: anatop@40050000 { |
| 373 |
compatible = "fsl,vf610-anatop", "syscon"; |
| 374 |
reg = <0x40050000 0x400>; |
| 375 |
}; |
| 376 |
|
| 377 |
usbphy0: usbphy@40050800 { |
| 378 |
compatible = "fsl,vf610-usbphy"; |
| 379 |
reg = <0x40050800 0x400>; |
| 380 |
interrupts = <50 IRQ_TYPE_LEVEL_HIGH>; |
| 381 |
clocks = <&clks VF610_CLK_USBPHY0>; |
| 382 |
fsl,anatop = <&anatop>; |
| 383 |
status = "disabled"; |
| 384 |
}; |
| 385 |
|
| 386 |
usbphy1: usbphy@40050c00 { |
| 387 |
compatible = "fsl,vf610-usbphy"; |
| 388 |
reg = <0x40050c00 0x400>; |
| 389 |
interrupts = <51 IRQ_TYPE_LEVEL_HIGH>; |
| 390 |
clocks = <&clks VF610_CLK_USBPHY1>; |
| 391 |
fsl,anatop = <&anatop>; |
| 392 |
status = "disabled"; |
| 393 |
}; |
| 394 |
|
| 395 |
dcu0: dcu@40058000 { |
| 396 |
compatible = "fsl,vf610-dcu"; |
| 397 |
reg = <0x40058000 0x1200>; |
| 398 |
interrupts = <30 IRQ_TYPE_LEVEL_HIGH>; |
| 399 |
clocks = <&clks VF610_CLK_DCU0>, |
| 400 |
<&clks VF610_CLK_DCU0_DIV>; |
| 401 |
clock-names = "dcu", "pix"; |
| 402 |
fsl,tcon = <&tcon0>; |
| 403 |
status = "disabled"; |
| 404 |
}; |
| 405 |
|
| 406 |
i2c0: i2c@40066000 { |
| 407 |
#address-cells = <1>; |
| 408 |
#size-cells = <0>; |
| 409 |
compatible = "fsl,vf610-i2c"; |
| 410 |
reg = <0x40066000 0x1000>; |
| 411 |
interrupts = <71 IRQ_TYPE_LEVEL_HIGH>; |
| 412 |
clocks = <&clks VF610_CLK_I2C0>; |
| 413 |
clock-names = "ipg"; |
| 414 |
dmas = <&edma0 0 50>, |
| 415 |
<&edma0 0 51>; |
| 416 |
dma-names = "rx","tx"; |
| 417 |
status = "disabled"; |
| 418 |
}; |
| 419 |
|
| 420 |
i2c1: i2c@40067000 { |
| 421 |
#address-cells = <1>; |
| 422 |
#size-cells = <0>; |
| 423 |
compatible = "fsl,vf610-i2c"; |
| 424 |
reg = <0x40067000 0x1000>; |
| 425 |
interrupts = <72 IRQ_TYPE_LEVEL_HIGH>; |
| 426 |
clocks = <&clks VF610_CLK_I2C1>; |
| 427 |
clock-names = "ipg"; |
| 428 |
dmas = <&edma0 0 52>, <&edma0 0 53>; |
| 429 |
dma-names = "rx","tx"; |
| 430 |
status = "disabled"; |
| 431 |
}; |
| 432 |
|
| 433 |
clks: ccm@4006b000 { |
| 434 |
compatible = "fsl,vf610-ccm"; |
| 435 |
reg = <0x4006b000 0x1000>; |
| 436 |
clocks = <&sxosc>, <&fxosc>; |
| 437 |
clock-names = "sxosc", "fxosc"; |
| 438 |
#clock-cells = <1>; |
| 439 |
}; |
| 440 |
|
| 441 |
usbdev0: usb@40034000 { |
| 442 |
compatible = "fsl,vf610-usb", "fsl,imx27-usb"; |
| 443 |
reg = <0x40034000 0x800>; |
| 444 |
interrupts = <75 IRQ_TYPE_LEVEL_HIGH>; |
| 445 |
clocks = <&clks VF610_CLK_USBC0>; |
| 446 |
fsl,usbphy = <&usbphy0>; |
| 447 |
fsl,usbmisc = <&usbmisc0 0>; |
| 448 |
dr_mode = "peripheral"; |
| 449 |
status = "disabled"; |
| 450 |
}; |
| 451 |
|
| 452 |
usbmisc0: usb@40034800 { |
| 453 |
#index-cells = <1>; |
| 454 |
compatible = "fsl,vf610-usbmisc"; |
| 455 |
reg = <0x40034800 0x200>; |
| 456 |
clocks = <&clks VF610_CLK_USBC0>; |
| 457 |
status = "disabled"; |
| 458 |
}; |
| 459 |
|
| 460 |
src: src@4006e000 { |
| 461 |
compatible = "fsl,vf610-src", "syscon"; |
| 462 |
reg = <0x4006e000 0x1000>; |
| 463 |
interrupts = <96 IRQ_TYPE_LEVEL_HIGH>; |
| 464 |
}; |
| 465 |
}; |
| 466 |
|
| 467 |
aips1: bus@40080000 { |
| 468 |
compatible = "fsl,aips-bus", "simple-bus"; |
| 469 |
#address-cells = <1>; |
| 470 |
#size-cells = <1>; |
| 471 |
reg = <0x40080000 0x0007f000>; |
| 472 |
ranges; |
| 473 |
|
| 474 |
edma1: dma-controller@40098000 { |
| 475 |
#dma-cells = <2>; |
| 476 |
compatible = "fsl,vf610-edma"; |
| 477 |
reg = <0x40098000 0x2000>, |
| 478 |
<0x400a1000 0x1000>, |
| 479 |
<0x400a2000 0x1000>; |
| 480 |
dma-channels = <32>; |
| 481 |
interrupts = <10 IRQ_TYPE_LEVEL_HIGH>, |
| 482 |
<11 IRQ_TYPE_LEVEL_HIGH>; |
| 483 |
interrupt-names = "edma-tx", "edma-err"; |
| 484 |
clock-names = "dmamux0", "dmamux1"; |
| 485 |
clocks = <&clks VF610_CLK_DMAMUX2>, |
| 486 |
<&clks VF610_CLK_DMAMUX3>; |
| 487 |
status = "disabled"; |
| 488 |
}; |
| 489 |
|
| 490 |
ocotp: ocotp@400a5000 { |
| 491 |
compatible = "fsl,vf610-ocotp", "syscon"; |
| 492 |
reg = <0x400a5000 0x1000>; |
| 493 |
clocks = <&clks VF610_CLK_OCOTP>; |
| 494 |
}; |
| 495 |
|
| 496 |
snvs0: snvs@400a7000 { |
| 497 |
compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; |
| 498 |
reg = <0x400a7000 0x2000>; |
| 499 |
|
| 500 |
snvsrtc: snvs-rtc-lp { |
| 501 |
compatible = "fsl,sec-v4.0-mon-rtc-lp"; |
| 502 |
regmap = <&snvs0>; |
| 503 |
offset = <0x34>; |
| 504 |
interrupts = <100 IRQ_TYPE_LEVEL_HIGH>; |
| 505 |
clocks = <&clks VF610_CLK_SNVS>; |
| 506 |
clock-names = "snvs-rtc"; |
| 507 |
}; |
| 508 |
}; |
| 509 |
|
| 510 |
uart4: serial@400a9000 { |
| 511 |
compatible = "fsl,vf610-lpuart"; |
| 512 |
reg = <0x400a9000 0x1000>; |
| 513 |
interrupts = <65 IRQ_TYPE_LEVEL_HIGH>; |
| 514 |
clocks = <&clks VF610_CLK_UART4>; |
| 515 |
clock-names = "ipg"; |
| 516 |
status = "disabled"; |
| 517 |
}; |
| 518 |
|
| 519 |
uart5: serial@400aa000 { |
| 520 |
compatible = "fsl,vf610-lpuart"; |
| 521 |
reg = <0x400aa000 0x1000>; |
| 522 |
interrupts = <66 IRQ_TYPE_LEVEL_HIGH>; |
| 523 |
clocks = <&clks VF610_CLK_UART5>; |
| 524 |
clock-names = "ipg"; |
| 525 |
status = "disabled"; |
| 526 |
}; |
| 527 |
|
| 528 |
dspi2: spi@400ac000 { |
| 529 |
#address-cells = <1>; |
| 530 |
#size-cells = <0>; |
| 531 |
compatible = "fsl,vf610-dspi"; |
| 532 |
reg = <0x400ac000 0x1000>; |
| 533 |
interrupts = <69 IRQ_TYPE_LEVEL_HIGH>; |
| 534 |
clocks = <&clks VF610_CLK_DSPI2>; |
| 535 |
clock-names = "dspi"; |
| 536 |
spi-num-chipselects = <2>; |
| 537 |
dmas = <&edma1 0 11>, <&edma1 0 10>; |
| 538 |
dma-names = "tx", "rx"; |
| 539 |
status = "disabled"; |
| 540 |
}; |
| 541 |
|
| 542 |
dspi3: spi@400ad000 { |
| 543 |
#address-cells = <1>; |
| 544 |
#size-cells = <0>; |
| 545 |
compatible = "fsl,vf610-dspi"; |
| 546 |
reg = <0x400ad000 0x1000>; |
| 547 |
interrupts = <70 IRQ_TYPE_LEVEL_HIGH>; |
| 548 |
clocks = <&clks VF610_CLK_DSPI3>; |
| 549 |
clock-names = "dspi"; |
| 550 |
spi-num-chipselects = <2>; |
| 551 |
dmas = <&edma1 0 13>, <&edma1 0 12>; |
| 552 |
dma-names = "tx", "rx"; |
| 553 |
status = "disabled"; |
| 554 |
}; |
| 555 |
|
| 556 |
adc1: adc@400bb000 { |
| 557 |
compatible = "fsl,vf610-adc"; |
| 558 |
reg = <0x400bb000 0x1000>; |
| 559 |
interrupts = <54 IRQ_TYPE_LEVEL_HIGH>; |
| 560 |
clocks = <&clks VF610_CLK_ADC1>; |
| 561 |
clock-names = "adc"; |
| 562 |
#io-channel-cells = <1>; |
| 563 |
status = "disabled"; |
| 564 |
fsl,adck-max-frequency = <30000000>, <40000000>, |
| 565 |
<20000000>; |
| 566 |
}; |
| 567 |
|
| 568 |
esdhc0: mmc@400b1000 { |
| 569 |
compatible = "fsl,imx53-esdhc"; |
| 570 |
reg = <0x400b1000 0x1000>; |
| 571 |
interrupts = <27 IRQ_TYPE_LEVEL_HIGH>; |
| 572 |
clocks = <&clks VF610_CLK_IPG_BUS>, |
| 573 |
<&clks VF610_CLK_PLATFORM_BUS>, |
| 574 |
<&clks VF610_CLK_ESDHC0>; |
| 575 |
clock-names = "ipg", "ahb", "per"; |
| 576 |
status = "disabled"; |
| 577 |
}; |
| 578 |
|
| 579 |
esdhc1: mmc@400b2000 { |
| 580 |
compatible = "fsl,imx53-esdhc"; |
| 581 |
reg = <0x400b2000 0x1000>; |
| 582 |
interrupts = <28 IRQ_TYPE_LEVEL_HIGH>; |
| 583 |
clocks = <&clks VF610_CLK_IPG_BUS>, |
| 584 |
<&clks VF610_CLK_PLATFORM_BUS>, |
| 585 |
<&clks VF610_CLK_ESDHC1>; |
| 586 |
clock-names = "ipg", "ahb", "per"; |
| 587 |
status = "disabled"; |
| 588 |
}; |
| 589 |
|
| 590 |
usbh1: usb@400b4000 { |
| 591 |
compatible = "fsl,vf610-usb", "fsl,imx27-usb"; |
| 592 |
reg = <0x400b4000 0x800>; |
| 593 |
interrupts = <76 IRQ_TYPE_LEVEL_HIGH>; |
| 594 |
clocks = <&clks VF610_CLK_USBC1>; |
| 595 |
fsl,usbphy = <&usbphy1>; |
| 596 |
fsl,usbmisc = <&usbmisc1 0>; |
| 597 |
dr_mode = "host"; |
| 598 |
status = "disabled"; |
| 599 |
}; |
| 600 |
|
| 601 |
usbmisc1: usb@400b4800 { |
| 602 |
#index-cells = <1>; |
| 603 |
compatible = "fsl,vf610-usbmisc"; |
| 604 |
reg = <0x400b4800 0x200>; |
| 605 |
clocks = <&clks VF610_CLK_USBC1>; |
| 606 |
status = "disabled"; |
| 607 |
}; |
| 608 |
|
| 609 |
ftm: ftm@400b8000 { |
| 610 |
compatible = "fsl,ftm-timer"; |
| 611 |
reg = <0x400b8000 0x1000>, <0x400b9000 0x1000>; |
| 612 |
interrupts = <44 IRQ_TYPE_LEVEL_HIGH>; |
| 613 |
clock-names = "ftm-evt", "ftm-src", |
| 614 |
"ftm-evt-counter-en", "ftm-src-counter-en"; |
| 615 |
clocks = <&clks VF610_CLK_FTM2>, |
| 616 |
<&clks VF610_CLK_FTM3>, |
| 617 |
<&clks VF610_CLK_FTM2_EXT_FIX_EN>, |
| 618 |
<&clks VF610_CLK_FTM3_EXT_FIX_EN>; |
| 619 |
status = "disabled"; |
| 620 |
}; |
| 621 |
|
| 622 |
qspi1: spi@400c4000 { |
| 623 |
#address-cells = <1>; |
| 624 |
#size-cells = <0>; |
| 625 |
compatible = "fsl,vf610-qspi"; |
| 626 |
reg = <0x400c4000 0x1000>, <0x50000000 0x10000000>; |
| 627 |
reg-names = "QuadSPI", "QuadSPI-memory"; |
| 628 |
interrupts = <25 IRQ_TYPE_LEVEL_HIGH>; |
| 629 |
clocks = <&clks VF610_CLK_QSPI1_EN>, |
| 630 |
<&clks VF610_CLK_QSPI1>; |
| 631 |
clock-names = "qspi_en", "qspi"; |
| 632 |
status = "disabled"; |
| 633 |
}; |
| 634 |
|
| 635 |
dac0: dac@400cc000 { |
| 636 |
compatible = "fsl,vf610-dac"; |
| 637 |
reg = <0x400cc000 1000>; |
| 638 |
interrupts = <55 IRQ_TYPE_LEVEL_HIGH>; |
| 639 |
clock-names = "dac"; |
| 640 |
clocks = <&clks VF610_CLK_DAC0>; |
| 641 |
status = "disabled"; |
| 642 |
}; |
| 643 |
|
| 644 |
dac1: dac@400cd000 { |
| 645 |
compatible = "fsl,vf610-dac"; |
| 646 |
reg = <0x400cd000 1000>; |
| 647 |
interrupts = <56 IRQ_TYPE_LEVEL_HIGH>; |
| 648 |
clock-names = "dac"; |
| 649 |
clocks = <&clks VF610_CLK_DAC1>; |
| 650 |
status = "disabled"; |
| 651 |
}; |
| 652 |
|
| 653 |
fec0: ethernet@400d0000 { |
| 654 |
compatible = "fsl,mvf600-fec"; |
| 655 |
reg = <0x400d0000 0x1000>; |
| 656 |
interrupts = <78 IRQ_TYPE_LEVEL_HIGH>; |
| 657 |
clocks = <&clks VF610_CLK_ENET0>, |
| 658 |
<&clks VF610_CLK_ENET0>, |
| 659 |
<&clks VF610_CLK_ENET>; |
| 660 |
clock-names = "ipg", "ahb", "ptp"; |
| 661 |
status = "disabled"; |
| 662 |
}; |
| 663 |
|
| 664 |
fec1: ethernet@400d1000 { |
| 665 |
compatible = "fsl,mvf600-fec"; |
| 666 |
reg = <0x400d1000 0x1000>; |
| 667 |
interrupts = <79 IRQ_TYPE_LEVEL_HIGH>; |
| 668 |
clocks = <&clks VF610_CLK_ENET1>, |
| 669 |
<&clks VF610_CLK_ENET1>, |
| 670 |
<&clks VF610_CLK_ENET>; |
| 671 |
clock-names = "ipg", "ahb", "ptp"; |
| 672 |
status = "disabled"; |
| 673 |
}; |
| 674 |
|
| 675 |
can1: can@400d4000 { |
| 676 |
compatible = "fsl,vf610-flexcan"; |
| 677 |
reg = <0x400d4000 0x4000>; |
| 678 |
interrupts = <59 IRQ_TYPE_LEVEL_HIGH>; |
| 679 |
clocks = <&clks VF610_CLK_FLEXCAN1>, |
| 680 |
<&clks VF610_CLK_FLEXCAN1>; |
| 681 |
clock-names = "ipg", "per"; |
| 682 |
status = "disabled"; |
| 683 |
}; |
| 684 |
|
| 685 |
nfc: nand-controller@400e0000 { |
| 686 |
#address-cells = <1>; |
| 687 |
#size-cells = <0>; |
| 688 |
compatible = "fsl,vf610-nfc"; |
| 689 |
reg = <0x400e0000 0x4000>; |
| 690 |
interrupts = <83 IRQ_TYPE_LEVEL_HIGH>; |
| 691 |
clocks = <&clks VF610_CLK_NFC>; |
| 692 |
clock-names = "nfc"; |
| 693 |
status = "disabled"; |
| 694 |
}; |
| 695 |
|
| 696 |
i2c2: i2c@400e6000 { |
| 697 |
#address-cells = <1>; |
| 698 |
#size-cells = <0>; |
| 699 |
compatible = "fsl,vf610-i2c"; |
| 700 |
reg = <0x400e6000 0x1000>; |
| 701 |
interrupts = <73 IRQ_TYPE_LEVEL_HIGH>; |
| 702 |
clocks = <&clks VF610_CLK_I2C2>; |
| 703 |
clock-names = "ipg"; |
| 704 |
dmas = <&edma0 1 36>, |
| 705 |
<&edma0 1 37>; |
| 706 |
dma-names = "rx","tx"; |
| 707 |
status = "disabled"; |
| 708 |
}; |
| 709 |
|
| 710 |
i2c3: i2c@400e7000 { |
| 711 |
#address-cells = <1>; |
| 712 |
#size-cells = <0>; |
| 713 |
compatible = "fsl,vf610-i2c"; |
| 714 |
reg = <0x400e7000 0x1000>; |
| 715 |
interrupts = <74 IRQ_TYPE_LEVEL_HIGH>; |
| 716 |
clocks = <&clks VF610_CLK_I2C3>; |
| 717 |
clock-names = "ipg"; |
| 718 |
dmas = <&edma0 1 38>, <&edma0 1 39>; |
| 719 |
dma-names = "rx","tx"; |
| 720 |
status = "disabled"; |
| 721 |
}; |
| 722 |
|
| 723 |
crypto: crypto@400f0000 { |
| 724 |
compatible = "fsl,sec-v4.0"; |
| 725 |
#address-cells = <1>; |
| 726 |
#size-cells = <1>; |
| 727 |
reg = <0x400f0000 0x9000>; |
| 728 |
ranges = <0 0x400f0000 0x9000>; |
| 729 |
clocks = <&clks VF610_CLK_CAAM>; |
| 730 |
clock-names = "ipg"; |
| 731 |
|
| 732 |
sec_jr0: jr@1000 { |
| 733 |
compatible = "fsl,sec-v4.0-job-ring"; |
| 734 |
reg = <0x1000 0x1000>; |
| 735 |
interrupts = <102 IRQ_TYPE_LEVEL_HIGH>; |
| 736 |
}; |
| 737 |
|
| 738 |
sec_jr1: jr@2000 { |
| 739 |
compatible = "fsl,sec-v4.0-job-ring"; |
| 740 |
reg = <0x2000 0x1000>; |
| 741 |
interrupts = <102 IRQ_TYPE_LEVEL_HIGH>; |
| 742 |
}; |
| 743 |
}; |
| 744 |
}; |
| 745 |
}; |
| 746 |
}; |