Renesas 9-series I2C PCIe clock generators

Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,9series.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The Renesas 9-series are I2C PCIe clock generators providing from 1 to 20 output clocks.

When referencing the provided clock in the DT using phandle and clock specifier, the following mapping applies:

- 9FGV0241:
  0 -- DIF0
  1 -- DIF1
- 9FGV0441:
  0 -- DIF0
  1 -- DIF1
  2 -- DIF2
  3 -- DIF3
- 9FGV0841:
  0 -- DIF0
  1 -- DIF1
  2 -- DIF2
  3 -- DIF3
  4 -- DIF4
  5 -- DIF5
  6 -- DIF6
  7 -- DIF7

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,9fgv0241", "renesas,9fgv0441", "renesas,9fgv0841"

reg — required here #

I2C device address

Allowed values (enum): 104, 106

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

XTal input clock

renesas,out-amplitude-microvolt — not listed as required here #

Allowed values (enum): 600000, 700000, 800000, 900000

Output clock signal amplitude

renesas,out-spread-spectrum — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 100000, 99750, 99500

Output clock down spread in pcm (1/1000 of percent)

Properties matching a name pattern (patternProperties) #

^DIF1?[0-9]$ — name matches this regular expression #

Value type (type): "object"

Description of one of the outputs (DIF0..DIF19).

Properties and child nodes (properties) #

renesas,slew-rate — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 2000000, 3000000

Output clock slew rate select in V/ns

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

/* 25MHz reference crystal */
ref25: ref25m {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <25000000>;
};

i2c@0 {
    reg = <0x0 0x100>;
    #address-cells = <1>;
    #size-cells = <0>;

    rs9: clock-generator@6a {
        compatible = "renesas,9fgv0241";
        reg = <0x6a>;
        #clock-cells = <1>;

        clocks = <&ref25m>;

        DIF0 {
            renesas,slew-rate = <3000000>;
        };

        /* Not present on 9FGV0241, used for DT validation only */
        DIF2 {
            renesas,slew-rate = <2000000>;
        };

        DIF19 {
            renesas,slew-rate = <3000000>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page