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/reset/qcom,pdc-global.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm PDC Global |
| 8 | |
| 9 | maintainers: |
| 10 | - Sibi Sankar <quic_sibis@quicinc.com> |
| 11 | |
| 12 | description: |
| 13 | The bindings describes the reset-controller found on PDC-Global (Power Domain |
| 14 | Controller) block for Qualcomm Technologies Inc SoCs. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | oneOf: |
| 19 | - description: on SC7180 SoCs the following compatibles must be specified |
| 20 | items: |
| 21 | - const: "qcom,sc7180-pdc-global" |
| 22 | - const: "qcom,sdm845-pdc-global" |
| 23 | |
| 24 | - description: on SC7280 SoCs the following compatibles must be specified |
| 25 | items: |
| 26 | - const: "qcom,sc7280-pdc-global" |
| 27 | |
| 28 | - description: on SDM845 SoCs the following compatibles must be specified |
| 29 | items: |
| 30 | - const: "qcom,sdm845-pdc-global" |
| 31 | |
| 32 | reg: |
| 33 | maxItems: 1 |
| 34 | |
| 35 | '#reset-cells': |
| 36 | const: 1 |
| 37 | |
| 38 | required: |
| 39 | - compatible |
| 40 | - reg |
| 41 | - '#reset-cells' |
| 42 | |
| 43 | additionalProperties: false |
| 44 | |
| 45 | examples: |
| 46 | - | |
| 47 | pdc_reset: reset-controller@b2e0000 { |
| 48 | compatible = "qcom,sdm845-pdc-global"; |
| 49 | reg = <0xb2e0000 0x20000>; |
| 50 | #reset-cells = <1>; |
| 51 | }; |