]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: dts: renesas: Deduplicate extalr_clk bootph-all
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 18 Jan 2025 07:15:52 +0000 (08:15 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 18 Jan 2025 08:29:17 +0000 (09:29 +0100)
Most R-Car Gen3 and Gen4 systems require extalr_clk very early
in the boot process. Currently the extalr_clk { bootph-all } DT
property to indicate this clock should be available early is set
in each SoC U-Boot DT extras file. Deduplicate this assignment to
new common r8a779x-rcar64-u-boot.dtsi file.

Note that R-Car Gen3 R8A77990 E3 and R8A77995 D3 and RZ R8A774C0
do not require extalr_clk early, therefore these SoCs still include
plain r8a779x-u-boot.dtsi in their U-Boot DT extras .

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
12 files changed:
arch/arm/dts/r8a774a1-u-boot.dtsi
arch/arm/dts/r8a774b1-u-boot.dtsi
arch/arm/dts/r8a774e1-u-boot.dtsi
arch/arm/dts/r8a77951-u-boot.dtsi
arch/arm/dts/r8a77960-u-boot.dtsi
arch/arm/dts/r8a77965-u-boot.dtsi
arch/arm/dts/r8a77970-u-boot.dtsi
arch/arm/dts/r8a77980-u-boot.dtsi
arch/arm/dts/r8a779a0-u-boot.dtsi
arch/arm/dts/r8a779f0-u-boot.dtsi
arch/arm/dts/r8a779g0-u-boot.dtsi
arch/arm/dts/r8a779x-rcar64-u-boot.dtsi [new file with mode: 0644]

index 3530eeb27183cb1fa02ac5e9b0eb5eb7566ee8be..bd91a963cd65687ffc12d84c322ac5699cfe6c90 100644 (file)
@@ -5,8 +5,4 @@
  * Copyright (C) 2021 Renesas Electronics Corporation
  */
 
-#include "r8a779x-u-boot.dtsi"
-
-&extalr_clk {
-       bootph-all;
-};
+#include "r8a779x-rcar64-u-boot.dtsi"
index 07aeabc46b4a0f7ae016ae4fd1ce05e688f2e726..38a82f065c053c964c6a12fdaaa3e513f4cca180 100644 (file)
@@ -5,8 +5,4 @@
  * Copyright (C) 2021 Renesas Electronics Corp.
  */
 
-#include "r8a779x-u-boot.dtsi"
-
-&extalr_clk {
-       bootph-all;
-};
+#include "r8a779x-rcar64-u-boot.dtsi"
index 2202731ccb34785011de77c1be3a9c7e6d3ff8d5..f314b2b0cf8b22f2d4a5e79a3b06b9487128f1c7 100644 (file)
@@ -5,8 +5,4 @@
  * Copyright (C) 2020 Renesas Electronics Corp.
  */
 
-#include "r8a779x-u-boot.dtsi"
-
-&extalr_clk {
-       bootph-all;
-};
+#include "r8a779x-rcar64-u-boot.dtsi"
index c16c51165928cc22b273ff64d1df1400dec83cb1..768d633ded053ef8c9ada97b9b8a341520029a3d 100644 (file)
@@ -5,11 +5,7 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include "r8a779x-u-boot.dtsi"
-
-&extalr_clk {
-       bootph-all;
-};
+#include "r8a779x-rcar64-u-boot.dtsi"
 
 / {
        soc {
index 2245be2aa76a3717994491b92d65fe620f7620cb..db062f8e8c7480c5599068969452aa05a8376ad7 100644 (file)
@@ -5,11 +5,7 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include "r8a779x-u-boot.dtsi"
-
-&extalr_clk {
-       bootph-all;
-};
+#include "r8a779x-rcar64-u-boot.dtsi"
 
 / {
        soc {
index f39acc237d38580e9724de653485d1b0c2cf5434..d67e94e318b5aa62af92572af8bb0786ae4456aa 100644 (file)
@@ -5,11 +5,7 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include "r8a779x-u-boot.dtsi"
-
-&extalr_clk {
-       bootph-all;
-};
+#include "r8a779x-rcar64-u-boot.dtsi"
 
 / {
        soc {
index 7900c641ba18cbbafdcdd2ee14a0d8ca94aab3a5..8dfa56c2f13ad402a17e34fff1f607339a8af307 100644 (file)
@@ -5,11 +5,7 @@
  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include "r8a779x-u-boot.dtsi"
-
-&extalr_clk {
-       bootph-all;
-};
+#include "r8a779x-rcar64-u-boot.dtsi"
 
 / {
        soc {
index aa7e058c5859ca177d6608794316be30566ba6d8..088839907c2957c387bd345acaac9e0ec0078f50 100644 (file)
@@ -5,11 +5,7 @@
  * Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
  */
 
-#include "r8a779x-u-boot.dtsi"
-
-&extalr_clk {
-       bootph-all;
-};
+#include "r8a779x-rcar64-u-boot.dtsi"
 
 / {
        soc {
index 2b6d6ef05dc08d9722718f7a324f34bc7de28fe1..f506a6665187a496b771abc602dd3518086c9818 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2020 Renesas Electronics Corp.
  */
 
-#include "r8a779x-u-boot.dtsi"
+#include "r8a779x-rcar64-u-boot.dtsi"
 
 / {
        soc {
@@ -19,7 +19,3 @@
                };
        };
 };
-
-&extalr_clk {
-       bootph-all;
-};
index 0f98c09fc527dd15ca3b2458ea7faa26f3cd5687..08d32fef2b98d2b2cacaf5b4954fa8f8b790d3d7 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2021 Renesas Electronics Corp.
  */
 
-#include "r8a779x-u-boot.dtsi"
+#include "r8a779x-rcar64-u-boot.dtsi"
 
 / {
        soc {
@@ -22,7 +22,3 @@
                };
        };
 };
-
-&extalr_clk {
-       bootph-all;
-};
index 2e731b628b39af77e06d7a85112b9c7fd7127fa2..10051c9dbfe7e63fb5cd877e17b6b20f7ed7b673 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright (C) 2021 Renesas Electronics Corp.
  */
 
-#include "r8a779x-u-boot.dtsi"
+#include "r8a779x-rcar64-u-boot.dtsi"
 
 / {
        binman: binman {
        bootph-all;
 };
 
-&extalr_clk {
-       bootph-all;
-};
-
 &hscif0 {
        bootph-all;
 };
diff --git a/arch/arm/dts/r8a779x-rcar64-u-boot.dtsi b/arch/arm/dts/r8a779x-rcar64-u-boot.dtsi
new file mode 100644 (file)
index 0000000..b59cc7d
--- /dev/null
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source extras for U-Boot on R-Car 64bit SoC
+ *
+ * Copyright (C) 2024 Marek Vasut <marek.vasut+renesas@mailbox.org>
+ */
+
+#include "r8a779x-u-boot.dtsi"
+
+&extalr_clk {
+       bootph-all;
+};