1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/clock/canaan,k230-clk.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Canaan Kendryte K230 Clock 8 9maintainers: 10 - Xukai Wang <kingxukai@zohomail.com> 11 12description: 13 The Canaan K230 clock controller generates various clocks for SoC 14 peripherals. See include/dt-bindings/clock/canaan,k230-clk.h for 15 valid clock IDs. 16 17properties: 18 compatible: 19 const: canaan,k230-clk 20 21 reg: 22 items: 23 - description: PLL control registers 24 - description: Sysclk control registers 25 26 clocks: 27 items: 28 - description: Main external reference clock 29 - description: 30 External clock which used as the pulse input 31 for the timer to provide timing signals. 32 33 clock-names: 34 items: 35 - const: osc24m 36 - const: timer-pulse-in 37 38 '#clock-cells': 39 const: 1 40 41required: 42 - compatible 43 - reg 44 - clocks 45 - clock-names 46 - '#clock-cells' 47 48additionalProperties: false 49 50examples: 51 - | 52 clock-controller@91102000 { 53 compatible = "canaan,k230-clk"; 54 reg = <0x91102000 0x40>, 55 <0x91100000 0x108>; 56 clocks = <&osc24m>, <&timerx_pulse_in>; 57 clock-names = "osc24m", "timer-pulse-in"; 58 #clock-cells = <1>; 59 }; 60