aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq807x/patches-5.15/0030-v6.0-arm64-dts-qcom-ipq8074-add-APCS-node.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq807x/patches-5.15/0030-v6.0-arm64-dts-qcom-ipq8074-add-APCS-node.patch')
-rw-r--r--target/linux/ipq807x/patches-5.15/0030-v6.0-arm64-dts-qcom-ipq8074-add-APCS-node.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/ipq807x/patches-5.15/0030-v6.0-arm64-dts-qcom-ipq8074-add-APCS-node.patch b/target/linux/ipq807x/patches-5.15/0030-v6.0-arm64-dts-qcom-ipq8074-add-APCS-node.patch
new file mode 100644
index 0000000000..92414d4319
--- /dev/null
+++ b/target/linux/ipq807x/patches-5.15/0030-v6.0-arm64-dts-qcom-ipq8074-add-APCS-node.patch
@@ -0,0 +1,37 @@
+From aea90e172420a062197849d7914b2fa032de0228 Mon Sep 17 00:00:00 2001
+From: Robert Marko <robimarko@gmail.com>
+Date: Thu, 7 Jul 2022 19:37:33 +0200
+Subject: [PATCH] arm64: dts: qcom: ipq8074: add APCS node
+
+APCS now has support for providing the APSS clocks as the child device
+for IPQ8074.
+
+So, add the required DT node for it as it will later be used as the CPU
+clocksource.
+
+Signed-off-by: Robert Marko <robimarko@gmail.com>
+Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
+[bjorn: Sorted node based on address]
+Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
+Link: https://lore.kernel.org/r/20220707173733.404947-4-robimarko@gmail.com
+---
+ arch/arm64/boot/dts/qcom/ipq8074.dtsi | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
++++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
+@@ -662,6 +662,14 @@
+ timeout-sec = <30>;
+ };
+
++ apcs_glb: mailbox@b111000 {
++ compatible = "qcom,ipq8074-apcs-apps-global";
++ reg = <0x0b111000 0x6000>;
++
++ #clock-cells = <1>;
++ #mbox-cells = <1>;
++ };
++
+ timer@b120000 {
+ #address-cells = <1>;
+ #size-cells = <1>;