summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pwm/spear-pwm.txt
blob: 95894128b62fcc6ad9f964c251fdf6e2ca7c891e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
== 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: should be 2. See pwm.yaml in this directory for a description of
  the cells format.

Example:

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