2018-03-15 21:40:56 +08:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
2014-02-17 22:23:28 +08:00
|
|
|
/*
|
|
|
|
* Device Tree Include file for Marvell Armada 380 SoC.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2014 Marvell
|
|
|
|
*
|
|
|
|
* Lior Amsalem <alior@marvell.com>
|
|
|
|
* Gregory CLEMENT <gregory.clement@free-electrons.com>
|
|
|
|
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
*/
|
|
|
|
|
2014-02-20 19:11:29 +08:00
|
|
|
#include "armada-38x.dtsi"
|
2014-02-17 22:23:28 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Marvell Armada 380 family SoC";
|
2014-06-23 22:16:51 +08:00
|
|
|
compatible = "marvell,armada380";
|
2014-02-17 22:23:28 +08:00
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2014-04-14 21:54:08 +08:00
|
|
|
enable-method = "marvell,armada-380-smp";
|
|
|
|
|
2014-02-17 22:23:28 +08:00
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a9";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
internal-regs {
|
2015-01-09 01:38:05 +08:00
|
|
|
pinctrl@18000 {
|
2014-02-17 22:23:28 +08:00
|
|
|
compatible = "marvell,mv88f6810-pinctrl";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-07-27 05:09:37 +08:00
|
|
|
pcie {
|
2014-02-17 22:23:28 +08:00
|
|
|
compatible = "marvell,armada-370-pcie";
|
|
|
|
status = "disabled";
|
|
|
|
device_type = "pci";
|
|
|
|
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
|
|
|
|
msi-parent = <&mpic>;
|
|
|
|
bus-range = <0x00 0xff>;
|
|
|
|
|
|
|
|
ranges =
|
|
|
|
<0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000
|
|
|
|
0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
|
|
|
|
0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000
|
|
|
|
0x82000000 0 0x48000 MBUS_ID(0xf0, 0x01) 0x48000 0 0x00002000
|
|
|
|
0x82000000 0x1 0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 0 MEM */
|
|
|
|
0x81000000 0x1 0 MBUS_ID(0x08, 0xe0) 0 1 0 /* Port 0 IO */
|
|
|
|
0x82000000 0x2 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 1 MEM */
|
|
|
|
0x81000000 0x2 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 1 IO */
|
|
|
|
0x82000000 0x3 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 2 MEM */
|
|
|
|
0x81000000 0x3 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 2 IO */>;
|
|
|
|
|
|
|
|
/* x1 port */
|
|
|
|
pcie@1,0 {
|
|
|
|
device_type = "pci";
|
|
|
|
assigned-addresses = <0x82000800 0 0x80000 0 0x2000>;
|
|
|
|
reg = <0x0800 0 0 0 0>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
|
|
|
|
0x81000000 0 0 0x81000000 0x1 0 1 0>;
|
2017-07-27 05:09:37 +08:00
|
|
|
bus-range = <0x00 0xff>;
|
2014-02-17 22:23:28 +08:00
|
|
|
interrupt-map-mask = <0 0 0 0>;
|
2014-02-20 19:11:31 +08:00
|
|
|
interrupt-map = <0 0 0 0 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
|
2014-02-17 22:23:28 +08:00
|
|
|
marvell,pcie-port = <0>;
|
|
|
|
marvell,pcie-lane = <0>;
|
|
|
|
clocks = <&gateclk 8>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
/* x1 port */
|
|
|
|
pcie@2,0 {
|
|
|
|
device_type = "pci";
|
|
|
|
assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
|
|
|
|
reg = <0x1000 0 0 0 0>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
|
|
|
|
0x81000000 0 0 0x81000000 0x2 0 1 0>;
|
2017-07-27 05:09:37 +08:00
|
|
|
bus-range = <0x00 0xff>;
|
2014-02-17 22:23:28 +08:00
|
|
|
interrupt-map-mask = <0 0 0 0>;
|
2014-02-20 19:11:31 +08:00
|
|
|
interrupt-map = <0 0 0 0 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
|
2014-02-17 22:23:28 +08:00
|
|
|
marvell,pcie-port = <1>;
|
|
|
|
marvell,pcie-lane = <0>;
|
|
|
|
clocks = <&gateclk 5>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
/* x1 port */
|
|
|
|
pcie@3,0 {
|
|
|
|
device_type = "pci";
|
|
|
|
assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
|
2014-05-20 22:43:28 +08:00
|
|
|
reg = <0x1800 0 0 0 0>;
|
2014-02-17 22:23:28 +08:00
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
ranges = <0x82000000 0 0 0x82000000 0x3 0 1 0
|
|
|
|
0x81000000 0 0 0x81000000 0x3 0 1 0>;
|
2017-07-27 05:09:37 +08:00
|
|
|
bus-range = <0x00 0xff>;
|
2014-02-17 22:23:28 +08:00
|
|
|
interrupt-map-mask = <0 0 0 0>;
|
2014-02-20 19:11:31 +08:00
|
|
|
interrupt-map = <0 0 0 0 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
|
2014-02-17 22:23:28 +08:00
|
|
|
marvell,pcie-port = <2>;
|
|
|
|
marvell,pcie-lane = <0>;
|
|
|
|
clocks = <&gateclk 6>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|