aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@sang-engineering.com>2014-02-17 05:44:41 -0500
committerSimon Horman <horms+renesas@verge.net.au>2014-02-17 19:29:27 -0500
commit5bd3de7ba7b28c885d534260800693fe57e55ec8 (patch)
tree32b5fb7429066c16eb42fbcc7fd177a2840b8ca8
parent6b1d7c68b255be81ef174d9621869fde5c95bc20 (diff)
ARM: shmobile: r8a7791: add i2c master nodes to dtsi
Signed-off-by: Wolfram Sang <wsa@sang-engineering.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/r8a7791.dtsi69
1 files changed, 69 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 41194fe18c3c..1ab4f3d5a8c2 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -19,6 +19,15 @@
19 #address-cells = <2>; 19 #address-cells = <2>;
20 #size-cells = <2>; 20 #size-cells = <2>;
21 21
22 aliases {
23 i2c0 = &i2c0;
24 i2c1 = &i2c1;
25 i2c2 = &i2c2;
26 i2c3 = &i2c3;
27 i2c4 = &i2c4;
28 i2c5 = &i2c5;
29 };
30
22 cpus { 31 cpus {
23 #address-cells = <1>; 32 #address-cells = <1>;
24 #size-cells = <0>; 33 #size-cells = <0>;
@@ -170,6 +179,66 @@
170 <0 17 IRQ_TYPE_LEVEL_HIGH>; 179 <0 17 IRQ_TYPE_LEVEL_HIGH>;
171 }; 180 };
172 181
182 i2c0: i2c@e6508000 {
183 #address-cells = <1>;
184 #size-cells = <0>;
185 compatible = "renesas,i2c-r8a7791";
186 reg = <0 0xe6508000 0 0x40>;
187 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
188 clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
189 status = "disabled";
190 };
191
192 i2c1: i2c@e6518000 {
193 #address-cells = <1>;
194 #size-cells = <0>;
195 compatible = "renesas,i2c-r8a7791";
196 reg = <0 0xe6518000 0 0x40>;
197 interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
198 clocks = <&mstp9_clks R8A7791_CLK_I2C1>;
199 status = "disabled";
200 };
201
202 i2c2: i2c@e6530000 {
203 #address-cells = <1>;
204 #size-cells = <0>;
205 compatible = "renesas,i2c-r8a7791";
206 reg = <0 0xe6530000 0 0x40>;
207 interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
208 clocks = <&mstp9_clks R8A7791_CLK_I2C2>;
209 status = "disabled";
210 };
211
212 i2c3: i2c@e6540000 {
213 #address-cells = <1>;
214 #size-cells = <0>;
215 compatible = "renesas,i2c-r8a7791";
216 reg = <0 0xe6540000 0 0x40>;
217 interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
218 clocks = <&mstp9_clks R8A7791_CLK_I2C3>;
219 status = "disabled";
220 };
221
222 i2c4: i2c@e6520000 {
223 #address-cells = <1>;
224 #size-cells = <0>;
225 compatible = "renesas,i2c-r8a7791";
226 reg = <0 0xe6520000 0 0x40>;
227 interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
228 clocks = <&mstp9_clks R8A7791_CLK_I2C4>;
229 status = "disabled";
230 };
231
232 i2c5: i2c@e6528000 {
233 #address-cells = <1>;
234 #size-cells = <0>;
235 compatible = "renesas,i2c-r8a7791";
236 reg = <0 0xe6528000 0 0x40>;
237 interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>;
238 clocks = <&mstp9_clks R8A7791_CLK_I2C5>;
239 status = "disabled";
240 };
241
173 pfc: pfc@e6060000 { 242 pfc: pfc@e6060000 {
174 compatible = "renesas,pfc-r8a7791"; 243 compatible = "renesas,pfc-r8a7791";
175 reg = <0 0xe6060000 0 0x250>; 244 reg = <0 0xe6060000 0 0x250>;