This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Juno dts timer node

Hi,

I am trying to bring-up linux on Juno r0 board and if I use below timer node I am getting kernel panic while executing timer_init API.

Please let me know if I am missing anything else in order to enable timer ?

memtimer: timer@2a810000

{

       compatible = "arm,armv7-timer-mem";

       reg = <0x0 0x2a810000 0x0 0x10000>;

       clock-frequency = <50000000>;

       #address-cells = <0x2>;

       #size-cells = <0x2>;

       ranges;

       status = "disabled";

       frame@2a830000 {

                 frame-number = <0x1>;

                 interrupts = <0x0 0x3c 0x4>;

                 reg = <0x0 0x2a830000 0x0 0x10000>;

       };

  };

timer

{

       compatible = "arm,armv8-timer";

       interrupts = <1 13 0xff01>,

                        <1 14 0xff01>,

                        <1 11 0xff01>,

                        <1 10 0xff01>;

};

Thanks.

Parents
  • Hi armdev,

    Are you using mainline kernel ? If so it has a patch to skip disabled timer, so

    the memory mapped timer won't have any effect.

    So please provide the delta dts you have with respect to mainline to understand the problem.

    Regards,

    Sudeep

Reply
  • Hi armdev,

    Are you using mainline kernel ? If so it has a patch to skip disabled timer, so

    the memory mapped timer won't have any effect.

    So please provide the delta dts you have with respect to mainline to understand the problem.

    Regards,

    Sudeep

Children
No data