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