xref: /freebsd/sys/contrib/device-tree/Bindings/clock/sophgo,cv1800-clk.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
18d13bc63SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28d13bc63SEmmanuel Vadot%YAML 1.2
38d13bc63SEmmanuel Vadot---
48d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml#
58d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68d13bc63SEmmanuel Vadot
7*7d0873ebSEmmanuel Vadottitle: Sophgo CV1800/SG2000 Series Clock Controller
88d13bc63SEmmanuel Vadot
98d13bc63SEmmanuel Vadotmaintainers:
108d13bc63SEmmanuel Vadot  - Inochi Amaoto <inochiama@outlook.com>
118d13bc63SEmmanuel Vadot
128d13bc63SEmmanuel Vadotproperties:
138d13bc63SEmmanuel Vadot  compatible:
148d13bc63SEmmanuel Vadot    enum:
158d13bc63SEmmanuel Vadot      - sophgo,cv1800-clk
168d13bc63SEmmanuel Vadot      - sophgo,cv1810-clk
17*7d0873ebSEmmanuel Vadot      - sophgo,sg2000-clk
188d13bc63SEmmanuel Vadot
198d13bc63SEmmanuel Vadot  reg:
208d13bc63SEmmanuel Vadot    maxItems: 1
218d13bc63SEmmanuel Vadot
228d13bc63SEmmanuel Vadot  clocks:
238d13bc63SEmmanuel Vadot    maxItems: 1
248d13bc63SEmmanuel Vadot
258d13bc63SEmmanuel Vadot  "#clock-cells":
268d13bc63SEmmanuel Vadot    const: 1
278d13bc63SEmmanuel Vadot    description:
288d13bc63SEmmanuel Vadot      See <dt-bindings/clock/sophgo,cv1800.h> for valid indices.
298d13bc63SEmmanuel Vadot
308d13bc63SEmmanuel Vadotrequired:
318d13bc63SEmmanuel Vadot  - compatible
328d13bc63SEmmanuel Vadot  - reg
338d13bc63SEmmanuel Vadot  - clocks
348d13bc63SEmmanuel Vadot  - "#clock-cells"
358d13bc63SEmmanuel Vadot
368d13bc63SEmmanuel VadotadditionalProperties: false
378d13bc63SEmmanuel Vadot
388d13bc63SEmmanuel Vadotexamples:
398d13bc63SEmmanuel Vadot  - |
408d13bc63SEmmanuel Vadot    clock-controller@3002000 {
418d13bc63SEmmanuel Vadot        compatible = "sophgo,cv1800-clk";
428d13bc63SEmmanuel Vadot        reg = <0x03002000 0x1000>;
438d13bc63SEmmanuel Vadot        clocks = <&osc>;
448d13bc63SEmmanuel Vadot        #clock-cells = <1>;
458d13bc63SEmmanuel Vadot    };
468d13bc63SEmmanuel Vadot
478d13bc63SEmmanuel Vadot...
48