blob: 388f49f675bbc52352bf05c05fde51ef36ef7001 [file] [log] [blame]
Magnus Damm0468b2d2013-03-28 00:49:34 +09001/*
2 * Device Tree Source for the r8a7790 SoC
3 *
4 * Copyright (C) 2013 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
Magnus Damm0468b2d2013-03-28 00:49:34 +090011/ {
12 compatible = "renesas,r8a7790";
13 interrupt-parent = <&gic>;
Takashi Yoshii8585deb2013-03-29 16:49:17 +090014 #address-cells = <2>;
15 #size-cells = <2>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090016
17 cpus {
18 #address-cells = <1>;
19 #size-cells = <0>;
20
21 cpu0: cpu@0 {
22 device_type = "cpu";
23 compatible = "arm,cortex-a15";
24 reg = <0>;
25 clock-frequency = <1300000000>;
26 };
Magnus Dammc1f95972013-08-29 08:22:17 +090027
28 cpu1: cpu@1 {
29 device_type = "cpu";
30 compatible = "arm,cortex-a15";
31 reg = <1>;
32 clock-frequency = <1300000000>;
33 };
34
35 cpu2: cpu@2 {
36 device_type = "cpu";
37 compatible = "arm,cortex-a15";
38 reg = <2>;
39 clock-frequency = <1300000000>;
40 };
41
42 cpu3: cpu@3 {
43 device_type = "cpu";
44 compatible = "arm,cortex-a15";
45 reg = <3>;
46 clock-frequency = <1300000000>;
47 };
Magnus Damm0468b2d2013-03-28 00:49:34 +090048 };
49
50 gic: interrupt-controller@f1001000 {
51 compatible = "arm,cortex-a15-gic";
52 #interrupt-cells = <3>;
53 #address-cells = <0>;
54 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +090055 reg = <0 0xf1001000 0 0x1000>,
56 <0 0xf1002000 0 0x1000>,
57 <0 0xf1004000 0 0x2000>,
58 <0 0xf1006000 0 0x2000>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090059 interrupts = <1 9 0xf04>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090060 };
61
Laurent Pinchartf98e10c2013-05-10 15:51:14 +020062 gpio0: gpio@ffc40000 {
63 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
64 reg = <0 0xffc40000 0 0x2c>;
65 interrupt-parent = <&gic>;
66 interrupts = <0 4 0x4>;
67 #gpio-cells = <2>;
68 gpio-controller;
69 gpio-ranges = <&pfc 0 0 32>;
70 #interrupt-cells = <2>;
71 interrupt-controller;
72 };
73
74 gpio1: gpio@ffc41000 {
75 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
76 reg = <0 0xffc41000 0 0x2c>;
77 interrupt-parent = <&gic>;
78 interrupts = <0 5 0x4>;
79 #gpio-cells = <2>;
80 gpio-controller;
81 gpio-ranges = <&pfc 0 32 32>;
82 #interrupt-cells = <2>;
83 interrupt-controller;
84 };
85
86 gpio2: gpio@ffc42000 {
87 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
88 reg = <0 0xffc42000 0 0x2c>;
89 interrupt-parent = <&gic>;
90 interrupts = <0 6 0x4>;
91 #gpio-cells = <2>;
92 gpio-controller;
93 gpio-ranges = <&pfc 0 64 32>;
94 #interrupt-cells = <2>;
95 interrupt-controller;
96 };
97
98 gpio3: gpio@ffc43000 {
99 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
100 reg = <0 0xffc43000 0 0x2c>;
101 interrupt-parent = <&gic>;
102 interrupts = <0 7 0x4>;
103 #gpio-cells = <2>;
104 gpio-controller;
105 gpio-ranges = <&pfc 0 96 32>;
106 #interrupt-cells = <2>;
107 interrupt-controller;
108 };
109
110 gpio4: gpio@ffc44000 {
111 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
112 reg = <0 0xffc44000 0 0x2c>;
113 interrupt-parent = <&gic>;
114 interrupts = <0 8 0x4>;
115 #gpio-cells = <2>;
116 gpio-controller;
117 gpio-ranges = <&pfc 0 128 32>;
118 #interrupt-cells = <2>;
119 interrupt-controller;
120 };
121
122 gpio5: gpio@ffc45000 {
123 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
124 reg = <0 0xffc45000 0 0x2c>;
125 interrupt-parent = <&gic>;
126 interrupts = <0 9 0x4>;
127 #gpio-cells = <2>;
128 gpio-controller;
129 gpio-ranges = <&pfc 0 160 32>;
130 #interrupt-cells = <2>;
131 interrupt-controller;
132 };
133
Magnus Damm0468b2d2013-03-28 00:49:34 +0900134 timer {
135 compatible = "arm,armv7-timer";
136 interrupts = <1 13 0xf08>,
137 <1 14 0xf08>,
138 <1 11 0xf08>,
139 <1 10 0xf08>;
140 };
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900141
142 irqc0: interrupt-controller@e61c0000 {
143 compatible = "renesas,irqc";
144 #interrupt-cells = <2>;
145 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900146 reg = <0 0xe61c0000 0 0x200>;
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900147 interrupt-parent = <&gic>;
148 interrupts = <0 0 4>, <0 1 4>, <0 2 4>, <0 3 4>;
149 };
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200150
151 mmcif0: mmcif@ee200000 {
152 compatible = "renesas,sh-mmcif";
153 reg = <0 0xee200000 0 0x80>;
154 interrupt-parent = <&gic>;
155 interrupts = <0 169 0x4>;
156 reg-io-width = <4>;
157 status = "disabled";
158 };
159
160 mmcif1: mmcif@ee220000 {
161 compatible = "renesas,sh-mmcif";
162 reg = <0 0xee220000 0 0x80>;
163 interrupt-parent = <&gic>;
164 interrupts = <0 170 0x4>;
165 reg-io-width = <4>;
166 status = "disabled";
167 };
168
Laurent Pinchart9694c772013-05-09 15:05:57 +0200169 pfc: pfc@e6060000 {
170 compatible = "renesas,pfc-r8a7790";
171 reg = <0 0xe6060000 0 0x250>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200172 #gpio-range-cells = <3>;
Laurent Pinchart9694c772013-05-09 15:05:57 +0200173 };
Olof Johansson55689bf2013-08-14 00:24:05 -0700174
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200175 sdhi0: sdhi@ee100000 {
176 compatible = "renesas,r8a7790-sdhi";
177 reg = <0 0xee100000 0 0x100>;
178 interrupt-parent = <&gic>;
179 interrupts = <0 165 4>;
180 cap-sd-highspeed;
181 status = "disabled";
182 };
183
184 sdhi1: sdhi@ee120000 {
185 compatible = "renesas,r8a7790-sdhi";
186 reg = <0 0xee120000 0 0x100>;
187 interrupt-parent = <&gic>;
188 interrupts = <0 166 4>;
189 cap-sd-highspeed;
190 status = "disabled";
191 };
192
193 sdhi2: sdhi@ee140000 {
194 compatible = "renesas,r8a7790-sdhi";
195 reg = <0 0xee140000 0 0x100>;
196 interrupt-parent = <&gic>;
197 interrupts = <0 167 4>;
198 cap-sd-highspeed;
199 status = "disabled";
200 };
201
202 sdhi3: sdhi@ee160000 {
203 compatible = "renesas,r8a7790-sdhi";
204 reg = <0 0xee160000 0 0x100>;
205 interrupt-parent = <&gic>;
206 interrupts = <0 168 4>;
207 cap-sd-highspeed;
208 status = "disabled";
209 };
Magnus Damm0468b2d2013-03-28 00:49:34 +0900210};