Tool/software: Linux
I'm in the midst of porting from a prior implementation before the introduction of the device tree. In that world, I was able to invoke omap_dm_timer_request_specific(x) where 'x' is an integer selecting one of the 8 general purpose timers. In my specific case, I was requesting timer4 and timer5. In the new world defined by "DM38x IPNC RDK GA Release (v3.9.1)" where there's a device tree, that invocation fails with a message "Please use omap_dm_timer_request_by_cap/node()". As a first shot, I tried changing the invocation to a simple omap_dm_timer_request() which, I believe, is supposed to return the next available unclaimed timer. That function appears to believe that there are no more available timers.
My device tree is defined via a '.dts' which is based on dm38x-csk.dts. That file includes ti81xx.dtsi which defines only timer1 & timer2. Experimentally I added definitions for timers 3-8 to that file however that was either wrong or insufficient as I'm getting messages such as "platform 48042000.timer: Cannot lookup hwmod 'timer3'" and omap_dm_timer_request() is still failing.
So, how am I supposed to access the other DM388 timers?