1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: "http://devicetree.org/schemas/mailbox/qcom,apcs-kpss-global.yaml#" 5$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 7title: Qualcomm APCS global block bindings 8 9description: 10 This binding describes the APCS "global" block found in various Qualcomm 11 platforms. 12 13maintainers: 14 - Sivaprakash Murugesan <sivaprak@codeaurora.org> 15 16properties: 17 compatible: 18 enum: 19 - qcom,ipq8074-apcs-apps-global 20 - qcom,msm8916-apcs-kpss-global 21 - qcom,msm8994-apcs-kpss-global 22 - qcom,msm8996-apcs-hmss-global 23 - qcom,msm8998-apcs-hmss-global 24 - qcom,qcs404-apcs-apps-global 25 - qcom,sc7180-apss-shared 26 - qcom,sdm660-apcs-hmss-global 27 - qcom,sdm845-apss-shared 28 - qcom,sm8150-apss-shared 29 30 reg: 31 maxItems: 1 32 33 clocks: 34 description: phandles to the parent clocks of the clock driver 35 items: 36 - description: primary pll parent of the clock driver 37 - description: auxiliary parent 38 39 '#mbox-cells': 40 const: 1 41 42 '#clock-cells': 43 const: 0 44 45 clock-names: 46 items: 47 - const: pll 48 - const: aux 49 50required: 51 - compatible 52 - reg 53 - '#mbox-cells' 54 55additionalProperties: false 56 57examples: 58 59 # Example apcs with msm8996 60 - | 61 #include <dt-bindings/interrupt-controller/arm-gic.h> 62 apcs_glb: mailbox@9820000 { 63 compatible = "qcom,msm8996-apcs-hmss-global"; 64 reg = <0x9820000 0x1000>; 65 66 #mbox-cells = <1>; 67 }; 68 69 rpm-glink { 70 compatible = "qcom,glink-rpm"; 71 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; 72 qcom,rpm-msg-ram = <&rpm_msg_ram>; 73 mboxes = <&apcs_glb 0>; 74 mbox-names = "rpm_hlos"; 75 }; 76 77 # Example apcs with qcs404 78 - | 79 #define GCC_APSS_AHB_CLK_SRC 1 80 #define GCC_GPLL0_AO_OUT_MAIN 123 81 apcs: mailbox@b011000 { 82 compatible = "qcom,qcs404-apcs-apps-global"; 83 reg = <0x0b011000 0x1000>; 84 #mbox-cells = <1>; 85 clocks = <&apcs_hfpll>, <&gcc GCC_GPLL0_AO_OUT_MAIN>; 86 clock-names = "pll", "aux"; 87 #clock-cells = <0>; 88 }; 89