Merge branch 'for-linus' into for-next
[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         cpus {
29             #address-cells = <1>;
30             #size-cells = <0>;
31
32             cpu@0 {
33                 device_type = "cpu";
34                 compatible = "marvell,sheeva-v7";
35                 reg = <0>;
36                 clocks = <&cpuclk 0>;
37             };
38
39             cpu@1 {
40                 device_type = "cpu";
41                 compatible = "marvell,sheeva-v7";
42                 reg = <1>;
43                 clocks = <&cpuclk 1>;
44             };
45         };
46
47         soc {
48                 pinctrl {
49                         compatible = "marvell,mv78260-pinctrl";
50                         reg = <0xd0018000 0x38>;
51                 };
52
53                 gpio0: gpio@d0018100 {
54                         compatible = "marvell,orion-gpio";
55                         reg = <0xd0018100 0x40>;
56                         ngpios = <32>;
57                         gpio-controller;
58                         #gpio-cells = <2>;
59                         interrupt-controller;
60                         #interrupts-cells = <2>;
61                         interrupts = <82>, <83>, <84>, <85>;
62                 };
63
64                 gpio1: gpio@d0018140 {
65                         compatible = "marvell,orion-gpio";
66                         reg = <0xd0018140 0x40>;
67                         ngpios = <32>;
68                         gpio-controller;
69                         #gpio-cells = <2>;
70                         interrupt-controller;
71                         #interrupts-cells = <2>;
72                         interrupts = <87>, <88>, <89>, <90>;
73                 };
74
75                 gpio2: gpio@d0018180 {
76                         compatible = "marvell,orion-gpio";
77                         reg = <0xd0018180 0x40>;
78                         ngpios = <3>;
79                         gpio-controller;
80                         #gpio-cells = <2>;
81                         interrupt-controller;
82                         #interrupts-cells = <2>;
83                         interrupts = <91>;
84                 };
85
86                 ethernet@d0034000 {
87                                 compatible = "marvell,armada-370-neta";
88                                 reg = <0xd0034000 0x2500>;
89                                 interrupts = <14>;
90                                 clocks = <&gateclk 1>;
91                                 status = "disabled";
92                 };
93         };
94 };