64 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/timer/ingenic,sysost.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: SYSOST in Ingenic XBurst family SoCs8 9maintainers:10 - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>11 12description:13 The SYSOST in an Ingenic SoC provides one 64bit timer for clocksource14 and one or more 32bit timers for clockevent.15 16properties:17 "#clock-cells":18 const: 119 20 compatible:21 enum:22 - ingenic,x1000-ost23 - ingenic,x2000-ost24 25 reg:26 maxItems: 127 28 clocks:29 maxItems: 130 31 clock-names:32 const: ost33 34 interrupts:35 maxItems: 136 37required:38 - "#clock-cells"39 - compatible40 - reg41 - clocks42 - clock-names43 - interrupts44 45additionalProperties: false46 47examples:48 - |49 #include <dt-bindings/clock/ingenic,x1000-cgu.h>50 51 ost: timer@12000000 {52 compatible = "ingenic,x1000-ost";53 reg = <0x12000000 0x3c>;54 55 #clock-cells = <1>;56 57 clocks = <&cgu X1000_CLK_OST>;58 clock-names = "ost";59 60 interrupt-parent = <&cpuintc>;61 interrupts = <3>;62 };63...64