Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/qcom,msm8996-cbf.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm MSM8996 Core Bus Fabric (CBF) clock controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> |
| 11 | |
| 12 | description: > |
| 13 | The clock controller for the Qualcomm MSM8996 CBF clock, which drives the |
| 14 | interconnect between two CPU clusters. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | enum: |
| 19 | - qcom,msm8996-cbf |
| 20 | - qcom,msm8996pro-cbf |
| 21 | |
| 22 | reg: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | clocks: |
| 26 | items: |
| 27 | - description: XO source |
| 28 | - description: SYS APCS AUX clock |
| 29 | |
| 30 | '#clock-cells': |
| 31 | const: 0 |
| 32 | |
| 33 | '#interconnect-cells': |
| 34 | const: 1 |
| 35 | |
| 36 | required: |
| 37 | - compatible |
| 38 | - reg |
| 39 | - clocks |
| 40 | - '#clock-cells' |
| 41 | - '#interconnect-cells' |
| 42 | |
| 43 | additionalProperties: false |
| 44 | |
| 45 | examples: |
| 46 | - | |
| 47 | #include <dt-bindings/clock/qcom,rpmcc.h> |
| 48 | clock-controller@9a11000 { |
| 49 | compatible = "qcom,msm8996-cbf"; |
| 50 | reg = <0x09a11000 0x10000>; |
| 51 | clocks = <&rpmcc RPM_SMD_BB_CLK1>, <&apcs_glb>; |
| 52 | #clock-cells = <0>; |
| 53 | #interconnect-cells = <1>; |
| 54 | }; |
| 55 | ... |