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/timer/img,pistachio-gptimer.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 * Pistachio general-purpose timer based clocksource
    2 
    3 Required properties:
    4  - compatible: "img,pistachio-gptimer".
    5  - reg: Address range of the timer registers.
    6  - interrupts: An interrupt for each of the four timers
    7  - clocks: Should contain a clock specifier for each entry in clock-names
    8  - clock-names: Should contain the following entries:
    9                 "sys", interface clock
   10                 "slow", slow counter clock
   11                 "fast", fast counter clock
   12  - img,cr-periph: Must contain a phandle to the peripheral control
   13                   syscon node.
   14 
   15 Example:
   16         timer: timer@18102000 {
   17                 compatible = "img,pistachio-gptimer";
   18                 reg = <0x18102000 0x100>;
   19                 interrupts = <GIC_SHARED 60 IRQ_TYPE_LEVEL_HIGH>,
   20                              <GIC_SHARED 61 IRQ_TYPE_LEVEL_HIGH>,
   21                              <GIC_SHARED 62 IRQ_TYPE_LEVEL_HIGH>,
   22                              <GIC_SHARED 63 IRQ_TYPE_LEVEL_HIGH>;
   23                 clocks = <&clk_periph PERIPH_CLK_COUNTER_FAST>,
   24                          <&clk_periph PERIPH_CLK_COUNTER_SLOW>,
   25                          <&cr_periph SYS_CLK_TIMER>;
   26                 clock-names = "fast", "slow", "sys";
   27                 img,cr-periph = <&cr_periph>;
   28         };

Cache object: 83aa52129ef43ccae2c120fcb4486ef7


[ 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.