blob: 44d3d520e01ffd0cce0c48527889d2ddf8e4c230 [file] [log] [blame]
Magnus Damm755d57b2012-07-06 17:08:07 +09001/*
2 * Device Tree Source for the r8a7740 SoC
3 *
4 * Copyright (C) 2012 Renesas Solutions Corp.
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11/include/ "skeleton.dtsi"
12
13/ {
14 compatible = "renesas,r8a7740";
15
16 cpus {
Lorenzo Pieralisib4032012013-04-18 18:39:50 +010017 #address-cells = <1>;
18 #size-cells = <0>;
Magnus Damm755d57b2012-07-06 17:08:07 +090019 cpu@0 {
20 compatible = "arm,cortex-a9";
Lorenzo Pieralisib4032012013-04-18 18:39:50 +010021 device_type = "cpu";
22 reg = <0x0>;
Magnus Damm755d57b2012-07-06 17:08:07 +090023 };
24 };
Bastian Hecht744fdc82013-04-17 12:34:05 +020025
26 gic: interrupt-controller@c2800000 {
27 compatible = "arm,cortex-a9-gic";
28 #interrupt-cells = <3>;
29 #address-cells = <1>;
30 interrupt-controller;
31 reg = <0xc2800000 0x1000>,
32 <0xc2000000 0x1000>;
33 };
34
Magnus Dammb21ed4e2013-07-24 12:59:09 +090035 pmu {
36 compatible = "arm,cortex-a9-pmu";
37 interrupts = <0 83 4>;
38 };
39
Bastian Hecht744fdc82013-04-17 12:34:05 +020040 /* irqpin0: IRQ0 - IRQ7 */
41 irqpin0: irqpin@e6900000 {
42 compatible = "renesas,intc-irqpin";
43 #interrupt-cells = <2>;
44 interrupt-controller;
45 reg = <0xe6900000 4>,
46 <0xe6900010 4>,
47 <0xe6900020 1>,
48 <0xe6900040 1>,
49 <0xe6900060 1>;
50 interrupt-parent = <&gic>;
51 interrupts = <0 149 0x4
52 0 149 0x4
53 0 149 0x4
54 0 149 0x4
55 0 149 0x4
56 0 149 0x4
57 0 149 0x4
58 0 149 0x4>;
59 };
60
61 /* irqpin1: IRQ8 - IRQ15 */
62 irqpin1: irqpin@e6900004 {
63 compatible = "renesas,intc-irqpin";
64 #interrupt-cells = <2>;
65 interrupt-controller;
66 reg = <0xe6900004 4>,
67 <0xe6900014 4>,
68 <0xe6900024 1>,
69 <0xe6900044 1>,
70 <0xe6900064 1>;
71 interrupt-parent = <&gic>;
72 interrupts = <0 149 0x4
73 0 149 0x4
74 0 149 0x4
75 0 149 0x4
76 0 149 0x4
77 0 149 0x4
78 0 149 0x4
79 0 149 0x4>;
80 };
81
82 /* irqpin2: IRQ16 - IRQ23 */
83 irqpin2: irqpin@e6900008 {
84 compatible = "renesas,intc-irqpin";
85 #interrupt-cells = <2>;
86 interrupt-controller;
87 reg = <0xe6900008 4>,
88 <0xe6900018 4>,
89 <0xe6900028 1>,
90 <0xe6900048 1>,
91 <0xe6900068 1>;
92 interrupt-parent = <&gic>;
93 interrupts = <0 149 0x4
94 0 149 0x4
95 0 149 0x4
96 0 149 0x4
97 0 149 0x4
98 0 149 0x4
99 0 149 0x4
100 0 149 0x4>;
101 };
102
103 /* irqpin3: IRQ24 - IRQ31 */
104 irqpin3: irqpin@e690000c {
105 compatible = "renesas,intc-irqpin";
106 #interrupt-cells = <2>;
107 interrupt-controller;
108 reg = <0xe690000c 4>,
109 <0xe690001c 4>,
110 <0xe690002c 1>,
111 <0xe690004c 1>,
112 <0xe690006c 1>;
113 interrupt-parent = <&gic>;
114 interrupts = <0 149 0x4
115 0 149 0x4
116 0 149 0x4
117 0 149 0x4
118 0 149 0x4
119 0 149 0x4
120 0 149 0x4
121 0 149 0x4>;
122 };
123
124 i2c0: i2c@fff20000 {
125 #address-cells = <1>;
126 #size-cells = <0>;
127 compatible = "renesas,rmobile-iic";
128 reg = <0xfff20000 0x425>;
129 interrupt-parent = <&gic>;
130 interrupts = <0 201 0x4
131 0 202 0x4
132 0 203 0x4
133 0 204 0x4>;
134 };
135
136 i2c1: i2c@e6c20000 {
137 #address-cells = <1>;
138 #size-cells = <0>;
139 compatible = "renesas,rmobile-iic";
140 reg = <0xe6c20000 0x425>;
141 interrupt-parent = <&gic>;
142 interrupts = <0 70 0x4
143 0 71 0x4
144 0 72 0x4
145 0 73 0x4>;
146 };
Laurent Pinchartf36218d2012-11-20 14:02:54 +0100147
148 pfc: pfc@e6050000 {
149 compatible = "renesas,pfc-r8a7740";
150 reg = <0xe6050000 0x8000>,
151 <0xe605800c 0x20>;
152 gpio-controller;
153 #gpio-cells = <2>;
154 };
Linus Torvaldsfa915152013-09-09 16:33:57 -0700155
Laurent Pinchart8b3e32c2013-07-26 00:51:00 +0200156 tpu: pwm@e6600000 {
157 compatible = "renesas,tpu-r8a7740", "renesas,tpu";
158 reg = <0xe6600000 0x100>;
159 status = "disabled";
160 #pwm-cells = <3>;
161 };
Magnus Damm755d57b2012-07-06 17:08:07 +0900162};