The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/arm/coresight-cpu-debug.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * CoreSight CPU Debug Component:
    2 
    3 CoreSight CPU debug component are compliant with the ARMv8 architecture
    4 reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug'. The
    5 external debug module is mainly used for two modes: self-hosted debug and
    6 external debug, and it can be accessed from mmio region from Coresight
    7 and eventually the debug module connects with CPU for debugging. And the
    8 debug module provides sample-based profiling extension, which can be used
    9 to sample CPU program counter, secure state and exception level, etc;
   10 usually every CPU has one dedicated debug module to be connected.
   11 
   12 Required properties:
   13 
   14 - compatible : should be "arm,coresight-cpu-debug"; supplemented with
   15                "arm,primecell" since this driver is using the AMBA bus
   16                interface.
   17 
   18 - reg : physical base address and length of the register set.
   19 
   20 - clocks : the clock associated to this component.
   21 
   22 - clock-names : the name of the clock referenced by the code. Since we are
   23                 using the AMBA framework, the name of the clock providing
   24                 the interconnect should be "apb_pclk" and the clock is
   25                 mandatory. The interface between the debug logic and the
   26                 processor core is clocked by the internal CPU clock, so it
   27                 is enabled with CPU clock by default.
   28 
   29 - cpu : the CPU phandle the debug module is affined to. Do not assume it
   30         to default to CPU0 if omitted.
   31 
   32 Optional properties:
   33 
   34 - power-domains: a phandle to the debug power domain. We use "power-domains"
   35                  binding to turn on the debug logic if it has own dedicated
   36                  power domain and if necessary to use "cpuidle.off=1" or
   37                  "nohlt" in the kernel command line or sysfs node to
   38                  constrain idle states to ensure registers in the CPU power
   39                  domain are accessible.
   40 
   41 Example:
   42 
   43         debug@f6590000 {
   44                 compatible = "arm,coresight-cpu-debug","arm,primecell";
   45                 reg = <0 0xf6590000 0 0x1000>;
   46                 clocks = <&sys_ctrl HI6220_DAPB_CLK>;
   47                 clock-names = "apb_pclk";
   48                 cpu = <&cpu0>;
   49         };

Cache object: d2b4fa1b8b088b1c24107db4a6ed1be3


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.