Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame^] | 7 | title: Sophgo CV1800/SG2000 Series Clock Controller |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 8 | |
| 9 | maintainers: |
| 10 | - Inochi Amaoto <inochiama@outlook.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | enum: |
| 15 | - sophgo,cv1800-clk |
| 16 | - sophgo,cv1810-clk |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame^] | 17 | - sophgo,sg2000-clk |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | clocks: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | "#clock-cells": |
| 26 | const: 1 |
| 27 | description: |
| 28 | See <dt-bindings/clock/sophgo,cv1800.h> for valid indices. |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - clocks |
| 34 | - "#clock-cells" |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | clock-controller@3002000 { |
| 41 | compatible = "sophgo,cv1800-clk"; |
| 42 | reg = <0x03002000 0x1000>; |
| 43 | clocks = <&osc>; |
| 44 | #clock-cells = <1>; |
| 45 | }; |
| 46 | |
| 47 | ... |