2012-06-13 17:01:28 +00:00
|
|
|
/*
|
|
|
|
* Device Tree Include file for Marvell Armada 370 and Armada XP SoC
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Marvell
|
|
|
|
*
|
|
|
|
* Lior Amsalem <alior@marvell.com>
|
|
|
|
* Gregory CLEMENT <gregory.clement@free-electrons.com>
|
|
|
|
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
* Ben Dooks <ben.dooks@codethink.co.uk>
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
|
|
|
* License version 2. This program is licensed "as is" without any
|
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*
|
|
|
|
* This file contains the definitions that are common to the Armada
|
|
|
|
* 370 and Armada XP SoC.
|
|
|
|
*/
|
|
|
|
|
2013-04-12 14:29:10 +00:00
|
|
|
/include/ "skeleton64.dtsi"
|
2012-06-13 17:01:28 +00:00
|
|
|
|
2013-07-26 13:17:57 +00:00
|
|
|
#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
|
|
|
|
|
2012-06-13 17:01:28 +00:00
|
|
|
/ {
|
|
|
|
model = "Marvell Armada 370 and XP SoC";
|
2012-11-09 15:29:17 +00:00
|
|
|
compatible = "marvell,armada-370-xp";
|
2012-06-13 17:01:28 +00:00
|
|
|
|
2013-06-03 16:47:36 +00:00
|
|
|
aliases {
|
|
|
|
eth0 = ð0;
|
|
|
|
eth1 = ð1;
|
|
|
|
};
|
|
|
|
|
2012-06-13 17:01:28 +00:00
|
|
|
cpus {
|
2013-04-18 17:29:34 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-06-13 17:01:28 +00:00
|
|
|
cpu@0 {
|
|
|
|
compatible = "marvell,sheeva-v7";
|
2013-04-18 17:29:34 +00:00
|
|
|
device_type = "cpu";
|
|
|
|
reg = <0>;
|
2012-06-13 17:01:28 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
2013-07-26 13:17:57 +00:00
|
|
|
#address-cells = <2>;
|
2012-06-13 17:01:28 +00:00
|
|
|
#size-cells = <1>;
|
2013-07-26 13:17:57 +00:00
|
|
|
controller = <&mbusc>;
|
2012-06-13 17:01:28 +00:00
|
|
|
interrupt-parent = <&mpic>;
|
|
|
|
|
2013-07-26 13:17:59 +00:00
|
|
|
devbus-bootcs {
|
|
|
|
compatible = "marvell,mvebu-devbus";
|
|
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
|
|
|
|
ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
clocks = <&coreclk 0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
devbus-cs0 {
|
|
|
|
compatible = "marvell,mvebu-devbus";
|
|
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
|
|
|
|
ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
clocks = <&coreclk 0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
devbus-cs1 {
|
|
|
|
compatible = "marvell,mvebu-devbus";
|
|
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
|
|
|
|
ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
clocks = <&coreclk 0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
devbus-cs2 {
|
|
|
|
compatible = "marvell,mvebu-devbus";
|
|
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
|
|
|
|
ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
clocks = <&coreclk 0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
devbus-cs3 {
|
|
|
|
compatible = "marvell,mvebu-devbus";
|
|
|
|
reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
|
|
|
|
ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
clocks = <&coreclk 0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2013-04-12 14:29:09 +00:00
|
|
|
internal-regs {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2013-07-26 13:17:57 +00:00
|
|
|
ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
|
|
|
|
|
|
|
|
mbusc: mbus-controller@20000 {
|
|
|
|
compatible = "marvell,mbus-controller";
|
|
|
|
reg = <0x20000 0x100>, <0x20180 0x20>;
|
|
|
|
};
|
2013-04-12 14:29:09 +00:00
|
|
|
|
|
|
|
mpic: interrupt-controller@20000 {
|
2013-04-12 14:29:08 +00:00
|
|
|
compatible = "marvell,mpic";
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
interrupt-controller;
|
2013-04-12 14:29:09 +00:00
|
|
|
};
|
2013-04-12 14:29:07 +00:00
|
|
|
|
2013-04-12 14:29:09 +00:00
|
|
|
coherency-fabric@20200 {
|
2013-04-12 14:29:08 +00:00
|
|
|
compatible = "marvell,coherency-fabric";
|
2013-04-12 14:29:09 +00:00
|
|
|
reg = <0x20200 0xb0>, <0x21810 0x1c>;
|
|
|
|
};
|
2013-04-12 14:29:07 +00:00
|
|
|
|
2013-04-12 14:29:09 +00:00
|
|
|
serial@12000 {
|
2012-12-04 17:04:59 +00:00
|
|
|
compatible = "snps,dw-apb-uart";
|
2013-04-12 14:29:08 +00:00
|
|
|
reg = <0x12000 0x100>;
|
2012-06-13 17:01:28 +00:00
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <41>;
|
2013-03-06 10:23:33 +00:00
|
|
|
reg-io-width = <1>;
|
2012-06-13 17:01:28 +00:00
|
|
|
status = "disabled";
|
2013-04-12 14:29:09 +00:00
|
|
|
};
|
|
|
|
serial@12100 {
|
2012-12-04 17:04:59 +00:00
|
|
|
compatible = "snps,dw-apb-uart";
|
2013-04-12 14:29:08 +00:00
|
|
|
reg = <0x12100 0x100>;
|
2012-06-13 17:01:28 +00:00
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <42>;
|
2013-03-06 10:23:33 +00:00
|
|
|
reg-io-width = <1>;
|
2012-06-13 17:01:28 +00:00
|
|
|
status = "disabled";
|
2013-04-12 14:29:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
timer@20300 {
|
|
|
|
compatible = "marvell,armada-370-xp-timer";
|
|
|
|
reg = <0x20300 0x30>, <0x21040 0x30>;
|
|
|
|
interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
|
|
|
|
clocks = <&coreclk 2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sata@a0000 {
|
|
|
|
compatible = "marvell,orion-sata";
|
2013-05-21 10:33:26 +00:00
|
|
|
reg = <0xa0000 0x5000>;
|
2013-04-12 14:29:09 +00:00
|
|
|
interrupts = <55>;
|
|
|
|
clocks = <&gateclk 15>, <&gateclk 30>;
|
|
|
|
clock-names = "0", "1";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2012-10-26 12:30:47 +00:00
|
|
|
|
2013-04-12 14:29:09 +00:00
|
|
|
mdio {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "marvell,orion-mdio";
|
|
|
|
reg = <0x72004 0x4>;
|
|
|
|
};
|
2012-09-04 13:06:43 +00:00
|
|
|
|
2013-06-03 16:47:36 +00:00
|
|
|
eth0: ethernet@70000 {
|
2012-09-04 13:06:43 +00:00
|
|
|
compatible = "marvell,armada-370-neta";
|
2013-05-21 10:33:27 +00:00
|
|
|
reg = <0x70000 0x4000>;
|
2012-09-04 13:06:43 +00:00
|
|
|
interrupts = <8>;
|
2012-11-19 13:18:09 +00:00
|
|
|
clocks = <&gateclk 4>;
|
2012-09-04 13:06:43 +00:00
|
|
|
status = "disabled";
|
2013-04-12 14:29:09 +00:00
|
|
|
};
|
2012-09-04 13:06:43 +00:00
|
|
|
|
2013-06-03 16:47:36 +00:00
|
|
|
eth1: ethernet@74000 {
|
2012-09-04 13:06:43 +00:00
|
|
|
compatible = "marvell,armada-370-neta";
|
2013-05-21 10:33:27 +00:00
|
|
|
reg = <0x74000 0x4000>;
|
2012-09-04 13:06:43 +00:00
|
|
|
interrupts = <10>;
|
2012-11-19 13:18:09 +00:00
|
|
|
clocks = <&gateclk 3>;
|
2012-09-04 13:06:43 +00:00
|
|
|
status = "disabled";
|
2013-04-12 14:29:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
i2c0: i2c@11000 {
|
|
|
|
compatible = "marvell,mv64xxx-i2c";
|
|
|
|
reg = <0x11000 0x20>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
interrupts = <31>;
|
|
|
|
timeout-ms = <1000>;
|
|
|
|
clocks = <&coreclk 0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c1: i2c@11100 {
|
|
|
|
compatible = "marvell,mv64xxx-i2c";
|
|
|
|
reg = <0x11100 0x20>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
interrupts = <32>;
|
|
|
|
timeout-ms = <1000>;
|
|
|
|
clocks = <&coreclk 0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
rtc@10300 {
|
|
|
|
compatible = "marvell,orion-rtc";
|
|
|
|
reg = <0x10300 0x20>;
|
|
|
|
interrupts = <50>;
|
|
|
|
};
|
|
|
|
|
|
|
|
mvsdio@d4000 {
|
|
|
|
compatible = "marvell,orion-sdio";
|
|
|
|
reg = <0xd4000 0x200>;
|
|
|
|
interrupts = <54>;
|
|
|
|
clocks = <&gateclk 17>;
|
2013-05-13 21:18:58 +00:00
|
|
|
bus-width = <4>;
|
|
|
|
cap-sdio-irq;
|
|
|
|
cap-sd-highspeed;
|
|
|
|
cap-mmc-highspeed;
|
2013-04-12 14:29:09 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2013-01-23 15:26:30 +00:00
|
|
|
|
2013-04-12 14:29:09 +00:00
|
|
|
usb@50000 {
|
|
|
|
compatible = "marvell,orion-ehci";
|
|
|
|
reg = <0x50000 0x500>;
|
|
|
|
interrupts = <45>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2013-02-06 13:06:21 +00:00
|
|
|
|
2013-04-12 14:29:09 +00:00
|
|
|
usb@51000 {
|
|
|
|
compatible = "marvell,orion-ehci";
|
|
|
|
reg = <0x51000 0x500>;
|
|
|
|
interrupts = <46>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi0: spi@10600 {
|
|
|
|
compatible = "marvell,orion-spi";
|
|
|
|
reg = <0x10600 0x28>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
cell-index = <0>;
|
|
|
|
interrupts = <30>;
|
|
|
|
clocks = <&coreclk 0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi1: spi@10680 {
|
|
|
|
compatible = "marvell,orion-spi";
|
|
|
|
reg = <0x10680 0x28>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
cell-index = <1>;
|
|
|
|
interrupts = <92>;
|
|
|
|
clocks = <&coreclk 0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2013-04-10 19:04:01 +00:00
|
|
|
|
|
|
|
};
|
2012-06-13 17:01:28 +00:00
|
|
|
};
|
2013-04-12 14:29:09 +00:00
|
|
|
};
|