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