| # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| %YAML 1.2 |
| --- |
| $id: http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml# |
| $schema: http://devicetree.org/meta-schemas/core.yaml# |
| |
| title: Sophgo CV1800/SG2000 Series Clock Controller |
| |
| maintainers: |
| - Inochi Amaoto <inochiama@outlook.com> |
| |
| properties: |
| compatible: |
| enum: |
| - sophgo,cv1800-clk |
| - sophgo,cv1810-clk |
| - sophgo,sg2000-clk |
| |
| reg: |
| maxItems: 1 |
| |
| clocks: |
| maxItems: 1 |
| |
| "#clock-cells": |
| const: 1 |
| description: |
| See <dt-bindings/clock/sophgo,cv1800.h> for valid indices. |
| |
| required: |
| - compatible |
| - reg |
| - clocks |
| - "#clock-cells" |
| |
| additionalProperties: false |
| |
| examples: |
| - | |
| clock-controller@3002000 { |
| compatible = "sophgo,cv1800-clk"; |
| reg = <0x03002000 0x1000>; |
| clocks = <&osc>; |
| #clock-cells = <1>; |
| }; |
| |
| ... |