xref: /freebsd/sys/contrib/device-tree/Bindings/soc/qcom/qcom,dcc.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
2*cb7aa33aSEmmanuel Vadot%YAML 1.2
3*cb7aa33aSEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/qcom/qcom,dcc.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: Data Capture and Compare
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotmaintainers:
10*cb7aa33aSEmmanuel Vadot  - Souradeep Chowdhury <quic_schowdhu@quicinc.com>
11*cb7aa33aSEmmanuel Vadot
12*cb7aa33aSEmmanuel Vadotdescription: |
13*cb7aa33aSEmmanuel Vadot    DCC (Data Capture and Compare) is a DMA engine which is used to save
14*cb7aa33aSEmmanuel Vadot    configuration data or system memory contents during catastrophic failure
15*cb7aa33aSEmmanuel Vadot    or SW trigger. DCC is used to capture and store data for debugging purpose
16*cb7aa33aSEmmanuel Vadot
17*cb7aa33aSEmmanuel Vadotproperties:
18*cb7aa33aSEmmanuel Vadot  compatible:
19*cb7aa33aSEmmanuel Vadot    items:
20*cb7aa33aSEmmanuel Vadot      - enum:
21*cb7aa33aSEmmanuel Vadot          - qcom,sm8150-dcc
22*cb7aa33aSEmmanuel Vadot          - qcom,sc7280-dcc
23*cb7aa33aSEmmanuel Vadot          - qcom,sc7180-dcc
24*cb7aa33aSEmmanuel Vadot          - qcom,sdm845-dcc
25*cb7aa33aSEmmanuel Vadot      - const: qcom,dcc
26*cb7aa33aSEmmanuel Vadot
27*cb7aa33aSEmmanuel Vadot  reg:
28*cb7aa33aSEmmanuel Vadot    items:
29*cb7aa33aSEmmanuel Vadot      - description: DCC base
30*cb7aa33aSEmmanuel Vadot      - description: DCC RAM base
31*cb7aa33aSEmmanuel Vadot
32*cb7aa33aSEmmanuel Vadotrequired:
33*cb7aa33aSEmmanuel Vadot  - compatible
34*cb7aa33aSEmmanuel Vadot  - reg
35*cb7aa33aSEmmanuel Vadot
36*cb7aa33aSEmmanuel VadotadditionalProperties: false
37*cb7aa33aSEmmanuel Vadot
38*cb7aa33aSEmmanuel Vadotexamples:
39*cb7aa33aSEmmanuel Vadot  - |
40*cb7aa33aSEmmanuel Vadot    dma@10a2000{
41*cb7aa33aSEmmanuel Vadot        compatible = "qcom,sm8150-dcc", "qcom,dcc";
42*cb7aa33aSEmmanuel Vadot        reg = <0x010a2000 0x1000>,
43*cb7aa33aSEmmanuel Vadot              <0x010ad000 0x2000>;
44*cb7aa33aSEmmanuel Vadot    };
45