1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 3*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 4*724ba675SRob Herring 5*724ba675SRob Herring#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) 6*724ba675SRob Herring 7*724ba675SRob Herring/ { 8*724ba675SRob Herring #address-cells = <1>; 9*724ba675SRob Herring #size-cells = <1>; 10*724ba675SRob Herring compatible = "marvell,dove"; 11*724ba675SRob Herring model = "Marvell Armada 88AP510 SoC"; 12*724ba675SRob Herring interrupt-parent = <&intc>; 13*724ba675SRob Herring 14*724ba675SRob Herring aliases { 15*724ba675SRob Herring gpio0 = &gpio0; 16*724ba675SRob Herring gpio1 = &gpio1; 17*724ba675SRob Herring gpio2 = &gpio2; 18*724ba675SRob Herring }; 19*724ba675SRob Herring 20*724ba675SRob Herring cpus { 21*724ba675SRob Herring #address-cells = <1>; 22*724ba675SRob Herring #size-cells = <0>; 23*724ba675SRob Herring 24*724ba675SRob Herring cpu0: cpu@0 { 25*724ba675SRob Herring compatible = "marvell,pj4a", "marvell,sheeva-v7"; 26*724ba675SRob Herring device_type = "cpu"; 27*724ba675SRob Herring next-level-cache = <&l2>; 28*724ba675SRob Herring reg = <0>; 29*724ba675SRob Herring }; 30*724ba675SRob Herring }; 31*724ba675SRob Herring 32*724ba675SRob Herring l2: l2-cache { 33*724ba675SRob Herring compatible = "marvell,tauros2-cache"; 34*724ba675SRob Herring marvell,tauros2-cache-features = <0>; 35*724ba675SRob Herring }; 36*724ba675SRob Herring 37*724ba675SRob Herring gpu-subsystem { 38*724ba675SRob Herring compatible = "marvell,dove-gpu-subsystem"; 39*724ba675SRob Herring cores = <&gpu>; 40*724ba675SRob Herring status = "disabled"; 41*724ba675SRob Herring }; 42*724ba675SRob Herring 43*724ba675SRob Herring i2c-mux { 44*724ba675SRob Herring compatible = "i2c-mux-pinctrl"; 45*724ba675SRob Herring #address-cells = <1>; 46*724ba675SRob Herring #size-cells = <0>; 47*724ba675SRob Herring 48*724ba675SRob Herring i2c-parent = <&i2c>; 49*724ba675SRob Herring 50*724ba675SRob Herring pinctrl-names = "i2c0", "i2c1", "i2c2"; 51*724ba675SRob Herring pinctrl-0 = <&pmx_i2cmux_0>; 52*724ba675SRob Herring pinctrl-1 = <&pmx_i2cmux_1>; 53*724ba675SRob Herring pinctrl-2 = <&pmx_i2cmux_2>; 54*724ba675SRob Herring 55*724ba675SRob Herring i2c0: i2c@0 { 56*724ba675SRob Herring reg = <0>; 57*724ba675SRob Herring #address-cells = <1>; 58*724ba675SRob Herring #size-cells = <0>; 59*724ba675SRob Herring status = "okay"; 60*724ba675SRob Herring }; 61*724ba675SRob Herring 62*724ba675SRob Herring i2c1: i2c@1 { 63*724ba675SRob Herring reg = <1>; 64*724ba675SRob Herring #address-cells = <1>; 65*724ba675SRob Herring #size-cells = <0>; 66*724ba675SRob Herring /* Requires pmx_i2c1 on i2c controller node */ 67*724ba675SRob Herring status = "disabled"; 68*724ba675SRob Herring }; 69*724ba675SRob Herring 70*724ba675SRob Herring i2c2: i2c@2 { 71*724ba675SRob Herring reg = <2>; 72*724ba675SRob Herring #address-cells = <1>; 73*724ba675SRob Herring #size-cells = <0>; 74*724ba675SRob Herring /* Requires pmx_i2c2 on i2c controller node */ 75*724ba675SRob Herring status = "disabled"; 76*724ba675SRob Herring }; 77*724ba675SRob Herring }; 78*724ba675SRob Herring 79*724ba675SRob Herring mbus { 80*724ba675SRob Herring compatible = "marvell,dove-mbus", "marvell,mbus", "simple-bus"; 81*724ba675SRob Herring #address-cells = <2>; 82*724ba675SRob Herring #size-cells = <1>; 83*724ba675SRob Herring controller = <&mbusc>; 84*724ba675SRob Herring pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256M MEM space */ 85*724ba675SRob Herring pcie-io-aperture = <0xf2000000 0x00200000>; /* 2M I/O space */ 86*724ba675SRob Herring 87*724ba675SRob Herring ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x0100000 /* MBUS regs 1M */ 88*724ba675SRob Herring MBUS_ID(0xf0, 0x02) 0 0xf1800000 0x1000000 /* AXI regs 16M */ 89*724ba675SRob Herring MBUS_ID(0x01, 0xfd) 0 0xf8000000 0x8000000 /* BootROM 128M */ 90*724ba675SRob Herring MBUS_ID(0x03, 0x01) 0 0xc8000000 0x0100000 /* CESA SRAM 1M */ 91*724ba675SRob Herring MBUS_ID(0x0d, 0x00) 0 0xf0000000 0x0100000>; /* PMU SRAM 1M */ 92*724ba675SRob Herring 93*724ba675SRob Herring pcie: pcie { 94*724ba675SRob Herring compatible = "marvell,dove-pcie"; 95*724ba675SRob Herring status = "disabled"; 96*724ba675SRob Herring device_type = "pci"; 97*724ba675SRob Herring #address-cells = <3>; 98*724ba675SRob Herring #size-cells = <2>; 99*724ba675SRob Herring 100*724ba675SRob Herring msi-parent = <&intc>; 101*724ba675SRob Herring bus-range = <0x00 0xff>; 102*724ba675SRob Herring 103*724ba675SRob Herring ranges = <0x82000000 0x0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x2000 104*724ba675SRob Herring 0x82000000 0x0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x2000 105*724ba675SRob Herring 0x82000000 0x1 0x0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 Mem */ 106*724ba675SRob Herring 0x81000000 0x1 0x0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 I/O */ 107*724ba675SRob Herring 0x82000000 0x2 0x0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 Mem */ 108*724ba675SRob Herring 0x81000000 0x2 0x0 MBUS_ID(0x08, 0xe0) 0 1 0>; /* Port 1.0 I/O */ 109*724ba675SRob Herring 110*724ba675SRob Herring pcie0: pcie@1 { 111*724ba675SRob Herring device_type = "pci"; 112*724ba675SRob Herring status = "disabled"; 113*724ba675SRob Herring assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; 114*724ba675SRob Herring reg = <0x0800 0 0 0 0>; 115*724ba675SRob Herring clocks = <&gate_clk 4>; 116*724ba675SRob Herring marvell,pcie-port = <0>; 117*724ba675SRob Herring 118*724ba675SRob Herring #address-cells = <3>; 119*724ba675SRob Herring #size-cells = <2>; 120*724ba675SRob Herring ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 121*724ba675SRob Herring 0x81000000 0 0 0x81000000 0x1 0 1 0>; 122*724ba675SRob Herring bus-range = <0x00 0xff>; 123*724ba675SRob Herring 124*724ba675SRob Herring #interrupt-cells = <1>; 125*724ba675SRob Herring interrupt-names = "intx", "error"; 126*724ba675SRob Herring interrupts = <16>, <15>; 127*724ba675SRob Herring interrupt-map-mask = <0 0 0 7>; 128*724ba675SRob Herring interrupt-map = <0 0 0 1 &pcie0_intc 0>, 129*724ba675SRob Herring <0 0 0 2 &pcie0_intc 1>, 130*724ba675SRob Herring <0 0 0 3 &pcie0_intc 2>, 131*724ba675SRob Herring <0 0 0 4 &pcie0_intc 3>; 132*724ba675SRob Herring 133*724ba675SRob Herring pcie0_intc: interrupt-controller { 134*724ba675SRob Herring interrupt-controller; 135*724ba675SRob Herring #interrupt-cells = <1>; 136*724ba675SRob Herring }; 137*724ba675SRob Herring }; 138*724ba675SRob Herring 139*724ba675SRob Herring pcie1: pcie@2 { 140*724ba675SRob Herring device_type = "pci"; 141*724ba675SRob Herring status = "disabled"; 142*724ba675SRob Herring assigned-addresses = <0x82001000 0 0x80000 0 0x2000>; 143*724ba675SRob Herring reg = <0x1000 0 0 0 0>; 144*724ba675SRob Herring clocks = <&gate_clk 5>; 145*724ba675SRob Herring marvell,pcie-port = <1>; 146*724ba675SRob Herring 147*724ba675SRob Herring #address-cells = <3>; 148*724ba675SRob Herring #size-cells = <2>; 149*724ba675SRob Herring ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0 150*724ba675SRob Herring 0x81000000 0 0 0x81000000 0x2 0 1 0>; 151*724ba675SRob Herring bus-range = <0x00 0xff>; 152*724ba675SRob Herring 153*724ba675SRob Herring #interrupt-cells = <1>; 154*724ba675SRob Herring interrupt-names = "intx", "error"; 155*724ba675SRob Herring interrupts = <18>, <17>; 156*724ba675SRob Herring interrupt-map-mask = <0 0 0 7>; 157*724ba675SRob Herring interrupt-map = <0 0 0 1 &pcie1_intc 0>, 158*724ba675SRob Herring <0 0 0 2 &pcie1_intc 1>, 159*724ba675SRob Herring <0 0 0 3 &pcie1_intc 2>, 160*724ba675SRob Herring <0 0 0 4 &pcie1_intc 3>; 161*724ba675SRob Herring 162*724ba675SRob Herring pcie1_intc: interrupt-controller { 163*724ba675SRob Herring interrupt-controller; 164*724ba675SRob Herring #interrupt-cells = <1>; 165*724ba675SRob Herring }; 166*724ba675SRob Herring }; 167*724ba675SRob Herring }; 168*724ba675SRob Herring 169*724ba675SRob Herring internal-regs { 170*724ba675SRob Herring compatible = "simple-bus"; 171*724ba675SRob Herring #address-cells = <1>; 172*724ba675SRob Herring #size-cells = <1>; 173*724ba675SRob Herring ranges = <0x00000000 MBUS_ID(0xf0, 0x01) 0 0x0100000 /* MBUS regs 1M */ 174*724ba675SRob Herring 0x00800000 MBUS_ID(0xf0, 0x02) 0 0x1000000 /* AXI regs 16M */ 175*724ba675SRob Herring 0xffffe000 MBUS_ID(0x03, 0x01) 0 0x0000800 /* CESA SRAM 2k */ 176*724ba675SRob Herring 0xfffff000 MBUS_ID(0x0d, 0x00) 0 0x0000800>; /* PMU SRAM 2k */ 177*724ba675SRob Herring 178*724ba675SRob Herring spi0: spi@10600 { 179*724ba675SRob Herring compatible = "marvell,orion-spi"; 180*724ba675SRob Herring #address-cells = <1>; 181*724ba675SRob Herring #size-cells = <0>; 182*724ba675SRob Herring cell-index = <0>; 183*724ba675SRob Herring interrupts = <6>; 184*724ba675SRob Herring reg = <0x10600 0x28>; 185*724ba675SRob Herring clocks = <&core_clk 0>; 186*724ba675SRob Herring pinctrl-0 = <&pmx_spi0>; 187*724ba675SRob Herring pinctrl-names = "default"; 188*724ba675SRob Herring status = "disabled"; 189*724ba675SRob Herring }; 190*724ba675SRob Herring 191*724ba675SRob Herring i2c: i2c@11000 { 192*724ba675SRob Herring compatible = "marvell,mv64xxx-i2c"; 193*724ba675SRob Herring reg = <0x11000 0x20>; 194*724ba675SRob Herring #address-cells = <1>; 195*724ba675SRob Herring #size-cells = <0>; 196*724ba675SRob Herring interrupts = <11>; 197*724ba675SRob Herring clock-frequency = <400000>; 198*724ba675SRob Herring clocks = <&core_clk 0>; 199*724ba675SRob Herring status = "okay"; 200*724ba675SRob Herring }; 201*724ba675SRob Herring 202*724ba675SRob Herring uart0: serial@12000 { 203*724ba675SRob Herring compatible = "ns16550a"; 204*724ba675SRob Herring reg = <0x12000 0x100>; 205*724ba675SRob Herring reg-shift = <2>; 206*724ba675SRob Herring interrupts = <7>; 207*724ba675SRob Herring clocks = <&core_clk 0>; 208*724ba675SRob Herring status = "disabled"; 209*724ba675SRob Herring }; 210*724ba675SRob Herring 211*724ba675SRob Herring uart1: serial@12100 { 212*724ba675SRob Herring compatible = "ns16550a"; 213*724ba675SRob Herring reg = <0x12100 0x100>; 214*724ba675SRob Herring reg-shift = <2>; 215*724ba675SRob Herring interrupts = <8>; 216*724ba675SRob Herring clocks = <&core_clk 0>; 217*724ba675SRob Herring pinctrl-0 = <&pmx_uart1>; 218*724ba675SRob Herring pinctrl-names = "default"; 219*724ba675SRob Herring status = "disabled"; 220*724ba675SRob Herring }; 221*724ba675SRob Herring 222*724ba675SRob Herring uart2: serial@12200 { 223*724ba675SRob Herring compatible = "ns16550a"; 224*724ba675SRob Herring reg = <0x12200 0x100>; 225*724ba675SRob Herring reg-shift = <2>; 226*724ba675SRob Herring interrupts = <9>; 227*724ba675SRob Herring clocks = <&core_clk 0>; 228*724ba675SRob Herring status = "disabled"; 229*724ba675SRob Herring }; 230*724ba675SRob Herring 231*724ba675SRob Herring uart3: serial@12300 { 232*724ba675SRob Herring compatible = "ns16550a"; 233*724ba675SRob Herring reg = <0x12300 0x100>; 234*724ba675SRob Herring reg-shift = <2>; 235*724ba675SRob Herring interrupts = <10>; 236*724ba675SRob Herring clocks = <&core_clk 0>; 237*724ba675SRob Herring status = "disabled"; 238*724ba675SRob Herring }; 239*724ba675SRob Herring 240*724ba675SRob Herring spi1: spi@14600 { 241*724ba675SRob Herring compatible = "marvell,orion-spi"; 242*724ba675SRob Herring #address-cells = <1>; 243*724ba675SRob Herring #size-cells = <0>; 244*724ba675SRob Herring cell-index = <1>; 245*724ba675SRob Herring interrupts = <5>; 246*724ba675SRob Herring reg = <0x14600 0x28>; 247*724ba675SRob Herring clocks = <&core_clk 0>; 248*724ba675SRob Herring status = "disabled"; 249*724ba675SRob Herring }; 250*724ba675SRob Herring 251*724ba675SRob Herring mbusc: mbus-ctrl@20000 { 252*724ba675SRob Herring compatible = "marvell,mbus-controller"; 253*724ba675SRob Herring reg = <0x20000 0x80>, <0x800100 0x8>; 254*724ba675SRob Herring }; 255*724ba675SRob Herring 256*724ba675SRob Herring sysc: system-ctrl@20000 { 257*724ba675SRob Herring compatible = "marvell,orion-system-controller"; 258*724ba675SRob Herring reg = <0x20000 0x110>; 259*724ba675SRob Herring }; 260*724ba675SRob Herring 261*724ba675SRob Herring bridge_intc: bridge-interrupt-ctrl@20110 { 262*724ba675SRob Herring compatible = "marvell,orion-bridge-intc"; 263*724ba675SRob Herring interrupt-controller; 264*724ba675SRob Herring #interrupt-cells = <1>; 265*724ba675SRob Herring reg = <0x20110 0x8>; 266*724ba675SRob Herring interrupts = <0>; 267*724ba675SRob Herring marvell,#interrupts = <5>; 268*724ba675SRob Herring }; 269*724ba675SRob Herring 270*724ba675SRob Herring intc: interrupt-controller@20200 { 271*724ba675SRob Herring compatible = "marvell,orion-intc"; 272*724ba675SRob Herring interrupt-controller; 273*724ba675SRob Herring #interrupt-cells = <1>; 274*724ba675SRob Herring reg = <0x20200 0x10>, <0x20210 0x10>; 275*724ba675SRob Herring }; 276*724ba675SRob Herring 277*724ba675SRob Herring timer: timer@20300 { 278*724ba675SRob Herring compatible = "marvell,orion-timer"; 279*724ba675SRob Herring reg = <0x20300 0x20>; 280*724ba675SRob Herring interrupt-parent = <&bridge_intc>; 281*724ba675SRob Herring interrupts = <1>, <2>; 282*724ba675SRob Herring clocks = <&core_clk 0>; 283*724ba675SRob Herring }; 284*724ba675SRob Herring 285*724ba675SRob Herring watchdog@20300 { 286*724ba675SRob Herring compatible = "marvell,orion-wdt"; 287*724ba675SRob Herring reg = <0x20300 0x28>, <0x20108 0x4>; 288*724ba675SRob Herring interrupt-parent = <&bridge_intc>; 289*724ba675SRob Herring interrupts = <3>; 290*724ba675SRob Herring clocks = <&core_clk 0>; 291*724ba675SRob Herring }; 292*724ba675SRob Herring 293*724ba675SRob Herring crypto: crypto-engine@30000 { 294*724ba675SRob Herring compatible = "marvell,dove-crypto"; 295*724ba675SRob Herring reg = <0x30000 0x10000>; 296*724ba675SRob Herring reg-names = "regs"; 297*724ba675SRob Herring interrupts = <31>; 298*724ba675SRob Herring clocks = <&gate_clk 15>; 299*724ba675SRob Herring marvell,crypto-srams = <&crypto_sram>; 300*724ba675SRob Herring marvell,crypto-sram-size = <0x800>; 301*724ba675SRob Herring status = "okay"; 302*724ba675SRob Herring }; 303*724ba675SRob Herring 304*724ba675SRob Herring ehci0: usb-host@50000 { 305*724ba675SRob Herring compatible = "marvell,orion-ehci"; 306*724ba675SRob Herring reg = <0x50000 0x1000>; 307*724ba675SRob Herring interrupts = <24>; 308*724ba675SRob Herring clocks = <&gate_clk 0>; 309*724ba675SRob Herring status = "okay"; 310*724ba675SRob Herring }; 311*724ba675SRob Herring 312*724ba675SRob Herring ehci1: usb-host@51000 { 313*724ba675SRob Herring compatible = "marvell,orion-ehci"; 314*724ba675SRob Herring reg = <0x51000 0x1000>; 315*724ba675SRob Herring interrupts = <25>; 316*724ba675SRob Herring clocks = <&gate_clk 1>; 317*724ba675SRob Herring status = "okay"; 318*724ba675SRob Herring }; 319*724ba675SRob Herring 320*724ba675SRob Herring xor0: dma-engine@60800 { 321*724ba675SRob Herring compatible = "marvell,orion-xor"; 322*724ba675SRob Herring reg = <0x60800 0x100 323*724ba675SRob Herring 0x60a00 0x100>; 324*724ba675SRob Herring clocks = <&gate_clk 23>; 325*724ba675SRob Herring status = "okay"; 326*724ba675SRob Herring 327*724ba675SRob Herring channel0 { 328*724ba675SRob Herring interrupts = <39>; 329*724ba675SRob Herring dmacap,memcpy; 330*724ba675SRob Herring dmacap,xor; 331*724ba675SRob Herring }; 332*724ba675SRob Herring 333*724ba675SRob Herring channel1 { 334*724ba675SRob Herring interrupts = <40>; 335*724ba675SRob Herring dmacap,memcpy; 336*724ba675SRob Herring dmacap,xor; 337*724ba675SRob Herring }; 338*724ba675SRob Herring }; 339*724ba675SRob Herring 340*724ba675SRob Herring xor1: dma-engine@60900 { 341*724ba675SRob Herring compatible = "marvell,orion-xor"; 342*724ba675SRob Herring reg = <0x60900 0x100 343*724ba675SRob Herring 0x60b00 0x100>; 344*724ba675SRob Herring clocks = <&gate_clk 24>; 345*724ba675SRob Herring status = "okay"; 346*724ba675SRob Herring 347*724ba675SRob Herring channel0 { 348*724ba675SRob Herring interrupts = <42>; 349*724ba675SRob Herring dmacap,memcpy; 350*724ba675SRob Herring dmacap,xor; 351*724ba675SRob Herring }; 352*724ba675SRob Herring 353*724ba675SRob Herring channel1 { 354*724ba675SRob Herring interrupts = <43>; 355*724ba675SRob Herring dmacap,memcpy; 356*724ba675SRob Herring dmacap,xor; 357*724ba675SRob Herring }; 358*724ba675SRob Herring }; 359*724ba675SRob Herring 360*724ba675SRob Herring sdio1: sdio-host@90000 { 361*724ba675SRob Herring compatible = "marvell,dove-sdhci"; 362*724ba675SRob Herring reg = <0x90000 0x100>; 363*724ba675SRob Herring interrupts = <36>, <38>; 364*724ba675SRob Herring clocks = <&gate_clk 9>; 365*724ba675SRob Herring pinctrl-0 = <&pmx_sdio1>; 366*724ba675SRob Herring pinctrl-names = "default"; 367*724ba675SRob Herring status = "disabled"; 368*724ba675SRob Herring }; 369*724ba675SRob Herring 370*724ba675SRob Herring eth: ethernet-ctrl@72000 { 371*724ba675SRob Herring compatible = "marvell,orion-eth"; 372*724ba675SRob Herring #address-cells = <1>; 373*724ba675SRob Herring #size-cells = <0>; 374*724ba675SRob Herring reg = <0x72000 0x4000>; 375*724ba675SRob Herring clocks = <&gate_clk 2>; 376*724ba675SRob Herring marvell,tx-checksum-limit = <1600>; 377*724ba675SRob Herring status = "disabled"; 378*724ba675SRob Herring 379*724ba675SRob Herring ethernet-port@0 { 380*724ba675SRob Herring compatible = "marvell,orion-eth-port"; 381*724ba675SRob Herring reg = <0>; 382*724ba675SRob Herring interrupts = <29>; 383*724ba675SRob Herring /* overwrite MAC address in bootloader */ 384*724ba675SRob Herring local-mac-address = [00 00 00 00 00 00]; 385*724ba675SRob Herring }; 386*724ba675SRob Herring }; 387*724ba675SRob Herring 388*724ba675SRob Herring mdio: mdio-bus@72004 { 389*724ba675SRob Herring compatible = "marvell,orion-mdio"; 390*724ba675SRob Herring #address-cells = <1>; 391*724ba675SRob Herring #size-cells = <0>; 392*724ba675SRob Herring reg = <0x72004 0x84>; 393*724ba675SRob Herring interrupts = <30>; 394*724ba675SRob Herring clocks = <&gate_clk 2>; 395*724ba675SRob Herring status = "disabled"; 396*724ba675SRob Herring }; 397*724ba675SRob Herring 398*724ba675SRob Herring sdio0: sdio-host@92000 { 399*724ba675SRob Herring compatible = "marvell,dove-sdhci"; 400*724ba675SRob Herring reg = <0x92000 0x100>; 401*724ba675SRob Herring interrupts = <35>, <37>; 402*724ba675SRob Herring clocks = <&gate_clk 8>; 403*724ba675SRob Herring pinctrl-0 = <&pmx_sdio0>; 404*724ba675SRob Herring pinctrl-names = "default"; 405*724ba675SRob Herring status = "disabled"; 406*724ba675SRob Herring }; 407*724ba675SRob Herring 408*724ba675SRob Herring sata0: sata-host@a0000 { 409*724ba675SRob Herring compatible = "marvell,orion-sata"; 410*724ba675SRob Herring reg = <0xa0000 0x2400>; 411*724ba675SRob Herring interrupts = <62>; 412*724ba675SRob Herring clocks = <&gate_clk 3>; 413*724ba675SRob Herring phys = <&sata_phy0>; 414*724ba675SRob Herring phy-names = "port0"; 415*724ba675SRob Herring nr-ports = <1>; 416*724ba675SRob Herring status = "disabled"; 417*724ba675SRob Herring }; 418*724ba675SRob Herring 419*724ba675SRob Herring sata_phy0: sata-phy@a2000 { 420*724ba675SRob Herring compatible = "marvell,mvebu-sata-phy"; 421*724ba675SRob Herring reg = <0xa2000 0x0334>; 422*724ba675SRob Herring clocks = <&gate_clk 3>; 423*724ba675SRob Herring clock-names = "sata"; 424*724ba675SRob Herring #phy-cells = <0>; 425*724ba675SRob Herring status = "okay"; 426*724ba675SRob Herring }; 427*724ba675SRob Herring 428*724ba675SRob Herring audio0: audio-controller@b0000 { 429*724ba675SRob Herring compatible = "marvell,dove-audio"; 430*724ba675SRob Herring reg = <0xb0000 0x2210>; 431*724ba675SRob Herring interrupts = <19>, <20>; 432*724ba675SRob Herring clocks = <&gate_clk 12>; 433*724ba675SRob Herring clock-names = "internal"; 434*724ba675SRob Herring status = "disabled"; 435*724ba675SRob Herring }; 436*724ba675SRob Herring 437*724ba675SRob Herring audio1: audio-controller@b4000 { 438*724ba675SRob Herring compatible = "marvell,dove-audio"; 439*724ba675SRob Herring reg = <0xb4000 0x2210>; 440*724ba675SRob Herring interrupts = <21>, <22>; 441*724ba675SRob Herring clocks = <&gate_clk 13>; 442*724ba675SRob Herring clock-names = "internal"; 443*724ba675SRob Herring status = "disabled"; 444*724ba675SRob Herring }; 445*724ba675SRob Herring 446*724ba675SRob Herring pmu: power-management@d0000 { 447*724ba675SRob Herring compatible = "marvell,dove-pmu", "simple-bus"; 448*724ba675SRob Herring reg = <0xd0000 0x8000>, <0xd8000 0x8000>; 449*724ba675SRob Herring ranges = <0x00000000 0x000d0000 0x8000 450*724ba675SRob Herring 0x00008000 0x000d8000 0x8000>; 451*724ba675SRob Herring interrupts = <33>; 452*724ba675SRob Herring interrupt-controller; 453*724ba675SRob Herring #address-cells = <1>; 454*724ba675SRob Herring #size-cells = <1>; 455*724ba675SRob Herring #interrupt-cells = <1>; 456*724ba675SRob Herring #reset-cells = <1>; 457*724ba675SRob Herring 458*724ba675SRob Herring domains { 459*724ba675SRob Herring vpu_domain: vpu-domain { 460*724ba675SRob Herring #power-domain-cells = <0>; 461*724ba675SRob Herring marvell,pmu_pwr_mask = <0x00000008>; 462*724ba675SRob Herring marvell,pmu_iso_mask = <0x00000001>; 463*724ba675SRob Herring resets = <&pmu 16>; 464*724ba675SRob Herring }; 465*724ba675SRob Herring 466*724ba675SRob Herring gpu_domain: gpu-domain { 467*724ba675SRob Herring #power-domain-cells = <0>; 468*724ba675SRob Herring marvell,pmu_pwr_mask = <0x00000004>; 469*724ba675SRob Herring marvell,pmu_iso_mask = <0x00000002>; 470*724ba675SRob Herring resets = <&pmu 18>; 471*724ba675SRob Herring }; 472*724ba675SRob Herring }; 473*724ba675SRob Herring 474*724ba675SRob Herring thermal: thermal-diode@1c { 475*724ba675SRob Herring compatible = "marvell,dove-thermal"; 476*724ba675SRob Herring reg = <0x001c 0x0c>, <0x005c 0x08>; 477*724ba675SRob Herring }; 478*724ba675SRob Herring 479*724ba675SRob Herring gate_clk: clock-gating-ctrl@38 { 480*724ba675SRob Herring compatible = "marvell,dove-gating-clock"; 481*724ba675SRob Herring reg = <0x0038 0x4>; 482*724ba675SRob Herring clocks = <&core_clk 0>; 483*724ba675SRob Herring #clock-cells = <1>; 484*724ba675SRob Herring }; 485*724ba675SRob Herring 486*724ba675SRob Herring divider_clk: core-clock@64 { 487*724ba675SRob Herring compatible = "marvell,dove-divider-clock"; 488*724ba675SRob Herring reg = <0x0064 0x8>; 489*724ba675SRob Herring #clock-cells = <1>; 490*724ba675SRob Herring }; 491*724ba675SRob Herring 492*724ba675SRob Herring pinctrl: pin-ctrl@200 { 493*724ba675SRob Herring compatible = "marvell,dove-pinctrl"; 494*724ba675SRob Herring reg = <0x0200 0x14>, 495*724ba675SRob Herring <0x0440 0x04>; 496*724ba675SRob Herring clocks = <&gate_clk 22>; 497*724ba675SRob Herring 498*724ba675SRob Herring pmx_gpio_0: pmx-gpio-0 { 499*724ba675SRob Herring marvell,pins = "mpp0"; 500*724ba675SRob Herring marvell,function = "gpio"; 501*724ba675SRob Herring }; 502*724ba675SRob Herring 503*724ba675SRob Herring pmx_gpio_1: pmx-gpio-1 { 504*724ba675SRob Herring marvell,pins = "mpp1"; 505*724ba675SRob Herring marvell,function = "gpio"; 506*724ba675SRob Herring }; 507*724ba675SRob Herring 508*724ba675SRob Herring pmx_gpio_2: pmx-gpio-2 { 509*724ba675SRob Herring marvell,pins = "mpp2"; 510*724ba675SRob Herring marvell,function = "gpio"; 511*724ba675SRob Herring }; 512*724ba675SRob Herring 513*724ba675SRob Herring pmx_gpio_3: pmx-gpio-3 { 514*724ba675SRob Herring marvell,pins = "mpp3"; 515*724ba675SRob Herring marvell,function = "gpio"; 516*724ba675SRob Herring }; 517*724ba675SRob Herring 518*724ba675SRob Herring pmx_gpio_4: pmx-gpio-4 { 519*724ba675SRob Herring marvell,pins = "mpp4"; 520*724ba675SRob Herring marvell,function = "gpio"; 521*724ba675SRob Herring }; 522*724ba675SRob Herring 523*724ba675SRob Herring pmx_gpio_5: pmx-gpio-5 { 524*724ba675SRob Herring marvell,pins = "mpp5"; 525*724ba675SRob Herring marvell,function = "gpio"; 526*724ba675SRob Herring }; 527*724ba675SRob Herring 528*724ba675SRob Herring pmx_gpio_6: pmx-gpio-6 { 529*724ba675SRob Herring marvell,pins = "mpp6"; 530*724ba675SRob Herring marvell,function = "gpio"; 531*724ba675SRob Herring }; 532*724ba675SRob Herring 533*724ba675SRob Herring pmx_gpio_7: pmx-gpio-7 { 534*724ba675SRob Herring marvell,pins = "mpp7"; 535*724ba675SRob Herring marvell,function = "gpio"; 536*724ba675SRob Herring }; 537*724ba675SRob Herring 538*724ba675SRob Herring pmx_gpio_8: pmx-gpio-8 { 539*724ba675SRob Herring marvell,pins = "mpp8"; 540*724ba675SRob Herring marvell,function = "gpio"; 541*724ba675SRob Herring }; 542*724ba675SRob Herring 543*724ba675SRob Herring pmx_gpio_9: pmx-gpio-9 { 544*724ba675SRob Herring marvell,pins = "mpp9"; 545*724ba675SRob Herring marvell,function = "gpio"; 546*724ba675SRob Herring }; 547*724ba675SRob Herring 548*724ba675SRob Herring pmx_pcie1_clkreq: pmx-pcie1-clkreq { 549*724ba675SRob Herring marvell,pins = "mpp9"; 550*724ba675SRob Herring marvell,function = "pex1"; 551*724ba675SRob Herring }; 552*724ba675SRob Herring 553*724ba675SRob Herring pmx_gpio_10: pmx-gpio-10 { 554*724ba675SRob Herring marvell,pins = "mpp10"; 555*724ba675SRob Herring marvell,function = "gpio"; 556*724ba675SRob Herring }; 557*724ba675SRob Herring 558*724ba675SRob Herring pmx_gpio_11: pmx-gpio-11 { 559*724ba675SRob Herring marvell,pins = "mpp11"; 560*724ba675SRob Herring marvell,function = "gpio"; 561*724ba675SRob Herring }; 562*724ba675SRob Herring 563*724ba675SRob Herring pmx_pcie0_clkreq: pmx-pcie0-clkreq { 564*724ba675SRob Herring marvell,pins = "mpp11"; 565*724ba675SRob Herring marvell,function = "pex0"; 566*724ba675SRob Herring }; 567*724ba675SRob Herring 568*724ba675SRob Herring pmx_gpio_12: pmx-gpio-12 { 569*724ba675SRob Herring marvell,pins = "mpp12"; 570*724ba675SRob Herring marvell,function = "gpio"; 571*724ba675SRob Herring }; 572*724ba675SRob Herring 573*724ba675SRob Herring pmx_gpio_13: pmx-gpio-13 { 574*724ba675SRob Herring marvell,pins = "mpp13"; 575*724ba675SRob Herring marvell,function = "gpio"; 576*724ba675SRob Herring }; 577*724ba675SRob Herring 578*724ba675SRob Herring pmx_audio1_extclk: pmx-audio1-extclk { 579*724ba675SRob Herring marvell,pins = "mpp13"; 580*724ba675SRob Herring marvell,function = "audio1"; 581*724ba675SRob Herring }; 582*724ba675SRob Herring 583*724ba675SRob Herring pmx_gpio_14: pmx-gpio-14 { 584*724ba675SRob Herring marvell,pins = "mpp14"; 585*724ba675SRob Herring marvell,function = "gpio"; 586*724ba675SRob Herring }; 587*724ba675SRob Herring 588*724ba675SRob Herring pmx_gpio_15: pmx-gpio-15 { 589*724ba675SRob Herring marvell,pins = "mpp15"; 590*724ba675SRob Herring marvell,function = "gpio"; 591*724ba675SRob Herring }; 592*724ba675SRob Herring 593*724ba675SRob Herring pmx_gpio_16: pmx-gpio-16 { 594*724ba675SRob Herring marvell,pins = "mpp16"; 595*724ba675SRob Herring marvell,function = "gpio"; 596*724ba675SRob Herring }; 597*724ba675SRob Herring 598*724ba675SRob Herring pmx_gpio_17: pmx-gpio-17 { 599*724ba675SRob Herring marvell,pins = "mpp17"; 600*724ba675SRob Herring marvell,function = "gpio"; 601*724ba675SRob Herring }; 602*724ba675SRob Herring 603*724ba675SRob Herring pmx_gpio_18: pmx-gpio-18 { 604*724ba675SRob Herring marvell,pins = "mpp18"; 605*724ba675SRob Herring marvell,function = "gpio"; 606*724ba675SRob Herring }; 607*724ba675SRob Herring 608*724ba675SRob Herring pmx_gpio_19: pmx-gpio-19 { 609*724ba675SRob Herring marvell,pins = "mpp19"; 610*724ba675SRob Herring marvell,function = "gpio"; 611*724ba675SRob Herring }; 612*724ba675SRob Herring 613*724ba675SRob Herring pmx_gpio_20: pmx-gpio-20 { 614*724ba675SRob Herring marvell,pins = "mpp20"; 615*724ba675SRob Herring marvell,function = "gpio"; 616*724ba675SRob Herring }; 617*724ba675SRob Herring 618*724ba675SRob Herring pmx_gpio_21: pmx-gpio-21 { 619*724ba675SRob Herring marvell,pins = "mpp21"; 620*724ba675SRob Herring marvell,function = "gpio"; 621*724ba675SRob Herring }; 622*724ba675SRob Herring 623*724ba675SRob Herring pmx_camera: pmx-camera { 624*724ba675SRob Herring marvell,pins = "mpp_camera"; 625*724ba675SRob Herring marvell,function = "camera"; 626*724ba675SRob Herring }; 627*724ba675SRob Herring 628*724ba675SRob Herring pmx_camera_gpio: pmx-camera-gpio { 629*724ba675SRob Herring marvell,pins = "mpp_camera"; 630*724ba675SRob Herring marvell,function = "gpio"; 631*724ba675SRob Herring }; 632*724ba675SRob Herring 633*724ba675SRob Herring pmx_sdio0: pmx-sdio0 { 634*724ba675SRob Herring marvell,pins = "mpp_sdio0"; 635*724ba675SRob Herring marvell,function = "sdio0"; 636*724ba675SRob Herring }; 637*724ba675SRob Herring 638*724ba675SRob Herring pmx_sdio0_gpio: pmx-sdio0-gpio { 639*724ba675SRob Herring marvell,pins = "mpp_sdio0"; 640*724ba675SRob Herring marvell,function = "gpio"; 641*724ba675SRob Herring }; 642*724ba675SRob Herring 643*724ba675SRob Herring pmx_sdio1: pmx-sdio1 { 644*724ba675SRob Herring marvell,pins = "mpp_sdio1"; 645*724ba675SRob Herring marvell,function = "sdio1"; 646*724ba675SRob Herring }; 647*724ba675SRob Herring 648*724ba675SRob Herring pmx_sdio1_gpio: pmx-sdio1-gpio { 649*724ba675SRob Herring marvell,pins = "mpp_sdio1"; 650*724ba675SRob Herring marvell,function = "gpio"; 651*724ba675SRob Herring }; 652*724ba675SRob Herring 653*724ba675SRob Herring pmx_audio1_gpio: pmx-audio1-gpio { 654*724ba675SRob Herring marvell,pins = "mpp_audio1"; 655*724ba675SRob Herring marvell,function = "gpio"; 656*724ba675SRob Herring }; 657*724ba675SRob Herring 658*724ba675SRob Herring pmx_audio1_i2s1_spdifo: pmx-audio1-i2s1-spdifo { 659*724ba675SRob Herring marvell,pins = "mpp_audio1"; 660*724ba675SRob Herring marvell,function = "i2s1/spdifo"; 661*724ba675SRob Herring }; 662*724ba675SRob Herring 663*724ba675SRob Herring pmx_spi0: pmx-spi0 { 664*724ba675SRob Herring marvell,pins = "mpp_spi0"; 665*724ba675SRob Herring marvell,function = "spi0"; 666*724ba675SRob Herring }; 667*724ba675SRob Herring 668*724ba675SRob Herring pmx_spi0_gpio: pmx-spi0-gpio { 669*724ba675SRob Herring marvell,pins = "mpp_spi0"; 670*724ba675SRob Herring marvell,function = "gpio"; 671*724ba675SRob Herring }; 672*724ba675SRob Herring 673*724ba675SRob Herring pmx_spi1_4_7: pmx-spi1-4-7 { 674*724ba675SRob Herring marvell,pins = "mpp4", "mpp5", 675*724ba675SRob Herring "mpp6", "mpp7"; 676*724ba675SRob Herring marvell,function = "spi1"; 677*724ba675SRob Herring }; 678*724ba675SRob Herring 679*724ba675SRob Herring pmx_spi1_20_23: pmx-spi1-20-23 { 680*724ba675SRob Herring marvell,pins = "mpp20", "mpp21", 681*724ba675SRob Herring "mpp22", "mpp23"; 682*724ba675SRob Herring marvell,function = "spi1"; 683*724ba675SRob Herring }; 684*724ba675SRob Herring 685*724ba675SRob Herring pmx_uart1: pmx-uart1 { 686*724ba675SRob Herring marvell,pins = "mpp_uart1"; 687*724ba675SRob Herring marvell,function = "uart1"; 688*724ba675SRob Herring }; 689*724ba675SRob Herring 690*724ba675SRob Herring pmx_uart1_gpio: pmx-uart1-gpio { 691*724ba675SRob Herring marvell,pins = "mpp_uart1"; 692*724ba675SRob Herring marvell,function = "gpio"; 693*724ba675SRob Herring }; 694*724ba675SRob Herring 695*724ba675SRob Herring pmx_nand: pmx-nand { 696*724ba675SRob Herring marvell,pins = "mpp_nand"; 697*724ba675SRob Herring marvell,function = "nand"; 698*724ba675SRob Herring }; 699*724ba675SRob Herring 700*724ba675SRob Herring pmx_nand_gpo: pmx-nand-gpo { 701*724ba675SRob Herring marvell,pins = "mpp_nand"; 702*724ba675SRob Herring marvell,function = "gpo"; 703*724ba675SRob Herring }; 704*724ba675SRob Herring 705*724ba675SRob Herring pmx_i2c1: pmx-i2c1 { 706*724ba675SRob Herring marvell,pins = "mpp17", "mpp19"; 707*724ba675SRob Herring marvell,function = "twsi"; 708*724ba675SRob Herring }; 709*724ba675SRob Herring 710*724ba675SRob Herring pmx_i2c2: pmx-i2c2 { 711*724ba675SRob Herring marvell,pins = "mpp_audio1"; 712*724ba675SRob Herring marvell,function = "twsi"; 713*724ba675SRob Herring }; 714*724ba675SRob Herring 715*724ba675SRob Herring pmx_ssp_i2c2: pmx-ssp-i2c2 { 716*724ba675SRob Herring marvell,pins = "mpp_audio1"; 717*724ba675SRob Herring marvell,function = "ssp/twsi"; 718*724ba675SRob Herring }; 719*724ba675SRob Herring 720*724ba675SRob Herring pmx_i2cmux_0: pmx-i2cmux-0 { 721*724ba675SRob Herring marvell,pins = "twsi"; 722*724ba675SRob Herring marvell,function = "twsi-opt1"; 723*724ba675SRob Herring }; 724*724ba675SRob Herring 725*724ba675SRob Herring pmx_i2cmux_1: pmx-i2cmux-1 { 726*724ba675SRob Herring marvell,pins = "twsi"; 727*724ba675SRob Herring marvell,function = "twsi-opt2"; 728*724ba675SRob Herring }; 729*724ba675SRob Herring 730*724ba675SRob Herring pmx_i2cmux_2: pmx-i2cmux-2 { 731*724ba675SRob Herring marvell,pins = "twsi"; 732*724ba675SRob Herring marvell,function = "twsi-opt3"; 733*724ba675SRob Herring }; 734*724ba675SRob Herring }; 735*724ba675SRob Herring 736*724ba675SRob Herring core_clk: core-clocks@214 { 737*724ba675SRob Herring compatible = "marvell,dove-core-clock"; 738*724ba675SRob Herring reg = <0x0214 0x4>; 739*724ba675SRob Herring #clock-cells = <1>; 740*724ba675SRob Herring }; 741*724ba675SRob Herring 742*724ba675SRob Herring gpio0: gpio-ctrl@400 { 743*724ba675SRob Herring compatible = "marvell,orion-gpio"; 744*724ba675SRob Herring #gpio-cells = <2>; 745*724ba675SRob Herring gpio-controller; 746*724ba675SRob Herring reg = <0x0400 0x20>; 747*724ba675SRob Herring ngpios = <32>; 748*724ba675SRob Herring interrupt-controller; 749*724ba675SRob Herring #interrupt-cells = <2>; 750*724ba675SRob Herring interrupt-parent = <&intc>; 751*724ba675SRob Herring interrupts = <12>, <13>, <14>, <60>; 752*724ba675SRob Herring }; 753*724ba675SRob Herring 754*724ba675SRob Herring gpio1: gpio-ctrl@420 { 755*724ba675SRob Herring compatible = "marvell,orion-gpio"; 756*724ba675SRob Herring #gpio-cells = <2>; 757*724ba675SRob Herring gpio-controller; 758*724ba675SRob Herring reg = <0x0420 0x20>; 759*724ba675SRob Herring ngpios = <32>; 760*724ba675SRob Herring interrupt-controller; 761*724ba675SRob Herring #interrupt-cells = <2>; 762*724ba675SRob Herring interrupt-parent = <&intc>; 763*724ba675SRob Herring interrupts = <61>; 764*724ba675SRob Herring }; 765*724ba675SRob Herring 766*724ba675SRob Herring rtc: real-time-clock@8500 { 767*724ba675SRob Herring compatible = "marvell,orion-rtc"; 768*724ba675SRob Herring reg = <0x8500 0x20>; 769*724ba675SRob Herring interrupts = <5>; 770*724ba675SRob Herring }; 771*724ba675SRob Herring }; 772*724ba675SRob Herring 773*724ba675SRob Herring gconf: global-config@e802c { 774*724ba675SRob Herring compatible = "marvell,dove-global-config", 775*724ba675SRob Herring "syscon"; 776*724ba675SRob Herring reg = <0xe802c 0x14>; 777*724ba675SRob Herring }; 778*724ba675SRob Herring 779*724ba675SRob Herring gpio2: gpio-ctrl@e8400 { 780*724ba675SRob Herring compatible = "marvell,orion-gpio"; 781*724ba675SRob Herring #gpio-cells = <2>; 782*724ba675SRob Herring gpio-controller; 783*724ba675SRob Herring reg = <0xe8400 0x0c>; 784*724ba675SRob Herring ngpios = <8>; 785*724ba675SRob Herring }; 786*724ba675SRob Herring 787*724ba675SRob Herring lcd1: lcd-controller@810000 { 788*724ba675SRob Herring compatible = "marvell,dove-lcd"; 789*724ba675SRob Herring reg = <0x810000 0x1000>; 790*724ba675SRob Herring interrupts = <46>; 791*724ba675SRob Herring status = "disabled"; 792*724ba675SRob Herring }; 793*724ba675SRob Herring 794*724ba675SRob Herring lcd0: lcd-controller@820000 { 795*724ba675SRob Herring compatible = "marvell,dove-lcd"; 796*724ba675SRob Herring reg = <0x820000 0x1000>; 797*724ba675SRob Herring interrupts = <47>; 798*724ba675SRob Herring status = "disabled"; 799*724ba675SRob Herring }; 800*724ba675SRob Herring 801*724ba675SRob Herring crypto_sram: sram@ffffe000 { 802*724ba675SRob Herring compatible = "mmio-sram"; 803*724ba675SRob Herring reg = <0xffffe000 0x800>; 804*724ba675SRob Herring clocks = <&gate_clk 15>; 805*724ba675SRob Herring #address-cells = <1>; 806*724ba675SRob Herring #size-cells = <1>; 807*724ba675SRob Herring }; 808*724ba675SRob Herring 809*724ba675SRob Herring gpu: gpu@840000 { 810*724ba675SRob Herring clocks = <÷r_clk 1>; 811*724ba675SRob Herring clock-names = "core"; 812*724ba675SRob Herring compatible = "vivante,gc"; 813*724ba675SRob Herring interrupts = <48>; 814*724ba675SRob Herring power-domains = <&gpu_domain>; 815*724ba675SRob Herring reg = <0x840000 0x4000>; 816*724ba675SRob Herring status = "disabled"; 817*724ba675SRob Herring }; 818*724ba675SRob Herring }; 819*724ba675SRob Herring }; 820*724ba675SRob Herring}; 821