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