1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Device Tree Include file for Marvell Armada 38x family of SoCs. 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2014 Marvell 6*724ba675SRob Herring * 7*724ba675SRob Herring * Lior Amsalem <alior@marvell.com> 8*724ba675SRob Herring * Gregory CLEMENT <gregory.clement@free-electrons.com> 9*724ba675SRob Herring * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 10*724ba675SRob Herring */ 11*724ba675SRob Herring 12*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 13*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 14*724ba675SRob Herring 15*724ba675SRob Herring#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) 16*724ba675SRob Herring 17*724ba675SRob Herring/ { 18*724ba675SRob Herring #address-cells = <1>; 19*724ba675SRob Herring #size-cells = <1>; 20*724ba675SRob Herring 21*724ba675SRob Herring model = "Marvell Armada 38x family SoC"; 22*724ba675SRob Herring compatible = "marvell,armada380"; 23*724ba675SRob Herring 24*724ba675SRob Herring aliases { 25*724ba675SRob Herring gpio0 = &gpio0; 26*724ba675SRob Herring gpio1 = &gpio1; 27*724ba675SRob Herring serial0 = &uart0; 28*724ba675SRob Herring serial1 = &uart1; 29*724ba675SRob Herring }; 30*724ba675SRob Herring 31*724ba675SRob Herring pmu { 32*724ba675SRob Herring compatible = "arm,cortex-a9-pmu"; 33*724ba675SRob Herring interrupts-extended = <&mpic 3>; 34*724ba675SRob Herring }; 35*724ba675SRob Herring 36*724ba675SRob Herring soc { 37*724ba675SRob Herring compatible = "marvell,armada380-mbus", "simple-bus"; 38*724ba675SRob Herring #address-cells = <2>; 39*724ba675SRob Herring #size-cells = <1>; 40*724ba675SRob Herring controller = <&mbusc>; 41*724ba675SRob Herring interrupt-parent = <&gic>; 42*724ba675SRob Herring pcie-mem-aperture = <0xe0000000 0x8000000>; 43*724ba675SRob Herring pcie-io-aperture = <0xe8000000 0x100000>; 44*724ba675SRob Herring 45*724ba675SRob Herring bootrom { 46*724ba675SRob Herring compatible = "marvell,bootrom"; 47*724ba675SRob Herring reg = <MBUS_ID(0x01, 0x1d) 0 0x200000>; 48*724ba675SRob Herring }; 49*724ba675SRob Herring 50*724ba675SRob Herring devbus_bootcs: devbus-bootcs { 51*724ba675SRob Herring compatible = "marvell,mvebu-devbus"; 52*724ba675SRob Herring reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>; 53*724ba675SRob Herring ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>; 54*724ba675SRob Herring #address-cells = <1>; 55*724ba675SRob Herring #size-cells = <1>; 56*724ba675SRob Herring clocks = <&coreclk 0>; 57*724ba675SRob Herring status = "disabled"; 58*724ba675SRob Herring }; 59*724ba675SRob Herring 60*724ba675SRob Herring devbus_cs0: devbus-cs0 { 61*724ba675SRob Herring compatible = "marvell,mvebu-devbus"; 62*724ba675SRob Herring reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>; 63*724ba675SRob Herring ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>; 64*724ba675SRob Herring #address-cells = <1>; 65*724ba675SRob Herring #size-cells = <1>; 66*724ba675SRob Herring clocks = <&coreclk 0>; 67*724ba675SRob Herring status = "disabled"; 68*724ba675SRob Herring }; 69*724ba675SRob Herring 70*724ba675SRob Herring devbus_cs1: devbus-cs1 { 71*724ba675SRob Herring compatible = "marvell,mvebu-devbus"; 72*724ba675SRob Herring reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>; 73*724ba675SRob Herring ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>; 74*724ba675SRob Herring #address-cells = <1>; 75*724ba675SRob Herring #size-cells = <1>; 76*724ba675SRob Herring clocks = <&coreclk 0>; 77*724ba675SRob Herring status = "disabled"; 78*724ba675SRob Herring }; 79*724ba675SRob Herring 80*724ba675SRob Herring devbus_cs2: devbus-cs2 { 81*724ba675SRob Herring compatible = "marvell,mvebu-devbus"; 82*724ba675SRob Herring reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>; 83*724ba675SRob Herring ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>; 84*724ba675SRob Herring #address-cells = <1>; 85*724ba675SRob Herring #size-cells = <1>; 86*724ba675SRob Herring clocks = <&coreclk 0>; 87*724ba675SRob Herring status = "disabled"; 88*724ba675SRob Herring }; 89*724ba675SRob Herring 90*724ba675SRob Herring devbus_cs3: devbus-cs3 { 91*724ba675SRob Herring compatible = "marvell,mvebu-devbus"; 92*724ba675SRob Herring reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>; 93*724ba675SRob Herring ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>; 94*724ba675SRob Herring #address-cells = <1>; 95*724ba675SRob Herring #size-cells = <1>; 96*724ba675SRob Herring clocks = <&coreclk 0>; 97*724ba675SRob Herring status = "disabled"; 98*724ba675SRob Herring }; 99*724ba675SRob Herring 100*724ba675SRob Herring internal-regs { 101*724ba675SRob Herring compatible = "simple-bus"; 102*724ba675SRob Herring #address-cells = <1>; 103*724ba675SRob Herring #size-cells = <1>; 104*724ba675SRob Herring ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>; 105*724ba675SRob Herring 106*724ba675SRob Herring sdramc: sdramc@1400 { 107*724ba675SRob Herring compatible = "marvell,armada-xp-sdram-controller"; 108*724ba675SRob Herring reg = <0x1400 0x500>; 109*724ba675SRob Herring }; 110*724ba675SRob Herring 111*724ba675SRob Herring L2: cache-controller@8000 { 112*724ba675SRob Herring compatible = "arm,pl310-cache"; 113*724ba675SRob Herring reg = <0x8000 0x1000>; 114*724ba675SRob Herring cache-unified; 115*724ba675SRob Herring cache-level = <2>; 116*724ba675SRob Herring arm,double-linefill-incr = <0>; 117*724ba675SRob Herring arm,double-linefill-wrap = <0>; 118*724ba675SRob Herring arm,double-linefill = <0>; 119*724ba675SRob Herring prefetch-data = <1>; 120*724ba675SRob Herring }; 121*724ba675SRob Herring 122*724ba675SRob Herring scu@c000 { 123*724ba675SRob Herring compatible = "arm,cortex-a9-scu"; 124*724ba675SRob Herring reg = <0xc000 0x58>; 125*724ba675SRob Herring }; 126*724ba675SRob Herring 127*724ba675SRob Herring timer@c200 { 128*724ba675SRob Herring compatible = "arm,cortex-a9-global-timer"; 129*724ba675SRob Herring reg = <0xc200 0x20>; 130*724ba675SRob Herring interrupts = <GIC_PPI 11 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>; 131*724ba675SRob Herring clocks = <&coreclk 2>; 132*724ba675SRob Herring }; 133*724ba675SRob Herring 134*724ba675SRob Herring timer@c600 { 135*724ba675SRob Herring compatible = "arm,cortex-a9-twd-timer"; 136*724ba675SRob Herring reg = <0xc600 0x20>; 137*724ba675SRob Herring interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>; 138*724ba675SRob Herring clocks = <&coreclk 2>; 139*724ba675SRob Herring }; 140*724ba675SRob Herring 141*724ba675SRob Herring gic: interrupt-controller@d000 { 142*724ba675SRob Herring compatible = "arm,cortex-a9-gic"; 143*724ba675SRob Herring #interrupt-cells = <3>; 144*724ba675SRob Herring #size-cells = <0>; 145*724ba675SRob Herring interrupt-controller; 146*724ba675SRob Herring reg = <0xd000 0x1000>, 147*724ba675SRob Herring <0xc100 0x100>; 148*724ba675SRob Herring }; 149*724ba675SRob Herring 150*724ba675SRob Herring i2c0: i2c@11000 { 151*724ba675SRob Herring compatible = "marvell,mv78230-a0-i2c", "marvell,mv64xxx-i2c"; 152*724ba675SRob Herring reg = <0x11000 0x20>; 153*724ba675SRob Herring #address-cells = <1>; 154*724ba675SRob Herring #size-cells = <0>; 155*724ba675SRob Herring interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 156*724ba675SRob Herring clocks = <&coreclk 0>; 157*724ba675SRob Herring status = "disabled"; 158*724ba675SRob Herring }; 159*724ba675SRob Herring 160*724ba675SRob Herring i2c1: i2c@11100 { 161*724ba675SRob Herring compatible = "marvell,mv78230-a0-i2c", "marvell,mv64xxx-i2c"; 162*724ba675SRob Herring reg = <0x11100 0x20>; 163*724ba675SRob Herring #address-cells = <1>; 164*724ba675SRob Herring #size-cells = <0>; 165*724ba675SRob Herring interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 166*724ba675SRob Herring clocks = <&coreclk 0>; 167*724ba675SRob Herring status = "disabled"; 168*724ba675SRob Herring }; 169*724ba675SRob Herring 170*724ba675SRob Herring uart0: serial@12000 { 171*724ba675SRob Herring compatible = "marvell,armada-38x-uart", "ns16550a"; 172*724ba675SRob Herring reg = <0x12000 0x100>; 173*724ba675SRob Herring reg-shift = <2>; 174*724ba675SRob Herring interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 175*724ba675SRob Herring reg-io-width = <1>; 176*724ba675SRob Herring clocks = <&coreclk 0>; 177*724ba675SRob Herring status = "disabled"; 178*724ba675SRob Herring }; 179*724ba675SRob Herring 180*724ba675SRob Herring uart1: serial@12100 { 181*724ba675SRob Herring compatible = "marvell,armada-38x-uart", "ns16550a"; 182*724ba675SRob Herring reg = <0x12100 0x100>; 183*724ba675SRob Herring reg-shift = <2>; 184*724ba675SRob Herring interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 185*724ba675SRob Herring reg-io-width = <1>; 186*724ba675SRob Herring clocks = <&coreclk 0>; 187*724ba675SRob Herring status = "disabled"; 188*724ba675SRob Herring }; 189*724ba675SRob Herring 190*724ba675SRob Herring pinctrl: pinctrl@18000 { 191*724ba675SRob Herring reg = <0x18000 0x20>; 192*724ba675SRob Herring 193*724ba675SRob Herring ge0_rgmii_pins: ge-rgmii-pins-0 { 194*724ba675SRob Herring marvell,pins = "mpp6", "mpp7", "mpp8", 195*724ba675SRob Herring "mpp9", "mpp10", "mpp11", 196*724ba675SRob Herring "mpp12", "mpp13", "mpp14", 197*724ba675SRob Herring "mpp15", "mpp16", "mpp17"; 198*724ba675SRob Herring marvell,function = "ge0"; 199*724ba675SRob Herring }; 200*724ba675SRob Herring 201*724ba675SRob Herring ge1_rgmii_pins: ge-rgmii-pins-1 { 202*724ba675SRob Herring marvell,pins = "mpp21", "mpp27", "mpp28", 203*724ba675SRob Herring "mpp29", "mpp30", "mpp31", 204*724ba675SRob Herring "mpp32", "mpp37", "mpp38", 205*724ba675SRob Herring "mpp39", "mpp40", "mpp41"; 206*724ba675SRob Herring marvell,function = "ge1"; 207*724ba675SRob Herring }; 208*724ba675SRob Herring 209*724ba675SRob Herring i2c0_pins: i2c-pins-0 { 210*724ba675SRob Herring marvell,pins = "mpp2", "mpp3"; 211*724ba675SRob Herring marvell,function = "i2c0"; 212*724ba675SRob Herring }; 213*724ba675SRob Herring 214*724ba675SRob Herring mdio_pins: mdio-pins { 215*724ba675SRob Herring marvell,pins = "mpp4", "mpp5"; 216*724ba675SRob Herring marvell,function = "ge"; 217*724ba675SRob Herring }; 218*724ba675SRob Herring 219*724ba675SRob Herring ref_clk0_pins: ref-clk-pins-0 { 220*724ba675SRob Herring marvell,pins = "mpp45"; 221*724ba675SRob Herring marvell,function = "ref"; 222*724ba675SRob Herring }; 223*724ba675SRob Herring 224*724ba675SRob Herring ref_clk1_pins: ref-clk-pins-1 { 225*724ba675SRob Herring marvell,pins = "mpp46"; 226*724ba675SRob Herring marvell,function = "ref"; 227*724ba675SRob Herring }; 228*724ba675SRob Herring 229*724ba675SRob Herring spi0_pins: spi-pins-0 { 230*724ba675SRob Herring marvell,pins = "mpp22", "mpp23", "mpp24", 231*724ba675SRob Herring "mpp25"; 232*724ba675SRob Herring marvell,function = "spi0"; 233*724ba675SRob Herring }; 234*724ba675SRob Herring 235*724ba675SRob Herring spi1_pins: spi-pins-1 { 236*724ba675SRob Herring marvell,pins = "mpp56", "mpp57", "mpp58", 237*724ba675SRob Herring "mpp59"; 238*724ba675SRob Herring marvell,function = "spi1"; 239*724ba675SRob Herring }; 240*724ba675SRob Herring 241*724ba675SRob Herring nand_pins: nand-pins { 242*724ba675SRob Herring marvell,pins = "mpp22", "mpp34", "mpp23", 243*724ba675SRob Herring "mpp33", "mpp38", "mpp28", 244*724ba675SRob Herring "mpp40", "mpp42", "mpp35", 245*724ba675SRob Herring "mpp36", "mpp25", "mpp30", 246*724ba675SRob Herring "mpp32"; 247*724ba675SRob Herring marvell,function = "dev"; 248*724ba675SRob Herring }; 249*724ba675SRob Herring 250*724ba675SRob Herring nand_rb: nand-rb { 251*724ba675SRob Herring marvell,pins = "mpp41"; 252*724ba675SRob Herring marvell,function = "nand"; 253*724ba675SRob Herring }; 254*724ba675SRob Herring 255*724ba675SRob Herring uart0_pins: uart-pins-0 { 256*724ba675SRob Herring marvell,pins = "mpp0", "mpp1"; 257*724ba675SRob Herring marvell,function = "ua0"; 258*724ba675SRob Herring }; 259*724ba675SRob Herring 260*724ba675SRob Herring uart1_pins: uart-pins-1 { 261*724ba675SRob Herring marvell,pins = "mpp19", "mpp20"; 262*724ba675SRob Herring marvell,function = "ua1"; 263*724ba675SRob Herring }; 264*724ba675SRob Herring 265*724ba675SRob Herring sdhci_pins: sdhci-pins { 266*724ba675SRob Herring marvell,pins = "mpp48", "mpp49", "mpp50", 267*724ba675SRob Herring "mpp52", "mpp53", "mpp54", 268*724ba675SRob Herring "mpp55", "mpp57", "mpp58", 269*724ba675SRob Herring "mpp59"; 270*724ba675SRob Herring marvell,function = "sd0"; 271*724ba675SRob Herring }; 272*724ba675SRob Herring 273*724ba675SRob Herring sata0_pins: sata-pins-0 { 274*724ba675SRob Herring marvell,pins = "mpp20"; 275*724ba675SRob Herring marvell,function = "sata0"; 276*724ba675SRob Herring }; 277*724ba675SRob Herring 278*724ba675SRob Herring sata1_pins: sata-pins-1 { 279*724ba675SRob Herring marvell,pins = "mpp19"; 280*724ba675SRob Herring marvell,function = "sata1"; 281*724ba675SRob Herring }; 282*724ba675SRob Herring 283*724ba675SRob Herring sata2_pins: sata-pins-2 { 284*724ba675SRob Herring marvell,pins = "mpp47"; 285*724ba675SRob Herring marvell,function = "sata2"; 286*724ba675SRob Herring }; 287*724ba675SRob Herring 288*724ba675SRob Herring sata3_pins: sata-pins-3 { 289*724ba675SRob Herring marvell,pins = "mpp44"; 290*724ba675SRob Herring marvell,function = "sata3"; 291*724ba675SRob Herring }; 292*724ba675SRob Herring 293*724ba675SRob Herring i2s_pins: i2s-pins { 294*724ba675SRob Herring marvell,pins = "mpp48", "mpp49", 295*724ba675SRob Herring "mpp50", "mpp51", 296*724ba675SRob Herring "mpp52", "mpp53"; 297*724ba675SRob Herring marvell,function = "audio"; 298*724ba675SRob Herring }; 299*724ba675SRob Herring 300*724ba675SRob Herring spdif_pins: spdif-pins { 301*724ba675SRob Herring marvell,pins = "mpp51"; 302*724ba675SRob Herring marvell,function = "audio"; 303*724ba675SRob Herring }; 304*724ba675SRob Herring }; 305*724ba675SRob Herring 306*724ba675SRob Herring gpio0: gpio@18100 { 307*724ba675SRob Herring compatible = "marvell,armada-370-gpio", 308*724ba675SRob Herring "marvell,orion-gpio"; 309*724ba675SRob Herring reg = <0x18100 0x40>, <0x181c0 0x08>; 310*724ba675SRob Herring reg-names = "gpio", "pwm"; 311*724ba675SRob Herring ngpios = <32>; 312*724ba675SRob Herring gpio-controller; 313*724ba675SRob Herring gpio-ranges = <&pinctrl 0 0 32>; 314*724ba675SRob Herring #gpio-cells = <2>; 315*724ba675SRob Herring #pwm-cells = <2>; 316*724ba675SRob Herring interrupt-controller; 317*724ba675SRob Herring #interrupt-cells = <2>; 318*724ba675SRob Herring interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, 319*724ba675SRob Herring <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 320*724ba675SRob Herring <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, 321*724ba675SRob Herring <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; 322*724ba675SRob Herring clocks = <&coreclk 0>; 323*724ba675SRob Herring }; 324*724ba675SRob Herring 325*724ba675SRob Herring gpio1: gpio@18140 { 326*724ba675SRob Herring compatible = "marvell,armada-370-gpio", 327*724ba675SRob Herring "marvell,orion-gpio"; 328*724ba675SRob Herring reg = <0x18140 0x40>, <0x181c8 0x08>; 329*724ba675SRob Herring reg-names = "gpio", "pwm"; 330*724ba675SRob Herring ngpios = <28>; 331*724ba675SRob Herring gpio-controller; 332*724ba675SRob Herring gpio-ranges = <&pinctrl 0 32 28>; 333*724ba675SRob Herring #gpio-cells = <2>; 334*724ba675SRob Herring #pwm-cells = <2>; 335*724ba675SRob Herring interrupt-controller; 336*724ba675SRob Herring #interrupt-cells = <2>; 337*724ba675SRob Herring interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, 338*724ba675SRob Herring <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, 339*724ba675SRob Herring <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 340*724ba675SRob Herring <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 341*724ba675SRob Herring clocks = <&coreclk 0>; 342*724ba675SRob Herring }; 343*724ba675SRob Herring 344*724ba675SRob Herring systemc: system-controller@18200 { 345*724ba675SRob Herring compatible = "marvell,armada-380-system-controller", 346*724ba675SRob Herring "marvell,armada-370-xp-system-controller"; 347*724ba675SRob Herring reg = <0x18200 0x100>; 348*724ba675SRob Herring }; 349*724ba675SRob Herring 350*724ba675SRob Herring gateclk: clock-gating-control@18220 { 351*724ba675SRob Herring compatible = "marvell,armada-380-gating-clock"; 352*724ba675SRob Herring reg = <0x18220 0x4>; 353*724ba675SRob Herring clocks = <&coreclk 0>; 354*724ba675SRob Herring #clock-cells = <1>; 355*724ba675SRob Herring }; 356*724ba675SRob Herring 357*724ba675SRob Herring comphy: phy@18300 { 358*724ba675SRob Herring compatible = "marvell,armada-380-comphy"; 359*724ba675SRob Herring reg-names = "comphy", "conf"; 360*724ba675SRob Herring reg = <0x18300 0x100>, <0x18460 4>; 361*724ba675SRob Herring #address-cells = <1>; 362*724ba675SRob Herring #size-cells = <0>; 363*724ba675SRob Herring 364*724ba675SRob Herring comphy0: phy@0 { 365*724ba675SRob Herring reg = <0>; 366*724ba675SRob Herring #phy-cells = <1>; 367*724ba675SRob Herring }; 368*724ba675SRob Herring 369*724ba675SRob Herring comphy1: phy@1 { 370*724ba675SRob Herring reg = <1>; 371*724ba675SRob Herring #phy-cells = <1>; 372*724ba675SRob Herring }; 373*724ba675SRob Herring 374*724ba675SRob Herring comphy2: phy@2 { 375*724ba675SRob Herring reg = <2>; 376*724ba675SRob Herring #phy-cells = <1>; 377*724ba675SRob Herring }; 378*724ba675SRob Herring 379*724ba675SRob Herring comphy3: phy@3 { 380*724ba675SRob Herring reg = <3>; 381*724ba675SRob Herring #phy-cells = <1>; 382*724ba675SRob Herring }; 383*724ba675SRob Herring 384*724ba675SRob Herring comphy4: phy@4 { 385*724ba675SRob Herring reg = <4>; 386*724ba675SRob Herring #phy-cells = <1>; 387*724ba675SRob Herring }; 388*724ba675SRob Herring 389*724ba675SRob Herring comphy5: phy@5 { 390*724ba675SRob Herring reg = <5>; 391*724ba675SRob Herring #phy-cells = <1>; 392*724ba675SRob Herring }; 393*724ba675SRob Herring }; 394*724ba675SRob Herring 395*724ba675SRob Herring coreclk: mvebu-sar@18600 { 396*724ba675SRob Herring compatible = "marvell,armada-380-core-clock"; 397*724ba675SRob Herring reg = <0x18600 0x04>; 398*724ba675SRob Herring #clock-cells = <1>; 399*724ba675SRob Herring }; 400*724ba675SRob Herring 401*724ba675SRob Herring mbusc: mbus-controller@20000 { 402*724ba675SRob Herring compatible = "marvell,mbus-controller"; 403*724ba675SRob Herring reg = <0x20000 0x100>, <0x20180 0x20>, 404*724ba675SRob Herring <0x20250 0x8>; 405*724ba675SRob Herring }; 406*724ba675SRob Herring 407*724ba675SRob Herring mpic: interrupt-controller@20a00 { 408*724ba675SRob Herring compatible = "marvell,mpic"; 409*724ba675SRob Herring reg = <0x20a00 0x2d0>, <0x21070 0x58>; 410*724ba675SRob Herring #interrupt-cells = <1>; 411*724ba675SRob Herring interrupt-controller; 412*724ba675SRob Herring msi-controller; 413*724ba675SRob Herring interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>; 414*724ba675SRob Herring }; 415*724ba675SRob Herring 416*724ba675SRob Herring timer: timer@20300 { 417*724ba675SRob Herring compatible = "marvell,armada-380-timer", 418*724ba675SRob Herring "marvell,armada-xp-timer"; 419*724ba675SRob Herring reg = <0x20300 0x30>, <0x21040 0x30>; 420*724ba675SRob Herring interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 421*724ba675SRob Herring <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 422*724ba675SRob Herring <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, 423*724ba675SRob Herring <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, 424*724ba675SRob Herring <&mpic 5>, 425*724ba675SRob Herring <&mpic 6>; 426*724ba675SRob Herring clocks = <&coreclk 2>, <&refclk>; 427*724ba675SRob Herring clock-names = "nbclk", "fixed"; 428*724ba675SRob Herring }; 429*724ba675SRob Herring 430*724ba675SRob Herring watchdog: watchdog@20300 { 431*724ba675SRob Herring compatible = "marvell,armada-380-wdt"; 432*724ba675SRob Herring reg = <0x20300 0x34>, <0x20704 0x4>, <0x18260 0x4>; 433*724ba675SRob Herring clocks = <&coreclk 2>, <&refclk>; 434*724ba675SRob Herring clock-names = "nbclk", "fixed"; 435*724ba675SRob Herring interrupts-extended = <&gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 436*724ba675SRob Herring <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 437*724ba675SRob Herring }; 438*724ba675SRob Herring 439*724ba675SRob Herring cpurst: cpurst@20800 { 440*724ba675SRob Herring compatible = "marvell,armada-370-cpu-reset"; 441*724ba675SRob Herring reg = <0x20800 0x10>; 442*724ba675SRob Herring }; 443*724ba675SRob Herring 444*724ba675SRob Herring mpcore-soc-ctrl@20d20 { 445*724ba675SRob Herring compatible = "marvell,armada-380-mpcore-soc-ctrl"; 446*724ba675SRob Herring reg = <0x20d20 0x6c>; 447*724ba675SRob Herring }; 448*724ba675SRob Herring 449*724ba675SRob Herring coherencyfab: coherency-fabric@21010 { 450*724ba675SRob Herring compatible = "marvell,armada-380-coherency-fabric"; 451*724ba675SRob Herring reg = <0x21010 0x1c>; 452*724ba675SRob Herring }; 453*724ba675SRob Herring 454*724ba675SRob Herring pmsu: pmsu@22000 { 455*724ba675SRob Herring compatible = "marvell,armada-380-pmsu"; 456*724ba675SRob Herring reg = <0x22000 0x1000>; 457*724ba675SRob Herring }; 458*724ba675SRob Herring 459*724ba675SRob Herring /* 460*724ba675SRob Herring * As a special exception to the "order by 461*724ba675SRob Herring * register address" rule, the eth0 node is 462*724ba675SRob Herring * placed here to ensure that it gets 463*724ba675SRob Herring * registered as the first interface, since 464*724ba675SRob Herring * the network subsystem doesn't allow naming 465*724ba675SRob Herring * interfaces using DT aliases. Without this, 466*724ba675SRob Herring * the ordering of interfaces is different 467*724ba675SRob Herring * from the one used in U-Boot and the 468*724ba675SRob Herring * labeling of interfaces on the boards, which 469*724ba675SRob Herring * is very confusing for users. 470*724ba675SRob Herring */ 471*724ba675SRob Herring eth0: ethernet@70000 { 472*724ba675SRob Herring compatible = "marvell,armada-370-neta"; 473*724ba675SRob Herring reg = <0x70000 0x4000>; 474*724ba675SRob Herring interrupts-extended = <&mpic 8>; 475*724ba675SRob Herring clocks = <&gateclk 4>; 476*724ba675SRob Herring tx-csum-limit = <9800>; 477*724ba675SRob Herring status = "disabled"; 478*724ba675SRob Herring }; 479*724ba675SRob Herring 480*724ba675SRob Herring eth1: ethernet@30000 { 481*724ba675SRob Herring compatible = "marvell,armada-370-neta"; 482*724ba675SRob Herring reg = <0x30000 0x4000>; 483*724ba675SRob Herring interrupts-extended = <&mpic 10>; 484*724ba675SRob Herring clocks = <&gateclk 3>; 485*724ba675SRob Herring status = "disabled"; 486*724ba675SRob Herring }; 487*724ba675SRob Herring 488*724ba675SRob Herring eth2: ethernet@34000 { 489*724ba675SRob Herring compatible = "marvell,armada-370-neta"; 490*724ba675SRob Herring reg = <0x34000 0x4000>; 491*724ba675SRob Herring interrupts-extended = <&mpic 12>; 492*724ba675SRob Herring clocks = <&gateclk 2>; 493*724ba675SRob Herring status = "disabled"; 494*724ba675SRob Herring }; 495*724ba675SRob Herring 496*724ba675SRob Herring usb0: usb@58000 { 497*724ba675SRob Herring compatible = "marvell,orion-ehci"; 498*724ba675SRob Herring reg = <0x58000 0x500>; 499*724ba675SRob Herring interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 500*724ba675SRob Herring clocks = <&gateclk 18>; 501*724ba675SRob Herring status = "disabled"; 502*724ba675SRob Herring }; 503*724ba675SRob Herring 504*724ba675SRob Herring xor0: xor@60800 { 505*724ba675SRob Herring compatible = "marvell,armada-380-xor", "marvell,orion-xor"; 506*724ba675SRob Herring reg = <0x60800 0x100 507*724ba675SRob Herring 0x60a00 0x100>; 508*724ba675SRob Herring clocks = <&gateclk 22>; 509*724ba675SRob Herring status = "okay"; 510*724ba675SRob Herring 511*724ba675SRob Herring xor00 { 512*724ba675SRob Herring interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 513*724ba675SRob Herring dmacap,memcpy; 514*724ba675SRob Herring dmacap,xor; 515*724ba675SRob Herring }; 516*724ba675SRob Herring xor01 { 517*724ba675SRob Herring interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 518*724ba675SRob Herring dmacap,memcpy; 519*724ba675SRob Herring dmacap,xor; 520*724ba675SRob Herring dmacap,memset; 521*724ba675SRob Herring }; 522*724ba675SRob Herring }; 523*724ba675SRob Herring 524*724ba675SRob Herring xor1: xor@60900 { 525*724ba675SRob Herring compatible = "marvell,armada-380-xor", "marvell,orion-xor"; 526*724ba675SRob Herring reg = <0x60900 0x100 527*724ba675SRob Herring 0x60b00 0x100>; 528*724ba675SRob Herring clocks = <&gateclk 28>; 529*724ba675SRob Herring status = "okay"; 530*724ba675SRob Herring 531*724ba675SRob Herring xor10 { 532*724ba675SRob Herring interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 533*724ba675SRob Herring dmacap,memcpy; 534*724ba675SRob Herring dmacap,xor; 535*724ba675SRob Herring }; 536*724ba675SRob Herring xor11 { 537*724ba675SRob Herring interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; 538*724ba675SRob Herring dmacap,memcpy; 539*724ba675SRob Herring dmacap,xor; 540*724ba675SRob Herring dmacap,memset; 541*724ba675SRob Herring }; 542*724ba675SRob Herring }; 543*724ba675SRob Herring 544*724ba675SRob Herring mdio: mdio@72004 { 545*724ba675SRob Herring #address-cells = <1>; 546*724ba675SRob Herring #size-cells = <0>; 547*724ba675SRob Herring compatible = "marvell,orion-mdio"; 548*724ba675SRob Herring reg = <0x72004 0x4>; 549*724ba675SRob Herring clocks = <&gateclk 4>; 550*724ba675SRob Herring }; 551*724ba675SRob Herring 552*724ba675SRob Herring cesa: crypto@90000 { 553*724ba675SRob Herring compatible = "marvell,armada-38x-crypto"; 554*724ba675SRob Herring reg = <0x90000 0x10000>; 555*724ba675SRob Herring reg-names = "regs"; 556*724ba675SRob Herring interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 557*724ba675SRob Herring <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 558*724ba675SRob Herring clocks = <&gateclk 23>, <&gateclk 21>, 559*724ba675SRob Herring <&gateclk 14>, <&gateclk 16>; 560*724ba675SRob Herring clock-names = "cesa0", "cesa1", 561*724ba675SRob Herring "cesaz0", "cesaz1"; 562*724ba675SRob Herring marvell,crypto-srams = <&crypto_sram0>, 563*724ba675SRob Herring <&crypto_sram1>; 564*724ba675SRob Herring marvell,crypto-sram-size = <0x800>; 565*724ba675SRob Herring }; 566*724ba675SRob Herring 567*724ba675SRob Herring rtc: rtc@a3800 { 568*724ba675SRob Herring compatible = "marvell,armada-380-rtc"; 569*724ba675SRob Herring reg = <0xa3800 0x20>, <0x184a0 0x0c>; 570*724ba675SRob Herring reg-names = "rtc", "rtc-soc"; 571*724ba675SRob Herring interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 572*724ba675SRob Herring }; 573*724ba675SRob Herring 574*724ba675SRob Herring ahci0: sata@a8000 { 575*724ba675SRob Herring compatible = "marvell,armada-380-ahci"; 576*724ba675SRob Herring reg = <0xa8000 0x2000>; 577*724ba675SRob Herring interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 578*724ba675SRob Herring clocks = <&gateclk 15>; 579*724ba675SRob Herring status = "disabled"; 580*724ba675SRob Herring }; 581*724ba675SRob Herring 582*724ba675SRob Herring bm: bm@c8000 { 583*724ba675SRob Herring compatible = "marvell,armada-380-neta-bm"; 584*724ba675SRob Herring reg = <0xc8000 0xac>; 585*724ba675SRob Herring clocks = <&gateclk 13>; 586*724ba675SRob Herring internal-mem = <&bm_bppi>; 587*724ba675SRob Herring status = "disabled"; 588*724ba675SRob Herring }; 589*724ba675SRob Herring 590*724ba675SRob Herring ahci1: sata@e0000 { 591*724ba675SRob Herring compatible = "marvell,armada-380-ahci"; 592*724ba675SRob Herring reg = <0xe0000 0x2000>; 593*724ba675SRob Herring interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 594*724ba675SRob Herring clocks = <&gateclk 30>; 595*724ba675SRob Herring status = "disabled"; 596*724ba675SRob Herring }; 597*724ba675SRob Herring 598*724ba675SRob Herring coredivclk: clock@e4250 { 599*724ba675SRob Herring compatible = "marvell,armada-380-corediv-clock"; 600*724ba675SRob Herring reg = <0xe4250 0xc>; 601*724ba675SRob Herring #clock-cells = <1>; 602*724ba675SRob Herring clocks = <&mainpll>; 603*724ba675SRob Herring clock-output-names = "nand"; 604*724ba675SRob Herring }; 605*724ba675SRob Herring 606*724ba675SRob Herring thermal: thermal@e8078 { 607*724ba675SRob Herring compatible = "marvell,armada380-thermal"; 608*724ba675SRob Herring reg = <0xe4078 0x4>, <0xe4070 0x8>; 609*724ba675SRob Herring status = "okay"; 610*724ba675SRob Herring }; 611*724ba675SRob Herring 612*724ba675SRob Herring nand_controller: nand-controller@d0000 { 613*724ba675SRob Herring compatible = "marvell,armada370-nand-controller"; 614*724ba675SRob Herring reg = <0xd0000 0x54>; 615*724ba675SRob Herring #address-cells = <1>; 616*724ba675SRob Herring #size-cells = <0>; 617*724ba675SRob Herring interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 618*724ba675SRob Herring clocks = <&coredivclk 0>; 619*724ba675SRob Herring status = "disabled"; 620*724ba675SRob Herring }; 621*724ba675SRob Herring 622*724ba675SRob Herring sdhci: sdhci@d8000 { 623*724ba675SRob Herring compatible = "marvell,armada-380-sdhci"; 624*724ba675SRob Herring reg-names = "sdhci", "mbus", "conf-sdio3"; 625*724ba675SRob Herring reg = <0xd8000 0x1000>, 626*724ba675SRob Herring <0xdc000 0x100>, 627*724ba675SRob Herring <0x18454 0x4>; 628*724ba675SRob Herring interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 629*724ba675SRob Herring clocks = <&gateclk 17>; 630*724ba675SRob Herring mrvl,clk-delay-cycles = <0x1F>; 631*724ba675SRob Herring status = "disabled"; 632*724ba675SRob Herring }; 633*724ba675SRob Herring 634*724ba675SRob Herring audio_controller: audio-controller@e8000 { 635*724ba675SRob Herring #sound-dai-cells = <1>; 636*724ba675SRob Herring compatible = "marvell,armada-380-audio"; 637*724ba675SRob Herring reg = <0xe8000 0x4000>, <0x18410 0xc>, 638*724ba675SRob Herring <0x18204 0x4>; 639*724ba675SRob Herring reg-names = "i2s_regs", "pll_regs", "soc_ctrl"; 640*724ba675SRob Herring interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; 641*724ba675SRob Herring clocks = <&gateclk 0>; 642*724ba675SRob Herring clock-names = "internal"; 643*724ba675SRob Herring status = "disabled"; 644*724ba675SRob Herring }; 645*724ba675SRob Herring 646*724ba675SRob Herring usb3_0: usb3@f0000 { 647*724ba675SRob Herring compatible = "marvell,armada-380-xhci"; 648*724ba675SRob Herring reg = <0xf0000 0x4000>,<0xf4000 0x4000>; 649*724ba675SRob Herring interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 650*724ba675SRob Herring clocks = <&gateclk 9>; 651*724ba675SRob Herring status = "disabled"; 652*724ba675SRob Herring }; 653*724ba675SRob Herring 654*724ba675SRob Herring usb3_1: usb3@f8000 { 655*724ba675SRob Herring compatible = "marvell,armada-380-xhci"; 656*724ba675SRob Herring reg = <0xf8000 0x4000>,<0xfc000 0x4000>; 657*724ba675SRob Herring interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 658*724ba675SRob Herring clocks = <&gateclk 10>; 659*724ba675SRob Herring status = "disabled"; 660*724ba675SRob Herring }; 661*724ba675SRob Herring }; 662*724ba675SRob Herring 663*724ba675SRob Herring crypto_sram0: sa-sram0 { 664*724ba675SRob Herring compatible = "mmio-sram"; 665*724ba675SRob Herring reg = <MBUS_ID(0x09, 0x19) 0 0x800>; 666*724ba675SRob Herring clocks = <&gateclk 23>; 667*724ba675SRob Herring #address-cells = <1>; 668*724ba675SRob Herring #size-cells = <1>; 669*724ba675SRob Herring ranges = <0 MBUS_ID(0x09, 0x19) 0 0x800>; 670*724ba675SRob Herring }; 671*724ba675SRob Herring 672*724ba675SRob Herring crypto_sram1: sa-sram1 { 673*724ba675SRob Herring compatible = "mmio-sram"; 674*724ba675SRob Herring reg = <MBUS_ID(0x09, 0x15) 0 0x800>; 675*724ba675SRob Herring clocks = <&gateclk 21>; 676*724ba675SRob Herring #address-cells = <1>; 677*724ba675SRob Herring #size-cells = <1>; 678*724ba675SRob Herring ranges = <0 MBUS_ID(0x09, 0x15) 0 0x800>; 679*724ba675SRob Herring }; 680*724ba675SRob Herring 681*724ba675SRob Herring bm_bppi: bm-bppi { 682*724ba675SRob Herring compatible = "mmio-sram"; 683*724ba675SRob Herring reg = <MBUS_ID(0x0c, 0x04) 0 0x100000>; 684*724ba675SRob Herring ranges = <0 MBUS_ID(0x0c, 0x04) 0 0x100000>; 685*724ba675SRob Herring #address-cells = <1>; 686*724ba675SRob Herring #size-cells = <1>; 687*724ba675SRob Herring clocks = <&gateclk 13>; 688*724ba675SRob Herring no-memory-wc; 689*724ba675SRob Herring status = "disabled"; 690*724ba675SRob Herring }; 691*724ba675SRob Herring 692*724ba675SRob Herring spi0: spi@10600 { 693*724ba675SRob Herring compatible = "marvell,armada-380-spi", 694*724ba675SRob Herring "marvell,orion-spi"; 695*724ba675SRob Herring reg = <MBUS_ID(0xf0, 0x01) 0x10600 0x50>; 696*724ba675SRob Herring #address-cells = <1>; 697*724ba675SRob Herring #size-cells = <0>; 698*724ba675SRob Herring cell-index = <0>; 699*724ba675SRob Herring interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 700*724ba675SRob Herring clocks = <&coreclk 0>; 701*724ba675SRob Herring status = "disabled"; 702*724ba675SRob Herring }; 703*724ba675SRob Herring 704*724ba675SRob Herring spi1: spi@10680 { 705*724ba675SRob Herring compatible = "marvell,armada-380-spi", 706*724ba675SRob Herring "marvell,orion-spi"; 707*724ba675SRob Herring reg = <MBUS_ID(0xf0, 0x01) 0x10680 0x50>; 708*724ba675SRob Herring #address-cells = <1>; 709*724ba675SRob Herring #size-cells = <0>; 710*724ba675SRob Herring cell-index = <1>; 711*724ba675SRob Herring interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 712*724ba675SRob Herring clocks = <&coreclk 0>; 713*724ba675SRob Herring status = "disabled"; 714*724ba675SRob Herring }; 715*724ba675SRob Herring }; 716*724ba675SRob Herring 717*724ba675SRob Herring clocks { 718*724ba675SRob Herring /* 1 GHz fixed main PLL */ 719*724ba675SRob Herring mainpll: mainpll { 720*724ba675SRob Herring compatible = "fixed-clock"; 721*724ba675SRob Herring #clock-cells = <0>; 722*724ba675SRob Herring clock-frequency = <1000000000>; 723*724ba675SRob Herring }; 724*724ba675SRob Herring 725*724ba675SRob Herring /* 25 MHz reference crystal */ 726*724ba675SRob Herring refclk: oscillator { 727*724ba675SRob Herring compatible = "fixed-clock"; 728*724ba675SRob Herring #clock-cells = <0>; 729*724ba675SRob Herring clock-frequency = <25000000>; 730*724ba675SRob Herring }; 731*724ba675SRob Herring }; 732*724ba675SRob Herring}; 733