2 * Device Tree Source for Renesas r8a7778
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
9 * Copyright (C) 2013 Renesas Solutions Corp.
10 * Copyright (C) 2013 Simon Horman
12 * This file is licensed under the terms of the GNU General Public License
13 * version 2. This program is licensed "as is" without any warranty of any
14 * kind, whether express or implied.
17 /include/ "skeleton.dtsi"
19 #include <dt-bindings/interrupt-controller/irq.h>
22 compatible = "renesas,r8a7778";
26 compatible = "arm,cortex-a9";
36 gic: interrupt-controller@fe438000 {
37 compatible = "arm,cortex-a9-gic";
38 #interrupt-cells = <3>;
40 reg = <0xfe438000 0x1000>,
44 /* irqpin: IRQ0 - IRQ3 */
45 irqpin: irqpin@fe78001c {
46 compatible = "renesas,intc-irqpin-r8a7778", "renesas,intc-irqpin";
47 #interrupt-cells = <2>;
49 status = "disabled"; /* default off */
55 interrupt-parent = <&gic>;
56 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH
57 0 28 IRQ_TYPE_LEVEL_HIGH
58 0 29 IRQ_TYPE_LEVEL_HIGH
59 0 30 IRQ_TYPE_LEVEL_HIGH>;
60 sense-bitfield-width = <2>;
63 gpio0: gpio@ffc40000 {
64 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
65 reg = <0xffc40000 0x2c>;
66 interrupt-parent = <&gic>;
67 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
70 gpio-ranges = <&pfc 0 0 32>;
71 #interrupt-cells = <2>;
75 gpio1: gpio@ffc41000 {
76 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
77 reg = <0xffc41000 0x2c>;
78 interrupt-parent = <&gic>;
79 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
82 gpio-ranges = <&pfc 0 32 32>;
83 #interrupt-cells = <2>;
87 gpio2: gpio@ffc42000 {
88 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
89 reg = <0xffc42000 0x2c>;
90 interrupt-parent = <&gic>;
91 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
94 gpio-ranges = <&pfc 0 64 32>;
95 #interrupt-cells = <2>;
99 gpio3: gpio@ffc43000 {
100 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
101 reg = <0xffc43000 0x2c>;
102 interrupt-parent = <&gic>;
103 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
106 gpio-ranges = <&pfc 0 96 32>;
107 #interrupt-cells = <2>;
108 interrupt-controller;
111 gpio4: gpio@ffc44000 {
112 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
113 reg = <0xffc44000 0x2c>;
114 interrupt-parent = <&gic>;
115 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
118 gpio-ranges = <&pfc 0 128 27>;
119 #interrupt-cells = <2>;
120 interrupt-controller;
124 compatible = "renesas,pfc-r8a7778";
125 reg = <0xfffc0000 0x118>;
129 #address-cells = <1>;
131 compatible = "renesas,i2c-r8a7778";
132 reg = <0xffc70000 0x1000>;
133 interrupt-parent = <&gic>;
134 interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>;
139 #address-cells = <1>;
141 compatible = "renesas,i2c-r8a7778";
142 reg = <0xffc71000 0x1000>;
143 interrupt-parent = <&gic>;
144 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>;
149 #address-cells = <1>;
151 compatible = "renesas,i2c-r8a7778";
152 reg = <0xffc72000 0x1000>;
153 interrupt-parent = <&gic>;
154 interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>;
159 #address-cells = <1>;
161 compatible = "renesas,i2c-r8a7778";
162 reg = <0xffc73000 0x1000>;
163 interrupt-parent = <&gic>;
164 interrupts = <0 77 IRQ_TYPE_LEVEL_HIGH>;
168 mmcif: mmc@ffe4e000 {
169 compatible = "renesas,sh-mmcif";
170 reg = <0xffe4e000 0x100>;
171 interrupt-parent = <&gic>;
172 interrupts = <0 61 IRQ_TYPE_LEVEL_HIGH>;
177 compatible = "renesas,sdhi-r8a7778";
178 reg = <0xffe4c000 0x100>;
179 interrupt-parent = <&gic>;
180 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>;
187 compatible = "renesas,sdhi-r8a7778";
188 reg = <0xffe4d000 0x100>;
189 interrupt-parent = <&gic>;
190 interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH>;
197 compatible = "renesas,sdhi-r8a7778";
198 reg = <0xffe4f000 0x100>;
199 interrupt-parent = <&gic>;
200 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
207 #address-cells = <1>;
209 compatible = "renesas,i2c-r8a7778";
210 reg = <0xffc70000 0x1000>;
211 interrupt-parent = <&gic>;
212 interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>;
217 #address-cells = <1>;
219 compatible = "renesas,i2c-r8a7778";
220 reg = <0xffc71000 0x1000>;
221 interrupt-parent = <&gic>;
222 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>;
227 #address-cells = <1>;
229 compatible = "renesas,i2c-r8a7778";
230 reg = <0xffc72000 0x1000>;
231 interrupt-parent = <&gic>;
232 interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>;
237 #address-cells = <1>;
239 compatible = "renesas,i2c-r8a7778";
240 reg = <0xffc73000 0x1000>;
241 interrupt-parent = <&gic>;
242 interrupts = <0 77 IRQ_TYPE_LEVEL_HIGH>;
246 hspi0: spi@fffc7000 {
247 compatible = "renesas,hspi";
248 reg = <0xfffc7000 0x18>;
249 interrupt-controller = <&gic>;
250 interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
254 hspi1: spi@fffc8000 {
255 compatible = "renesas,hspi";
256 reg = <0xfffc8000 0x18>;
257 interrupt-controller = <&gic>;
258 interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
262 hspi2: spi@fffc6000 {
263 compatible = "renesas,hspi";
264 reg = <0xfffc6000 0x18>;
265 interrupt-controller = <&gic>;
266 interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;