About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / pwm / pwm-tipwmss.txt




Custom Search

Based on kernel version 3.15.4. Page generated on 2014-07-07 09:01 EST.

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	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.