Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / armada-xp-mv78260.dtsi
1 /*
2  * Device Tree Include file for Marvell Armada XP family SoC
3  *
4  * Copyright (C) 2012 Marvell
5  *
6  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7  *
8  * This file is licensed under the terms of the GNU General Public
9  * License version 2.  This program is licensed "as is" without any
10  * warranty of any kind, whether express or implied.
11  *
12  * Contains definitions specific to the Armada XP MV78260 SoC that are not
13  * common to all Armada XP SoCs.
14  */
15
16 /include/ "armada-xp.dtsi"
17
18 / {
19         model = "Marvell Armada XP MV78260 SoC";
20         compatible = "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp";
21
22         aliases {
23                 gpio0 = &gpio0;
24                 gpio1 = &gpio1;
25                 gpio2 = &gpio2;
26         };
27
28         soc {
29                 pinctrl {
30                         compatible = "marvell,mv78260-pinctrl";
31                         reg = <0xd0018000 0x38>;
32                 };
33
34                 gpio0: gpio@d0018100 {
35                         compatible = "marvell,armadaxp-gpio";
36                         reg = <0xd0018100 0x40>,
37                             <0xd0018800 0x30>;
38                         ngpios = <32>;
39                         gpio-controller;
40                         #gpio-cells = <2>;
41                         interrupt-controller;
42                         #interrupts-cells = <2>;
43                         interrupts = <16>, <17>, <18>, <19>;
44                 };
45
46                 gpio1: gpio@d0018140 {
47                         compatible = "marvell,armadaxp-gpio";
48                         reg = <0xd0018140 0x40>,
49                             <0xd0018840 0x30>;
50                         ngpios = <32>;
51                         gpio-controller;
52                         #gpio-cells = <2>;
53                         interrupt-controller;
54                         #interrupts-cells = <2>;
55                         interrupts = <20>, <21>, <22>, <23>;
56                 };
57
58                 gpio2: gpio@d0018180 {
59                         compatible = "marvell,armadaxp-gpio";
60                         reg = <0xd0018180 0x40>,
61                             <0xd0018870 0x30>;
62                         ngpios = <3>;
63                         gpio-controller;
64                         #gpio-cells = <2>;
65                         interrupt-controller;
66                         #interrupts-cells = <2>;
67                         interrupts = <24>;
68                 };
69         };
70 };