Renesas 5p35023 VersaClock 3 programmable I2C clock generator
Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,5p35023.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>"
The 5P35023 is a VersaClock programmable clock generator and is designed for low-power, consumer, and high-performance PCI express applications. The 5P35023 device is a three PLL architecture design, and each PLL is individually programmable and allowing for up to 6 unique frequency outputs.
An internal OTP memory allows the user to store the configuration in the device. After power up, the user can change the device register settings through the I2C interface when I2C mode is selected.
The driver can read a full register map from the DT, and will use that register map to initialize the attached part (via I2C) when the system boots. Any configuration not supported by the common clock framework must be done via the full register map, including optimized settings.
Link to datasheet: https://www.renesas.com/us/en/products/clocks-timing/clock-generation/programmable-clocks/5p35023-versaclock-3s-programmable-clock-generator
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "renesas,5l35023", "renesas,5p35023"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
The index in the assigned-clocks is mapped to the output clock as below 0 - REF, 1 - SE1, 2 - SE2, 3 - SE3, 4 - DIFF1, 5 - DIFF2.
Exact value (const): 1
clocks — required here #
Maximum number of items (maxItems): 1
renesas,settings — not listed as required here #
Optional, complete register map of the device. Optimized settings for the device must be provided in full and are written during initialization.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Maximum number of items (maxItems): 37
Required in this object (required): "compatible", "reg", "#clock-cells", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
versa3: clock-generator@68 {
compatible = "renesas,5p35023";
reg = <0x68>;
#clock-cells = <1>;
clocks = <&x1>;
renesas,settings = [
80 00 11 19 4c 02 23 7f 83 19 08 a9 5f 25 24 bf
00 14 7a e1 00 00 00 00 01 55 59 bb 3f 30 90 b6
80 b0 45 c4 95
];
assigned-clocks = <&versa3 0>, <&versa3 1>,
<&versa3 2>, <&versa3 3>,
<&versa3 4>, <&versa3 5>;
assigned-clock-rates = <24000000>, <11289600>,
<11289600>, <12000000>,
<25000000>, <12288000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)