blob: 8f57d0ad9e23d1c4604264d0e4b85eea208c1200 [file] [log] [blame]
Satyajit Desai66b6c452017-06-27 17:10:46 -07001* JTAG-MM
2
3The jtag-mm entry specifies the memory mapped addresses for the debug and ETM
4registers. The jtag-mm driver uses these to save and restore the registers
5using memory mapped access during power collapse so as to retain their state
6across power collapse. This is necessary in case cp14 access to the registers
7is not permitted.
8
9Required Properties:
10compatible: component name used for driver matching, should be:
11 "qcom,jtag-mm" - for jtag-mm device
12 "qcom,jtagv8-mm" - for jtagv8-mm device supporting ARMv8 targets
13
14 reg: physical base address and length of the register set
15 reg-names: should be "etm-base" for etm register set and "debug-base"
16 for debug register set.
17 qcom,coresight-jtagmm-cpu: specifies phandle for the cpu associated
18 with the jtag-mm device
19 qcom,si-enable : boolean, indicating etm save and restore is
20 supported via system instructions
21 qcom,save-restore-disable : boolean, to disable etm save and restore
22 functionality
23
24Example:
25jtag_mm: jtagmm@fc332000 {
26 compatible = "qcom,jtag-mm";
27 reg = <0xfc332000 0x1000>,
28 <0xfc333000 0x1000>;
29 reg-names = "etm-base","debug-base";
30
31 qcom,coresight-jtagmm-cpu = <&CPU0>;
32};