Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/soc/qcom/qcom,dcc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Data Capture and Compare |
| 8 | |
| 9 | maintainers: |
| 10 | - Souradeep Chowdhury <quic_schowdhu@quicinc.com> |
| 11 | |
| 12 | description: | |
| 13 | DCC (Data Capture and Compare) is a DMA engine which is used to save |
| 14 | configuration data or system memory contents during catastrophic failure |
| 15 | or SW trigger. DCC is used to capture and store data for debugging purpose |
| 16 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | items: |
| 20 | - enum: |
| 21 | - qcom,sm8150-dcc |
| 22 | - qcom,sc7280-dcc |
| 23 | - qcom,sc7180-dcc |
| 24 | - qcom,sdm845-dcc |
| 25 | - const: qcom,dcc |
| 26 | |
| 27 | reg: |
| 28 | items: |
| 29 | - description: DCC base |
| 30 | - description: DCC RAM base |
| 31 | |
| 32 | required: |
| 33 | - compatible |
| 34 | - reg |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | dma@10a2000{ |
| 41 | compatible = "qcom,sm8150-dcc", "qcom,dcc"; |
| 42 | reg = <0x010a2000 0x1000>, |
| 43 | <0x010ad000 0x2000>; |
| 44 | }; |