blob: 8284715feec23b67568667f567712347d77c49b5 [file] [log] [blame]
Simon Hormanc58a1542013-01-29 14:21:46 +09001/*
Kuninori Morimoto349f5562013-03-03 23:11:03 -08002 * Device Tree Source for Renesas r8a7779
Simon Hormanc58a1542013-01-29 14:21:46 +09003 *
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
Laurent Pinchart5f75e732013-11-19 03:18:25 +010014#include <dt-bindings/interrupt-controller/irq.h>
15
Simon Hormanc58a1542013-01-29 14:21:46 +090016/ {
17 compatible = "renesas,r8a7779";
18
19 cpus {
20 #address-cells = <1>;
21 #size-cells = <0>;
22
23 cpu@0 {
24 device_type = "cpu";
25 compatible = "arm,cortex-a9";
26 reg = <0>;
27 };
28 cpu@1 {
29 device_type = "cpu";
30 compatible = "arm,cortex-a9";
31 reg = <1>;
32 };
33 cpu@2 {
34 device_type = "cpu";
35 compatible = "arm,cortex-a9";
36 reg = <2>;
37 };
38 cpu@3 {
39 device_type = "cpu";
40 compatible = "arm,cortex-a9";
41 reg = <3>;
42 };
43 };
44
45 gic: interrupt-controller@f0001000 {
46 compatible = "arm,cortex-a9-gic";
47 #interrupt-cells = <3>;
48 interrupt-controller;
49 reg = <0xf0001000 0x1000>,
50 <0xf0000100 0x100>;
51 };
Simon Horman10e8d4f2012-11-21 22:00:15 +090052
Laurent Pinchartf5c771b2013-05-10 15:51:14 +020053 gpio0: gpio@ffc40000 {
54 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
55 reg = <0xffc40000 0x2c>;
56 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010057 interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +020058 #gpio-cells = <2>;
59 gpio-controller;
60 gpio-ranges = <&pfc 0 0 32>;
61 #interrupt-cells = <2>;
62 interrupt-controller;
63 };
64
65 gpio1: gpio@ffc41000 {
66 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
67 reg = <0xffc41000 0x2c>;
68 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010069 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +020070 #gpio-cells = <2>;
71 gpio-controller;
72 gpio-ranges = <&pfc 0 32 32>;
73 #interrupt-cells = <2>;
74 interrupt-controller;
75 };
76
77 gpio2: gpio@ffc42000 {
78 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
79 reg = <0xffc42000 0x2c>;
80 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010081 interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +020082 #gpio-cells = <2>;
83 gpio-controller;
84 gpio-ranges = <&pfc 0 64 32>;
85 #interrupt-cells = <2>;
86 interrupt-controller;
87 };
88
89 gpio3: gpio@ffc43000 {
90 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
91 reg = <0xffc43000 0x2c>;
92 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010093 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +020094 #gpio-cells = <2>;
95 gpio-controller;
96 gpio-ranges = <&pfc 0 96 32>;
97 #interrupt-cells = <2>;
98 interrupt-controller;
99 };
100
101 gpio4: gpio@ffc44000 {
102 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
103 reg = <0xffc44000 0x2c>;
104 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100105 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +0200106 #gpio-cells = <2>;
107 gpio-controller;
108 gpio-ranges = <&pfc 0 128 32>;
109 #interrupt-cells = <2>;
110 interrupt-controller;
111 };
112
113 gpio5: gpio@ffc45000 {
114 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
115 reg = <0xffc45000 0x2c>;
116 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100117 interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +0200118 #gpio-cells = <2>;
119 gpio-controller;
120 gpio-ranges = <&pfc 0 160 32>;
121 #interrupt-cells = <2>;
122 interrupt-controller;
123 };
124
125 gpio6: gpio@ffc46000 {
126 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
127 reg = <0xffc46000 0x2c>;
128 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100129 interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +0200130 #gpio-cells = <2>;
131 gpio-controller;
132 gpio-ranges = <&pfc 0 192 9>;
133 #interrupt-cells = <2>;
134 interrupt-controller;
135 };
136
Guennadi Liakhovetski24603f32013-04-03 11:19:07 +0200137 irqpin0: irqpin@fe780010 {
Magnus Damm11ef0342013-11-28 08:15:18 +0900138 compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin";
Guennadi Liakhovetski24603f32013-04-03 11:19:07 +0200139 #interrupt-cells = <2>;
Kuninori Morimoto84b47df2013-10-02 01:39:13 -0700140 status = "disabled";
Guennadi Liakhovetski24603f32013-04-03 11:19:07 +0200141 interrupt-controller;
142 reg = <0xfe78001c 4>,
143 <0xfe780010 4>,
144 <0xfe780024 4>,
145 <0xfe780044 4>,
146 <0xfe780064 4>;
147 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100148 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH
149 0 28 IRQ_TYPE_LEVEL_HIGH
150 0 29 IRQ_TYPE_LEVEL_HIGH
151 0 30 IRQ_TYPE_LEVEL_HIGH>;
Guennadi Liakhovetski24603f32013-04-03 11:19:07 +0200152 sense-bitfield-width = <2>;
153 };
154
Lee Jones98724b72013-07-22 11:52:38 +0100155 i2c0: i2c@ffc70000 {
Simon Horman10e8d4f2012-11-21 22:00:15 +0900156 #address-cells = <1>;
157 #size-cells = <0>;
Kuninori Morimoto63630702013-10-03 23:44:44 -0700158 compatible = "renesas,i2c-r8a7779";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900159 reg = <0xffc70000 0x1000>;
160 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100161 interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200162 status = "disabled";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900163 };
164
Lee Jones98724b72013-07-22 11:52:38 +0100165 i2c1: i2c@ffc71000 {
Simon Horman10e8d4f2012-11-21 22:00:15 +0900166 #address-cells = <1>;
167 #size-cells = <0>;
Kuninori Morimoto63630702013-10-03 23:44:44 -0700168 compatible = "renesas,i2c-r8a7779";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900169 reg = <0xffc71000 0x1000>;
170 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100171 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200172 status = "disabled";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900173 };
174
Lee Jones98724b72013-07-22 11:52:38 +0100175 i2c2: i2c@ffc72000 {
Simon Horman10e8d4f2012-11-21 22:00:15 +0900176 #address-cells = <1>;
177 #size-cells = <0>;
Kuninori Morimoto63630702013-10-03 23:44:44 -0700178 compatible = "renesas,i2c-r8a7779";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900179 reg = <0xffc72000 0x1000>;
180 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100181 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200182 status = "disabled";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900183 };
184
Lee Jones98724b72013-07-22 11:52:38 +0100185 i2c3: i2c@ffc73000 {
Simon Horman10e8d4f2012-11-21 22:00:15 +0900186 #address-cells = <1>;
187 #size-cells = <0>;
Kuninori Morimoto63630702013-10-03 23:44:44 -0700188 compatible = "renesas,i2c-r8a7779";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900189 reg = <0xffc73000 0x1000>;
190 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100191 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200192 status = "disabled";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900193 };
Kuninori Morimoto25a65972013-03-04 00:32:16 -0800194
Laurent Pinchart3ab03d02013-05-09 15:05:57 +0200195 pfc: pfc@fffc0000 {
196 compatible = "renesas,pfc-r8a7779";
197 reg = <0xfffc0000 0x23c>;
198 };
199
Kuninori Morimoto25a65972013-03-04 00:32:16 -0800200 thermal@ffc48000 {
201 compatible = "renesas,rcar-thermal";
202 reg = <0xffc48000 0x38>;
203 };
Vladimir Barinov7840a652013-02-27 23:34:36 +0300204
205 sata: sata@fc600000 {
206 compatible = "renesas,rcar-sata";
207 reg = <0xfc600000 0x2000>;
208 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100209 interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
Vladimir Barinov7840a652013-02-27 23:34:36 +0300210 };
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700211
Kuninori Morimoto26247052013-10-21 19:36:02 -0700212 sdhi0: sd@ffe4c000 {
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700213 compatible = "renesas,sdhi-r8a7779";
214 reg = <0xffe4c000 0x100>;
215 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100216 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700217 cap-sd-highspeed;
218 cap-sdio-irq;
219 status = "disabled";
220 };
221
Kuninori Morimoto26247052013-10-21 19:36:02 -0700222 sdhi1: sd@ffe4d000 {
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700223 compatible = "renesas,sdhi-r8a7779";
224 reg = <0xffe4d000 0x100>;
225 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100226 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700227 cap-sd-highspeed;
228 cap-sdio-irq;
229 status = "disabled";
230 };
231
Kuninori Morimoto26247052013-10-21 19:36:02 -0700232 sdhi2: sd@ffe4e000 {
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700233 compatible = "renesas,sdhi-r8a7779";
234 reg = <0xffe4e000 0x100>;
235 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100236 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700237 cap-sd-highspeed;
238 cap-sdio-irq;
239 status = "disabled";
240 };
241
Kuninori Morimoto26247052013-10-21 19:36:02 -0700242 sdhi3: sd@ffe4f000 {
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700243 compatible = "renesas,sdhi-r8a7779";
244 reg = <0xffe4f000 0x100>;
245 interrupt-parent = <&gic>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100246 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700247 cap-sd-highspeed;
248 cap-sdio-irq;
249 status = "disabled";
250 };
Simon Hormanc58a1542013-01-29 14:21:46 +0900251};