1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Emma Mobile EV2 SoC
5 * Copyright (C) 2012 Renesas Solutions Corp.
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
12 compatible = "renesas,emev2";
13 interrupt-parent = <&gic>;
33 compatible = "arm,cortex-a9";
35 clock-frequency = <533000000>;
39 compatible = "arm,cortex-a9";
41 clock-frequency = <533000000>;
45 gic: interrupt-controller@e0020000 {
46 compatible = "arm,pl390";
48 #interrupt-cells = <3>;
49 reg = <0xe0028000 0x1000>,
54 compatible = "arm,cortex-a9-pmu";
55 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
56 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
57 interrupt-affinity = <&cpu0>, <&cpu1>;
61 compatible = "renesas,emev2-smu";
62 reg = <0xe0110000 0x10000>;
67 compatible = "fixed-clock";
68 clock-frequency = <32768>;
71 iic0_sclkdiv: iic0_sclkdiv@624,0 {
72 compatible = "renesas,emev2-smu-clkdiv";
77 iic0_sclk: iic0_sclk@48c,1 {
78 compatible = "renesas,emev2-smu-gclk";
80 clocks = <&iic0_sclkdiv>;
83 iic1_sclkdiv: iic1_sclkdiv@624,16 {
84 compatible = "renesas,emev2-smu-clkdiv";
89 iic1_sclk: iic1_sclk@490,1 {
90 compatible = "renesas,emev2-smu-gclk";
92 clocks = <&iic1_sclkdiv>;
96 compatible = "fixed-factor-clock";
102 usia_u0_sclkdiv: usia_u0_sclkdiv@610,0 {
103 compatible = "renesas,emev2-smu-clkdiv";
108 usib_u1_sclkdiv: usib_u1_sclkdiv@65c,0 {
109 compatible = "renesas,emev2-smu-clkdiv";
114 usib_u2_sclkdiv: usib_u2_sclkdiv@65c,16 {
115 compatible = "renesas,emev2-smu-clkdiv";
120 usib_u3_sclkdiv: usib_u3_sclkdiv@660,0 {
121 compatible = "renesas,emev2-smu-clkdiv";
126 usia_u0_sclk: usia_u0_sclk@4a0,1 {
127 compatible = "renesas,emev2-smu-gclk";
129 clocks = <&usia_u0_sclkdiv>;
132 usib_u1_sclk: usib_u1_sclk@4b8,1 {
133 compatible = "renesas,emev2-smu-gclk";
135 clocks = <&usib_u1_sclkdiv>;
138 usib_u2_sclk: usib_u2_sclk@4bc,1 {
139 compatible = "renesas,emev2-smu-gclk";
141 clocks = <&usib_u2_sclkdiv>;
144 usib_u3_sclk: usib_u3_sclk@4c0,1 {
145 compatible = "renesas,emev2-smu-gclk";
147 clocks = <&usib_u3_sclkdiv>;
150 sti_sclk: sti_sclk@528,1 {
151 compatible = "renesas,emev2-smu-gclk";
159 compatible = "renesas,em-sti";
160 reg = <0xe0180000 0x54>;
161 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
162 clocks = <&sti_sclk>;
163 clock-names = "sclk";
166 uart0: serial@e1020000 {
167 compatible = "renesas,em-uart";
168 reg = <0xe1020000 0x38>;
169 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
170 clocks = <&usia_u0_sclk>;
171 clock-names = "sclk";
174 uart1: serial@e1030000 {
175 compatible = "renesas,em-uart";
176 reg = <0xe1030000 0x38>;
177 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
178 clocks = <&usib_u1_sclk>;
179 clock-names = "sclk";
182 uart2: serial@e1040000 {
183 compatible = "renesas,em-uart";
184 reg = <0xe1040000 0x38>;
185 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
186 clocks = <&usib_u2_sclk>;
187 clock-names = "sclk";
190 uart3: serial@e1050000 {
191 compatible = "renesas,em-uart";
192 reg = <0xe1050000 0x38>;
193 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
194 clocks = <&usib_u3_sclk>;
195 clock-names = "sclk";
198 pfc: pin-controller@e0140200 {
199 compatible = "renesas,pfc-emev2";
200 reg = <0xe0140200 0x100>;
203 gpio0: gpio@e0050000 {
204 compatible = "renesas,em-gio";
205 reg = <0xe0050000 0x2c>, <0xe0050040 0x20>;
206 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
207 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
209 gpio-ranges = <&pfc 0 0 32>;
212 interrupt-controller;
213 #interrupt-cells = <2>;
216 gpio1: gpio@e0050080 {
217 compatible = "renesas,em-gio";
218 reg = <0xe0050080 0x2c>, <0xe00500c0 0x20>;
219 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
220 <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
222 gpio-ranges = <&pfc 0 32 32>;
225 interrupt-controller;
226 #interrupt-cells = <2>;
229 gpio2: gpio@e0050100 {
230 compatible = "renesas,em-gio";
231 reg = <0xe0050100 0x2c>, <0xe0050140 0x20>;
232 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
233 <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
235 gpio-ranges = <&pfc 0 64 32>;
238 interrupt-controller;
239 #interrupt-cells = <2>;
242 gpio3: gpio@e0050180 {
243 compatible = "renesas,em-gio";
244 reg = <0xe0050180 0x2c>, <0xe00501c0 0x20>;
245 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
246 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
248 gpio-ranges = <&pfc 0 96 32>;
251 interrupt-controller;
252 #interrupt-cells = <2>;
255 gpio4: gpio@e0050200 {
256 compatible = "renesas,em-gio";
257 reg = <0xe0050200 0x2c>, <0xe0050240 0x20>;
258 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
259 <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
261 gpio-ranges = <&pfc 0 128 31>;
264 interrupt-controller;
265 #interrupt-cells = <2>;
269 #address-cells = <1>;
271 compatible = "renesas,iic-emev2";
272 reg = <0xe0070000 0x28>;
273 interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
274 clocks = <&iic0_sclk>;
275 clock-names = "sclk";
280 #address-cells = <1>;
282 compatible = "renesas,iic-emev2";
283 reg = <0xe10a0000 0x28>;
284 interrupts = <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>;
285 clocks = <&iic1_sclk>;
286 clock-names = "sclk";