Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/qcom,msm8996-apcc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm clock controller for MSM8996 CPUs |
| 8 | |
| 9 | maintainers: |
| 10 | - Loic Poulain <loic.poulain@linaro.org> |
| 11 | |
| 12 | description: | |
| 13 | Qualcomm CPU clock controller for MSM8996 CPUs, clock 0 is for Power cluster |
| 14 | and clock 1 is for Perf cluster. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | enum: |
| 19 | - qcom,msm8996-apcc |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | '#clock-cells': |
| 25 | const: 1 |
| 26 | |
| 27 | clocks: |
| 28 | items: |
| 29 | - description: XO source |
| 30 | - description: SYS APCS AUX clock |
| 31 | |
| 32 | clock-names: |
| 33 | items: |
| 34 | - const: xo |
| 35 | - const: sys_apcs_aux |
| 36 | |
| 37 | required: |
| 38 | - compatible |
| 39 | - reg |
| 40 | - '#clock-cells' |
| 41 | - clocks |
| 42 | - clock-names |
| 43 | |
| 44 | additionalProperties: false |
| 45 | |
| 46 | examples: |
| 47 | - | |
| 48 | kryocc: clock-controller@6400000 { |
| 49 | compatible = "qcom,msm8996-apcc"; |
| 50 | reg = <0x6400000 0x90000>; |
| 51 | #clock-cells = <1>; |
| 52 | |
| 53 | clocks = <&xo_board>, <&apcs_glb>; |
| 54 | clock-names = "xo", "sys_apcs_aux"; |
| 55 | }; |