Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 91c756cb5d7c6ca8f2e821d8b17515f4 > files > 1259

kernel-rt-doc-3.10.24-0.rt20.2.mga3.noarch.rpm

== ST SPEAr SoC PWM controller ==

Required properties:
- compatible: should be one of:
  - "st,spear320-pwm"
  - "st,spear1340-pwm"
- reg: physical base address and length of the controller's registers
- #pwm-cells: number of cells used to specify PWM which is fixed to 2 on
  SPEAr. The first cell specifies the per-chip index of the PWM to use and
  the second cell is the period in nanoseconds.

Example:

        pwm: pwm@a8000000 {
            compatible ="st,spear320-pwm";
            reg = <0xa8000000 0x1000>;
            #pwm-cells = <2>;
        };