From mboxrd@z Thu Jan 1 00:00:00 1970 From: joshc@eso.teric.us (Josh Cartwright) Date: Thu, 20 Dec 2012 11:23:01 -0600 Subject: OT:zynx on zedboard.org hr timer problem with dts In-Reply-To: <201212201744.43678.tim01@vlsi.informatik.tu-darmstadt.de> References: <201212201744.43678.tim01@vlsi.informatik.tu-darmstadt.de> Message-ID: <20121220172301.GC27361@kryptos> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Dec 20, 2012 at 05:44:42PM +0100, Tim Sander wrote: > Hi > > This is probably not the right list but in lack of knowing a better place: > I am using the xilinx git repository (git://git.xilinx.com/linux-xlnx.git) > with the attached dts file. Most stuff works fine but there is a error message > on startup: > Zynq clock init > xlnx,ps7-ttc-1.00.a #0 at 0xe0800000, irq=43 > ------------[ cut here ]------------ > WARNING: at arch/arm/kernel/smp_twd.c:389 time_init+0x20/0x30() > twd_local_timer_of_register failed (-22) > Modules linked in: > [] (unwind_backtrace+0x0/0x11c) from [] (warn_slowpath_common+0x4c/0x64) > [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_fmt+0x2c/0x3c) > [] (warn_slowpath_fmt+0x2c/0x3c) from [] (time_init+0x20/0x30) > [] (time_init+0x20/0x30) from [] (start_kernel+0x1b4/0x2f0) > [] (start_kernel+0x1b4/0x2f0) from [<00008044>] (0x8044) > ---[ end trace 0000000000000001 ]--- > and hrtimers are not working although they are enabled in the .config. Hey Tim- A better place to ask questions about the Xilinx tree will likely be on their Embedded Linux forum [1]. > I am sure this is an error in the attached dts but i am to knew to this device tree > stuff to find the error. So any hint would be apreciated. On first glance, it looks like you've specified a node for the twd, but neglected to specify interrupts. See Documentation/devicetree/bindings/arm/twd.txt. > swdt at f8005000 { > device_type = "watchdog"; > compatible = "arm,cortex-a9-twd-timer"; > reg = <0xf8005000 0x100>; > clock-frequency = <111111111>; > }; Good luck, Josh [1]: http://forums.xilinx.com/t5/Embedded-Linux/bd-p/ELINUX