Thomas Petazzoni | 538da83 | 2015-03-03 15:41:12 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Include file for Marvell Armada 39x family of SoCs. |
| 3 | * |
| 4 | * Copyright (C) 2015 Marvell |
| 5 | * |
| 6 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| 7 | * |
| 8 | * This file is dual-licensed: you can use it either under the terms |
| 9 | * of the GPL or the X11 license, at your option. Note that this dual |
| 10 | * licensing only applies to this file, and not this project as a |
| 11 | * whole. |
| 12 | * |
| 13 | * a) This file is free software; you can redistribute it and/or |
| 14 | * modify it under the terms of the GNU General Public License as |
| 15 | * published by the Free Software Foundation; either version 2 of the |
| 16 | * License, or (at your option) any later version. |
| 17 | * |
| 18 | * This file is distributed in the hope that it will be useful |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | * GNU General Public License for more details. |
| 22 | * |
| 23 | * Or, alternatively |
| 24 | * |
| 25 | * b) Permission is hereby granted, free of charge, to any person |
| 26 | * obtaining a copy of this software and associated documentation |
| 27 | * files (the "Software"), to deal in the Software without |
| 28 | * restriction, including without limitation the rights to use |
| 29 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 30 | * sell copies of the Software, and to permit persons to whom the |
| 31 | * Software is furnished to do so, subject to the following |
| 32 | * conditions: |
| 33 | * |
| 34 | * The above copyright notice and this permission notice shall be |
| 35 | * included in all copies or substantial portions of the Software. |
| 36 | * |
| 37 | * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND |
| 38 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 39 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 40 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 41 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY |
| 42 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 43 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 44 | * OTHER DEALINGS IN THE SOFTWARE. |
| 45 | */ |
| 46 | |
| 47 | #include "skeleton.dtsi" |
| 48 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 49 | #include <dt-bindings/interrupt-controller/irq.h> |
| 50 | |
| 51 | #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) |
| 52 | |
| 53 | / { |
| 54 | model = "Marvell Armada 39x family SoC"; |
| 55 | compatible = "marvell,armada390"; |
| 56 | |
| 57 | aliases { |
| 58 | serial0 = &uart0; |
| 59 | serial1 = &uart1; |
| 60 | serial2 = &uart2; |
| 61 | serial3 = &uart3; |
| 62 | }; |
| 63 | |
| 64 | cpus { |
| 65 | #address-cells = <1>; |
| 66 | #size-cells = <0>; |
| 67 | enable-method = "marvell,armada-390-smp"; |
| 68 | |
| 69 | cpu@0 { |
| 70 | device_type = "cpu"; |
| 71 | compatible = "arm,cortex-a9"; |
| 72 | reg = <0>; |
| 73 | }; |
| 74 | cpu@1 { |
| 75 | device_type = "cpu"; |
| 76 | compatible = "arm,cortex-a9"; |
| 77 | reg = <1>; |
| 78 | }; |
| 79 | }; |
| 80 | |
| 81 | soc { |
| 82 | compatible = "marvell,armada390-mbus", "marvell,armadaxp-mbus", |
| 83 | "simple-bus"; |
| 84 | #address-cells = <2>; |
| 85 | #size-cells = <1>; |
| 86 | controller = <&mbusc>; |
| 87 | interrupt-parent = <&gic>; |
| 88 | pcie-mem-aperture = <0xe0000000 0x8000000>; |
| 89 | pcie-io-aperture = <0xe8000000 0x100000>; |
| 90 | |
| 91 | bootrom { |
| 92 | compatible = "marvell,bootrom"; |
| 93 | reg = <MBUS_ID(0x01, 0x1d) 0 0x200000>; |
| 94 | }; |
| 95 | |
| 96 | internal-regs { |
| 97 | compatible = "simple-bus"; |
| 98 | #address-cells = <1>; |
| 99 | #size-cells = <1>; |
| 100 | ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>; |
| 101 | |
| 102 | L2: cache-controller@8000 { |
| 103 | compatible = "arm,pl310-cache"; |
| 104 | reg = <0x8000 0x1000>; |
| 105 | cache-unified; |
| 106 | cache-level = <2>; |
| 107 | }; |
| 108 | |
| 109 | scu@c000 { |
| 110 | compatible = "arm,cortex-a9-scu"; |
| 111 | reg = <0xc000 0x100>; |
| 112 | }; |
| 113 | |
| 114 | timer@c600 { |
| 115 | compatible = "arm,cortex-a9-twd-timer"; |
| 116 | reg = <0xc600 0x20>; |
| 117 | interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>; |
| 118 | clocks = <&coreclk 2>; |
| 119 | }; |
| 120 | |
| 121 | gic: interrupt-controller@d000 { |
| 122 | compatible = "arm,cortex-a9-gic"; |
| 123 | #interrupt-cells = <3>; |
| 124 | #size-cells = <0>; |
| 125 | interrupt-controller; |
| 126 | reg = <0xd000 0x1000>, |
| 127 | <0xc100 0x100>; |
| 128 | }; |
| 129 | |
| 130 | spi0: spi@10600 { |
Gregory CLEMENT | 2d29592 | 2015-05-26 11:44:44 +0200 | [diff] [blame] | 131 | compatible = "marvell,armada-390-spi", |
| 132 | "marvell,orion-spi"; |
Thomas Petazzoni | 538da83 | 2015-03-03 15:41:12 +0100 | [diff] [blame] | 133 | reg = <0x10600 0x50>; |
| 134 | #address-cells = <1>; |
| 135 | #size-cells = <0>; |
| 136 | cell-index = <0>; |
| 137 | interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 138 | clocks = <&coreclk 0>; |
| 139 | status = "disabled"; |
| 140 | }; |
| 141 | |
| 142 | spi1: spi@10680 { |
Gregory CLEMENT | 2d29592 | 2015-05-26 11:44:44 +0200 | [diff] [blame] | 143 | compatible = "marvell,armada-390-spi", |
| 144 | "marvell,orion-spi"; |
Thomas Petazzoni | 538da83 | 2015-03-03 15:41:12 +0100 | [diff] [blame] | 145 | reg = <0x10680 0x50>; |
| 146 | #address-cells = <1>; |
| 147 | #size-cells = <0>; |
| 148 | cell-index = <1>; |
| 149 | interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
| 150 | clocks = <&coreclk 0>; |
| 151 | status = "disabled"; |
| 152 | }; |
| 153 | |
| 154 | i2c0: i2c@11000 { |
| 155 | compatible = "marvell,mv64xxx-i2c"; |
| 156 | reg = <0x11000 0x20>; |
| 157 | #address-cells = <1>; |
| 158 | #size-cells = <0>; |
| 159 | interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
| 160 | timeout-ms = <1000>; |
| 161 | clocks = <&coreclk 0>; |
| 162 | status = "disabled"; |
| 163 | }; |
| 164 | |
| 165 | i2c1: i2c@11100 { |
| 166 | compatible = "marvell,mv64xxx-i2c"; |
| 167 | reg = <0x11100 0x20>; |
| 168 | #address-cells = <1>; |
| 169 | #size-cells = <0>; |
| 170 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
| 171 | timeout-ms = <1000>; |
| 172 | clocks = <&coreclk 0>; |
| 173 | status = "disabled"; |
| 174 | }; |
| 175 | |
| 176 | i2c2: i2c@11200 { |
| 177 | compatible = "marvell,mv64xxx-i2c"; |
| 178 | reg = <0x11200 0x20>; |
| 179 | #address-cells = <1>; |
| 180 | #size-cells = <0>; |
| 181 | interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; |
| 182 | timeout-ms = <1000>; |
| 183 | clocks = <&coreclk 0>; |
| 184 | status = "disabled"; |
| 185 | }; |
| 186 | |
| 187 | i2c3: i2c@11300 { |
| 188 | compatible = "marvell,mv64xxx-i2c"; |
| 189 | reg = <0x11300 0x20>; |
| 190 | #address-cells = <1>; |
| 191 | #size-cells = <0>; |
| 192 | interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
| 193 | timeout-ms = <1000>; |
| 194 | clocks = <&coreclk 0>; |
| 195 | status = "disabled"; |
| 196 | }; |
| 197 | |
| 198 | uart0: serial@12000 { |
| 199 | compatible = "snps,dw-apb-uart"; |
| 200 | reg = <0x12000 0x100>; |
| 201 | reg-shift = <2>; |
| 202 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
| 203 | reg-io-width = <1>; |
| 204 | clocks = <&coreclk 0>; |
| 205 | status = "disabled"; |
| 206 | }; |
| 207 | |
| 208 | uart1: serial@12100 { |
| 209 | compatible = "snps,dw-apb-uart"; |
| 210 | reg = <0x12100 0x100>; |
| 211 | reg-shift = <2>; |
| 212 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
| 213 | reg-io-width = <1>; |
| 214 | clocks = <&coreclk 0>; |
| 215 | status = "disabled"; |
| 216 | }; |
| 217 | |
| 218 | uart2: serial@12200 { |
| 219 | compatible = "snps,dw-apb-uart"; |
| 220 | reg = <0x12200 0x100>; |
| 221 | reg-shift = <2>; |
| 222 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 223 | reg-io-width = <1>; |
| 224 | clocks = <&coreclk 0>; |
| 225 | status = "disabled"; |
| 226 | }; |
| 227 | |
| 228 | uart3: serial@12300 { |
| 229 | compatible = "snps,dw-apb-uart"; |
| 230 | reg = <0x12300 0x100>; |
| 231 | reg-shift = <2>; |
| 232 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 233 | reg-io-width = <1>; |
| 234 | clocks = <&coreclk 0>; |
| 235 | status = "disabled"; |
| 236 | }; |
| 237 | |
| 238 | pinctrl@18000 { |
| 239 | i2c0_pins: i2c0-pins { |
| 240 | marvell,pins = "mpp2", "mpp3"; |
| 241 | marvell,function = "i2c0"; |
| 242 | }; |
| 243 | |
| 244 | uart0_pins: uart0-pins { |
| 245 | marvell,pins = "mpp0", "mpp1"; |
| 246 | marvell,function = "ua0"; |
| 247 | }; |
| 248 | |
| 249 | uart1_pins: uart1-pins { |
| 250 | marvell,pins = "mpp19", "mpp20"; |
| 251 | marvell,function = "ua1"; |
| 252 | }; |
| 253 | |
| 254 | spi1_pins: spi1-pins { |
| 255 | marvell,pins = "mpp56", "mpp57", "mpp58", "mpp59"; |
| 256 | marvell,function = "spi1"; |
| 257 | }; |
| 258 | |
| 259 | nand_pins: nand-pins { |
| 260 | marvell,pins = "mpp22", "mpp34", "mpp23", "mpp33", |
| 261 | "mpp38", "mpp28", "mpp40", "mpp42", |
| 262 | "mpp35", "mpp36", "mpp25", "mpp30", |
| 263 | "mpp32"; |
| 264 | marvell,function = "dev"; |
| 265 | }; |
| 266 | }; |
| 267 | |
| 268 | system-controller@18200 { |
| 269 | compatible = "marvell,armada-390-system-controller", |
| 270 | "marvell,armada-370-xp-system-controller"; |
| 271 | reg = <0x18200 0x100>; |
| 272 | }; |
| 273 | |
| 274 | gateclk: clock-gating-control@18220 { |
| 275 | compatible = "marvell,armada-390-gating-clock"; |
| 276 | reg = <0x18220 0x4>; |
| 277 | clocks = <&coreclk 0>; |
| 278 | #clock-cells = <1>; |
| 279 | }; |
| 280 | |
| 281 | coreclk: mvebu-sar@18600 { |
| 282 | compatible = "marvell,armada-390-core-clock"; |
| 283 | reg = <0x18600 0x04>; |
| 284 | #clock-cells = <1>; |
| 285 | }; |
| 286 | |
| 287 | mbusc: mbus-controller@20000 { |
| 288 | compatible = "marvell,mbus-controller"; |
| 289 | reg = <0x20000 0x100>, <0x20180 0x20>, <0x20250 0x8>; |
| 290 | }; |
| 291 | |
| 292 | mpic: interrupt-controller@20a00 { |
| 293 | compatible = "marvell,mpic"; |
| 294 | reg = <0x20a00 0x2d0>, <0x21070 0x58>; |
| 295 | #interrupt-cells = <1>; |
| 296 | #size-cells = <1>; |
| 297 | interrupt-controller; |
| 298 | msi-controller; |
| 299 | interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 300 | }; |
| 301 | |
| 302 | timer@20300 { |
| 303 | compatible = "marvell,armada-380-timer", |
| 304 | "marvell,armada-xp-timer"; |
| 305 | reg = <0x20300 0x30>, <0x21040 0x30>; |
| 306 | interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, |
| 307 | <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, |
| 308 | <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, |
| 309 | <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, |
| 310 | <&mpic 5>, |
| 311 | <&mpic 6>; |
| 312 | clocks = <&coreclk 2>, <&coreclk 5>; |
| 313 | clock-names = "nbclk", "fixed"; |
| 314 | }; |
| 315 | |
| 316 | cpurst@20800 { |
| 317 | compatible = "marvell,armada-370-cpu-reset"; |
| 318 | reg = <0x20800 0x10>; |
| 319 | }; |
| 320 | |
| 321 | pmsu@22000 { |
| 322 | compatible = "marvell,armada-390-pmsu", |
| 323 | "marvell,armada-380-pmsu"; |
| 324 | reg = <0x22000 0x1000>; |
| 325 | }; |
| 326 | |
| 327 | xor@60800 { |
Thomas Petazzoni | 449e1d6 | 2015-06-17 14:12:21 +0200 | [diff] [blame^] | 328 | compatible = "marvell,armada-380-xor", "marvell,orion-xor"; |
Thomas Petazzoni | 538da83 | 2015-03-03 15:41:12 +0100 | [diff] [blame] | 329 | reg = <0x60800 0x100 |
| 330 | 0x60a00 0x100>; |
| 331 | clocks = <&gateclk 22>; |
| 332 | status = "okay"; |
| 333 | |
| 334 | xor00 { |
| 335 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| 336 | dmacap,memcpy; |
| 337 | dmacap,xor; |
| 338 | }; |
| 339 | xor01 { |
| 340 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 341 | dmacap,memcpy; |
| 342 | dmacap,xor; |
| 343 | dmacap,memset; |
| 344 | }; |
| 345 | }; |
| 346 | |
| 347 | xor@60900 { |
Thomas Petazzoni | 449e1d6 | 2015-06-17 14:12:21 +0200 | [diff] [blame^] | 348 | compatible = "marvell,armada-380-xor", "marvell,orion-xor"; |
Thomas Petazzoni | 538da83 | 2015-03-03 15:41:12 +0100 | [diff] [blame] | 349 | reg = <0x60900 0x100 |
| 350 | 0x60b00 0x100>; |
| 351 | clocks = <&gateclk 28>; |
| 352 | status = "okay"; |
| 353 | |
| 354 | xor10 { |
| 355 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
| 356 | dmacap,memcpy; |
| 357 | dmacap,xor; |
| 358 | }; |
| 359 | xor11 { |
| 360 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; |
| 361 | dmacap,memcpy; |
| 362 | dmacap,xor; |
| 363 | dmacap,memset; |
| 364 | }; |
| 365 | }; |
| 366 | |
| 367 | flash@d0000 { |
| 368 | compatible = "marvell,armada370-nand"; |
| 369 | reg = <0xd0000 0x54>; |
| 370 | #address-cells = <1>; |
| 371 | #size-cells = <1>; |
| 372 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 373 | clocks = <&coredivclk 0>; |
| 374 | status = "disabled"; |
| 375 | }; |
| 376 | |
| 377 | sdhci@d8000 { |
| 378 | compatible = "marvell,armada-380-sdhci"; |
| 379 | reg = <0xd8000 0x1000>, <0xdc000 0x100>; |
| 380 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
| 381 | clocks = <&gateclk 17>; |
| 382 | mrvl,clk-delay-cycles = <0x1F>; |
| 383 | status = "disabled"; |
| 384 | }; |
| 385 | |
| 386 | coredivclk: clock@e4250 { |
| 387 | compatible = "marvell,armada-390-corediv-clock", |
| 388 | "marvell,armada-380-corediv-clock"; |
| 389 | reg = <0xe4250 0xc>; |
| 390 | #clock-cells = <1>; |
| 391 | clocks = <&mainpll>; |
| 392 | clock-output-names = "nand"; |
| 393 | }; |
| 394 | }; |
| 395 | |
| 396 | pcie-controller { |
| 397 | compatible = "marvell,armada-370-pcie"; |
| 398 | status = "disabled"; |
| 399 | device_type = "pci"; |
| 400 | |
| 401 | #address-cells = <3>; |
| 402 | #size-cells = <2>; |
| 403 | |
| 404 | msi-parent = <&mpic>; |
| 405 | bus-range = <0x00 0xff>; |
| 406 | |
| 407 | ranges = |
| 408 | <0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000 |
| 409 | 0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 |
| 410 | 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000 |
| 411 | 0x82000000 0 0x48000 MBUS_ID(0xf0, 0x01) 0x48000 0 0x00002000 |
| 412 | 0x82000000 0x1 0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 0 MEM */ |
| 413 | 0x81000000 0x1 0 MBUS_ID(0x08, 0xe0) 0 1 0 /* Port 0 IO */ |
| 414 | 0x82000000 0x2 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 1 MEM */ |
| 415 | 0x81000000 0x2 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 1 IO */ |
| 416 | 0x82000000 0x3 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 2 MEM */ |
| 417 | 0x81000000 0x3 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 2 IO */ |
| 418 | 0x82000000 0x4 0 MBUS_ID(0x04, 0xb8) 0 1 0 /* Port 3 MEM */ |
| 419 | 0x81000000 0x4 0 MBUS_ID(0x04, 0xb0) 0 1 0 /* Port 3 IO */>; |
| 420 | |
| 421 | /* |
| 422 | * This port can be either x4 or x1. When |
| 423 | * configured in x4 by the bootloader, then |
| 424 | * pcie@4,0 is not available. |
| 425 | */ |
| 426 | pcie@1,0 { |
| 427 | device_type = "pci"; |
| 428 | assigned-addresses = <0x82000800 0 0x80000 0 0x2000>; |
| 429 | reg = <0x0800 0 0 0 0>; |
| 430 | #address-cells = <3>; |
| 431 | #size-cells = <2>; |
| 432 | #interrupt-cells = <1>; |
| 433 | ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 |
| 434 | 0x81000000 0 0 0x81000000 0x1 0 1 0>; |
| 435 | interrupt-map-mask = <0 0 0 0>; |
| 436 | interrupt-map = <0 0 0 0 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; |
| 437 | marvell,pcie-port = <0>; |
| 438 | marvell,pcie-lane = <0>; |
| 439 | clocks = <&gateclk 8>; |
| 440 | status = "disabled"; |
| 441 | }; |
| 442 | |
| 443 | /* x1 port */ |
| 444 | pcie@2,0 { |
| 445 | device_type = "pci"; |
| 446 | assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; |
| 447 | reg = <0x1000 0 0 0 0>; |
| 448 | #address-cells = <3>; |
| 449 | #size-cells = <2>; |
| 450 | #interrupt-cells = <1>; |
| 451 | ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0 |
| 452 | 0x81000000 0 0 0x81000000 0x2 0 1 0>; |
| 453 | interrupt-map-mask = <0 0 0 0>; |
| 454 | interrupt-map = <0 0 0 0 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
| 455 | marvell,pcie-port = <1>; |
| 456 | marvell,pcie-lane = <0>; |
| 457 | clocks = <&gateclk 5>; |
| 458 | status = "disabled"; |
| 459 | }; |
| 460 | |
| 461 | /* x1 port */ |
| 462 | pcie@3,0 { |
| 463 | device_type = "pci"; |
| 464 | assigned-addresses = <0x82000800 0 0x44000 0 0x2000>; |
| 465 | reg = <0x1800 0 0 0 0>; |
| 466 | #address-cells = <3>; |
| 467 | #size-cells = <2>; |
| 468 | #interrupt-cells = <1>; |
| 469 | ranges = <0x82000000 0 0 0x82000000 0x3 0 1 0 |
| 470 | 0x81000000 0 0 0x81000000 0x3 0 1 0>; |
| 471 | interrupt-map-mask = <0 0 0 0>; |
| 472 | interrupt-map = <0 0 0 0 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; |
| 473 | marvell,pcie-port = <2>; |
| 474 | marvell,pcie-lane = <0>; |
| 475 | clocks = <&gateclk 6>; |
| 476 | status = "disabled"; |
| 477 | }; |
| 478 | |
| 479 | /* |
| 480 | * x1 port only available when pcie@1,0 is |
| 481 | * configured as a x1 port |
| 482 | */ |
| 483 | pcie@4,0 { |
| 484 | device_type = "pci"; |
| 485 | assigned-addresses = <0x82000800 0 0x48000 0 0x2000>; |
| 486 | reg = <0x2000 0 0 0 0>; |
| 487 | #address-cells = <3>; |
| 488 | #size-cells = <2>; |
| 489 | #interrupt-cells = <1>; |
| 490 | ranges = <0x82000000 0 0 0x82000000 0x4 0 1 0 |
| 491 | 0x81000000 0 0 0x81000000 0x4 0 1 0>; |
| 492 | interrupt-map-mask = <0 0 0 0>; |
| 493 | interrupt-map = <0 0 0 0 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
| 494 | marvell,pcie-port = <3>; |
| 495 | marvell,pcie-lane = <0>; |
| 496 | clocks = <&gateclk 7>; |
| 497 | status = "disabled"; |
| 498 | }; |
| 499 | }; |
| 500 | }; |
| 501 | |
| 502 | clocks { |
| 503 | /* 2 GHz fixed main PLL */ |
| 504 | mainpll: mainpll { |
| 505 | compatible = "fixed-clock"; |
| 506 | #clock-cells = <0>; |
Gregory CLEMENT | ae142bd | 2015-04-27 08:55:18 +0200 | [diff] [blame] | 507 | clock-frequency = <1000000000>; |
Thomas Petazzoni | 538da83 | 2015-03-03 15:41:12 +0100 | [diff] [blame] | 508 | }; |
| 509 | }; |
| 510 | }; |