1*4882a593Smuzhiyun// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*4882a593Smuzhiyun/* 3*4882a593Smuzhiyun * Device Tree Include file for Marvell Armada XP family SoC 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * Copyright (C) 2012 Marvell 6*4882a593Smuzhiyun * 7*4882a593Smuzhiyun * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 8*4882a593Smuzhiyun * 9*4882a593Smuzhiyun * Contains definitions specific to the Armada XP MV78230 SoC that are not 10*4882a593Smuzhiyun * common to all Armada XP SoCs. 11*4882a593Smuzhiyun */ 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun#include "armada-xp.dtsi" 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun/ { 16*4882a593Smuzhiyun model = "Marvell Armada XP MV78230 SoC"; 17*4882a593Smuzhiyun compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp"; 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun aliases { 20*4882a593Smuzhiyun gpio0 = &gpio0; 21*4882a593Smuzhiyun gpio1 = &gpio1; 22*4882a593Smuzhiyun }; 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun cpus { 25*4882a593Smuzhiyun #address-cells = <1>; 26*4882a593Smuzhiyun #size-cells = <0>; 27*4882a593Smuzhiyun enable-method = "marvell,armada-xp-smp"; 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun cpu@0 { 30*4882a593Smuzhiyun device_type = "cpu"; 31*4882a593Smuzhiyun compatible = "marvell,sheeva-v7"; 32*4882a593Smuzhiyun reg = <0>; 33*4882a593Smuzhiyun clocks = <&cpuclk 0>; 34*4882a593Smuzhiyun clock-latency = <1000000>; 35*4882a593Smuzhiyun }; 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun cpu@1 { 38*4882a593Smuzhiyun device_type = "cpu"; 39*4882a593Smuzhiyun compatible = "marvell,sheeva-v7"; 40*4882a593Smuzhiyun reg = <1>; 41*4882a593Smuzhiyun clocks = <&cpuclk 1>; 42*4882a593Smuzhiyun clock-latency = <1000000>; 43*4882a593Smuzhiyun }; 44*4882a593Smuzhiyun }; 45*4882a593Smuzhiyun 46*4882a593Smuzhiyun soc { 47*4882a593Smuzhiyun /* 48*4882a593Smuzhiyun * MV78230 has 2 PCIe units Gen2.0: One unit can be 49*4882a593Smuzhiyun * configured as x4 or quad x1 lanes. One unit is 50*4882a593Smuzhiyun * x1 only. 51*4882a593Smuzhiyun */ 52*4882a593Smuzhiyun pciec: pcie@82000000 { 53*4882a593Smuzhiyun compatible = "marvell,armada-xp-pcie"; 54*4882a593Smuzhiyun status = "disabled"; 55*4882a593Smuzhiyun device_type = "pci"; 56*4882a593Smuzhiyun 57*4882a593Smuzhiyun #address-cells = <3>; 58*4882a593Smuzhiyun #size-cells = <2>; 59*4882a593Smuzhiyun 60*4882a593Smuzhiyun msi-parent = <&mpic>; 61*4882a593Smuzhiyun bus-range = <0x00 0xff>; 62*4882a593Smuzhiyun 63*4882a593Smuzhiyun ranges = 64*4882a593Smuzhiyun <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 /* Port 0.0 registers */ 65*4882a593Smuzhiyun 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000 /* Port 0.1 registers */ 66*4882a593Smuzhiyun 0x82000000 0 0x48000 MBUS_ID(0xf0, 0x01) 0x48000 0 0x00002000 /* Port 0.2 registers */ 67*4882a593Smuzhiyun 0x82000000 0 0x4c000 MBUS_ID(0xf0, 0x01) 0x4c000 0 0x00002000 /* Port 0.3 registers */ 68*4882a593Smuzhiyun 0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000 /* Port 1.0 registers */ 69*4882a593Smuzhiyun 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */ 70*4882a593Smuzhiyun 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */ 71*4882a593Smuzhiyun 0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 0.1 MEM */ 72*4882a593Smuzhiyun 0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 0.1 IO */ 73*4882a593Smuzhiyun 0x82000000 0x3 0 MBUS_ID(0x04, 0xb8) 0 1 0 /* Port 0.2 MEM */ 74*4882a593Smuzhiyun 0x81000000 0x3 0 MBUS_ID(0x04, 0xb0) 0 1 0 /* Port 0.2 IO */ 75*4882a593Smuzhiyun 0x82000000 0x4 0 MBUS_ID(0x04, 0x78) 0 1 0 /* Port 0.3 MEM */ 76*4882a593Smuzhiyun 0x81000000 0x4 0 MBUS_ID(0x04, 0x70) 0 1 0 /* Port 0.3 IO */ 77*4882a593Smuzhiyun 0x82000000 0x5 0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 MEM */ 78*4882a593Smuzhiyun 0x81000000 0x5 0 MBUS_ID(0x08, 0xe0) 0 1 0 /* Port 1.0 IO */>; 79*4882a593Smuzhiyun 80*4882a593Smuzhiyun pcie1: pcie@1,0 { 81*4882a593Smuzhiyun device_type = "pci"; 82*4882a593Smuzhiyun assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; 83*4882a593Smuzhiyun reg = <0x0800 0 0 0 0>; 84*4882a593Smuzhiyun #address-cells = <3>; 85*4882a593Smuzhiyun #size-cells = <2>; 86*4882a593Smuzhiyun #interrupt-cells = <1>; 87*4882a593Smuzhiyun ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 88*4882a593Smuzhiyun 0x81000000 0 0 0x81000000 0x1 0 1 0>; 89*4882a593Smuzhiyun bus-range = <0x00 0xff>; 90*4882a593Smuzhiyun interrupt-map-mask = <0 0 0 0>; 91*4882a593Smuzhiyun interrupt-map = <0 0 0 0 &mpic 58>; 92*4882a593Smuzhiyun marvell,pcie-port = <0>; 93*4882a593Smuzhiyun marvell,pcie-lane = <0>; 94*4882a593Smuzhiyun clocks = <&gateclk 5>; 95*4882a593Smuzhiyun status = "disabled"; 96*4882a593Smuzhiyun }; 97*4882a593Smuzhiyun 98*4882a593Smuzhiyun pcie2: pcie@2,0 { 99*4882a593Smuzhiyun device_type = "pci"; 100*4882a593Smuzhiyun assigned-addresses = <0x82000800 0 0x44000 0 0x2000>; 101*4882a593Smuzhiyun reg = <0x1000 0 0 0 0>; 102*4882a593Smuzhiyun #address-cells = <3>; 103*4882a593Smuzhiyun #size-cells = <2>; 104*4882a593Smuzhiyun #interrupt-cells = <1>; 105*4882a593Smuzhiyun ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0 106*4882a593Smuzhiyun 0x81000000 0 0 0x81000000 0x2 0 1 0>; 107*4882a593Smuzhiyun bus-range = <0x00 0xff>; 108*4882a593Smuzhiyun interrupt-map-mask = <0 0 0 0>; 109*4882a593Smuzhiyun interrupt-map = <0 0 0 0 &mpic 59>; 110*4882a593Smuzhiyun marvell,pcie-port = <0>; 111*4882a593Smuzhiyun marvell,pcie-lane = <1>; 112*4882a593Smuzhiyun clocks = <&gateclk 6>; 113*4882a593Smuzhiyun status = "disabled"; 114*4882a593Smuzhiyun }; 115*4882a593Smuzhiyun 116*4882a593Smuzhiyun pcie3: pcie@3,0 { 117*4882a593Smuzhiyun device_type = "pci"; 118*4882a593Smuzhiyun assigned-addresses = <0x82000800 0 0x48000 0 0x2000>; 119*4882a593Smuzhiyun reg = <0x1800 0 0 0 0>; 120*4882a593Smuzhiyun #address-cells = <3>; 121*4882a593Smuzhiyun #size-cells = <2>; 122*4882a593Smuzhiyun #interrupt-cells = <1>; 123*4882a593Smuzhiyun ranges = <0x82000000 0 0 0x82000000 0x3 0 1 0 124*4882a593Smuzhiyun 0x81000000 0 0 0x81000000 0x3 0 1 0>; 125*4882a593Smuzhiyun bus-range = <0x00 0xff>; 126*4882a593Smuzhiyun interrupt-map-mask = <0 0 0 0>; 127*4882a593Smuzhiyun interrupt-map = <0 0 0 0 &mpic 60>; 128*4882a593Smuzhiyun marvell,pcie-port = <0>; 129*4882a593Smuzhiyun marvell,pcie-lane = <2>; 130*4882a593Smuzhiyun clocks = <&gateclk 7>; 131*4882a593Smuzhiyun status = "disabled"; 132*4882a593Smuzhiyun }; 133*4882a593Smuzhiyun 134*4882a593Smuzhiyun pcie4: pcie@4,0 { 135*4882a593Smuzhiyun device_type = "pci"; 136*4882a593Smuzhiyun assigned-addresses = <0x82000800 0 0x4c000 0 0x2000>; 137*4882a593Smuzhiyun reg = <0x2000 0 0 0 0>; 138*4882a593Smuzhiyun #address-cells = <3>; 139*4882a593Smuzhiyun #size-cells = <2>; 140*4882a593Smuzhiyun #interrupt-cells = <1>; 141*4882a593Smuzhiyun ranges = <0x82000000 0 0 0x82000000 0x4 0 1 0 142*4882a593Smuzhiyun 0x81000000 0 0 0x81000000 0x4 0 1 0>; 143*4882a593Smuzhiyun bus-range = <0x00 0xff>; 144*4882a593Smuzhiyun interrupt-map-mask = <0 0 0 0>; 145*4882a593Smuzhiyun interrupt-map = <0 0 0 0 &mpic 61>; 146*4882a593Smuzhiyun marvell,pcie-port = <0>; 147*4882a593Smuzhiyun marvell,pcie-lane = <3>; 148*4882a593Smuzhiyun clocks = <&gateclk 8>; 149*4882a593Smuzhiyun status = "disabled"; 150*4882a593Smuzhiyun }; 151*4882a593Smuzhiyun 152*4882a593Smuzhiyun pcie5: pcie@5,0 { 153*4882a593Smuzhiyun device_type = "pci"; 154*4882a593Smuzhiyun assigned-addresses = <0x82000800 0 0x80000 0 0x2000>; 155*4882a593Smuzhiyun reg = <0x2800 0 0 0 0>; 156*4882a593Smuzhiyun #address-cells = <3>; 157*4882a593Smuzhiyun #size-cells = <2>; 158*4882a593Smuzhiyun #interrupt-cells = <1>; 159*4882a593Smuzhiyun ranges = <0x82000000 0 0 0x82000000 0x5 0 1 0 160*4882a593Smuzhiyun 0x81000000 0 0 0x81000000 0x5 0 1 0>; 161*4882a593Smuzhiyun bus-range = <0x00 0xff>; 162*4882a593Smuzhiyun interrupt-map-mask = <0 0 0 0>; 163*4882a593Smuzhiyun interrupt-map = <0 0 0 0 &mpic 62>; 164*4882a593Smuzhiyun marvell,pcie-port = <1>; 165*4882a593Smuzhiyun marvell,pcie-lane = <0>; 166*4882a593Smuzhiyun clocks = <&gateclk 9>; 167*4882a593Smuzhiyun status = "disabled"; 168*4882a593Smuzhiyun }; 169*4882a593Smuzhiyun }; 170*4882a593Smuzhiyun 171*4882a593Smuzhiyun internal-regs { 172*4882a593Smuzhiyun gpio0: gpio@18100 { 173*4882a593Smuzhiyun compatible = "marvell,armada-370-gpio", 174*4882a593Smuzhiyun "marvell,orion-gpio"; 175*4882a593Smuzhiyun reg = <0x18100 0x40>, <0x181c0 0x08>; 176*4882a593Smuzhiyun reg-names = "gpio", "pwm"; 177*4882a593Smuzhiyun ngpios = <32>; 178*4882a593Smuzhiyun gpio-controller; 179*4882a593Smuzhiyun #gpio-cells = <2>; 180*4882a593Smuzhiyun #pwm-cells = <2>; 181*4882a593Smuzhiyun interrupt-controller; 182*4882a593Smuzhiyun #interrupt-cells = <2>; 183*4882a593Smuzhiyun interrupts = <82>, <83>, <84>, <85>; 184*4882a593Smuzhiyun clocks = <&coreclk 0>; 185*4882a593Smuzhiyun }; 186*4882a593Smuzhiyun 187*4882a593Smuzhiyun gpio1: gpio@18140 { 188*4882a593Smuzhiyun compatible = "marvell,armada-370-gpio", 189*4882a593Smuzhiyun "marvell,orion-gpio"; 190*4882a593Smuzhiyun reg = <0x18140 0x40>, <0x181c8 0x08>; 191*4882a593Smuzhiyun reg-names = "gpio", "pwm"; 192*4882a593Smuzhiyun ngpios = <17>; 193*4882a593Smuzhiyun gpio-controller; 194*4882a593Smuzhiyun #gpio-cells = <2>; 195*4882a593Smuzhiyun #pwm-cells = <2>; 196*4882a593Smuzhiyun interrupt-controller; 197*4882a593Smuzhiyun #interrupt-cells = <2>; 198*4882a593Smuzhiyun interrupts = <87>, <88>, <89>; 199*4882a593Smuzhiyun clocks = <&coreclk 0>; 200*4882a593Smuzhiyun }; 201*4882a593Smuzhiyun }; 202*4882a593Smuzhiyun }; 203*4882a593Smuzhiyun}; 204*4882a593Smuzhiyun 205*4882a593Smuzhiyun&pinctrl { 206*4882a593Smuzhiyun compatible = "marvell,mv78230-pinctrl"; 207*4882a593Smuzhiyun}; 208