Merge branch 'for-3.12/core' of git://git.kernel.dk/linux-block
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / r8a7779.dtsi
1 /*
2  * Device Tree Source for Renesas r8a7779
3  *
4  * Copyright (C) 2013 Renesas Solutions Corp.
5  * Copyright (C) 2013 Simon Horman
6  *
7  * This file is licensed under the terms of the GNU General Public License
8  * version 2.  This program is licensed "as is" without any warranty of any
9  * kind, whether express or implied.
10  */
11
12 /include/ "skeleton.dtsi"
13
14 / {
15         compatible = "renesas,r8a7779";
16
17         cpus {
18                 #address-cells = <1>;
19                 #size-cells = <0>;
20
21                 cpu@0 {
22                         device_type = "cpu";
23                         compatible = "arm,cortex-a9";
24                         reg = <0>;
25                 };
26                 cpu@1 {
27                         device_type = "cpu";
28                         compatible = "arm,cortex-a9";
29                         reg = <1>;
30                 };
31                 cpu@2 {
32                         device_type = "cpu";
33                         compatible = "arm,cortex-a9";
34                         reg = <2>;
35                 };
36                 cpu@3 {
37                         device_type = "cpu";
38                         compatible = "arm,cortex-a9";
39                         reg = <3>;
40                 };
41         };
42
43         gic: interrupt-controller@f0001000 {
44                 compatible = "arm,cortex-a9-gic";
45                 #interrupt-cells = <3>;
46                 interrupt-controller;
47                 reg = <0xf0001000 0x1000>,
48                       <0xf0000100 0x100>;
49         };
50
51         gpio0: gpio@ffc40000 {
52                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
53                 reg = <0xffc40000 0x2c>;
54                 interrupt-parent = <&gic>;
55                 interrupts = <0 141 0x4>;
56                 #gpio-cells = <2>;
57                 gpio-controller;
58                 gpio-ranges = <&pfc 0 0 32>;
59                 #interrupt-cells = <2>;
60                 interrupt-controller;
61         };
62
63         gpio1: gpio@ffc41000 {
64                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
65                 reg = <0xffc41000 0x2c>;
66                 interrupt-parent = <&gic>;
67                 interrupts = <0 142 0x4>;
68                 #gpio-cells = <2>;
69                 gpio-controller;
70                 gpio-ranges = <&pfc 0 32 32>;
71                 #interrupt-cells = <2>;
72                 interrupt-controller;
73         };
74
75         gpio2: gpio@ffc42000 {
76                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
77                 reg = <0xffc42000 0x2c>;
78                 interrupt-parent = <&gic>;
79                 interrupts = <0 143 0x4>;
80                 #gpio-cells = <2>;
81                 gpio-controller;
82                 gpio-ranges = <&pfc 0 64 32>;
83                 #interrupt-cells = <2>;
84                 interrupt-controller;
85         };
86
87         gpio3: gpio@ffc43000 {
88                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
89                 reg = <0xffc43000 0x2c>;
90                 interrupt-parent = <&gic>;
91                 interrupts = <0 144 0x4>;
92                 #gpio-cells = <2>;
93                 gpio-controller;
94                 gpio-ranges = <&pfc 0 96 32>;
95                 #interrupt-cells = <2>;
96                 interrupt-controller;
97         };
98
99         gpio4: gpio@ffc44000 {
100                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
101                 reg = <0xffc44000 0x2c>;
102                 interrupt-parent = <&gic>;
103                 interrupts = <0 145 0x4>;
104                 #gpio-cells = <2>;
105                 gpio-controller;
106                 gpio-ranges = <&pfc 0 128 32>;
107                 #interrupt-cells = <2>;
108                 interrupt-controller;
109         };
110
111         gpio5: gpio@ffc45000 {
112                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
113                 reg = <0xffc45000 0x2c>;
114                 interrupt-parent = <&gic>;
115                 interrupts = <0 146 0x4>;
116                 #gpio-cells = <2>;
117                 gpio-controller;
118                 gpio-ranges = <&pfc 0 160 32>;
119                 #interrupt-cells = <2>;
120                 interrupt-controller;
121         };
122
123         gpio6: gpio@ffc46000 {
124                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
125                 reg = <0xffc46000 0x2c>;
126                 interrupt-parent = <&gic>;
127                 interrupts = <0 147 0x4>;
128                 #gpio-cells = <2>;
129                 gpio-controller;
130                 gpio-ranges = <&pfc 0 192 9>;
131                 #interrupt-cells = <2>;
132                 interrupt-controller;
133         };
134
135         irqpin0: irqpin@fe780010 {
136                 compatible = "renesas,intc-irqpin";
137                 #interrupt-cells = <2>;
138                 interrupt-controller;
139                 reg = <0xfe78001c 4>,
140                         <0xfe780010 4>,
141                         <0xfe780024 4>,
142                         <0xfe780044 4>,
143                         <0xfe780064 4>;
144                 interrupt-parent = <&gic>;
145                 interrupts = <0 27 0x4
146                                 0 28 0x4
147                                 0 29 0x4
148                                 0 30 0x4>;
149                 sense-bitfield-width = <2>;
150         };
151
152         i2c0: i2c@ffc70000 {
153                 #address-cells = <1>;
154                 #size-cells = <0>;
155                 compatible = "renesas,rmobile-iic";
156                 reg = <0xffc70000 0x1000>;
157                 interrupt-parent = <&gic>;
158                 interrupts = <0 79 0x4>;
159         };
160
161         i2c1: i2c@ffc71000 {
162                 #address-cells = <1>;
163                 #size-cells = <0>;
164                 compatible = "renesas,rmobile-iic";
165                 reg = <0xffc71000 0x1000>;
166                 interrupt-parent = <&gic>;
167                 interrupts = <0 82 0x4>;
168         };
169
170         i2c2: i2c@ffc72000 {
171                 #address-cells = <1>;
172                 #size-cells = <0>;
173                 compatible = "renesas,rmobile-iic";
174                 reg = <0xffc72000 0x1000>;
175                 interrupt-parent = <&gic>;
176                 interrupts = <0 80 0x4>;
177         };
178
179         i2c3: i2c@ffc73000 {
180                 #address-cells = <1>;
181                 #size-cells = <0>;
182                 compatible = "renesas,rmobile-iic";
183                 reg = <0xffc73000 0x1000>;
184                 interrupt-parent = <&gic>;
185                 interrupts = <0 81 0x4>;
186         };
187
188         pfc: pfc@fffc0000 {
189                 compatible = "renesas,pfc-r8a7779";
190                 reg = <0xfffc0000 0x23c>;
191                 #gpio-range-cells = <3>;
192         };
193
194         thermal@ffc48000 {
195                 compatible = "renesas,rcar-thermal";
196                 reg = <0xffc48000 0x38>;
197         };
198
199         sata: sata@fc600000 {
200                 compatible = "renesas,rcar-sata";
201                 reg = <0xfc600000 0x2000>;
202                 interrupt-parent = <&gic>;
203                 interrupts = <0 100 0x4>;
204         };
205 };