Socionext UniPhier USB3 High-Speed (HS) PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/socionext,uniphier-usb3hs-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This describes the devicetree bindings for PHY interfaces built into USB3 controller implemented on Socionext UniPhier SoCs. Although the controller includes High-Speed PHY and Super-Speed PHY, this describes about High-Speed PHY.
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "socionext,uniphier-pro5-usb3-hsphy", "socionext,uniphier-pxs2-usb3-hsphy", "socionext,uniphier-ld20-usb3-hsphy", "socionext,uniphier-pxs3-usb3-hsphy", "socionext,uniphier-nx1-usb3-hsphy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
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
Maximum number of items (maxItems): 3
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Maximum number of items (maxItems): 2
vbus-supply — not listed as required here #
A phandle to the regulator for USB VBUS
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 3
Phandles to nvmem cell that contains the trimming data. Available only for HS-PHY implemented on LD20 and PXs3, and if unspecified, default value is used.
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"rterm"
Item 2
Exact value (
const):"sel_t"
Item 3
Exact value (
const):"hs_i"
Should be the following names, which correspond to each nvmem-cells. All of the 3 parameters associated with the above names are required for each port, if any one is omitted, the trimming data of the port will not be set at all.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"socionext,uniphier-pro5-usb3-hsphy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gio"Item 2
Exact value (
const):"link"
resets— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gio"Item 2
Exact value (
const):"link"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"socionext,uniphier-pxs2-usb3-hsphy","socionext,uniphier-ld20-usb3-hsphy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"link"Item 2
Exact value (
const):"phy"
resets— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"link"Item 2
Exact value (
const):"phy"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"socionext,uniphier-pxs3-usb3-hsphy","socionext,uniphier-nx1-usb3-hsphy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):2Array item rules (
items)Item 1
Exact value (
const):"link"Item 2
Exact value (
const):"phy"Item 3
Exact value (
const):"phy-ext"
resets— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"link"Item 2
Exact value (
const):"phy"
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb_hsphy0: phy@200 {
compatible = "socionext,uniphier-ld20-usb3-hsphy";
reg = <0x200 0x10>;
#phy-cells = <0>;
clock-names = "link", "phy";
clocks = <&sys_clk 14>, <&sys_clk 16>;
reset-names = "link", "phy";
resets = <&sys_rst 14>, <&sys_rst 16>;
vbus-supply = <&usb_vbus0>;
nvmem-cell-names = "rterm", "sel_t", "hs_i";
nvmem-cells = <&usb_rterm0>, <&usb_sel_t0>, <&usb_hs_i0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)