blob: a71557395c014d82323c62bf5f13e05e7ac15aa2 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,gcc-ipq8064.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller on IPQ8064
8
9maintainers:
10 - Ansuel Smith <ansuelsmth@gmail.com>
11
12description: |
13 Qualcomm global clock control module provides the clocks, resets and power
14 domains on IPQ8064.
15
16 See also::
17 include/dt-bindings/clock/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064)
18 include/dt-bindings/reset/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064)
19
20allOf:
21 - $ref: qcom,gcc.yaml#
22
23properties:
24 compatible:
25 items:
26 - const: qcom,gcc-ipq8064
27 - const: syscon
28
29 clocks:
30 minItems: 2
31 items:
32 - description: PXO source
33 - description: CXO source
34 - description: PLL4 from LCC
35
36 clock-names:
37 minItems: 2
38 items:
39 - const: pxo
40 - const: cxo
41 - const: pll4
42
43 thermal-sensor:
44 type: object
45
46 allOf:
47 - $ref: /schemas/thermal/qcom-tsens.yaml#
48
Tom Rini6b642ac2024-10-01 12:20:28 -060049 '#power-domain-cells': false
50
Tom Rini53633a82024-02-29 12:33:36 -050051required:
52 - compatible
53 - clocks
54 - clock-names
55
56unevaluatedProperties: false
57
58examples:
59 - |
60 #include <dt-bindings/clock/qcom,lcc-ipq806x.h>
61 #include <dt-bindings/interrupt-controller/arm-gic.h>
62
63 gcc: clock-controller@900000 {
64 compatible = "qcom,gcc-ipq8064", "syscon";
65 reg = <0x00900000 0x4000>;
66 clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>;
67 clock-names = "pxo", "cxo", "pll4";
68 #clock-cells = <1>;
69 #reset-cells = <1>;
Tom Rini53633a82024-02-29 12:33:36 -050070
71 tsens: thermal-sensor {
72 compatible = "qcom,ipq8064-tsens";
73
74 nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
75 nvmem-cell-names = "calib", "calib_backup";
76 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
77 interrupt-names = "uplow";
78
79 #qcom,sensors = <11>;
80 #thermal-sensor-cells = <1>;
81 };
82 };