1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/timer/starfive,jh7110-timers.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: StarFive timers bindings
10 - samin.guo <samin.guo@starfivetech.com>
11 - xingyu.wu <xingyu.wu@starfivetech.com>
15 const: starfive,jh7110-timers
22 - description: timer channel 0 interrupt
23 - description: timer channel 1 interrupt
24 - description: timer channel 2 interrupt
25 - description: timer channel 3 interrupt
36 - description: timer0 clock
37 - description: timer1 clock
38 - description: timer2 clock
39 - description: timer3 clock
40 - description: APB clock
58 additionalProperties: false
62 #include <dt-bindings/clock/starfive-jh7110-clkgen.h>
64 timer0: timer@15200000 {
65 compatible = "starfive,jh7110-timers";
66 reg = <0x15200000 0x10000>;
67 interrupts = <85>, <86>, <87> ,<88>;
68 interrupt-names = "timer0", "timer1", "timer2", "timer3";
69 clocks = <&clkgen JH7110_TIMER_CLK_TIMER0>,
70 <&clkgen JH7110_TIMER_CLK_TIMER1>,
71 <&clkgen JH7110_TIMER_CLK_TIMER2>,
72 <&clkgen JH7110_TIMER_CLK_TIMER3>,
73 <&clkgen JH7110_TIMER_CLK_APB>;
74 clock-names = "timer0", "timer1",
75 "timer2", "timer3", "apb_clk";