1TI SOC based PWM Subsystem 2 3Required properties: 4- compatible: Must be "ti,<soc>-pwmss". 5 for am33xx - compatible = "ti,am33xx-pwmss" 6 for dra7xx - compatible = "ti,dra7xx-pwmss", "ti,am33xx-pwmss" 7- reg: physical base address and size of the registers map. 8- address-cells: Specify the number of u32 entries needed in child nodes. 9 Should set to 1. 10- size-cells: specify number of u32 entries needed to specify child nodes size 11 in reg property. Should set to 1. 12- ranges: describes the address mapping of a memory-mapped bus. Should set to 13 physical address map of child's base address, physical address within 14 parent's address space and length of the address map. For am33xx, 15 3 set of child register maps present, ECAP register space, EQEP 16 register space, EHRPWM register space. 17 18Also child nodes should also populated under PWMSS DT node. 19 20Example: 21pwmss0: pwmss@48300000 { 22 compatible = "ti,am33xx-pwmss"; 23 reg = <0x48300000 0x10>; 24 ti,hwmods = "epwmss0"; 25 #address-cells = <1>; 26 #size-cells = <1>; 27 status = "disabled"; 28 ranges = <0x48300100 0x48300100 0x80 /* ECAP */ 29 0x48300180 0x48300180 0x80 /* EQEP */ 30 0x48300200 0x48300200 0x80>; /* EHRPWM */ 31 32 /* child nodes go here */ 33}; 34 35epwmss0: epwmss@4843e000 { /* On DRA7xx */ 36 compatible = "ti,dra7xx-pwmss", "ti,am33xx-pwmss"; 37 reg = <0x4843e000 0x30>; 38 ti,hwmods = "epwmss0"; 39 #address-cells = <1>; 40 #size-cells = <1>; 41 ranges = <0x4843e100 0x4843e100 0x80 /* ECAP */ 42 0x4843e180 0x4843e180 0x80 /* EQEP */ 43 0x4843e200 0x4843e200 0x80>; /* EHRPWM */ 44 45 /* child nodes go here */ 46}; 47