1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mailbox/qcom,apcs-kpss-global.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm APCS global block
10 This binding describes the APCS "global" block found in various Qualcomm
14 - Jassi Brar <jassisinghbrar@gmail.com>
21 - qcom,ipq5018-apcs-apps-global
22 - qcom,ipq5332-apcs-apps-global
23 - qcom,ipq8074-apcs-apps-global
24 - qcom,ipq9574-apcs-apps-global
25 - const: qcom,ipq6018-apcs-apps-global
28 - qcom,qcs404-apcs-apps-global
29 - const: qcom,msm8916-apcs-kpss-global
33 - qcom,msm8976-apcs-kpss-global
34 - const: qcom,msm8994-apcs-kpss-global
38 - qcom,msm8998-apcs-hmss-global
39 - qcom,sdm660-apcs-hmss-global
40 - qcom,sm4250-apcs-hmss-global
41 - qcom,sm6115-apcs-hmss-global
42 - qcom,sm6125-apcs-hmss-global
43 - const: qcom,msm8994-apcs-kpss-global
46 - qcom,sc7180-apss-shared
47 - qcom,sc8180x-apss-shared
48 - qcom,sm8150-apss-shared
49 - const: qcom,sdm845-apss-shared
52 - qcom,msm8916-apcs-kpss-global
53 - qcom,msm8939-apcs-kpss-global
54 - qcom,msm8953-apcs-kpss-global
55 - qcom,msm8994-apcs-kpss-global
59 - qcom,ipq6018-apcs-apps-global
60 - qcom,msm8996-apcs-hmss-global
61 - qcom,qcm2290-apcs-hmss-global
62 - qcom,sdm845-apss-shared
68 description: phandles to the parent clocks of the clock driver
87 additionalProperties: false
95 - qcom,msm8916-apcs-kpss-global
100 - description: primary pll parent of the clock driver
101 - description: auxiliary parent
112 - qcom,msm8939-apcs-kpss-global
117 - description: primary pll parent of the clock driver
118 - description: auxiliary parent
119 - description: reference clock
131 - qcom,sdx55-apcs-gcc
136 - description: reference clock
137 - description: primary pll parent of the clock driver
138 - description: auxiliary parent
150 - qcom,ipq6018-apcs-apps-global
155 - description: primary pll parent of the clock driver
156 - description: XO clock
157 - description: GCC GPLL0 clock source
168 - qcom,msm8953-apcs-kpss-global
169 - qcom,msm8994-apcs-kpss-global
170 - qcom,msm8996-apcs-hmss-global
171 - qcom,qcm2290-apcs-hmss-global
172 - qcom,sdm845-apss-shared
183 - qcom,ipq6018-apcs-apps-global
195 # Example apcs with msm8996
197 #include <dt-bindings/interrupt-controller/arm-gic.h>
198 apcs_glb: mailbox@9820000 {
199 compatible = "qcom,msm8996-apcs-hmss-global";
200 reg = <0x9820000 0x1000>;
207 compatible = "qcom,glink-rpm";
208 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
209 qcom,rpm-msg-ram = <&rpm_msg_ram>;
210 mboxes = <&apcs_glb 0>;
213 # Example apcs with qcs404
215 #define GCC_APSS_AHB_CLK_SRC 1
216 #define GCC_GPLL0_AO_OUT_MAIN 123
217 apcs: mailbox@b011000 {
218 compatible = "qcom,qcs404-apcs-apps-global",
219 "qcom,msm8916-apcs-kpss-global", "syscon";
220 reg = <0x0b011000 0x1000>;
222 clocks = <&apcs_hfpll>, <&gcc GCC_GPLL0_AO_OUT_MAIN>;
223 clock-names = "pll", "aux";