提交 ca40d2bd 编写于 作者: L Lubomir Rintel 提交者: Olof Johansson

dt-bindings: mrvl,mmp-timer: add clock

The timer needs the timer clock to be enabled, otherwise it stops
ticking.
Signed-off-by: NLubomir Rintel <lkundrak@v3.sk>
Reviewed-by: NRob Herring <robh@kernel.org>
Acked-by: NPavel Machek <pavel@ucw.cz>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 4abc7942
...@@ -5,9 +5,13 @@ Required properties: ...@@ -5,9 +5,13 @@ Required properties:
- reg : Address and length of the register set of timer controller. - reg : Address and length of the register set of timer controller.
- interrupts : Should be the interrupt number. - interrupts : Should be the interrupt number.
Optional properties:
- clocks : Should contain a single entry describing the clock input.
Example: Example:
timer0: timer@d4014000 { timer0: timer@d4014000 {
compatible = "mrvl,mmp-timer"; compatible = "mrvl,mmp-timer";
reg = <0xd4014000 0x100>; reg = <0xd4014000 0x100>;
interrupts = <13>; interrupts = <13>;
clocks = <&coreclk 2>;
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册