armada-370-xp.dtsi 5.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/*
 * 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.
 */

19
/include/ "skeleton64.dtsi"
20 21 22

/ {
	model = "Marvell Armada 370 and XP SoC";
23
	compatible = "marvell,armada-370-xp";
24

25 26 27 28 29
	aliases {
		eth0 = &eth0;
		eth1 = &eth1;
	};

30
	cpus {
31 32
		#address-cells = <1>;
		#size-cells = <0>;
33 34
		cpu@0 {
			compatible = "marvell,sheeva-v7";
35 36
			device_type = "cpu";
			reg = <0>;
37 38 39 40 41 42 43 44
		};
	};

	soc {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "simple-bus";
		interrupt-parent = <&mpic>;
45 46
		ranges = <0          0 0xd0000000 0x0100000 /* internal registers */
			  0xe0000000 0 0xe0000000 0x8100000 /* PCIe */>;
47

48 49 50 51 52 53 54
		internal-regs {
			compatible = "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			ranges;

			mpic: interrupt-controller@20000 {
55 56 57 58
				compatible = "marvell,mpic";
				#interrupt-cells = <1>;
				#size-cells = <1>;
				interrupt-controller;
59
			};
60

61
			coherency-fabric@20200 {
62
				compatible = "marvell,coherency-fabric";
63 64
				reg = <0x20200 0xb0>, <0x21810 0x1c>;
			};
65

66
			serial@12000 {
67
				compatible = "snps,dw-apb-uart";
68
				reg = <0x12000 0x100>;
69 70
				reg-shift = <2>;
				interrupts = <41>;
71
				reg-io-width = <1>;
72
				status = "disabled";
73 74
			};
			serial@12100 {
75
				compatible = "snps,dw-apb-uart";
76
				reg = <0x12100 0x100>;
77 78
				reg-shift = <2>;
				interrupts = <42>;
79
				reg-io-width = <1>;
80
				status = "disabled";
81 82 83 84 85 86 87 88 89
			};

			timer@20300 {
				reg = <0x20300 0x30>, <0x21040 0x30>;
				interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
			};

			sata@a0000 {
				compatible = "marvell,orion-sata";
90
				reg = <0xa0000 0x5000>;
91 92 93 94 95
				interrupts = <55>;
				clocks = <&gateclk 15>, <&gateclk 30>;
				clock-names = "0", "1";
				status = "disabled";
			};
96

97 98 99 100 101 102
			mdio {
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "marvell,orion-mdio";
				reg = <0x72004 0x4>;
			};
103

104
			eth0: ethernet@70000 {
105
				compatible = "marvell,armada-370-neta";
106
				reg = <0x70000 0x4000>;
107
				interrupts = <8>;
108
				clocks = <&gateclk 4>;
109
				status = "disabled";
110
			};
111

112
			eth1: ethernet@74000 {
113
				compatible = "marvell,armada-370-neta";
114
				reg = <0x74000 0x4000>;
115
				interrupts = <10>;
116
				clocks = <&gateclk 3>;
117
				status = "disabled";
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
			};

			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>;
153 154 155 156
				bus-width = <4>;
				cap-sdio-irq;
				cap-sd-highspeed;
				cap-mmc-highspeed;
157 158
				status = "disabled";
			};
159

160 161 162 163 164 165
			usb@50000 {
				compatible = "marvell,orion-ehci";
				reg = <0x50000 0x500>;
				interrupts = <45>;
				status = "disabled";
			};
166

167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
			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";
			};
195

196 197 198 199 200 201 202 203
			devbus-bootcs@10400 {
				compatible = "marvell,mvebu-devbus";
				reg = <0x10400 0x8>;
				#address-cells = <1>;
				#size-cells = <1>;
				clocks = <&coreclk 0>;
				status = "disabled";
			};
204

205 206 207 208 209 210 211 212
			devbus-cs0@10408 {
				compatible = "marvell,mvebu-devbus";
				reg = <0x10408 0x8>;
				#address-cells = <1>;
				#size-cells = <1>;
				clocks = <&coreclk 0>;
				status = "disabled";
			};
213

214 215 216 217 218 219 220 221
			devbus-cs1@10410 {
				compatible = "marvell,mvebu-devbus";
				reg = <0x10410 0x8>;
				#address-cells = <1>;
				#size-cells = <1>;
				clocks = <&coreclk 0>;
				status = "disabled";
			};
222

223 224 225 226 227 228 229 230
			devbus-cs2@10418 {
				compatible = "marvell,mvebu-devbus";
				reg = <0x10418 0x8>;
				#address-cells = <1>;
				#size-cells = <1>;
				clocks = <&coreclk 0>;
				status = "disabled";
			};
231

232 233 234 235 236 237 238 239
			devbus-cs3@10420 {
				compatible = "marvell,mvebu-devbus";
				reg = <0x10420 0x8>;
				#address-cells = <1>;
				#size-cells = <1>;
				clocks = <&coreclk 0>;
				status = "disabled";
			};
240
		};
241
	};
242
 };