Renesas R-Car Gen2 USB PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/renesas,rcar-gen2-usb-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,usb-phy-r8a7742","renesas,usb-phy-r8a7743","renesas,usb-phy-r8a7744","renesas,usb-phy-r8a7745","renesas,usb-phy-r8a77470","renesas,usb-phy-r8a7790","renesas,usb-phy-r8a7791","renesas,usb-phy-r8a7794"
Item 2
Exact value (
const):"renesas,rcar-gen2-usb-phy"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usbhs"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^usb-phy@[02]$ — name matches this regular expression #
Value type (type): "object"
Subnode corresponding to a USB channel.
Properties and child nodes (properties) #
reg — required here
FIXME RZ/G1C supports channel 0 only
#phy-cells — required here
The phandle's argument in the PHY specifier is the USB controller
selector for the USB channel.
For RZ/G1C:
- 0 for EHCI/OHCI
- 1 for HS-USB
For all other SoCS:
- 0 for PCI EHCI/OHCI
- 1 for HS-USB (channel 0) or xHCI (channel 2)
Exact value (const): 1
Required in this object (required): "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "clocks", "clock-names", "resets", "power-domains", "usb-phy@0"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Exact value (
const):"renesas,usb-phy-r8a77470"
When the condition matches (then) #
Properties and child nodes (
properties) #
usb-phy@2— not listed as required here #
false— Not permitted by this property rule.
When the condition does not match (else) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7790-cpg-mssr.h>
#include <dt-bindings/power/r8a7790-sysc.h>
usb-phy-controller@e6590100 {
compatible = "renesas,usb-phy-r8a7790", "renesas,rcar-gen2-usb-phy";
reg = <0xe6590100 0x100>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&cpg CPG_MOD 704>;
clock-names = "usbhs";
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
resets = <&cpg 704>;
usb0: usb-phy@0 {
reg = <0>;
#phy-cells = <1>;
};
usb2: usb-phy@2 {
reg = <2>;
#phy-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 16: RZ/G1H
Line 17: RZ/G1M
Line 18: RZ/G1N
Line 19: RZ/G1E
Line 20: RZ/G1C
Line 21: R-Car H2
Line 22: R-Car M2-W
Line 23: R-Car E2
Line 24: R-Car Gen2 or RZ/G1