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