2012-09-13 15:41:48 +00:00
|
|
|
/*
|
|
|
|
* Device Tree Include file for Marvell Armada XP family SoC
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Marvell
|
|
|
|
*
|
|
|
|
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* Contains definitions specific to the Armada XP MV78460 SoC that are not
|
|
|
|
* common to all Armada XP SoCs.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/include/ "armada-xp.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Marvell Armada XP MV78460 SoC";
|
|
|
|
compatible = "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
|
|
|
|
|
2012-09-19 20:53:01 +00:00
|
|
|
aliases {
|
|
|
|
gpio0 = &gpio0;
|
|
|
|
gpio1 = &gpio1;
|
|
|
|
gpio2 = &gpio2;
|
|
|
|
};
|
|
|
|
|
2012-11-17 14:22:24 +00:00
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "marvell,sheeva-v7";
|
|
|
|
reg = <0>;
|
|
|
|
clocks = <&cpuclk 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "marvell,sheeva-v7";
|
|
|
|
reg = <1>;
|
|
|
|
clocks = <&cpuclk 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@2 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "marvell,sheeva-v7";
|
|
|
|
reg = <2>;
|
|
|
|
clocks = <&cpuclk 2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@3 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "marvell,sheeva-v7";
|
|
|
|
reg = <3>;
|
|
|
|
clocks = <&cpuclk 3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-13 15:41:48 +00:00
|
|
|
soc {
|
|
|
|
pinctrl {
|
|
|
|
compatible = "marvell,mv78460-pinctrl";
|
|
|
|
reg = <0xd0018000 0x38>;
|
2012-12-21 14:49:06 +00:00
|
|
|
|
|
|
|
sdio_pins: sdio-pins {
|
|
|
|
marvell,pins = "mpp30", "mpp31", "mpp32",
|
|
|
|
"mpp33", "mpp34", "mpp35";
|
|
|
|
marvell,function = "sd0";
|
|
|
|
};
|
2012-09-13 15:41:48 +00:00
|
|
|
};
|
2012-09-19 20:53:01 +00:00
|
|
|
|
|
|
|
gpio0: gpio@d0018100 {
|
2013-01-07 16:26:58 +00:00
|
|
|
compatible = "marvell,orion-gpio";
|
|
|
|
reg = <0xd0018100 0x40>;
|
2012-09-19 20:53:01 +00:00
|
|
|
ngpios = <32>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupts-cells = <2>;
|
2013-01-07 16:26:58 +00:00
|
|
|
interrupts = <82>, <83>, <84>, <85>;
|
2012-09-19 20:53:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
gpio1: gpio@d0018140 {
|
2013-01-07 16:26:58 +00:00
|
|
|
compatible = "marvell,orion-gpio";
|
|
|
|
reg = <0xd0018140 0x40>;
|
2012-09-19 20:53:01 +00:00
|
|
|
ngpios = <32>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupts-cells = <2>;
|
2013-01-07 16:26:58 +00:00
|
|
|
interrupts = <87>, <88>, <89>, <90>;
|
2012-09-19 20:53:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
gpio2: gpio@d0018180 {
|
2013-01-07 16:26:58 +00:00
|
|
|
compatible = "marvell,orion-gpio";
|
|
|
|
reg = <0xd0018180 0x40>;
|
2012-09-19 20:53:01 +00:00
|
|
|
ngpios = <3>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupts-cells = <2>;
|
2013-01-07 16:26:58 +00:00
|
|
|
interrupts = <91>;
|
2012-09-19 20:53:01 +00:00
|
|
|
};
|
2013-01-06 10:10:41 +00:00
|
|
|
|
|
|
|
ethernet@d0034000 {
|
|
|
|
compatible = "marvell,armada-370-neta";
|
|
|
|
reg = <0xd0034000 0x2500>;
|
|
|
|
interrupts = <14>;
|
|
|
|
clocks = <&gateclk 1>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2012-09-13 15:41:48 +00:00
|
|
|
};
|
|
|
|
};
|