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/pwm/pwm-bcm2835.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 BCM2835 PWM controller (Raspberry Pi controller)
    2 
    3 Required properties:
    4 - compatible: should be "brcm,bcm2835-pwm"
    5 - reg: physical base address and length of the controller's registers
    6 - clocks: This clock defines the base clock frequency of the PWM hardware
    7   system, the period and the duty_cycle of the PWM signal is a multiple of
    8   the base period.
    9 - #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
   10   the cells format.
   11 
   12 Examples:
   13 
   14 pwm@2020c000 {
   15         compatible = "brcm,bcm2835-pwm";
   16         reg = <0x2020c000 0x28>;
   17         clocks = <&clk_pwm>;
   18         #pwm-cells = <3>;
   19 };
   20 
   21 clocks {
   22         ....
   23                 clk_pwm: pwm {
   24                         compatible = "fixed-clock";
   25                         reg = <3>;
   26                         #clock-cells = <0>;
   27                         clock-frequency = <9200000>;
   28                 };
   29         ....
   30 };

Cache object: 438edd4dcbd47785da25fa4cb7dc1f23


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