1 // SPDX-License-Identifier: GPL-2.0
3 * Base Device Tree Source for the Renesas RZ/N1D (R9A06G032)
5 * Copyright (C) 2018 Renesas Electronics Europe Limited
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/clock/r9a06g032-sysctrl.h>
13 compatible = "renesas,r9a06g032";
23 compatible = "arm,cortex-a7";
25 clocks = <&sysctrl R9A06G032_CLK_A7MP>;
30 compatible = "arm,cortex-a7";
32 clocks = <&sysctrl R9A06G032_CLK_A7MP>;
33 enable-method = "renesas,r9a06g032-smp";
34 cpu-release-addr = <0 0x4000c204>;
38 ext_jtag_clk: extjtagclk {
40 compatible = "fixed-clock";
41 clock-frequency = <0>;
46 compatible = "fixed-clock";
47 clock-frequency = <40000000>;
50 ext_rgmii_ref: extrgmiiref {
52 compatible = "fixed-clock";
53 clock-frequency = <0>;
56 ext_rtc_clk: extrtcclk {
58 compatible = "fixed-clock";
59 clock-frequency = <0>;
63 compatible = "simple-bus";
66 interrupt-parent = <&gic>;
69 sysctrl: system-controller@4000c000 {
70 compatible = "renesas,r9a06g032-sysctrl";
71 reg = <0x4000c000 0x1000>;
75 clocks = <&ext_mclk>, <&ext_rtc_clk>,
76 <&ext_jtag_clk>, <&ext_rgmii_ref>;
77 clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext";
80 uart0: serial@40060000 {
81 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart";
82 reg = <0x40060000 0x400>;
83 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
86 clocks = <&sysctrl R9A06G032_CLK_UART0>, <&sysctrl R9A06G032_HCLK_UART0>;
87 clock-names = "baudclk", "apb_pclk";
91 uart1: serial@40061000 {
92 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart";
93 reg = <0x40061000 0x400>;
94 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
97 clocks = <&sysctrl R9A06G032_CLK_UART1>, <&sysctrl R9A06G032_HCLK_UART1>;
98 clock-names = "baudclk", "apb_pclk";
102 uart2: serial@40062000 {
103 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart";
104 reg = <0x40062000 0x400>;
105 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
108 clocks = <&sysctrl R9A06G032_CLK_UART2>, <&sysctrl R9A06G032_HCLK_UART2>;
109 clock-names = "baudclk", "apb_pclk";
113 uart3: serial@50000000 {
114 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
115 reg = <0x50000000 0x400>;
116 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
119 clocks = <&sysctrl R9A06G032_CLK_UART3>, <&sysctrl R9A06G032_HCLK_UART3>;
120 clock-names = "baudclk", "apb_pclk";
124 uart4: serial@50001000 {
125 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
126 reg = <0x50001000 0x400>;
127 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
130 clocks = <&sysctrl R9A06G032_CLK_UART4>, <&sysctrl R9A06G032_HCLK_UART4>;
131 clock-names = "baudclk", "apb_pclk";
135 uart5: serial@50002000 {
136 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
137 reg = <0x50002000 0x400>;
138 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
141 clocks = <&sysctrl R9A06G032_CLK_UART5>, <&sysctrl R9A06G032_HCLK_UART5>;
142 clock-names = "baudclk", "apb_pclk";
146 uart6: serial@50003000 {
147 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
148 reg = <0x50003000 0x400>;
149 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
152 clocks = <&sysctrl R9A06G032_CLK_UART6>, <&sysctrl R9A06G032_HCLK_UART6>;
153 clock-names = "baudclk", "apb_pclk";
157 uart7: serial@50004000 {
158 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
159 reg = <0x50004000 0x400>;
160 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
163 clocks = <&sysctrl R9A06G032_CLK_UART7>, <&sysctrl R9A06G032_HCLK_UART7>;
164 clock-names = "baudclk", "apb_pclk";
168 pinctrl: pinctrl@40067000 {
169 compatible = "renesas,r9a06g032-pinctrl", "renesas,rzn1-pinctrl";
170 reg = <0x40067000 0x1000>, <0x51000000 0x480>;
171 clocks = <&sysctrl R9A06G032_HCLK_PINCONFIG>;
176 gic: interrupt-controller@44101000 {
177 compatible = "arm,gic-400", "arm,cortex-a7-gic";
178 interrupt-controller;
179 #interrupt-cells = <3>;
180 reg = <0x44101000 0x1000>, /* Distributer */
181 <0x44102000 0x2000>, /* CPU interface */
182 <0x44104000 0x2000>, /* Virt interface control */
183 <0x44106000 0x2000>; /* Virt CPU interface */
185 <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
190 compatible = "arm,cortex-a7-timer",
192 interrupt-parent = <&gic>;
193 arm,cpu-registers-not-fw-configured;
196 <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
197 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
198 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
199 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;