1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/clock/idt,versaclock5.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Binding for IDT VersaClock 5 and 6 programmable I2C clock generators
10 The IDT VersaClock 5 and VersaClock 6 are programmable I2C
11 clock generators providing from 3 to 12 output clocks.
13 When referencing the provided clock in the DT using phandle and clock
14 specifier, the following mapping applies:
34 - Luca Ceresoli <luca@lucaceresoli.net>
47 description: I2C device address
66 Description of one of the outputs (OUT1..OUT4). See "Clock1 Output
67 Configuration" in the Versaclock 5/6/6E Family Register Description
68 and Programming Guide.
72 The output drive mode. Values defined in dt-bindings/clk/versaclock.h
73 $ref: /schemas/types.yaml#/definitions/uint32
76 idt,voltage-microvolt:
77 description: The output drive voltage.
78 enum: [ 1800000, 2500000, 3300000 ]
80 description: The Slew rate control for CMOS single-ended.
81 $ref: /schemas/types.yaml#/definitions/uint32
82 enum: [ 80, 85, 90, 100 ]
97 # Devices with builtin crystal + optional external input
104 # Devices without builtin crystal
109 additionalProperties: false
113 #include <dt-bindings/clk/versaclock.h>
115 /* 25MHz reference crystal */
117 compatible = "fixed-clock";
119 clock-frequency = <25000000>;
124 #address-cells = <1>;
127 /* IDT 5P49V5923 I2C clock generator */
128 vc5: clock-generator@6a {
129 compatible = "idt,5p49v5923";
133 /* Connect XIN input to 25MHz reference */
138 idt,drive-mode = <VC5_CMOSD>;
139 idt,voltage-microvolts = <1800000>;
140 idt,slew-percent = <80>;
144 idt,drive-mode = <VC5_LVDS>;
149 /* Consumer referencing the 5P49V5923 pin OUT1 */