blob: fcf26889a8a0aacb380d980fb6cccdd36ee36dff [file] [log] [blame]
Simon Hormana3f22db2012-11-21 21:12:43 +09001/*
2 * Device Tree Source for the SH73A0 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,sh73a0";
15
16 cpus {
Simon Hormanc5795ae2013-01-28 09:41:40 +090017 #address-cells = <1>;
18 #size-cells = <0>;
19
Simon Hormana3f22db2012-11-21 21:12:43 +090020 cpu@0 {
Simon Hormanc5795ae2013-01-28 09:41:40 +090021 device_type = "cpu";
Simon Hormana3f22db2012-11-21 21:12:43 +090022 compatible = "arm,cortex-a9";
Simon Hormanc5795ae2013-01-28 09:41:40 +090023 reg = <0>;
Simon Hormana3f22db2012-11-21 21:12:43 +090024 };
25 cpu@1 {
Simon Hormanc5795ae2013-01-28 09:41:40 +090026 device_type = "cpu";
Simon Hormana3f22db2012-11-21 21:12:43 +090027 compatible = "arm,cortex-a9";
Simon Hormanc5795ae2013-01-28 09:41:40 +090028 reg = <1>;
Simon Hormana3f22db2012-11-21 21:12:43 +090029 };
30 };
31
32 gic: interrupt-controller@f0001000 {
33 compatible = "arm,cortex-a9-gic";
34 #interrupt-cells = <3>;
35 #address-cells = <1>;
36 interrupt-controller;
37 reg = <0xf0001000 0x1000>,
38 <0xf0000100 0x100>;
39 };
Simon Horman48609532012-11-21 22:00:15 +090040
Magnus Damm4c904832013-07-24 12:45:03 +090041 pmu {
42 compatible = "arm,cortex-a9-pmu";
43 interrupts = <0 55 4>,
44 <0 56 4>;
45 };
46
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +010047 irqpin0: irqpin@e6900000 {
48 compatible = "renesas,intc-irqpin";
49 #interrupt-cells = <2>;
50 interrupt-controller;
51 reg = <0xe6900000 4>,
52 <0xe6900010 4>,
53 <0xe6900020 1>,
54 <0xe6900040 1>,
55 <0xe6900060 1>;
56 interrupt-parent = <&gic>;
57 interrupts = <0 1 0x4
58 0 2 0x4
59 0 3 0x4
60 0 4 0x4
61 0 5 0x4
62 0 6 0x4
63 0 7 0x4
64 0 8 0x4>;
65 };
66
67 irqpin1: irqpin@e6900004 {
68 compatible = "renesas,intc-irqpin";
69 #interrupt-cells = <2>;
70 interrupt-controller;
71 reg = <0xe6900004 4>,
72 <0xe6900014 4>,
73 <0xe6900024 1>,
74 <0xe6900044 1>,
75 <0xe6900064 1>;
76 interrupt-parent = <&gic>;
77 interrupts = <0 9 0x4
78 0 10 0x4
79 0 11 0x4
80 0 12 0x4
81 0 13 0x4
82 0 14 0x4
83 0 15 0x4
84 0 16 0x4>;
85 control-parent;
86 };
87
88 irqpin2: irqpin@e6900008 {
89 compatible = "renesas,intc-irqpin";
90 #interrupt-cells = <2>;
91 interrupt-controller;
92 reg = <0xe6900008 4>,
93 <0xe6900018 4>,
94 <0xe6900028 1>,
95 <0xe6900048 1>,
96 <0xe6900068 1>;
97 interrupt-parent = <&gic>;
98 interrupts = <0 17 0x4
99 0 18 0x4
100 0 19 0x4
101 0 20 0x4
102 0 21 0x4
103 0 22 0x4
104 0 23 0x4
105 0 24 0x4>;
106 };
107
108 irqpin3: irqpin@e690000c {
109 compatible = "renesas,intc-irqpin";
110 #interrupt-cells = <2>;
111 interrupt-controller;
112 reg = <0xe690000c 4>,
113 <0xe690001c 4>,
114 <0xe690002c 1>,
115 <0xe690004c 1>,
116 <0xe690006c 1>;
117 interrupt-parent = <&gic>;
118 interrupts = <0 25 0x4
119 0 26 0x4
120 0 27 0x4
121 0 28 0x4
122 0 29 0x4
123 0 30 0x4
124 0 31 0x4
125 0 32 0x4>;
126 };
127
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200128 i2c0: i2c@e6820000 {
Simon Horman48609532012-11-21 22:00:15 +0900129 #address-cells = <1>;
130 #size-cells = <0>;
131 compatible = "renesas,rmobile-iic";
132 reg = <0xe6820000 0x425>;
133 interrupt-parent = <&gic>;
134 interrupts = <0 167 0x4
135 0 168 0x4
136 0 169 0x4
137 0 170 0x4>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200138 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900139 };
140
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200141 i2c1: i2c@e6822000 {
Simon Horman48609532012-11-21 22:00:15 +0900142 #address-cells = <1>;
143 #size-cells = <0>;
144 compatible = "renesas,rmobile-iic";
145 reg = <0xe6822000 0x425>;
146 interrupt-parent = <&gic>;
147 interrupts = <0 51 0x4
148 0 52 0x4
149 0 53 0x4
150 0 54 0x4>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200151 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900152 };
153
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200154 i2c2: i2c@e6824000 {
Simon Horman48609532012-11-21 22:00:15 +0900155 #address-cells = <1>;
156 #size-cells = <0>;
157 compatible = "renesas,rmobile-iic";
158 reg = <0xe6824000 0x425>;
159 interrupt-parent = <&gic>;
160 interrupts = <0 171 0x4
161 0 172 0x4
162 0 173 0x4
163 0 174 0x4>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200164 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900165 };
166
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200167 i2c3: i2c@e6826000 {
Simon Horman48609532012-11-21 22:00:15 +0900168 #address-cells = <1>;
169 #size-cells = <0>;
170 compatible = "renesas,rmobile-iic";
171 reg = <0xe6826000 0x425>;
172 interrupt-parent = <&gic>;
173 interrupts = <0 183 0x4
174 0 184 0x4
175 0 185 0x4
176 0 186 0x4>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200177 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900178 };
179
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200180 i2c4: i2c@e6828000 {
Simon Horman48609532012-11-21 22:00:15 +0900181 #address-cells = <1>;
182 #size-cells = <0>;
183 compatible = "renesas,rmobile-iic";
184 reg = <0xe6828000 0x425>;
185 interrupt-parent = <&gic>;
186 interrupts = <0 187 0x4
187 0 188 0x4
188 0 189 0x4
189 0 190 0x4>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200190 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900191 };
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100192
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200193 mmcif: mmcif@e6bd0000 {
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100194 compatible = "renesas,sh-mmcif";
195 reg = <0xe6bd0000 0x100>;
196 interrupt-parent = <&gic>;
197 interrupts = <0 140 0x4
198 0 141 0x4>;
199 reg-io-width = <4>;
200 status = "disabled";
201 };
202
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200203 sdhi0: sdhi@ee100000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200204 compatible = "renesas,sdhi-r8a7740";
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100205 reg = <0xee100000 0x100>;
206 interrupt-parent = <&gic>;
207 interrupts = <0 83 4
208 0 84 4
209 0 85 4>;
Guennadi Liakhovetskia463f7312013-03-19 18:38:50 +0100210 cap-sd-highspeed;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100211 status = "disabled";
212 };
213
214 /* SDHI1 and SDHI2 have no CD pins, no need for CD IRQ */
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200215 sdhi1: sdhi@ee120000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200216 compatible = "renesas,sdhi-r8a7740";
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100217 reg = <0xee120000 0x100>;
218 interrupt-parent = <&gic>;
219 interrupts = <0 88 4
220 0 89 4>;
221 toshiba,mmc-wrprotect-disable;
Guennadi Liakhovetskia463f7312013-03-19 18:38:50 +0100222 cap-sd-highspeed;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100223 status = "disabled";
224 };
225
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200226 sdhi2: sdhi@ee140000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200227 compatible = "renesas,sdhi-r8a7740";
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100228 reg = <0xee140000 0x100>;
229 interrupt-parent = <&gic>;
230 interrupts = <0 104 4
231 0 105 4>;
232 toshiba,mmc-wrprotect-disable;
Guennadi Liakhovetskia463f7312013-03-19 18:38:50 +0100233 cap-sd-highspeed;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100234 status = "disabled";
235 };
Laurent Pinchart3f590072012-11-20 14:02:54 +0100236
237 pfc: pfc@e6050000 {
238 compatible = "renesas,pfc-sh73a0";
239 reg = <0xe6050000 0x8000>,
240 <0xe605801c 0x1c>;
241 gpio-controller;
242 #gpio-cells = <2>;
243 };
Simon Hormana3f22db2012-11-21 21:12:43 +0900244};