zephyr/dts/arm/renesas/rz/rza/r7s9210.dtsi
Hoang Nguyen 1462d3e972 drivers: timer: Add initial support for RZ/A2M
Add timer support for RZ/A2M

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Binh Nguyen <binh.nguyen.xw@renesas.com>
2025-04-25 14:05:01 +02:00

101 lines
2.2 KiB
Text

/*
* Copyright (c) 2025 Renesas Electronics Corporation
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <arm/armv7-a.dtsi>
#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
#include <zephyr/dt-bindings/clock/renesas_rza2m_clock.h>
/ {
compatible = "renesas,r7s9210";
interrupt-parent = <&gic>;
#address-cells = <1>;
#size-cells = <1>;
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
};
};
osc: osc {
compatible = "fixed-clock";
#clock-cells = <0>;
};
soc {
compatible = "simple-bus";
interrupt-parent = <&gic>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
gic: interrupt-controller@e8221000 {
compatible = "arm,gic-400", "arm,gic-v2", "arm,gic";
#interrupt-cells = <4>;
#address-cells = <0>;
interrupt-controller;
reg = <0xe8221000 0x1000>,
<0xe8222000 0x1000>;
};
ram: memory@80020000 {
compatible = "mmio-sram";
reg = <0x80020000 (DT_SIZE_M(4) - 0x20000)>;
};
cpg: clock-controller@fcfe0010 {
compatible = "renesas,rza2m-cpg";
reg = <0xfcfe0010 0x455>;
#clock-cells = <1>;
clocks = <&osc>;
iclk: iclk {
compatible = "fixed-clock";
#clock-cells = <0>;
};
bclk: bclk {
compatible = "fixed-clock";
#clock-cells = <0>;
};
p1clk: p1clk {
compatible = "fixed-clock";
#clock-cells = <0>;
};
};
ostm0: timer@e803b000 {
compatible = "renesas,rza2m-ostm";
reg = <0xe803b000 0x30>;
interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE IRQ_DEFAULT_PRIORITY>;
clocks = <&cpg RZA2M_CLOCK(RZA2M_MODULE_OSTM0, RZA2M_CLK_P1C)>;
status = "disabled";
};
ostm1: timer@e803c000 {
compatible = "renesas,rza2m-ostm";
reg = <0xe803c000 0x30>;
interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE IRQ_DEFAULT_PRIORITY>;
clocks = <&cpg RZA2M_CLOCK(RZA2M_MODULE_OSTM1, RZA2M_CLK_P1C)>;
status = "disabled";
};
ostm2: timer@e803d000 {
compatible = "renesas,rza2m-ostm";
reg = <0xe803d000 0x30>;
interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE IRQ_DEFAULT_PRIORITY>;
clocks = <&cpg RZA2M_CLOCK(RZA2M_MODULE_OSTM2, RZA2M_CLK_P1C)>;
status = "disabled";
};
};
};