Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / Documentation / devicetree / bindings / pwm / pwm-tipwmss.txt
1 TI SOC based PWM Subsystem
2
3 Required properties:
4 - compatible: Must be "ti,am33xx-pwmss";
5 - reg: physical base address and size of the registers map.
6 - address-cells: Specify the number of u32 entries needed in child nodes.
7                   Should set to 1.
8 - size-cells: specify number of u32 entries needed to specify child nodes size
9                 in reg property. Should set to 1.
10 - ranges: describes the address mapping of a memory-mapped bus. Should set to
11            physical address map of child's base address, physical address within
12            parent's address  space and length of the address map. For am33xx,
13            3 set of child register maps present, ECAP register space, EQEP
14            register space, EHRPWM register space.
15
16 Also child nodes should also populated under PWMSS DT node.
17
18 Example:
19 pwmss0: pwmss@48300000 {
20         compatible = "ti,am33xx-pwmss";
21         reg = <0x48300000 0x10>;
22         ti,hwmods = "epwmss0";
23         #address-cells = <1>;
24         #size-cells = <1>;
25         status = "disabled";
26         ranges = <0x48300100 0x48300100 0x80   /* ECAP */
27                   0x48300180 0x48300180 0x80   /* EQEP */
28                   0x48300200 0x48300200 0x80>; /* EHRPWM */
29
30         /* child nodes go here */
31 };