Hi All,
I want to generate PWM using timer4, for this what should i do? Currently I've in dts files
1. timer4: timer@48044000 {
compatible = "ti,am335x-timer";
reg = <0x48044000 0x400>;
interrupts = <92>;
ti,hwmods = "timer4";
clocks = <&timer4_fck>;
clock-names = "fck";
ti,timer-pwm;
};
2. Pinmux for XDMA_EVENT_INTR0/TIMER4/CLKOUT1/SPI1_CS1/PR1_PRU1_PRU_R31_16/EMU2/GPIO0_19
0x1B0 (PIN_OUTPUT | MUX_MODE1) /* xdma_event_intr0.timer4_mux1 */
3. duty cycle from 0%-100%. Frequency approx. 100 kHz.
Regards,
Gangadhar