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,ipq5332-apcs-apps-global
22 - qcom,ipq8074-apcs-apps-global
23 - qcom,ipq9574-apcs-apps-global
24 - const: qcom,ipq6018-apcs-apps-global
27 - qcom,sc7180-apss-shared
28 - qcom,sc8180x-apss-shared
29 - qcom,sm8150-apss-shared
30 - const: qcom,sdm845-apss-shared
33 - qcom,msm8916-apcs-kpss-global
34 - qcom,msm8939-apcs-kpss-global
35 - qcom,msm8953-apcs-kpss-global
36 - qcom,msm8976-apcs-kpss-global
37 - qcom,msm8994-apcs-kpss-global
38 - qcom,qcs404-apcs-apps-global
42 - qcom,ipq6018-apcs-apps-global
43 - qcom,ipq8074-apcs-apps-global
44 - qcom,msm8996-apcs-hmss-global
45 - qcom,msm8998-apcs-hmss-global
46 - qcom,qcm2290-apcs-hmss-global
47 - qcom,sdm660-apcs-hmss-global
48 - qcom,sdm845-apss-shared
49 - qcom,sm4250-apcs-hmss-global
50 - qcom,sm6115-apcs-hmss-global
51 - qcom,sm6125-apcs-hmss-global
57 description: phandles to the parent clocks of the clock driver
76 additionalProperties: false
83 - qcom,msm8916-apcs-kpss-global
84 - qcom,msm8939-apcs-kpss-global
85 - qcom,qcs404-apcs-apps-global
90 - description: primary pll parent of the clock driver
91 - description: auxiliary parent
101 - qcom,sdx55-apcs-gcc
106 - description: primary pll parent of the clock driver
107 - description: auxiliary parent
108 - description: reference clock
119 - qcom,ipq6018-apcs-apps-global
124 - description: primary pll parent of the clock driver
125 - description: XO clock
135 - qcom,msm8953-apcs-kpss-global
136 - qcom,msm8976-apcs-kpss-global
137 - qcom,msm8994-apcs-kpss-global
138 - qcom,msm8996-apcs-hmss-global
139 - qcom,msm8998-apcs-hmss-global
140 - qcom,qcm2290-apcs-hmss-global
141 - qcom,sdm660-apcs-hmss-global
142 - qcom,sdm845-apss-shared
143 - qcom,sm4250-apcs-hmss-global
144 - qcom,sm6115-apcs-hmss-global
145 - qcom,sm6125-apcs-hmss-global
156 - qcom,ipq6018-apcs-apps-global
168 # Example apcs with msm8996
170 #include <dt-bindings/interrupt-controller/arm-gic.h>
171 apcs_glb: mailbox@9820000 {
172 compatible = "qcom,msm8996-apcs-hmss-global";
173 reg = <0x9820000 0x1000>;
180 compatible = "qcom,glink-rpm";
181 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
182 qcom,rpm-msg-ram = <&rpm_msg_ram>;
183 mboxes = <&apcs_glb 0>;
186 # Example apcs with qcs404
188 #define GCC_APSS_AHB_CLK_SRC 1
189 #define GCC_GPLL0_AO_OUT_MAIN 123
190 apcs: mailbox@b011000 {
191 compatible = "qcom,qcs404-apcs-apps-global", "syscon";
192 reg = <0x0b011000 0x1000>;
194 clocks = <&apcs_hfpll>, <&gcc GCC_GPLL0_AO_OUT_MAIN>;
195 clock-names = "pll", "aux";