Commit 483fa555 authored by Tengfei Fan's avatar Tengfei Fan Committed by Bjorn Andersson

arm64: dts: qcom: sm4450: Add RPMH and Global clock

Add device node for RPMH and Global clock controller on Qualcomm
SM4450 platform.
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarAjit Pandey <quic_ajipan@quicinc.com>
Signed-off-by: default avatarTengfei Fan <quic_tengfan@quicinc.com>
Link: https://lore.kernel.org/r/20231129103325.24854-3-quic_tengfan@quicinc.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 92464505
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
* Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sm4450-gcc.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h>
...@@ -348,6 +350,20 @@ soc: soc@0 { ...@@ -348,6 +350,20 @@ soc: soc@0 {
dma-ranges = <0 0 0 0 0x10 0>; dma-ranges = <0 0 0 0 0x10 0>;
compatible = "simple-bus"; compatible = "simple-bus";
gcc: clock-controller@100000 {
compatible = "qcom,sm4450-gcc";
reg = <0x0 0x00100000 0x0 0x1f4200>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>,
<0>,
<0>,
<0>,
<0>;
};
tcsr_mutex: hwlock@1f40000 { tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex"; compatible = "qcom,tcsr-mutex";
reg = <0x0 0x01f40000 0x0 0x40000>; reg = <0x0 0x01f40000 0x0 0x40000>;
...@@ -452,6 +468,13 @@ apps_rsc: rsc@17a00000 { ...@@ -452,6 +468,13 @@ apps_rsc: rsc@17a00000 {
apps_bcm_voter: bcm-voter { apps_bcm_voter: bcm-voter {
compatible = "qcom,bcm-voter"; compatible = "qcom,bcm-voter";
}; };
rpmhcc: clock-controller {
compatible = "qcom,sm4450-rpmh-clk";
#clock-cells = <1>;
clocks = <&xo_board>;
clock-names = "xo";
};
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment