| .. | .. |
|---|
| 9 | 9 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
|---|
| 10 | 10 | */ |
|---|
| 11 | 11 | |
|---|
| 12 | | -#include "skeleton.dtsi" |
|---|
| 13 | 12 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
|---|
| 14 | 13 | #include <dt-bindings/interrupt-controller/irq.h> |
|---|
| 15 | 14 | |
|---|
| 16 | 15 | #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) |
|---|
| 17 | 16 | |
|---|
| 18 | 17 | / { |
|---|
| 18 | + #address-cells = <1>; |
|---|
| 19 | + #size-cells = <1>; |
|---|
| 20 | + |
|---|
| 19 | 21 | model = "Marvell Armada 38x family SoC"; |
|---|
| 20 | 22 | compatible = "marvell,armada380"; |
|---|
| 21 | 23 | |
|---|
| .. | .. |
|---|
| 101 | 103 | #size-cells = <1>; |
|---|
| 102 | 104 | ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>; |
|---|
| 103 | 105 | |
|---|
| 106 | + sdramc: sdramc@1400 { |
|---|
| 107 | + compatible = "marvell,armada-xp-sdram-controller"; |
|---|
| 108 | + reg = <0x1400 0x500>; |
|---|
| 109 | + }; |
|---|
| 110 | + |
|---|
| 104 | 111 | L2: cache-controller@8000 { |
|---|
| 105 | 112 | compatible = "arm,pl310-cache"; |
|---|
| 106 | 113 | reg = <0x8000 0x1000>; |
|---|
| .. | .. |
|---|
| 146 | 153 | #address-cells = <1>; |
|---|
| 147 | 154 | #size-cells = <0>; |
|---|
| 148 | 155 | interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 149 | | - timeout-ms = <1000>; |
|---|
| 150 | 156 | clocks = <&coreclk 0>; |
|---|
| 151 | 157 | status = "disabled"; |
|---|
| 152 | 158 | }; |
|---|
| .. | .. |
|---|
| 157 | 163 | #address-cells = <1>; |
|---|
| 158 | 164 | #size-cells = <0>; |
|---|
| 159 | 165 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 160 | | - timeout-ms = <1000>; |
|---|
| 161 | 166 | clocks = <&coreclk 0>; |
|---|
| 162 | 167 | status = "disabled"; |
|---|
| 163 | 168 | }; |
|---|
| .. | .. |
|---|
| 335 | 340 | #clock-cells = <1>; |
|---|
| 336 | 341 | }; |
|---|
| 337 | 342 | |
|---|
| 343 | + comphy: phy@18300 { |
|---|
| 344 | + compatible = "marvell,armada-380-comphy"; |
|---|
| 345 | + reg-names = "comphy", "conf"; |
|---|
| 346 | + reg = <0x18300 0x100>, <0x18460 4>; |
|---|
| 347 | + #address-cells = <1>; |
|---|
| 348 | + #size-cells = <0>; |
|---|
| 349 | + |
|---|
| 350 | + comphy0: phy@0 { |
|---|
| 351 | + reg = <0>; |
|---|
| 352 | + #phy-cells = <1>; |
|---|
| 353 | + }; |
|---|
| 354 | + |
|---|
| 355 | + comphy1: phy@1 { |
|---|
| 356 | + reg = <1>; |
|---|
| 357 | + #phy-cells = <1>; |
|---|
| 358 | + }; |
|---|
| 359 | + |
|---|
| 360 | + comphy2: phy@2 { |
|---|
| 361 | + reg = <2>; |
|---|
| 362 | + #phy-cells = <1>; |
|---|
| 363 | + }; |
|---|
| 364 | + |
|---|
| 365 | + comphy3: phy@3 { |
|---|
| 366 | + reg = <3>; |
|---|
| 367 | + #phy-cells = <1>; |
|---|
| 368 | + }; |
|---|
| 369 | + |
|---|
| 370 | + comphy4: phy@4 { |
|---|
| 371 | + reg = <4>; |
|---|
| 372 | + #phy-cells = <1>; |
|---|
| 373 | + }; |
|---|
| 374 | + |
|---|
| 375 | + comphy5: phy@5 { |
|---|
| 376 | + reg = <5>; |
|---|
| 377 | + #phy-cells = <1>; |
|---|
| 378 | + }; |
|---|
| 379 | + }; |
|---|
| 380 | + |
|---|
| 338 | 381 | coreclk: mvebu-sar@18600 { |
|---|
| 339 | 382 | compatible = "marvell,armada-380-core-clock"; |
|---|
| 340 | 383 | reg = <0x18600 0x04>; |
|---|
| .. | .. |
|---|
| 376 | 419 | reg = <0x20300 0x34>, <0x20704 0x4>, <0x18260 0x4>; |
|---|
| 377 | 420 | clocks = <&coreclk 2>, <&refclk>; |
|---|
| 378 | 421 | clock-names = "nbclk", "fixed"; |
|---|
| 422 | + interrupts-extended = <&gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 423 | + <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 379 | 424 | }; |
|---|
| 380 | 425 | |
|---|
| 381 | 426 | cpurst: cpurst@20800 { |
|---|