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