Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Include file for Marvell Armada 375 family SoC |
| 3 | * |
| 4 | * Copyright (C) 2014 Marvell |
| 5 | * |
| 6 | * Gregory CLEMENT <gregory.clement@free-electrons.com> |
| 7 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| 8 | * |
| 9 | * This file is dual-licensed: you can use it either under the terms |
| 10 | * of the GPL or the X11 license, at your option. Note that this dual |
| 11 | * licensing only applies to this file, and not this project as a |
| 12 | * whole. |
| 13 | * |
| 14 | * a) This file is free software; you can redistribute it and/or |
| 15 | * modify it under the terms of the GNU General Public License as |
| 16 | * published by the Free Software Foundation; either version 2 of the |
| 17 | * License, or (at your option) any later version. |
| 18 | * |
| 19 | * This file is distributed in the hope that it will be useful |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 | * GNU General Public License for more details. |
| 23 | * |
| 24 | * Or, alternatively |
| 25 | * |
| 26 | * b) Permission is hereby granted, free of charge, to any person |
| 27 | * obtaining a copy of this software and associated documentation |
| 28 | * files (the "Software"), to deal in the Software without |
| 29 | * restriction, including without limitation the rights to use |
| 30 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 31 | * sell copies of the Software, and to permit persons to whom the |
| 32 | * Software is furnished to do so, subject to the following |
| 33 | * conditions: |
| 34 | * |
| 35 | * The above copyright notice and this permission notice shall be |
| 36 | * included in all copies or substantial portions of the Software. |
| 37 | * |
| 38 | * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND |
| 39 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 40 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 41 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 42 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY |
| 43 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 44 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 45 | * OTHER DEALINGS IN THE SOFTWARE. |
| 46 | */ |
| 47 | |
| 48 | #include "skeleton.dtsi" |
| 49 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 50 | #include <dt-bindings/interrupt-controller/irq.h> |
| 51 | #include <dt-bindings/phy/phy.h> |
| 52 | |
| 53 | #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) |
| 54 | |
| 55 | / { |
| 56 | model = "Marvell Armada 375 family SoC"; |
| 57 | compatible = "marvell,armada375"; |
| 58 | |
| 59 | aliases { |
| 60 | gpio0 = &gpio0; |
| 61 | gpio1 = &gpio1; |
| 62 | gpio2 = &gpio2; |
| 63 | serial0 = &uart0; |
| 64 | serial1 = &uart1; |
| 65 | }; |
| 66 | |
| 67 | clocks { |
| 68 | /* 2 GHz fixed main PLL */ |
| 69 | mainpll: mainpll { |
| 70 | compatible = "fixed-clock"; |
| 71 | #clock-cells = <0>; |
| 72 | clock-frequency = <1000000000>; |
| 73 | }; |
| 74 | /* 25 MHz reference crystal */ |
| 75 | refclk: oscillator { |
| 76 | compatible = "fixed-clock"; |
| 77 | #clock-cells = <0>; |
| 78 | clock-frequency = <25000000>; |
| 79 | }; |
| 80 | }; |
| 81 | |
| 82 | cpus { |
| 83 | #address-cells = <1>; |
| 84 | #size-cells = <0>; |
| 85 | enable-method = "marvell,armada-375-smp"; |
| 86 | |
| 87 | cpu@0 { |
| 88 | device_type = "cpu"; |
| 89 | compatible = "arm,cortex-a9"; |
| 90 | reg = <0>; |
| 91 | }; |
| 92 | cpu@1 { |
| 93 | device_type = "cpu"; |
| 94 | compatible = "arm,cortex-a9"; |
| 95 | reg = <1>; |
| 96 | }; |
| 97 | }; |
| 98 | |
| 99 | pmu { |
| 100 | compatible = "arm,cortex-a9-pmu"; |
| 101 | interrupts-extended = <&mpic 3>; |
| 102 | }; |
| 103 | |
| 104 | soc { |
| 105 | compatible = "marvell,armada375-mbus", "simple-bus"; |
| 106 | u-boot,dm-pre-reloc; |
| 107 | #address-cells = <2>; |
| 108 | #size-cells = <1>; |
| 109 | controller = <&mbusc>; |
| 110 | interrupt-parent = <&gic>; |
| 111 | pcie-mem-aperture = <0xe0000000 0x8000000>; |
| 112 | pcie-io-aperture = <0xe8000000 0x100000>; |
| 113 | |
| 114 | bootrom { |
| 115 | compatible = "marvell,bootrom"; |
| 116 | reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>; |
| 117 | }; |
| 118 | |
| 119 | devbus-bootcs { |
| 120 | compatible = "marvell,mvebu-devbus"; |
| 121 | reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>; |
| 122 | ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>; |
| 123 | #address-cells = <1>; |
| 124 | #size-cells = <1>; |
| 125 | clocks = <&coreclk 0>; |
| 126 | status = "disabled"; |
| 127 | }; |
| 128 | |
| 129 | devbus-cs0 { |
| 130 | compatible = "marvell,mvebu-devbus"; |
| 131 | reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>; |
| 132 | ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>; |
| 133 | #address-cells = <1>; |
| 134 | #size-cells = <1>; |
| 135 | clocks = <&coreclk 0>; |
| 136 | status = "disabled"; |
| 137 | }; |
| 138 | |
| 139 | devbus-cs1 { |
| 140 | compatible = "marvell,mvebu-devbus"; |
| 141 | reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>; |
| 142 | ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>; |
| 143 | #address-cells = <1>; |
| 144 | #size-cells = <1>; |
| 145 | clocks = <&coreclk 0>; |
| 146 | status = "disabled"; |
| 147 | }; |
| 148 | |
| 149 | devbus-cs2 { |
| 150 | compatible = "marvell,mvebu-devbus"; |
| 151 | reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>; |
| 152 | ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>; |
| 153 | #address-cells = <1>; |
| 154 | #size-cells = <1>; |
| 155 | clocks = <&coreclk 0>; |
| 156 | status = "disabled"; |
| 157 | }; |
| 158 | |
| 159 | devbus-cs3 { |
| 160 | compatible = "marvell,mvebu-devbus"; |
| 161 | reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>; |
| 162 | ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>; |
| 163 | #address-cells = <1>; |
| 164 | #size-cells = <1>; |
| 165 | clocks = <&coreclk 0>; |
| 166 | status = "disabled"; |
| 167 | }; |
| 168 | |
| 169 | internal-regs { |
| 170 | compatible = "simple-bus"; |
| 171 | u-boot,dm-pre-reloc; |
| 172 | #address-cells = <1>; |
| 173 | #size-cells = <1>; |
| 174 | ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>; |
| 175 | |
| 176 | L2: cache-controller@8000 { |
| 177 | compatible = "arm,pl310-cache"; |
| 178 | reg = <0x8000 0x1000>; |
| 179 | cache-unified; |
| 180 | cache-level = <2>; |
| 181 | arm,double-linefill-incr = <1>; |
| 182 | arm,double-linefill-wrap = <0>; |
| 183 | arm,double-linefill = <1>; |
| 184 | prefetch-data = <1>; |
| 185 | }; |
| 186 | |
| 187 | scu@c000 { |
| 188 | compatible = "arm,cortex-a9-scu"; |
| 189 | reg = <0xc000 0x58>; |
| 190 | }; |
| 191 | |
| 192 | timer@c600 { |
| 193 | compatible = "arm,cortex-a9-twd-timer"; |
| 194 | reg = <0xc600 0x20>; |
| 195 | interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>; |
| 196 | clocks = <&coreclk 2>; |
| 197 | }; |
| 198 | |
| 199 | gic: interrupt-controller@d000 { |
| 200 | compatible = "arm,cortex-a9-gic"; |
| 201 | #interrupt-cells = <3>; |
| 202 | #size-cells = <0>; |
| 203 | interrupt-controller; |
| 204 | reg = <0xd000 0x1000>, |
| 205 | <0xc100 0x100>; |
| 206 | }; |
| 207 | |
| 208 | mdio { |
| 209 | #address-cells = <1>; |
| 210 | #size-cells = <0>; |
| 211 | compatible = "marvell,orion-mdio"; |
| 212 | reg = <0xc0054 0x4>; |
| 213 | clocks = <&gateclk 19>; |
| 214 | }; |
| 215 | |
| 216 | /* Network controller */ |
| 217 | ethernet@f0000 { |
| 218 | compatible = "marvell,armada-375-pp2"; |
| 219 | reg = <0xf0000 0xa000>, /* Packet Processor regs */ |
| 220 | <0xc0000 0x3060>, /* LMS regs */ |
| 221 | <0xc4000 0x100>, /* eth0 regs */ |
| 222 | <0xc5000 0x100>; /* eth1 regs */ |
| 223 | clocks = <&gateclk 3>, <&gateclk 19>; |
| 224 | clock-names = "pp_clk", "gop_clk"; |
| 225 | status = "disabled"; |
| 226 | |
| 227 | eth0: eth0@c4000 { |
| 228 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 229 | port-id = <0>; |
| 230 | status = "disabled"; |
| 231 | }; |
| 232 | |
| 233 | eth1: eth1@c5000 { |
| 234 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
| 235 | port-id = <1>; |
| 236 | status = "disabled"; |
| 237 | }; |
| 238 | }; |
| 239 | |
| 240 | rtc@10300 { |
| 241 | compatible = "marvell,orion-rtc"; |
| 242 | reg = <0x10300 0x20>; |
| 243 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 244 | }; |
| 245 | |
| 246 | spi0: spi@10600 { |
| 247 | compatible = "marvell,armada-375-spi", |
| 248 | "marvell,orion-spi"; |
| 249 | reg = <0x10600 0x50>; |
| 250 | #address-cells = <1>; |
| 251 | #size-cells = <0>; |
| 252 | cell-index = <0>; |
| 253 | interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 254 | clocks = <&coreclk 0>; |
| 255 | status = "disabled"; |
| 256 | }; |
| 257 | |
| 258 | spi1: spi@10680 { |
| 259 | compatible = "marvell,armada-375-spi", |
| 260 | "marvell,orion-spi"; |
| 261 | reg = <0x10680 0x50>; |
| 262 | #address-cells = <1>; |
| 263 | #size-cells = <0>; |
| 264 | cell-index = <1>; |
| 265 | interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
| 266 | clocks = <&coreclk 0>; |
| 267 | status = "disabled"; |
| 268 | }; |
| 269 | |
| 270 | i2c0: i2c@11000 { |
| 271 | compatible = "marvell,mv64xxx-i2c"; |
| 272 | reg = <0x11000 0x20>; |
| 273 | #address-cells = <1>; |
| 274 | #size-cells = <0>; |
| 275 | interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
| 276 | timeout-ms = <1000>; |
| 277 | clocks = <&coreclk 0>; |
| 278 | status = "disabled"; |
| 279 | }; |
| 280 | |
| 281 | i2c1: i2c@11100 { |
| 282 | compatible = "marvell,mv64xxx-i2c"; |
| 283 | reg = <0x11100 0x20>; |
| 284 | #address-cells = <1>; |
| 285 | #size-cells = <0>; |
| 286 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
| 287 | timeout-ms = <1000>; |
| 288 | clocks = <&coreclk 0>; |
| 289 | status = "disabled"; |
| 290 | }; |
| 291 | |
| 292 | uart0: serial@12000 { |
| 293 | compatible = "snps,dw-apb-uart"; |
| 294 | reg = <0x12000 0x100>; |
| 295 | reg-shift = <2>; |
| 296 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
| 297 | reg-io-width = <1>; |
| 298 | clocks = <&coreclk 0>; |
| 299 | status = "disabled"; |
| 300 | }; |
| 301 | |
| 302 | uart1: serial@12100 { |
| 303 | compatible = "snps,dw-apb-uart"; |
| 304 | reg = <0x12100 0x100>; |
| 305 | reg-shift = <2>; |
| 306 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
| 307 | reg-io-width = <1>; |
| 308 | clocks = <&coreclk 0>; |
| 309 | status = "disabled"; |
| 310 | }; |
| 311 | |
| 312 | pinctrl { |
| 313 | compatible = "marvell,mv88f6720-pinctrl"; |
| 314 | reg = <0x18000 0x24>; |
| 315 | |
| 316 | i2c0_pins: i2c0-pins { |
| 317 | marvell,pins = "mpp14", "mpp15"; |
| 318 | marvell,function = "i2c0"; |
| 319 | }; |
| 320 | |
| 321 | i2c1_pins: i2c1-pins { |
| 322 | marvell,pins = "mpp61", "mpp62"; |
| 323 | marvell,function = "i2c1"; |
| 324 | }; |
| 325 | |
| 326 | nand_pins: nand-pins { |
| 327 | marvell,pins = "mpp0", "mpp1", "mpp2", |
| 328 | "mpp3", "mpp4", "mpp5", |
| 329 | "mpp6", "mpp7", "mpp8", |
| 330 | "mpp9", "mpp10", "mpp11", |
| 331 | "mpp12", "mpp13"; |
| 332 | marvell,function = "nand"; |
| 333 | }; |
| 334 | |
| 335 | sdio_pins: sdio-pins { |
| 336 | marvell,pins = "mpp24", "mpp25", "mpp26", |
| 337 | "mpp27", "mpp28", "mpp29"; |
| 338 | marvell,function = "sd"; |
| 339 | }; |
| 340 | |
| 341 | spi0_pins: spi0-pins { |
| 342 | marvell,pins = "mpp0", "mpp1", "mpp4", |
| 343 | "mpp5", "mpp8", "mpp9"; |
| 344 | marvell,function = "spi0"; |
| 345 | }; |
| 346 | }; |
| 347 | |
| 348 | gpio0: gpio@18100 { |
| 349 | compatible = "marvell,orion-gpio"; |
| 350 | reg = <0x18100 0x40>; |
| 351 | ngpios = <32>; |
| 352 | gpio-controller; |
| 353 | #gpio-cells = <2>; |
| 354 | interrupt-controller; |
| 355 | #interrupt-cells = <2>; |
| 356 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, |
| 357 | <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, |
| 358 | <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, |
| 359 | <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; |
| 360 | }; |
| 361 | |
| 362 | gpio1: gpio@18140 { |
| 363 | compatible = "marvell,orion-gpio"; |
| 364 | reg = <0x18140 0x40>; |
| 365 | ngpios = <32>; |
| 366 | gpio-controller; |
| 367 | #gpio-cells = <2>; |
| 368 | interrupt-controller; |
| 369 | #interrupt-cells = <2>; |
| 370 | interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, |
| 371 | <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, |
| 372 | <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, |
| 373 | <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; |
| 374 | }; |
| 375 | |
| 376 | gpio2: gpio@18180 { |
| 377 | compatible = "marvell,orion-gpio"; |
| 378 | reg = <0x18180 0x40>; |
| 379 | ngpios = <3>; |
| 380 | gpio-controller; |
| 381 | #gpio-cells = <2>; |
| 382 | interrupt-controller; |
| 383 | #interrupt-cells = <2>; |
| 384 | interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; |
| 385 | }; |
| 386 | |
Pali Rohár | 35e29e8 | 2021-12-21 12:20:18 +0100 | [diff] [blame^] | 387 | systemc: system-controller@18200 { |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 388 | compatible = "marvell,armada-375-system-controller"; |
| 389 | reg = <0x18200 0x100>; |
Pali Rohár | 35e29e8 | 2021-12-21 12:20:18 +0100 | [diff] [blame^] | 390 | #reset-cells = <2>; |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 391 | }; |
| 392 | |
| 393 | gateclk: clock-gating-control@18220 { |
| 394 | compatible = "marvell,armada-375-gating-clock"; |
| 395 | reg = <0x18220 0x4>; |
| 396 | clocks = <&coreclk 0>; |
| 397 | #clock-cells = <1>; |
| 398 | }; |
| 399 | |
| 400 | usbcluster: usb-cluster@18400 { |
| 401 | compatible = "marvell,armada-375-usb-cluster"; |
| 402 | reg = <0x18400 0x4>; |
| 403 | #phy-cells = <1>; |
| 404 | }; |
| 405 | |
| 406 | mbusc: mbus-controller@20000 { |
| 407 | compatible = "marvell,mbus-controller"; |
| 408 | reg = <0x20000 0x100>, <0x20180 0x20>; |
| 409 | }; |
| 410 | |
| 411 | mpic: interrupt-controller@20a00 { |
| 412 | compatible = "marvell,mpic"; |
| 413 | reg = <0x20a00 0x2d0>, <0x21070 0x58>; |
| 414 | #interrupt-cells = <1>; |
| 415 | #size-cells = <1>; |
| 416 | interrupt-controller; |
| 417 | msi-controller; |
| 418 | interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 419 | }; |
| 420 | |
| 421 | timer@20300 { |
| 422 | compatible = "marvell,armada-375-timer", "marvell,armada-370-timer"; |
| 423 | reg = <0x20300 0x30>, <0x21040 0x30>; |
| 424 | interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, |
| 425 | <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, |
| 426 | <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, |
| 427 | <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, |
| 428 | <&mpic 5>, |
| 429 | <&mpic 6>; |
| 430 | clocks = <&coreclk 0>, <&refclk>; |
| 431 | clock-names = "nbclk", "fixed"; |
| 432 | }; |
| 433 | |
| 434 | watchdog@20300 { |
| 435 | compatible = "marvell,armada-375-wdt"; |
| 436 | reg = <0x20300 0x34>, <0x20704 0x4>, <0x18254 0x4>; |
| 437 | clocks = <&coreclk 0>, <&refclk>; |
| 438 | clock-names = "nbclk", "fixed"; |
| 439 | }; |
| 440 | |
| 441 | cpurst@20800 { |
| 442 | compatible = "marvell,armada-370-cpu-reset"; |
| 443 | reg = <0x20800 0x10>; |
| 444 | }; |
| 445 | |
| 446 | coherency-fabric@21010 { |
| 447 | compatible = "marvell,armada-375-coherency-fabric"; |
| 448 | reg = <0x21010 0x1c>; |
| 449 | }; |
| 450 | |
| 451 | usb@50000 { |
| 452 | compatible = "marvell,orion-ehci"; |
| 453 | reg = <0x50000 0x500>; |
| 454 | interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; |
| 455 | clocks = <&gateclk 18>; |
| 456 | phys = <&usbcluster PHY_TYPE_USB2>; |
| 457 | phy-names = "usb"; |
| 458 | status = "disabled"; |
| 459 | }; |
| 460 | |
| 461 | usb@54000 { |
| 462 | compatible = "marvell,orion-ehci"; |
| 463 | reg = <0x54000 0x500>; |
| 464 | interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; |
| 465 | clocks = <&gateclk 26>; |
| 466 | status = "disabled"; |
| 467 | }; |
| 468 | |
| 469 | usb3@58000 { |
| 470 | compatible = "marvell,armada-375-xhci"; |
| 471 | reg = <0x58000 0x20000>,<0x5b880 0x80>; |
| 472 | interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; |
| 473 | clocks = <&gateclk 16>; |
| 474 | phys = <&usbcluster PHY_TYPE_USB3>; |
| 475 | phy-names = "usb"; |
| 476 | status = "disabled"; |
| 477 | }; |
| 478 | |
| 479 | xor@60800 { |
| 480 | compatible = "marvell,orion-xor"; |
| 481 | reg = <0x60800 0x100 |
| 482 | 0x60A00 0x100>; |
| 483 | clocks = <&gateclk 22>; |
| 484 | status = "okay"; |
| 485 | |
| 486 | xor00 { |
| 487 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| 488 | dmacap,memcpy; |
| 489 | dmacap,xor; |
| 490 | }; |
| 491 | xor01 { |
| 492 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 493 | dmacap,memcpy; |
| 494 | dmacap,xor; |
| 495 | dmacap,memset; |
| 496 | }; |
| 497 | }; |
| 498 | |
| 499 | xor@60900 { |
| 500 | compatible = "marvell,orion-xor"; |
| 501 | reg = <0x60900 0x100 |
| 502 | 0x60b00 0x100>; |
| 503 | clocks = <&gateclk 23>; |
| 504 | status = "okay"; |
| 505 | |
| 506 | xor10 { |
| 507 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
| 508 | dmacap,memcpy; |
| 509 | dmacap,xor; |
| 510 | }; |
| 511 | xor11 { |
| 512 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; |
| 513 | dmacap,memcpy; |
| 514 | dmacap,xor; |
| 515 | dmacap,memset; |
| 516 | }; |
| 517 | }; |
| 518 | |
| 519 | crypto@90000 { |
| 520 | compatible = "marvell,armada-375-crypto"; |
| 521 | reg = <0x90000 0x10000>; |
| 522 | reg-names = "regs"; |
| 523 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, |
| 524 | <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 525 | clocks = <&gateclk 30>, <&gateclk 31>, |
| 526 | <&gateclk 28>, <&gateclk 29>; |
| 527 | clock-names = "cesa0", "cesa1", |
| 528 | "cesaz0", "cesaz1"; |
| 529 | marvell,crypto-srams = <&crypto_sram0>, |
| 530 | <&crypto_sram1>; |
| 531 | marvell,crypto-sram-size = <0x800>; |
| 532 | }; |
| 533 | |
| 534 | sata@a0000 { |
| 535 | compatible = "marvell,orion-sata"; |
| 536 | reg = <0xa0000 0x5000>; |
| 537 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
| 538 | clocks = <&gateclk 14>, <&gateclk 20>; |
| 539 | clock-names = "0", "1"; |
| 540 | status = "disabled"; |
| 541 | }; |
| 542 | |
| 543 | nand@d0000 { |
| 544 | compatible = "marvell,armada370-nand"; |
| 545 | reg = <0xd0000 0x54>; |
| 546 | #address-cells = <1>; |
| 547 | #size-cells = <1>; |
| 548 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 549 | clocks = <&gateclk 11>; |
| 550 | status = "disabled"; |
| 551 | }; |
| 552 | |
| 553 | mvsdio@d4000 { |
| 554 | compatible = "marvell,orion-sdio"; |
| 555 | reg = <0xd4000 0x200>; |
| 556 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
| 557 | clocks = <&gateclk 17>; |
| 558 | bus-width = <4>; |
| 559 | cap-sdio-irq; |
| 560 | cap-sd-highspeed; |
| 561 | cap-mmc-highspeed; |
| 562 | status = "disabled"; |
| 563 | }; |
| 564 | |
| 565 | thermal@e8078 { |
| 566 | compatible = "marvell,armada375-thermal"; |
| 567 | reg = <0xe8078 0x4>, <0xe807c 0x8>; |
| 568 | status = "okay"; |
| 569 | }; |
| 570 | |
| 571 | coreclk: mvebu-sar@e8204 { |
| 572 | compatible = "marvell,armada-375-core-clock"; |
| 573 | reg = <0xe8204 0x04>; |
| 574 | #clock-cells = <1>; |
| 575 | }; |
| 576 | |
| 577 | coredivclk: corediv-clock@e8250 { |
| 578 | compatible = "marvell,armada-375-corediv-clock"; |
| 579 | reg = <0xe8250 0xc>; |
| 580 | #clock-cells = <1>; |
| 581 | clocks = <&mainpll>; |
| 582 | clock-output-names = "nand"; |
| 583 | }; |
| 584 | }; |
| 585 | |
Stefan Roese | 6f139be | 2019-01-25 11:52:44 +0100 | [diff] [blame] | 586 | pciec: pcie@82000000 { |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 587 | compatible = "marvell,armada-370-pcie"; |
| 588 | status = "disabled"; |
| 589 | device_type = "pci"; |
| 590 | |
| 591 | #address-cells = <3>; |
| 592 | #size-cells = <2>; |
| 593 | |
| 594 | msi-parent = <&mpic>; |
| 595 | bus-range = <0x00 0xff>; |
| 596 | |
| 597 | ranges = |
| 598 | <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 |
| 599 | 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000 |
| 600 | 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0 MEM */ |
| 601 | 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0 IO */ |
| 602 | 0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1 MEM */ |
| 603 | 0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1 IO */>; |
| 604 | |
Stefan Roese | 6f139be | 2019-01-25 11:52:44 +0100 | [diff] [blame] | 605 | pcie0: pcie@1,0 { |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 606 | device_type = "pci"; |
| 607 | assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; |
| 608 | reg = <0x0800 0 0 0 0>; |
| 609 | #address-cells = <3>; |
| 610 | #size-cells = <2>; |
| 611 | #interrupt-cells = <1>; |
| 612 | ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 |
| 613 | 0x81000000 0 0 0x81000000 0x1 0 1 0>; |
Stefan Roese | 6f139be | 2019-01-25 11:52:44 +0100 | [diff] [blame] | 614 | bus-range = <0x00 0xff>; |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 615 | interrupt-map-mask = <0 0 0 0>; |
| 616 | interrupt-map = <0 0 0 0 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; |
| 617 | marvell,pcie-port = <0>; |
| 618 | marvell,pcie-lane = <0>; |
| 619 | clocks = <&gateclk 5>; |
| 620 | status = "disabled"; |
| 621 | }; |
| 622 | |
Stefan Roese | 6f139be | 2019-01-25 11:52:44 +0100 | [diff] [blame] | 623 | pcie1: pcie@2,0 { |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 624 | device_type = "pci"; |
| 625 | assigned-addresses = <0x82000800 0 0x44000 0 0x2000>; |
| 626 | reg = <0x1000 0 0 0 0>; |
| 627 | #address-cells = <3>; |
| 628 | #size-cells = <2>; |
| 629 | #interrupt-cells = <1>; |
| 630 | ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0 |
| 631 | 0x81000000 0 0 0x81000000 0x2 0 1 0>; |
Stefan Roese | 6f139be | 2019-01-25 11:52:44 +0100 | [diff] [blame] | 632 | bus-range = <0x00 0xff>; |
Stefan Roese | 606576d | 2016-01-29 09:14:54 +0100 | [diff] [blame] | 633 | interrupt-map-mask = <0 0 0 0>; |
| 634 | interrupt-map = <0 0 0 0 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
| 635 | marvell,pcie-port = <0>; |
| 636 | marvell,pcie-lane = <1>; |
| 637 | clocks = <&gateclk 6>; |
| 638 | status = "disabled"; |
| 639 | }; |
| 640 | |
| 641 | }; |
| 642 | |
| 643 | crypto_sram0: sa-sram0 { |
| 644 | compatible = "mmio-sram"; |
| 645 | reg = <MBUS_ID(0x09, 0x09) 0 0x800>; |
| 646 | clocks = <&gateclk 30>; |
| 647 | #address-cells = <1>; |
| 648 | #size-cells = <1>; |
| 649 | ranges = <0 MBUS_ID(0x09, 0x09) 0 0x800>; |
| 650 | }; |
| 651 | |
| 652 | crypto_sram1: sa-sram1 { |
| 653 | compatible = "mmio-sram"; |
| 654 | reg = <MBUS_ID(0x09, 0x05) 0 0x800>; |
| 655 | clocks = <&gateclk 31>; |
| 656 | #address-cells = <1>; |
| 657 | #size-cells = <1>; |
| 658 | ranges = <0 MBUS_ID(0x09, 0x05) 0 0x800>; |
| 659 | }; |
| 660 | }; |
| 661 | }; |