Renesas R-Car generation 3 USB 3.0 PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/renesas,usb3-phy.yaml#"

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

Maintainers (maintainers): "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r8a774a1-usb3-phy", "renesas,r8a774b1-usb3-phy", "renesas,r8a774e1-usb3-phy", "renesas,r8a7795-usb3-phy", "renesas,r8a7796-usb3-phy", "renesas,r8a77961-usb3-phy", "renesas,r8a77965-usb3-phy"

Item 2

Exact value (const): "renesas,rcar-gen3-usb3-phy"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "usb3-if"

Item 2

Exact value (const): "usb3s_clk"

Item 3

Exact value (const): "usb_extal"

#phy-cells — required here #

Exact value (const): 0

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

renesas,ssc-range — not listed as required here #

Enable/disable spread spectrum clock (ssc). 0 or the property doesn't exist means disabling the ssc. The actual value will be -<value> ppm.

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

Allowed values (enum): 0, 4003, 4492, 4980

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/power/r8a7795-sysc.h>

usb-phy@e65ee000 {
    compatible = "renesas,r8a7795-usb3-phy", "renesas,rcar-gen3-usb3-phy";
    reg = <0xe65ee000 0x90>;
    clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>, <&usb_extal>;
    clock-names = "usb3-if", "usb3s_clk", "usb_extal";
    #phy-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Line 16: RZ/G2M

Line 17: RZ/G2N

Line 18: RZ/G2H

Line 19: R-Car H3

Line 20: R-Car M3-W

Line 21: R-Car M3-W+

Line 22: R-Car M3-N

Line 33: If you want to use the ssc, the clock-frequency of usb_extal

Line 34: must not be 0.

Line 37: The functional clock

Line 38: The usb3's external clock

Line 39: The usb2's external clock

Line 42: see phy-bindings.txt in the same directory

Edit this page