1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the RZ/Five SoC
5 * Copyright (C) 2022 Renesas Electronics Corp.
8 #include <dt-bindings/interrupt-controller/irq.h>
10 #define SOC_PERIPHERAL_IRQ(nr) (nr + 32)
12 #include <arm64/renesas/r9a07g043.dtsi>
18 timebase-frequency = <12000000>;
21 compatible = "andestech,ax45mp", "riscv";
26 riscv,isa = "rv64imafdc";
27 riscv,isa-base = "rv64i";
28 riscv,isa-extensions = "i", "m", "a", "f", "d", "c",
29 "zicntr", "zicsr", "zifencei",
31 mmu-type = "riscv,sv39";
32 i-cache-size = <0x8000>;
33 i-cache-line-size = <0x40>;
34 d-cache-size = <0x8000>;
35 d-cache-line-size = <0x40>;
36 next-level-cache = <&l2cache>;
37 clocks = <&cpg CPG_CORE R9A07G043_CLK_I>;
38 operating-points-v2 = <&cluster0_opp>;
40 cpu0_intc: interrupt-controller {
41 #interrupt-cells = <1>;
42 compatible = "riscv,cpu-intc";
50 gpio-ranges = <&pinctrl 0 0 232>;
55 interrupt-parent = <&plic>;
57 plic: interrupt-controller@12c00000 {
58 compatible = "renesas,r9a07g043-plic", "andestech,nceplic100";
59 #interrupt-cells = <2>;
63 reg = <0x0 0x12c00000 0 0x400000>;
64 clocks = <&cpg CPG_MOD R9A07G043_NCEPLIC_ACLK>;
65 power-domains = <&cpg>;
66 resets = <&cpg R9A07G043_NCEPLIC_ARESETN>;
67 interrupts-extended = <&cpu0_intc 11 &cpu0_intc 9>;
70 l2cache: cache-controller@13400000 {
71 compatible = "andestech,ax45mp-cache", "cache";
72 reg = <0x0 0x13400000 0x0 0x100000>;
73 interrupts = <SOC_PERIPHERAL_IRQ(476) IRQ_TYPE_LEVEL_HIGH>;
74 cache-size = <0x40000>;
75 cache-line-size = <64>;