xref: /linux/Documentation/devicetree/bindings/clock/silabs,si570.yaml (revision db4a3f0fbedb0398f77b9047e8b8bb2b49f355bb)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/silabs,si570.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Silicon Labs Si570/Si571/Si598/Si599 programmable I2C clock generator
8
9maintainers:
10  - Soren Brinkmann <soren.brinkmann@xilinx.com>
11
12description: >
13  Silicon Labs 570, 571, 598 and 599 programmable I2C clock generators. Details
14  about the devices can be found in the data sheets[1][2].
15
16  [1] Si570/571 Data Sheet
17      https://www.silabs.com/Support%20Documents/TechnicalDocs/si570.pdf
18  [2] Si598/599 Data Sheet
19      https://www.silabs.com/Support%20Documents/TechnicalDocs/si598-99.pdf
20
21properties:
22  compatible:
23    enum:
24      - silabs,si570
25      - silabs,si571
26      - silabs,si598
27      - silabs,si599
28
29  reg:
30    maxItems: 1
31
32  '#clock-cells':
33    const: 0
34
35  factory-fout:
36    description: Factory-set default frequency in Hz.
37    $ref: /schemas/types.yaml#/definitions/uint32
38
39  temperature-stability:
40    description: Temperature stability of the device in PPM.
41    $ref: /schemas/types.yaml#/definitions/uint32
42    enum:
43      - 7
44      - 20
45      - 50
46      - 100
47
48  clock-output-names:
49    maxItems: 1
50
51  clock-frequency:
52    description: Output frequency to generate at boot; can be reprogrammed at runtime.
53
54  silabs,skip-recall:
55    description: Skip the NVM-to-RAM recall operation during boot.
56    type: boolean
57
58required:
59  - compatible
60  - reg
61  - '#clock-cells'
62  - factory-fout
63  - temperature-stability
64
65additionalProperties: false
66
67examples:
68  - |
69    i2c {
70        #address-cells = <1>;
71        #size-cells = <0>;
72
73        clock-generator@5d {
74            compatible = "silabs,si570";
75            reg = <0x5d>;
76            #clock-cells = <0>;
77            temperature-stability = <50>;
78            factory-fout = <156250000>;
79        };
80    };
81