Tool/software: Linux
Hello,
We have our own board design based on am3352 processor. W use kernel 4.4.19 from TI SDK 03.01.00.06.
Our design needs to generate a clock signal using pin XDMA_EVENT_INTR1 configured as timer7.
We configure this pin in our .dts file
0x1b4 ( PIN_OUTPUT | MUX_MODE4 ) /* (D14) xdma_event_intr1.timer7 */
and I have also checed that in am33xx.dtsi timers are defined
timer7: timer@4804a000 {
compatible = "ti,am335x-timer";
reg = <0x4804a000 0x400>;
interrupts = <95>;
ti,hwmods = "timer7";
ti,timer-pwm;
};
My question is:
1. Is it possible to configure timer7 to generate a clock/pwm signal on this pin using our .dts file? if so, how can we do it?
2. If it is not possible to do it in .dts file, can you show us an example of how to do it?
Best regards