# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
-$id: http://devicetree.org/schemas/timer/starfive,timers.yaml#
+$id: http://devicetree.org/schemas/timer/starfive,jh7110-timers.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: StarFive timers bindings
properties:
compatible:
- const: starfive,timers
+ const: starfive,jh7110-timers
reg:
maxItems: 1
#include <dt-bindings/clock/starfive-jh7110-clkgen.h>
timer0: timer@15200000 {
- compatible = "starfive,timers";
+ compatible = "starfive,jh7110-timers";
reg = <0x15200000 0x10000>;
interrupts = <85>, <86>, <87> ,<88>;
interrupt-names = "timer0", "timer1", "timer2", "timer3";
};
timer: timer@13050000 {
- compatible = "starfive,timers";
+ compatible = "starfive,jh7110-timers";
reg = <0x0 0x13050000 0x0 0x10000>;
interrupts = <69>, <70>, <71> ,<72>;
interrupt-names = "timer0", "timer1",
{
return do_starfive_timer_of_init(np, &jh7110_starfive_timer);
}
-TIMER_OF_DECLARE(starfive_timer, "starfive,timers", starfive_timer_of_init);
+TIMER_OF_DECLARE(starfive_timer, "starfive,jh7110-timers", starfive_timer_of_init);
MODULE_AUTHOR("xingyu.wu <xingyu.wu@starfivetech.com>");
MODULE_AUTHOR("samin.guo <samin.guo@starfivetech.com>");