ARM: dts: am437x: Add missing compatibles to PWM binding documents
[cascardo/linux.git] / Documentation / devicetree / bindings / pwm / pwm-tiehrpwm.txt
1 TI SOC EHRPWM based PWM controller
2
3 Required properties:
4 - compatible: Must be "ti,<soc>-ehrpwm".
5   for am33xx  - compatible = "ti,am33xx-ehrpwm";
6   for am4372  - compatible = "ti,am4372-ehrpwm", "ti,am33xx-ehrpwm";
7   for da850   - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
8 - #pwm-cells: should be 3. See pwm.txt in this directory for a description of
9   the cells format. The only third cell flag supported by this binding is
10   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 EHRPWM:
15   "ehrpwm<x>", <x> being the 0-based instance number from the HW spec
16
17 Example:
18
19 ehrpwm0: ehrpwm@0 { /* EHRPWM on am33xx */
20         compatible = "ti,am33xx-ehrpwm";
21         #pwm-cells = <3>;
22         reg = <0x48300200 0x100>;
23         ti,hwmods = "ehrpwm0";
24 };
25
26 ehrpwm0: ehrpwm@0 { /* EHRPWM on am4372 */
27         compatible = "ti,am4372-ehrpwm", "ti,am33xx-ehrpwm";
28         #pwm-cells = <3>;
29         reg = <0x48300200 0x80>;
30         ti,hwmods = "ehrpwm0";
31 };
32
33 ehrpwm0: ehrpwm@0 { /* EHRPWM on da850 */
34         compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
35         #pwm-cells = <3>;
36         reg = <0x300000 0x2000>;
37 };