OMAP USB2 PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,omap-usb2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>", "Roger Quadros <rogerq@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"ti,dra7x-usb2","ti,dra7x-usb2-phy2","ti,am654-usb2"Item 2
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"ti,am437x-usb2"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"ti,omap-usb2"
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): 1
Array item rules (items) #
Item 1
wakeup clock
Item 2
reference clock
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"wkupclk"
Item 2
Exact value (
const):"refclk"
syscon-phy-power — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to the system control module
Item 2
register offset to power on/off the PHY
phandle/offset pair. Phandle to the system control module and register offset to power on/off the PHY.
ctrl-module — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
(deprecated) phandle of the control module used by PHY driver to power on the PHY. Use syscon-phy-power instead.
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb0_phy: phy@4100000 {
compatible = "ti,am654-usb2", "ti,omap-usb2";
reg = <0x4100000 0x54>;
syscon-phy-power = <&scm_conf 0x4000>;
clocks = <&k3_clks 151 0>, <&k3_clks 151 1>;
clock-names = "wkupclk", "refclk";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)