xref: /titanic_53/usr/src/boot/sys/boot/fdt/dts/arm/armada-388.dtsi (revision 4a5d661a82b942b6538acd26209d959ce98b593a)
1/*
2 * Device Tree Include file for Marvell Armada 388 SoC.
3 *
4 * Copyright (C) 2015 Marvell
5 *
6 * Gregory CLEMENT <gregory.clement@free-electrons.com>
7 *
8 * This file is dual-licensed: you can use it either under the terms
9 * of the GPL or the X11 license, at your option. Note that this dual
10 * licensing only applies to this file, and not this project as a
11 * whole.
12 *
13 *  a) This file is licensed under the terms of the GNU General Public
14 *     License version 2.  This program is licensed "as is" without
15 *     any warranty of any kind, whether express or implied.
16 *
17 * Or, alternatively,
18 *
19 *  b) Permission is hereby granted, free of charge, to any person
20 *     obtaining a copy of this software and associated documentation
21 *     files (the "Software"), to deal in the Software without
22 *     restriction, including without limitation the rights to use,
23 *     copy, modify, merge, publish, distribute, sublicense, and/or
24 *     sell copies of the Software, and to permit persons to whom the
25 *     Software is furnished to do so, subject to the following
26 *     conditions:
27 *
28 *     The above copyright notice and this permission notice shall be
29 *     included in all copies or substantial portions of the Software.
30 *
31 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
33 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
35 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
36 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
37 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
38 *     OTHER DEALINGS IN THE SOFTWARE.
39 *
40 *
41 * The main difference with the Armada 385 is that the 388 can handle two more
42 * SATA ports. So we can reuse the dtsi of the Armada 385, override the pinctrl
43 * property and the name of the SoC, and add the second SATA host which control
44 * the 2 other ports.
45 *
46 * $FreeBSD$
47 */
48
49#include "armada-385.dtsi"
50
51/ {
52	model = "Marvell Armada 388 family SoC";
53	compatible = "marvell,armada388", "marvell,armada385",
54		"marvell,armada380";
55
56	soc {
57		internal-regs {
58			pinctrl@18000 {
59				compatible = "marvell,mv88f6828-pinctrl";
60			};
61
62			sata@e0000 {
63				compatible = "marvell,armada-380-ahci";
64				reg = <0xe0000 0x2000>;
65				interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
66				clocks = <&gateclk 30>;
67				status = "disabled";
68			};
69
70		};
71	};
72};
73