2012-09-13 23:41:48 +08: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 MV78230 SoC that are not
|
|
|
|
* common to all Armada XP SoCs.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/include/ "armada-xp.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Marvell Armada XP MV78230 SoC";
|
|
|
|
compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp";
|
|
|
|
|
2012-09-20 04:53:01 +08:00
|
|
|
aliases {
|
|
|
|
gpio0 = &gpio0;
|
|
|
|
gpio1 = &gpio1;
|
|
|
|
};
|
|
|
|
|
2012-11-17 22:22:24 +08:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "marvell,sheeva-v7";
|
|
|
|
reg = <0>;
|
|
|
|
clocks = <&cpuclk 0>;
|
|
|
|
};
|
2013-01-06 18:10:40 +08:00
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "marvell,sheeva-v7";
|
|
|
|
reg = <1>;
|
|
|
|
clocks = <&cpuclk 1>;
|
|
|
|
};
|
2013-01-06 18:10:42 +08:00
|
|
|
};
|
2012-11-17 22:22:24 +08:00
|
|
|
|
2012-09-13 23:41:48 +08:00
|
|
|
soc {
|
|
|
|
pinctrl {
|
|
|
|
compatible = "marvell,mv78230-pinctrl";
|
|
|
|
reg = <0xd0018000 0x38>;
|
2012-12-21 22:49:06 +08:00
|
|
|
|
|
|
|
sdio_pins: sdio-pins {
|
|
|
|
marvell,pins = "mpp30", "mpp31", "mpp32",
|
|
|
|
"mpp33", "mpp34", "mpp35";
|
|
|
|
marvell,function = "sd0";
|
|
|
|
};
|
2012-09-13 23:41:48 +08:00
|
|
|
};
|
2012-09-20 04:53:01 +08:00
|
|
|
|
|
|
|
gpio0: gpio@d0018100 {
|
2013-01-08 00:26:58 +08:00
|
|
|
compatible = "marvell,orion-gpio";
|
|
|
|
reg = <0xd0018100 0x40>;
|
2012-09-20 04:53:01 +08:00
|
|
|
ngpios = <32>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupts-cells = <2>;
|
2013-01-08 00:26:58 +08:00
|
|
|
interrupts = <82>, <83>, <84>, <85>;
|
2012-09-20 04:53:01 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
gpio1: gpio@d0018140 {
|
2013-01-08 00:26:58 +08:00
|
|
|
compatible = "marvell,orion-gpio";
|
|
|
|
reg = <0xd0018140 0x40>;
|
2012-09-20 04:53:01 +08:00
|
|
|
ngpios = <17>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupts-cells = <2>;
|
2013-01-08 00:26:58 +08:00
|
|
|
interrupts = <87>, <88>, <89>;
|
2012-09-20 04:53:01 +08:00
|
|
|
};
|
2012-09-13 23:41:48 +08:00
|
|
|
};
|
|
|
|
};
|