]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/r8a7778.dtsi
ARM: shmobile: r8a7778: add I2C support on DTSI
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / r8a7778.dtsi
CommitLineData
ccb7cc74
KM
1/*
2 * Device Tree Source for Renesas r8a7778
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
6 *
7 * based on r8a7779
8 *
9 * Copyright (C) 2013 Renesas Solutions Corp.
10 * Copyright (C) 2013 Simon Horman
11 *
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.
15 */
16
17/include/ "skeleton.dtsi"
18
19/ {
20 compatible = "renesas,r8a7778";
21
22 cpus {
23 cpu@0 {
24 compatible = "arm,cortex-a9";
25 };
26 };
27
28 gic: interrupt-controller@fe438000 {
29 compatible = "arm,cortex-a9-gic";
30 #interrupt-cells = <3>;
31 interrupt-controller;
32 reg = <0xfe438000 0x1000>,
33 <0xfe430000 0x100>;
34 };
0697ccc0 35
87f1ba80
KM
36 /* irqpin: IRQ0 - IRQ3 */
37 irqpin: irqpin@fe78001c {
38 compatible = "renesas,intc-irqpin";
39 #interrupt-cells = <2>;
40 interrupt-controller;
41 status = "disabled"; /* default off */
42 reg = <0xfe78001c 4>,
43 <0xfe780010 4>,
44 <0xfe780024 4>,
45 <0xfe780044 4>,
46 <0xfe780064 4>;
47 interrupt-parent = <&gic>;
48 interrupts = <0 27 0x4
49 0 28 0x4
50 0 29 0x4
51 0 30 0x4>;
52 sense-bitfield-width = <2>;
53 };
54
aaf7eda8
LP
55 gpio0: gpio@ffc40000 {
56 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
57 reg = <0xffc40000 0x2c>;
58 interrupt-parent = <&gic>;
59 interrupts = <0 103 0x4>;
60 #gpio-cells = <2>;
61 gpio-controller;
62 gpio-ranges = <&pfc 0 0 32>;
63 #interrupt-cells = <2>;
64 interrupt-controller;
65 };
66
67 gpio1: gpio@ffc41000 {
68 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
69 reg = <0xffc41000 0x2c>;
70 interrupt-parent = <&gic>;
71 interrupts = <0 103 0x4>;
72 #gpio-cells = <2>;
73 gpio-controller;
74 gpio-ranges = <&pfc 0 32 32>;
75 #interrupt-cells = <2>;
76 interrupt-controller;
77 };
78
79 gpio2: gpio@ffc42000 {
80 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
81 reg = <0xffc42000 0x2c>;
82 interrupt-parent = <&gic>;
83 interrupts = <0 103 0x4>;
84 #gpio-cells = <2>;
85 gpio-controller;
86 gpio-ranges = <&pfc 0 64 32>;
87 #interrupt-cells = <2>;
88 interrupt-controller;
89 };
90
91 gpio3: gpio@ffc43000 {
92 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
93 reg = <0xffc43000 0x2c>;
94 interrupt-parent = <&gic>;
95 interrupts = <0 103 0x4>;
96 #gpio-cells = <2>;
97 gpio-controller;
98 gpio-ranges = <&pfc 0 96 32>;
99 #interrupt-cells = <2>;
100 interrupt-controller;
101 };
102
103 gpio4: gpio@ffc44000 {
104 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
105 reg = <0xffc44000 0x2c>;
106 interrupt-parent = <&gic>;
107 interrupts = <0 103 0x4>;
108 #gpio-cells = <2>;
109 gpio-controller;
110 gpio-ranges = <&pfc 0 128 27>;
111 #interrupt-cells = <2>;
112 interrupt-controller;
113 };
114
0697ccc0
LP
115 pfc: pfc@fffc0000 {
116 compatible = "renesas,pfc-r8a7778";
80d01fee 117 reg = <0xfffc0000 0x118>;
0697ccc0 118 };
3acb51b9
KM
119
120 i2c0: i2c@ffc70000 {
121 #address-cells = <1>;
122 #size-cells = <0>;
123 compatible = "renesas,i2c-r8a7778";
124 reg = <0xffc70000 0x1000>;
125 interrupt-parent = <&gic>;
126 interrupts = <0 67 0x4>;
127 status = "disabled";
128 };
129
130 i2c1: i2c@ffc71000 {
131 #address-cells = <1>;
132 #size-cells = <0>;
133 compatible = "renesas,i2c-r8a7778";
134 reg = <0xffc71000 0x1000>;
135 interrupt-parent = <&gic>;
136 interrupts = <0 78 0x4>;
137 status = "disabled";
138 };
139
140 i2c2: i2c@ffc72000 {
141 #address-cells = <1>;
142 #size-cells = <0>;
143 compatible = "renesas,i2c-r8a7778";
144 reg = <0xffc72000 0x1000>;
145 interrupt-parent = <&gic>;
146 interrupts = <0 76 0x4>;
147 status = "disabled";
148 };
149
150 i2c3: i2c@ffc73000 {
151 #address-cells = <1>;
152 #size-cells = <0>;
153 compatible = "renesas,i2c-r8a7778";
154 reg = <0xffc73000 0x1000>;
155 interrupt-parent = <&gic>;
156 interrupts = <0 77 0x4>;
157 status = "disabled";
158 };
f7b90175 159
14e1d914 160 mmcif: mmc@ffe4e000 {
f7b90175
KM
161 compatible = "renesas,sh-mmcif";
162 reg = <0xffe4e000 0x100>;
163 interrupt-parent = <&gic>;
164 interrupts = <0 61 4>;
165 status = "disabled";
166 };
04cbd889 167
14e1d914 168 sdhi0: sd@ffe4c000 {
04cbd889
KM
169 compatible = "renesas,sdhi-r8a7778";
170 reg = <0xffe4c000 0x100>;
171 interrupt-parent = <&gic>;
172 interrupts = <0 87 4>;
173 cap-sd-highspeed;
174 cap-sdio-irq;
175 status = "disabled";
176 };
177
14e1d914 178 sdhi1: sd@ffe4d000 {
04cbd889
KM
179 compatible = "renesas,sdhi-r8a7778";
180 reg = <0xffe4d000 0x100>;
181 interrupt-parent = <&gic>;
182 interrupts = <0 88 4>;
183 cap-sd-highspeed;
184 cap-sdio-irq;
185 status = "disabled";
186 };
187
14e1d914 188 sdhi2: sd@ffe4f000 {
04cbd889
KM
189 compatible = "renesas,sdhi-r8a7778";
190 reg = <0xffe4f000 0x100>;
191 interrupt-parent = <&gic>;
192 interrupts = <0 86 4>;
193 cap-sd-highspeed;
194 cap-sdio-irq;
195 status = "disabled";
196 };
ae4273ec
KM
197
198 i2c0: i2c@ffc70000 {
199 #address-cells = <1>;
200 #size-cells = <0>;
201 compatible = "renesas,i2c-r8a7778";
202 reg = <0xffc70000 0x1000>;
203 interrupt-parent = <&gic>;
204 interrupts = <0 67 0x4>;
205 status = "disabled";
206 };
207
208 i2c1: i2c@ffc71000 {
209 #address-cells = <1>;
210 #size-cells = <0>;
211 compatible = "renesas,i2c-r8a7778";
212 reg = <0xffc71000 0x1000>;
213 interrupt-parent = <&gic>;
214 interrupts = <0 78 0x4>;
215 status = "disabled";
216 };
217
218 i2c2: i2c@ffc72000 {
219 #address-cells = <1>;
220 #size-cells = <0>;
221 compatible = "renesas,i2c-r8a7778";
222 reg = <0xffc72000 0x1000>;
223 interrupt-parent = <&gic>;
224 interrupts = <0 76 0x4>;
225 status = "disabled";
226 };
227
228 i2c3: i2c@ffc73000 {
229 #address-cells = <1>;
230 #size-cells = <0>;
231 compatible = "renesas,i2c-r8a7778";
232 reg = <0xffc73000 0x1000>;
233 interrupt-parent = <&gic>;
234 interrupts = <0 77 0x4>;
235 status = "disabled";
236 };
ccb7cc74 237};