xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pwm/pwm-omap-dmtimer.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* OMAP PWM for dual-mode timers
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Shall contain "ti,omap-dmtimer-pwm".
5*4882a593Smuzhiyun- ti,timers: phandle to PWM capable OMAP timer. See timer/ti,timer.txt for info
6*4882a593Smuzhiyun  about these timers.
7*4882a593Smuzhiyun- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
8*4882a593Smuzhiyun  the cells format.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunOptional properties:
11*4882a593Smuzhiyun- ti,prescaler: Should be a value between 0 and 7, see the timers datasheet
12*4882a593Smuzhiyun- ti,clock-source: Set dmtimer parent clock, values between 0 and 2:
13*4882a593Smuzhiyun  - 0x00 - high-frequency system clock (timer_sys_ck)
14*4882a593Smuzhiyun  - 0x01 - 32-kHz always-on clock (timer_32k_ck)
15*4882a593Smuzhiyun  - 0x02 - external clock (timer_ext_ck, OMAP2 only)
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunExample:
18*4882a593Smuzhiyun	pwm9: dmtimer-pwm@9 {
19*4882a593Smuzhiyun		compatible = "ti,omap-dmtimer-pwm";
20*4882a593Smuzhiyun		ti,timers = <&timer9>;
21*4882a593Smuzhiyun		#pwm-cells = <3>;
22*4882a593Smuzhiyun	};
23