Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [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/nuvoton,ma35d1-clk.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Nuvoton MA35D1 Clock Controller Module |
| 8 | |
| 9 | maintainers: |
| 10 | - Chi-Fang Li <cfli0@nuvoton.com> |
| 11 | - Jacky Huang <ychuang3@nuvoton.com> |
| 12 | |
| 13 | description: | |
| 14 | The MA35D1 clock controller generates clocks for the whole chip, |
| 15 | including system clocks and all peripheral clocks. |
| 16 | |
| 17 | See also: |
| 18 | include/dt-bindings/clock/ma35d1-clk.h |
| 19 | |
| 20 | properties: |
| 21 | compatible: |
| 22 | items: |
| 23 | - const: nuvoton,ma35d1-clk |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | "#clock-cells": |
| 29 | const: 1 |
| 30 | |
| 31 | clocks: |
| 32 | maxItems: 1 |
| 33 | |
| 34 | nuvoton,pll-mode: |
| 35 | description: |
| 36 | A list of PLL operation mode corresponding to CAPLL, DDRPLL, APLL, |
| 37 | EPLL, and VPLL in sequential. |
| 38 | maxItems: 5 |
| 39 | items: |
| 40 | enum: |
| 41 | - integer |
| 42 | - fractional |
| 43 | - spread-spectrum |
| 44 | $ref: /schemas/types.yaml#/definitions/non-unique-string-array |
| 45 | |
| 46 | required: |
| 47 | - compatible |
| 48 | - reg |
| 49 | - "#clock-cells" |
| 50 | - clocks |
| 51 | |
| 52 | additionalProperties: false |
| 53 | |
| 54 | examples: |
| 55 | - | |
| 56 | |
| 57 | clock-controller@40460200 { |
| 58 | compatible = "nuvoton,ma35d1-clk"; |
| 59 | reg = <0x40460200 0x100>; |
| 60 | #clock-cells = <1>; |
| 61 | clocks = <&clk_hxt>; |
| 62 | }; |
| 63 | ... |