ARM: dts: renesas: Add Renesas R8A779H0 V4M DT extras
authorHai Pham <hai.pham.ud@renesas.com>
Sun, 28 Jan 2024 15:52:07 +0000 (16:52 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 10 Feb 2024 16:08:06 +0000 (17:08 +0100)
Add Renesas R8A779H0 V4M DT extras for U-Boot.

Until the RPC node becomes part of main DT, keep it here as
an extension so that board code can enable and use the RPC
to access SPI NOR.

Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
arch/arm/dts/r8a779h0-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/r8a779h0-u-boot.dtsi b/arch/arm/dts/r8a779h0-u-boot.dtsi
new file mode 100644 (file)
index 0000000..b2f7e05
--- /dev/null
@@ -0,0 +1,27 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source extras for U-Boot on R-Car R8A779H0 SoC
+ *
+ * Copyright (C) 2023 Renesas Electronics Corp.
+ */
+
+#include "r8a779x-u-boot.dtsi"
+/ {
+       soc {
+               rpc: spi@ee200000 {
+                       compatible = "renesas,r8a779h0-rpc-if", "renesas,rcar-gen4-rpc-if";
+                       reg = <0 0xee200000 0 0x200>, <0 0x08000000 0 0x04000000>;
+                       interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 629>;
+                       power-domains = <&sysc R8A779H0_PD_ALWAYS_ON>;
+                       resets = <&cpg 629>;
+                       bank-width = <2>;
+                       num-cs = <1>;
+                       status = "disabled";
+               };
+       };
+};
+
+&extalr_clk {
+       bootph-all;
+};