Skip to content

Commit 3daa4be

Browse files
committed
dts: arm: renesas: Add support for Renesas RZ/A3M
Add devicetree to support for Renesas RZ/A3M Signed-off-by: Nhut Nguyen <[email protected]>
1 parent 5c6c278 commit 3daa4be

File tree

1 file changed

+122
-0
lines changed

1 file changed

+122
-0
lines changed
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <freq.h>
9+
#include <arm64/armv8-a.dtsi>
10+
#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
11+
#include <zephyr/dt-bindings/gpio/gpio.h>
12+
13+
/ {
14+
compatible = "renesas,r9a07g066";
15+
#address-cells = <1>;
16+
#size-cells = <1>;
17+
18+
cpus {
19+
#address-cells = <1>;
20+
#size-cells = <0>;
21+
22+
cpu@0 {
23+
device_type = "cpu";
24+
compatible = "arm,cortex-a55";
25+
clock-frequency = <DT_FREQ_M(1000)>;
26+
reg = <0>;
27+
};
28+
};
29+
30+
arch_timer: timer {
31+
compatible = "arm,armv8-timer";
32+
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
33+
<GIC_PPI 14 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
34+
<GIC_PPI 11 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
35+
<GIC_PPI 10 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
36+
interrupt-parent = <&gic>;
37+
};
38+
39+
soc {
40+
interrupt-parent = <&gic>;
41+
42+
gic: interrupt-controller@11900000 {
43+
compatible = "arm,gic-v3", "arm,gic";
44+
reg = <0x11900000 0x10000>, /* GICD */
45+
<0x11940000 0x20000>; /* GICR */
46+
interrupt-controller;
47+
#interrupt-cells = <4>;
48+
status = "okay";
49+
};
50+
51+
pinctrl: pin-controller@11030000 {
52+
compatible = "renesas,rza-pinctrl";
53+
reg = <0x11030000 DT_SIZE_K(64)>;
54+
reg-names = "pinctrl";
55+
};
56+
57+
scif0: serial@1004b800 {
58+
compatible = "renesas,rz-scif-uart";
59+
channel = <0>;
60+
reg = <0x1004b800 0x400>;
61+
interrupts = <GIC_SPI 380 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
62+
<GIC_SPI 381 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
63+
<GIC_SPI 382 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
64+
<GIC_SPI 383 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
65+
<GIC_SPI 384 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
66+
interrupt-names = "eri", "bri", "rxi", "txi", "tei";
67+
status = "disabled";
68+
};
69+
70+
scif1: serial@1004bc00 {
71+
compatible = "renesas,rz-scif-uart";
72+
channel = <1>;
73+
reg = <0x1004bc00 0x400>;
74+
interrupts = <GIC_SPI 385 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
75+
<GIC_SPI 386 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
76+
<GIC_SPI 387 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
77+
<GIC_SPI 388 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
78+
<GIC_SPI 389 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
79+
interrupt-names = "eri", "bri", "rxi", "txi", "tei";
80+
status = "disabled";
81+
};
82+
83+
scif2: serial@1004c000 {
84+
compatible = "renesas,rz-scif-uart";
85+
channel = <2>;
86+
reg = <0x1004c000 0x400>;
87+
interrupts = <GIC_SPI 390 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
88+
<GIC_SPI 391 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
89+
<GIC_SPI 392 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
90+
<GIC_SPI 393 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
91+
<GIC_SPI 394 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
92+
interrupt-names = "eri", "bri", "rxi", "txi", "tei";
93+
status = "disabled";
94+
};
95+
96+
scif3: serial@1004c400 {
97+
compatible = "renesas,rz-scif-uart";
98+
channel = <3>;
99+
reg = <0x1004c400 0x400>;
100+
interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
101+
<GIC_SPI 396 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
102+
<GIC_SPI 397 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
103+
<GIC_SPI 399 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
104+
<GIC_SPI 399 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
105+
interrupt-names = "eri", "bri", "rxi", "txi", "tei";
106+
status = "disabled";
107+
};
108+
109+
scif4: serial@1004c800 {
110+
compatible = "renesas,rz-scif-uart";
111+
channel = <4>;
112+
reg = <0x1004c800 0x400>;
113+
interrupts = <GIC_SPI 400 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
114+
<GIC_SPI 401 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
115+
<GIC_SPI 402 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
116+
<GIC_SPI 403 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
117+
<GIC_SPI 404 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
118+
interrupt-names = "eri", "bri", "rxi", "txi", "tei";
119+
status = "disabled";
120+
};
121+
};
122+
};

0 commit comments

Comments
 (0)