1 TI SOC based PWM Subsystem
4 - compatible: Must be "ti,<soc>-pwmss".
5 for am33xx - compatible = "ti,am33xx-pwmss";
6 for am4372 - compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
8 - reg: physical base address and size of the registers map.
9 - address-cells: Specify the number of u32 entries needed in child nodes.
11 - size-cells: specify number of u32 entries needed to specify child nodes size
12 in reg property. Should set to 1.
13 - ranges: describes the address mapping of a memory-mapped bus. Should set to
14 physical address map of child's base address, physical address within
15 parent's address space and length of the address map. For am33xx,
16 3 set of child register maps present, ECAP register space, EQEP
17 register space, EHRPWM register space.
19 Also child nodes should also populated under PWMSS DT node.
22 epwmss0: epwmss@48300000 { /* PWMSS for am33xx */
23 compatible = "ti,am33xx-pwmss";
24 reg = <0x48300000 0x10>;
25 ti,hwmods = "epwmss0";
29 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
30 0x48300180 0x48300180 0x80 /* EQEP */
31 0x48300200 0x48300200 0x80>; /* EHRPWM */
33 /* child nodes go here */
36 epwmss0: epwmss@48300000 { /* PWMSS for am4372 */
37 compatible = "ti,am4372-pwmss","ti,am33xx-pwmss"
38 reg = <0x48300000 0x10>;
39 ti,hwmods = "epwmss0";
43 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
44 0x48300180 0x48300180 0x80 /* EQEP */
45 0x48300200 0x48300200 0x80>; /* EHRPWM */
47 /* child nodes go here */