56 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/canaan,k210-clk.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Canaan Kendryte K210 Clock8 9maintainers:10 - Damien Le Moal <dlemoal@kernel.org>11 12description: |13 Canaan Kendryte K210 SoC clocks driver bindings. The clock14 controller node must be defined as a child node of the K21015 system controller node.16 17 See also:18 - dt-bindings/clock/k210-clk.h19 20properties:21 compatible:22 const: canaan,k210-clk23 24 clocks:25 maxItems: 126 description:27 Phandle of the SoC 26MHz fixed-rate oscillator clock.28 29 '#clock-cells':30 const: 131 32required:33 - compatible34 - '#clock-cells'35 - clocks36 37additionalProperties: false38 39examples:40 - |41 #include <dt-bindings/clock/k210-clk.h>42 clocks {43 in0: oscillator {44 compatible = "fixed-clock";45 #clock-cells = <0>;46 clock-frequency = <26000000>;47 };48 };49 50 /* ... */51 sysclk: clock-controller {52 #clock-cells = <1>;53 compatible = "canaan,k210-clk";54 clocks = <&in0>;55 };56