ARM: dts: am437x: Add missing compatibles to PWM binding documents
[cascardo/linux.git] / Documentation / devicetree / bindings / pwm / pwm-tiecap.txt
1 TI SOC ECAP based APWM controller
2
3 Required properties:
4 - compatible: Must be "ti,<soc>-ecap".
5   for am33xx  - compatible = "ti,am33xx-ecap";
6   for am4372  - compatible = "ti,am4372-ecap", "ti,am33xx-ecap";
7   for da850   - compatible = "ti,da850-ecap", "ti,am33xx-ecap";
8 - #pwm-cells: should be 3. See pwm.txt in this directory for a description of
9   the cells format. The PWM channel index ranges from 0 to 4. The only third
10   cell flag supported by this binding is PWM_POLARITY_INVERTED.
11 - reg: physical base address and size of the registers map.
12
13 Optional properties:
14 - ti,hwmods: Name of the hwmod associated to the ECAP:
15   "ecap<x>", <x> being the 0-based instance number from the HW spec
16
17 Example:
18
19 ecap0: ecap@0 { /* ECAP on am33xx */
20         compatible = "ti,am33xx-ecap";
21         #pwm-cells = <3>;
22         reg = <0x48300100 0x80>;
23         ti,hwmods = "ecap0";
24 };
25
26 ecap0: ecap@0 { /* ECAP on am4372 */
27         compatible = "ti,am4372-ecap", "ti,am33xx-ecap";
28         #pwm-cells = <3>;
29         reg = <0x48300100 0x80>;
30         ti,hwmods = "ecap0";
31 };
32
33 ecap0: ecap@0 { /* ECAP on da850 */
34         compatible = "ti,da850-ecap", "ti,am33xx-ecap";
35         #pwm-cells = <3>;
36         reg = <0x306000 0x80>;
37 };