Hi Jamie, Thanks for reply. I added support for DW Timer in my Linux BSP. I added code in below fashion (not included OF related code). But after adding this code, my kernel is not booting. It fails. I only see below print, and nothing happens after that. I am not sure why its not going ahead and debug this further. Uncompressing Linux... done, booting the kernel. Can you please provide me pointers if its possible for you? I think integrated timer code is not working properly. As per my understanding, Linux requires SYS Timer while its booting. Can you please share what actually kernel requires at the time of booting, i.e. how many timers, periodic mode / free running mode etc. I have added below code. Board specific timer_init function has below code struct dw_apb_clock_event_device *ced; struct dw_apb_clocksource *cs; int irq = 32 + 39; int rate = 1000000; void __iomem *iobase = MMIO_P2V(0xF8002000); // Address of Timer 0 ced = dw_apb_clockevent_init(0, "dw-clk-event", 300, iobase, irq, rate); if(!ced) panic("Unable to initialise clockevent device"); dw_apb_clockevent_register(ced); iobase = MMIO_P2V(0xF8002000 + 0x14); // Address of Timer 1 cs = dw_apb_clocksource_init(300, "dw-clk-src", iobase, rate); // Add timer 1 offset if(!cs) panic("Unable to initialise clocksource device"); dw_apb_clocksource_start(cs); dw_apb_clocksource_register(cs); I am working on ARM versatile express FPGA platform. Scheduler function is used as of ARM Versatile express i.e. versatile_sched_clock_init. Last thing just wanted to understand, my Timer IP has 4 timers, but we are just using 2 timers here. What about other two timers? Do I need to make some provision in the Linux kernel BSP code, so that applications can make use of it? I am not clear on this point. Thanks & Reply, Tushar On Fri, Mar 30, 2012 at 3:49 PM, Jamie Iles <jamie@xxxxxxxxxxxxx> wrote: > On 29 March 2012 15:23, Tushar K <tushark.kernel@xxxxxxxxx> wrote: >> Hi Jamie, >> >> Thanks for reply. >> Is it possible for you to provide me the link on how to use the device >> tree framework while writing a BSP code? >> I tried to search but could not find concrete documentation on this. >> If steps are given could be helpful for new comers. >> Also please tell me if any ARM / non-ARM based SoC BSP which has >> implemented device tree functionality. Would be helpful as a reference >> code for my BSP. > > The documentation for this stuff is really still evolving. I'd start > by looking at the kernels Documentation/devicetree docs and some of > the newer ARM platforms as a reference (zynq, highbank, picoxcell). > > Jamie -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html