1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/timer/ingenic,sysost.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Bindings for SYSOST in Ingenic XBurst family SoCs 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotdescription: 13*c66ec88fSEmmanuel Vadot The SYSOST in an Ingenic SoC provides one 64bit timer for clocksource 14*c66ec88fSEmmanuel Vadot and one or more 32bit timers for clockevent. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadotproperties: 17*c66ec88fSEmmanuel Vadot "#clock-cells": 18*c66ec88fSEmmanuel Vadot const: 1 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot compatible: 21*c66ec88fSEmmanuel Vadot enum: 22*c66ec88fSEmmanuel Vadot - ingenic,x1000-ost 23*c66ec88fSEmmanuel Vadot - ingenic,x2000-ost 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot reg: 26*c66ec88fSEmmanuel Vadot maxItems: 1 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot clocks: 29*c66ec88fSEmmanuel Vadot maxItems: 1 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot clock-names: 32*c66ec88fSEmmanuel Vadot const: ost 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel Vadot interrupts: 35*c66ec88fSEmmanuel Vadot maxItems: 1 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel Vadotrequired: 38*c66ec88fSEmmanuel Vadot - "#clock-cells" 39*c66ec88fSEmmanuel Vadot - compatible 40*c66ec88fSEmmanuel Vadot - reg 41*c66ec88fSEmmanuel Vadot - clocks 42*c66ec88fSEmmanuel Vadot - clock-names 43*c66ec88fSEmmanuel Vadot - interrupts 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel VadotadditionalProperties: false 46*c66ec88fSEmmanuel Vadot 47*c66ec88fSEmmanuel Vadotexamples: 48*c66ec88fSEmmanuel Vadot - | 49*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/x1000-cgu.h> 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadot ost: timer@12000000 { 52*c66ec88fSEmmanuel Vadot compatible = "ingenic,x1000-ost"; 53*c66ec88fSEmmanuel Vadot reg = <0x12000000 0x3c>; 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel Vadot clocks = <&cgu X1000_CLK_OST>; 58*c66ec88fSEmmanuel Vadot clock-names = "ost"; 59*c66ec88fSEmmanuel Vadot 60*c66ec88fSEmmanuel Vadot interrupt-parent = <&cpuintc>; 61*c66ec88fSEmmanuel Vadot interrupts = <3>; 62*c66ec88fSEmmanuel Vadot }; 63*c66ec88fSEmmanuel Vadot... 64