PHY bindings
Single-page view · as markdown
Airoha EN7581 PCI-Express PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/airoha,en7581-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lorenzo Bianconi <lorenzo@kernel.org>"
The PCIe PHY supports physical layer functionality for PCIe Gen2/Gen3 port.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "airoha,en7581-pcie-phy"
reg — required here #
Array item rules (items) #
Item 1
PCIE analog base address
Item 2
PCIE lane0 base address
Item 3
PCIE lane1 base address
Item 4
PCIE lane0 detection time base address
Item 5
PCIE lane1 detection time base address
Item 6
PCIE Rx AEQ base address
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csr-2l"
Item 2
Exact value (
const):"pma0"
Item 3
Exact value (
const):"pma1"
Item 4
Exact value (
const):"p0-xr-dtime"
Item 5
Exact value (
const):"p1-xr-dtime"
Item 6
Exact value (
const):"rx-aeq"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "reg-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/phy/phy.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
phy@11e80000 {
compatible = "airoha,en7581-pcie-phy";
#phy-cells = <0>;
reg = <0x0 0x1fa5a000 0x0 0xfff>,
<0x0 0x1fa5b000 0x0 0xfff>,
<0x0 0x1fa5c000 0x0 0xfff>,
<0x0 0x1fc10044 0x0 0x4>,
<0x0 0x1fc30044 0x0 0x4>,
<0x0 0x1fc15030 0x0 0x104>;
reg-names = "csr-2l", "pma0", "pma1",
"p0-xr-dtime", "p1-xr-dtime",
"rx-aeq";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Allwinner A10 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun4i-a10-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Allowed values (enum): "allwinner,sun4i-a10-usb-phy", "allwinner,sun7i-a20-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU1 registers
Item 3
PHY PMU2 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu1"
Item 3
Exact value (
const):"pmu2"
clocks — required here #
Maximum number of items (maxItems): 1
USB PHY bus clock
clock-names — required here #
Exact value (const): "usb_phy"
resets — required here #
Array item rules (items) #
Item 1
USB OTG reset
Item 2
USB Host 1 Controller reset
Item 3
USB Host 2 Controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_reset"
Item 2
Exact value (
const):"usb1_reset"
Item 3
Exact value (
const):"usb2_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
usb1_vbus-supply — not listed as required here #
Regulator controlling USB1 Host controller
usb2_vbus-supply — not listed as required here #
Regulator controlling USB2 Host controller
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun4i-a10-ccu.h>
#include <dt-bindings/reset/sun4i-a10-ccu.h>
usbphy: phy@1c13400 {
#phy-cells = <1>;
compatible = "allwinner,sun4i-a10-usb-phy";
reg = <0x01c13400 0x10>, <0x01c14800 0x4>, <0x01c1c800 0x4>;
reg-names = "phy_ctrl", "pmu1", "pmu2";
clocks = <&ccu CLK_USB_PHY>;
clock-names = "usb_phy";
resets = <&ccu RST_USB_PHY0>,
<&ccu RST_USB_PHY1>,
<&ccu RST_USB_PHY2>;
reset-names = "usb0_reset", "usb1_reset", "usb2_reset";
usb0_id_det-gpios = <&pio 7 19 GPIO_ACTIVE_HIGH>;
usb0_vbus_det-gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>;
usb0_vbus-supply = <®_usb0_vbus>;
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner A64 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun50i-a64-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"allwinner,sun20i-d1-usb-phy","allwinner,sun50i-a64-usb-phy"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,sun50i-a100-usb-phy","allwinner,sun55i-a523-usb-phy"Item 2
Exact value (
const):"allwinner,sun20i-d1-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU0 registers
Item 3
PHY PMU1 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu0"
Item 3
Exact value (
const):"pmu1"
clocks — required here #
Array item rules (items) #
Item 1
USB OTG PHY bus clock
Item 2
USB Host 0 PHY bus clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_phy"
Item 2
Exact value (
const):"usb1_phy"
resets — required here #
Array item rules (items) #
Item 1
USB OTG reset
Item 2
USB Host 1 Controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_reset"
Item 2
Exact value (
const):"usb1_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
usb1_vbus-supply — not listed as required here #
Regulator controlling USB1 Host controller
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun50i-a64-ccu.h>
#include <dt-bindings/reset/sun50i-a64-ccu.h>
phy@1c19400 {
#phy-cells = <1>;
compatible = "allwinner,sun50i-a64-usb-phy";
reg = <0x01c19400 0x14>,
<0x01c1a800 0x4>,
<0x01c1b800 0x4>;
reg-names = "phy_ctrl",
"pmu0",
"pmu1";
clocks = <&ccu CLK_USB_PHY0>,
<&ccu CLK_USB_PHY1>;
clock-names = "usb0_phy",
"usb1_phy";
resets = <&ccu RST_USB_PHY0>,
<&ccu RST_USB_PHY1>;
reset-names = "usb0_reset",
"usb1_reset";
usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */
usb0_vbus_power-supply = <&usb_power_supply>;
usb0_vbus-supply = <®_drivevbus>;
usb1_vbus-supply = <®_usb1_vbus>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner H6 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Exact value (const): "allwinner,sun50i-h6-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU0 registers
Item 3
PHY PMU3 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu0"
Item 3
Exact value (
const):"pmu3"
clocks — required here #
Array item rules (items) #
Item 1
USB OTG PHY bus clock
Item 2
USB Host PHY bus clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_phy"
Item 2
Exact value (
const):"usb3_phy"
resets — required here #
Array item rules (items) #
Item 1
USB OTG reset
Item 2
USB Host Controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_reset"
Item 2
Exact value (
const):"usb3_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
usb3_vbus-supply — not listed as required here #
Regulator controlling USB3 Host controller
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun50i-h6-ccu.h>
#include <dt-bindings/reset/sun50i-h6-ccu.h>
phy@5100400 {
#phy-cells = <1>;
compatible = "allwinner,sun50i-h6-usb-phy";
reg = <0x05100400 0x24>,
<0x05101800 0x4>,
<0x05311800 0x4>;
reg-names = "phy_ctrl",
"pmu0",
"pmu3";
clocks = <&ccu CLK_USB_PHY0>,
<&ccu CLK_USB_PHY3>;
clock-names = "usb0_phy",
"usb3_phy";
resets = <&ccu RST_USB_PHY0>,
<&ccu RST_USB_PHY3>;
reset-names = "usb0_reset",
"usb3_reset";
usb0_id_det-gpios = <&pio 2 6 GPIO_ACTIVE_HIGH>; /* PC6 */
usb0_vbus-supply = <®_vcc5v>;
usb3_vbus-supply = <®_vcc5v>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner H6 USB3 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb3-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ondrej Jirman <megous@megous.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "allwinner,sun50i-h6-usb3-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "resets", "#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/sun50i-h6-ccu.h>
#include <dt-bindings/reset/sun50i-h6-ccu.h>
phy@5210000 {
compatible = "allwinner,sun50i-h6-usb3-phy";
reg = <0x5210000 0x10000>;
clocks = <&ccu CLK_USB_PHY1>;
resets = <&ccu RST_USB_PHY1>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 Ondrej Jirman <megous@megous.com>
Allwinner A13 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun5i-a13-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Exact value (const): "allwinner,sun5i-a13-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU1 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu1"
clocks — required here #
Maximum number of items (maxItems): 1
USB OTG PHY bus clock
clock-names — required here #
Exact value (const): "usb_phy"
resets — required here #
Array item rules (items) #
Item 1
USB OTG reset
Item 2
USB Host 1 Controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_reset"
Item 2
Exact value (
const):"usb1_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
usb1_vbus-supply — not listed as required here #
Regulator controlling USB1 Host controller
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun5i-ccu.h>
#include <dt-bindings/reset/sun5i-ccu.h>
phy@1c13400 {
#phy-cells = <1>;
compatible = "allwinner,sun5i-a13-usb-phy";
reg = <0x01c13400 0x10>, <0x01c14800 0x4>;
reg-names = "phy_ctrl", "pmu1";
clocks = <&ccu CLK_USB_PHY0>;
clock-names = "usb_phy";
resets = <&ccu RST_USB_PHY0>, <&ccu RST_USB_PHY1>;
reset-names = "usb0_reset", "usb1_reset";
usb0_id_det-gpios = <&pio 6 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PG2 */
usb0_vbus_det-gpios = <&pio 6 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PG1 */
usb0_vbus-supply = <®_usb0_vbus>;
usb1_vbus-supply = <®_usb1_vbus>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner A31 MIPI D-PHY Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun6i-a31-mipi-dphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 0
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun6i-a31-mipi-dphy"
Rule 2
Exact value (
const):"allwinner,sun50i-a100-mipi-dphy"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun50i-a64-mipi-dphy"Item 2
Exact value (
const):"allwinner,sun6i-a31-mipi-dphy"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun20i-d1-mipi-dphy"Item 2
Exact value (
const):"allwinner,sun50i-a100-mipi-dphy"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
resets — required here #
Maximum number of items (maxItems): 1
allwinner,direction — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Direction of the D-PHY: - "rx" for receiving (e.g. when used with MIPI CSI-2); - "tx" for transmitting (e.g. when used with MIPI DSI).
Allowed values (enum): "tx", "rx"
Default value (default): "tx"
Required in this object (required): "#phy-cells", "compatible", "reg", "interrupts", "clocks", "clock-names", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
dphy0: d-phy@1ca1000 {
compatible = "allwinner,sun6i-a31-mipi-dphy";
reg = <0x01ca1000 0x1000>;
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu 23>, <&ccu 97>;
clock-names = "bus", "mod";
resets = <&ccu 4>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner A31 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun6i-a31-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Exact value (const): "allwinner,sun6i-a31-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU1 registers
Item 3
PHY PMU2 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu1"
Item 3
Exact value (
const):"pmu2"
clocks — required here #
Array item rules (items) #
Item 1
USB OTG PHY bus clock
Item 2
USB Host 0 PHY bus clock
Item 3
USB Host 1 PHY bus clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_phy"
Item 2
Exact value (
const):"usb1_phy"
Item 3
Exact value (
const):"usb2_phy"
resets — required here #
Array item rules (items) #
Item 1
USB OTG reset
Item 2
USB Host 1 Controller reset
Item 3
USB Host 2 Controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_reset"
Item 2
Exact value (
const):"usb1_reset"
Item 3
Exact value (
const):"usb2_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
usb1_vbus-supply — not listed as required here #
Regulator controlling USB1 Host controller
usb2_vbus-supply — not listed as required here #
Regulator controlling USB2 Host controller
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun6i-a31-ccu.h>
#include <dt-bindings/reset/sun6i-a31-ccu.h>
phy@1c19400 {
#phy-cells = <1>;
compatible = "allwinner,sun6i-a31-usb-phy";
reg = <0x01c19400 0x10>,
<0x01c1a800 0x4>,
<0x01c1b800 0x4>;
reg-names = "phy_ctrl",
"pmu1",
"pmu2";
clocks = <&ccu CLK_USB_PHY0>,
<&ccu CLK_USB_PHY1>,
<&ccu CLK_USB_PHY2>;
clock-names = "usb0_phy",
"usb1_phy",
"usb2_phy";
resets = <&ccu RST_USB_PHY0>,
<&ccu RST_USB_PHY1>,
<&ccu RST_USB_PHY2>;
reset-names = "usb0_reset",
"usb1_reset",
"usb2_reset";
usb0_id_det-gpios = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
usb0_vbus_det-gpios = <&pio 0 16 GPIO_ACTIVE_HIGH>; /* PA16 */
usb0_vbus_power-supply = <&usb_power_supply>;
usb0_vbus-supply = <®_drivevbus>;
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner A23 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun8i-a23-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Allowed values (enum): "allwinner,sun8i-a23-usb-phy", "allwinner,sun8i-a33-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU1 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu1"
clocks — required here #
Array item rules (items) #
Item 1
USB OTG PHY bus clock
Item 2
USB Host 0 PHY bus clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_phy"
Item 2
Exact value (
const):"usb1_phy"
resets — required here #
Array item rules (items) #
Item 1
USB OTG reset
Item 2
USB Host 1 Controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_reset"
Item 2
Exact value (
const):"usb1_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
usb1_vbus-supply — not listed as required here #
Regulator controlling USB1 Host controller
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun8i-a23-a33-ccu.h>
#include <dt-bindings/reset/sun8i-a23-a33-ccu.h>
phy@1c19400 {
#phy-cells = <1>;
compatible = "allwinner,sun8i-a23-usb-phy";
reg = <0x01c19400 0x10>, <0x01c1a800 0x4>;
reg-names = "phy_ctrl", "pmu1";
clocks = <&ccu CLK_USB_PHY0>,
<&ccu CLK_USB_PHY1>;
clock-names = "usb0_phy",
"usb1_phy";
resets = <&ccu RST_USB_PHY0>,
<&ccu RST_USB_PHY1>;
reset-names = "usb0_reset",
"usb1_reset";
usb0_id_det-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
usb0_vbus_power-supply = <&usb_power_supply>;
usb0_vbus-supply = <®_drivevbus>;
usb1_vbus-supply = <®_usb1_vbus>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner A83t USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun8i-a83t-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Exact value (const): "allwinner,sun8i-a83t-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU1 registers
Item 3
PHY PMU2 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu1"
Item 3
Exact value (
const):"pmu2"
clocks — required here #
Array item rules (items) #
Item 1
USB OTG PHY bus clock
Item 2
USB Host 0 PHY bus clock
Item 3
USB Host 1 PHY bus clock
Item 4
USB HSIC 12MHz clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_phy"
Item 2
Exact value (
const):"usb1_phy"
Item 3
Exact value (
const):"usb2_phy"
Item 4
Exact value (
const):"usb2_hsic_12M"
resets — required here #
Array item rules (items) #
Item 1
USB OTG reset
Item 2
USB Host 1 Controller reset
Item 3
USB Host 2 Controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_reset"
Item 2
Exact value (
const):"usb1_reset"
Item 3
Exact value (
const):"usb2_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
usb1_vbus-supply — not listed as required here #
Regulator controlling USB1 Host controller
usb2_vbus-supply — not listed as required here #
Regulator controlling USB2 Host controller
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun8i-a83t-ccu.h>
#include <dt-bindings/reset/sun8i-a83t-ccu.h>
phy@1c19400 {
#phy-cells = <1>;
compatible = "allwinner,sun8i-a83t-usb-phy";
reg = <0x01c19400 0x10>,
<0x01c1a800 0x14>,
<0x01c1b800 0x14>;
reg-names = "phy_ctrl",
"pmu1",
"pmu2";
clocks = <&ccu CLK_USB_PHY0>,
<&ccu CLK_USB_PHY1>,
<&ccu CLK_USB_HSIC>,
<&ccu CLK_USB_HSIC_12M>;
clock-names = "usb0_phy",
"usb1_phy",
"usb2_phy",
"usb2_hsic_12M";
resets = <&ccu RST_USB_PHY0>,
<&ccu RST_USB_PHY1>,
<&ccu RST_USB_HSIC>;
reset-names = "usb0_reset",
"usb1_reset",
"usb2_reset";
usb0_id_det-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
usb0_vbus_power-supply = <&usb_power_supply>;
usb0_vbus-supply = <®_drivevbus>;
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner H3 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun8i-h3-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Allowed values (enum): "allwinner,sun8i-h3-usb-phy", "allwinner,sun50i-h616-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU0 registers
Item 3
PHY PMU1 registers
Item 4
PHY PMU2 registers
Item 5
PHY PMU3 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu0"
Item 3
Exact value (
const):"pmu1"
Item 4
Exact value (
const):"pmu2"
Item 5
Exact value (
const):"pmu3"
clocks — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
USB OTG PHY bus clock
Item 2
USB Host 0 PHY bus clock
Item 3
USB Host 1 PHY bus clock
Item 4
USB Host 2 PHY bus clock
Item 5
PMU clock for host port 2
clock-names — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"usb0_phy"
Item 2
Exact value (
const):"usb1_phy"
Item 3
Exact value (
const):"usb2_phy"
Item 4
Exact value (
const):"usb3_phy"
Item 5
Exact value (
const):"pmu2_clk"
resets — required here #
Array item rules (items) #
Item 1
USB OTG reset
Item 2
USB Host 1 Controller reset
Item 3
USB Host 2 Controller reset
Item 4
USB Host 3 Controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_reset"
Item 2
Exact value (
const):"usb1_reset"
Item 3
Exact value (
const):"usb2_reset"
Item 4
Exact value (
const):"usb3_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
usb1_vbus-supply — not listed as required here #
Regulator controlling USB1 Host controller
usb2_vbus-supply — not listed as required here #
Regulator controlling USB2 Host controller
usb3_vbus-supply — not listed as required here #
Regulator controlling USB3 Host controller
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
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)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):5
clock-names— not listed as required hereMinimum number of items (
minItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereMaximum number of items (
maxItems):4
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun8i-h3-ccu.h>
#include <dt-bindings/reset/sun8i-h3-ccu.h>
phy@1c19400 {
#phy-cells = <1>;
compatible = "allwinner,sun8i-h3-usb-phy";
reg = <0x01c19400 0x2c>,
<0x01c1a800 0x4>,
<0x01c1b800 0x4>,
<0x01c1c800 0x4>,
<0x01c1d800 0x4>;
reg-names = "phy_ctrl",
"pmu0",
"pmu1",
"pmu2",
"pmu3";
clocks = <&ccu CLK_USB_PHY0>,
<&ccu CLK_USB_PHY1>,
<&ccu CLK_USB_PHY2>,
<&ccu CLK_USB_PHY3>;
clock-names = "usb0_phy",
"usb1_phy",
"usb2_phy",
"usb3_phy";
resets = <&ccu RST_USB_PHY0>,
<&ccu RST_USB_PHY1>,
<&ccu RST_USB_PHY2>,
<&ccu RST_USB_PHY3>;
reset-names = "usb0_reset",
"usb1_reset",
"usb2_reset",
"usb3_reset";
usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
usb0_vbus-supply = <®_usb0_vbus>;
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
usb3_vbus-supply = <®_usb3_vbus>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner R40 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun8i-r40-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Exact value (const): "allwinner,sun8i-r40-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU0 registers
Item 3
PHY PMU1 registers
Item 4
PHY PMU2 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu0"
Item 3
Exact value (
const):"pmu1"
Item 4
Exact value (
const):"pmu2"
clocks — required here #
Array item rules (items) #
Item 1
USB OTG PHY bus clock
Item 2
USB Host 0 PHY bus clock
Item 3
USB Host 1 PHY bus clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_phy"
Item 2
Exact value (
const):"usb1_phy"
Item 3
Exact value (
const):"usb2_phy"
resets — required here #
Array item rules (items) #
Item 1
USB OTG reset
Item 2
USB Host 1 Controller reset
Item 3
USB Host 2 Controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_reset"
Item 2
Exact value (
const):"usb1_reset"
Item 3
Exact value (
const):"usb2_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
usb1_vbus-supply — not listed as required here #
Regulator controlling USB1 Host controller
usb2_vbus-supply — not listed as required here #
Regulator controlling USB2 Host controller
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun8i-r40-ccu.h>
#include <dt-bindings/reset/sun8i-r40-ccu.h>
phy@1c13400 {
#phy-cells = <1>;
compatible = "allwinner,sun8i-r40-usb-phy";
reg = <0x01c13400 0x14>,
<0x01c14800 0x4>,
<0x01c19800 0x4>,
<0x01c1c800 0x4>;
reg-names = "phy_ctrl",
"pmu0",
"pmu1",
"pmu2";
clocks = <&ccu CLK_USB_PHY0>,
<&ccu CLK_USB_PHY1>,
<&ccu CLK_USB_PHY2>;
clock-names = "usb0_phy",
"usb1_phy",
"usb2_phy";
resets = <&ccu RST_USB_PHY0>,
<&ccu RST_USB_PHY1>,
<&ccu RST_USB_PHY2>;
reset-names = "usb0_reset",
"usb1_reset",
"usb2_reset";
usb1_vbus-supply = <®_vcc5v0>;
usb2_vbus-supply = <®_vcc5v0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner V3s USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun8i-v3s-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Exact value (const): "allwinner,sun8i-v3s-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY Control registers
Item 2
PHY PMU0 registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ctrl"
Item 2
Exact value (
const):"pmu0"
clocks — required here #
Maximum number of items (maxItems): 1
USB OTG PHY bus clock
clock-names — required here #
Exact value (const): "usb0_phy"
resets — required here #
Maximum number of items (maxItems): 1
USB OTG reset
reset-names — required here #
Exact value (const): "usb0_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/sun8i-v3s-ccu.h>
#include <dt-bindings/reset/sun8i-v3s-ccu.h>
phy@1c19400 {
#phy-cells = <1>;
compatible = "allwinner,sun8i-v3s-usb-phy";
reg = <0x01c19400 0x2c>,
<0x01c1a800 0x4>;
reg-names = "phy_ctrl",
"pmu0";
clocks = <&ccu CLK_USB_PHY0>;
clock-names = "usb0_phy";
resets = <&ccu RST_USB_PHY0>;
reset-names = "usb0_reset";
usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner A80 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,sun9i-a80-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 0
compatible — required here #
Exact value (const): "allwinner,sun9i-a80-usb-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
At least one of these rules must match (anyOf) #
Rule 1
Maximum number of items (
maxItems):1Main PHY Clock
Rule 2
Array item rules (
items)Item 1
Main PHY clock
Item 2
HSIC 12MHz clock
Item 3
HSIC 480MHz clock
clock-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"phy"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"phy"Item 2
Exact value (
const):"hsic_12M"Item 3
Exact value (
const):"hsic_480M"
resets — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Normal USB PHY reset
Item 2
HSIC Reset
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"hsic"
phy_type — not listed as required here #
Exact value (const): "hsic"
When absent, the PHY type will be assumed to be normal USB.
phy-supply — not listed as required here #
Regulator that powers VBUS
Required in this object (required): "#phy-cells", "compatible", "reg", "clocks", "clock-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Condition (if) #
Properties and child nodes (
properties) #
phy_type— required here #Exact value (
const):"hsic"
When the condition matches (then) #
Properties and child nodes (
properties) #
clocks— not listed as required here #Maximum number of items (
maxItems):3
clock-names— not listed as required here #Maximum number of items (
maxItems):3
resets— not listed as required here #Maximum number of items (
maxItems):2
reset-names— not listed as required here #Maximum number of items (
maxItems):2
Examples (examples) #
#include <dt-bindings/clock/sun9i-a80-usb.h>
#include <dt-bindings/reset/sun9i-a80-usb.h>
usbphy1: phy@a00800 {
compatible = "allwinner,sun9i-a80-usb-phy";
reg = <0x00a00800 0x4>;
clocks = <&usb_clocks CLK_USB0_PHY>;
clock-names = "phy";
resets = <&usb_clocks RST_USB0_PHY>;
reset-names = "phy";
phy-supply = <®_usb1_vbus>;
#phy-cells = <0>;
};
#include <dt-bindings/clock/sun9i-a80-usb.h>
#include <dt-bindings/reset/sun9i-a80-usb.h>
usbphy3: phy@a02800 {
compatible = "allwinner,sun9i-a80-usb-phy";
reg = <0x00a02800 0x4>;
clocks = <&usb_clocks CLK_USB2_PHY>,
<&usb_clocks CLK_USB_HSIC>,
<&usb_clocks CLK_USB2_HSIC>;
clock-names = "phy",
"hsic_12M",
"hsic_480M";
resets = <&usb_clocks RST_USB2_PHY>,
<&usb_clocks RST_USB2_HSIC>;
reset-names = "phy",
"hsic";
phy_type = "hsic";
phy-supply = <®_usb3_vbus>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner F1C100s USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/allwinner,suniv-f1c100s-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
compatible — required here #
Exact value (const): "allwinner,suniv-f1c100s-usb-phy"
reg — required here #
Maximum number of items (maxItems): 1
PHY Control registers
reg-names — required here #
Exact value (const): "phy_ctrl"
clocks — required here #
Maximum number of items (maxItems): 1
USB OTG PHY bus clock
clock-names — required here #
Exact value (const): "usb0_phy"
resets — required here #
Maximum number of items (maxItems): 1
USB OTG reset
reset-names — required here #
Exact value (const): "usb0_reset"
usb0_id_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG ID pin
usb0_vbus_det-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to the USB OTG VBUS detect pin
usb0_vbus_power-supply — not listed as required here #
Power supply to detect the USB OTG VBUS
usb0_vbus-supply — not listed as required here #
Regulator controlling USB OTG VBUS
Required in this object (required): "#phy-cells", "compatible", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/suniv-ccu-f1c100s.h>
#include <dt-bindings/reset/suniv-ccu-f1c100s.h>
phy@1c13400 {
compatible = "allwinner,suniv-f1c100s-usb-phy";
reg = <0x01c13400 0x10>;
reg-names = "phy_ctrl";
clocks = <&ccu CLK_USB_PHY0>;
clock-names = "usb0_phy";
resets = <&ccu RST_USB_PHY0>;
reset-names = "usb0_reset";
#phy-cells = <1>;
usb0_id_det-gpios = <&pio 4 2 GPIO_ACTIVE_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Amlogic AXG MIPI D-PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,axg-mipi-dphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,axg-mipi-dphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
#phy-cells — required here #
Exact value (const): 0
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"analog"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "phys", "phy-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@ff640000 {
compatible = "amlogic,axg-mipi-dphy";
reg = <0xff640000 0x100>;
clocks = <&clk_mipi_dsi_phy>;
clock-names = "pclk";
resets = <&reset_phy>;
reset-names = "phy";
phys = <&mipi_pcie_analog_dphy>;
phy-names = "analog";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2020 BayLibre, SAS
Amlogic G12A MIPI analog PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,g12a-mipi-dphy-analog.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <narmstrong@baylibre.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amlogic,g12a-mipi-dphy-analog"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Amlogic G12A USB2 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,g12a-usb2-phy", "amlogic,a1-usb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"xtal"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
#phy-cells — required here #
Exact value (const): 0
phy-supply — not listed as required here #
Phandle to a regulator that provides power to the PHY. This regulator will be managed during the PHY power on/off sequence.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "#phy-cells"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #
When the condition matches (then) #
Properties and child nodes (
properties) #
power-domains— required here #Maximum number of items (
maxItems):1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@36000 {
compatible = "amlogic,g12a-usb2-phy";
reg = <0x36000 0x2000>;
clocks = <&xtal>;
clock-names = "xtal";
resets = <&phy_reset>;
reset-names = "phy";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 BayLibre, SAS
Amlogic G12A USB3 + PCIE Combo PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,g12a-usb3-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,g12a-usb3-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref_clk"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
#phy-cells — required here #
Exact value (const): 1
phy-supply — not listed as required here #
Phandle to a regulator that provides power to the PHY. This regulator will be managed during the PHY power on/off sequence.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@46000 {
compatible = "amlogic,g12a-usb3-pcie-phy";
reg = <0x46000 0x2000>;
clocks = <&ref_clk>;
clock-names = "ref_clk";
resets = <&phy_reset>;
reset-names = "phy";
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 BayLibre, SAS
Amlogic AXG shared MIPI/PCIE analog PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,meson-axg-mipi-pcie-analog.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Remi Pommarel <repk@triplefau.lt>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amlogic,axg-mipi-pcie-analog-phy"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Amlogic AXG PCIE PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,meson-axg-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Remi Pommarel <repk@triplefau.lt>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amlogic,axg-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Exact value (const): "analog"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "phys", "phy-names", "resets", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/reset/amlogic,meson-axg-reset.h>
#include <dt-bindings/phy/phy.h>
pcie_phy: pcie-phy@ff644000 {
compatible = "amlogic,axg-pcie-phy";
reg = <0xff644000 0x1c>;
resets = <&reset RESET_PCIE_PHY>;
phys = <&mipi_analog_phy PHY_TYPE_PCIE>;
phy-names = "analog";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Amlogic Meson GXL USB2 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,meson-gxl-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amlogic,meson-gxl-usb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
resets — not listed as required here #
Maximum number of items (maxItems): 1
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
#phy-cells — required here #
Exact value (const): 0
phy-supply — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@78000 {
compatible = "amlogic,meson-gxl-usb2-phy";
reg = <0x78000 0x20>;
clocks = <&xtal>;
clock-names = "phy";
resets = <&phy_reset>;
reset-names = "phy";
#phy-cells = <0>;
phy-supply = <&usb2_supply>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Amlogic Meson8, Meson8b and Meson8m2 HDMI TX PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,meson8-hdmi-tx-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"
The HDMI TX PHY node should be the child of a syscon node with the required property:
compatible = "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon"
Refer to the bindings described in Documentation/devicetree/bindings/mfd/syscon.yaml
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^hdmi-phy@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"amlogic,meson8b-hdmi-tx-phy","amlogic,meson8m2-hdmi-tx-phy"Item 2
Exact value (
const):"amlogic,meson8-hdmi-tx-phy"
Rule 2
Exact value (
const):"amlogic,meson8-hdmi-tx-phy"
reg — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
HDMI TMDS clock
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
hdmi-phy@3a0 {
compatible = "amlogic,meson8-hdmi-tx-phy";
reg = <0x3a0 0xc>;
clocks = <&tmds_clock>;
#phy-cells = <0>;
};
hdmi-phy@3a0 {
compatible = "amlogic,meson8b-hdmi-tx-phy", "amlogic,meson8-hdmi-tx-phy";
reg = <0x3a0 0xc>;
clocks = <&tmds_clock>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Amlogic Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/amlogic,meson8b-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"
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):"amlogic,meson8-usb2-phy","amlogic,meson8b-usb2-phy","amlogic,meson8m2-usb2-phy"Item 2
Exact value (
const):"amlogic,meson-mx-usb2-phy"
Rule 2
Exact value (
const):"amlogic,meson-gxbb-usb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb_general"
Item 2
Exact value (
const):"usb"
resets — not listed as required here #
Minimum number of items (minItems): 1
#phy-cells — required here #
Exact value (const): 0
phy-supply — not listed as required here #
Phandle to a regulator that provides power to the PHY. This regulator will be managed during the PHY power on/off sequence.
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) #
usb-phy@c0000000 {
compatible = "amlogic,meson-gxbb-usb2-phy";
reg = <0xc0000000 0x20>;
resets = <&reset_usb_phy>;
clocks = <&clk_usb_general>, <&reset_usb>;
clock-names = "usb_general", "usb";
phy-supply = <&usb_vbus>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
APM X-Gene 15Gbps Multi-purpose PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/apm,xgene-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Khuong Dinh <khuong@os.amperecomputing.com>"
PHY nodes are defined to describe on-chip 15Gbps Multi-purpose PHY. Each PHY (pair of lanes) has its own node.
Properties and child nodes (properties) #
compatible — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"apm,xgene-phy"
reg — not listed as required here #
Maximum number of items (maxItems): 1
#phy-cells — not listed as required here #
Possible values are 0 (SATA), 1 (SGMII), 2 (PCIe), 3 (USB), and 4 (XFI).
Exact value (const): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
apm,tx-eye-tuning — not listed as required here #
Manual control to fine tune the capture of the serial bit lines from the automatic calibrated position. Two set of 3-tuple setting for each supported link speed on the host. Range from 0 to 127 in unit of one bit period.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum number of items (
minItems):3Maximum number of items (
maxItems):3Array item rules (
items)Minimum value (
minimum):0Maximum value (
maximum):127Default value (
default):10
apm,tx-eye-direction — not listed as required here #
Eye tuning manual control direction. 0 means sample data earlier than the nominal sampling point. 1 means sample data later than the nominal sampling point. Two set of 3-tuple setting for each supported link speed on the host.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum number of items (
minItems):3Maximum number of items (
maxItems):3Array item rules (
items)Default value (
default):0
apm,tx-boost-gain — not listed as required here #
Frequency boost AC (LSB 3-bit) and DC (2-bit) gain control. Two set of 3-tuple setting for each supported link speed on the host. Range is between 0 to 31 in unit of dB. Default is 3.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum number of items (
minItems):3Maximum number of items (
maxItems):3Array item rules (
items)Minimum value (
minimum):0Maximum value (
maximum):31
apm,tx-amplitude — not listed as required here #
Amplitude control. Two set of 3-tuple setting for each supported link speed on the host. Range is between 0 to 199500 in unit of uV.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum number of items (
minItems):3Maximum number of items (
maxItems):3Array item rules (
items)Minimum value (
minimum):0Maximum value (
maximum):199500Default value (
default):199500
apm,tx-pre-cursor1 — not listed as required here #
1st pre-cursor emphasis taps control. Two set of 3-tuple setting for each supported link speed on the host. Range is 0 to 273000 in unit of uV.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum number of items (
minItems):3Maximum number of items (
maxItems):3Array item rules (
items)Minimum value (
minimum):0Maximum value (
maximum):273000Default value (
default):0
apm,tx-pre-cursor2 — not listed as required here #
2nd pre-cursor emphasis taps control. Two set of 3-tuple setting for each supported link speed on the host. Range is 0 to 127400 in unit uV.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum number of items (
minItems):3Maximum number of items (
maxItems):3Array item rules (
items)Minimum value (
minimum):0Maximum value (
maximum):127400Default value (
default):0
apm,tx-post-cursor — not listed as required here #
Post-cursor emphasis taps control. Two set of 3-tuple setting for Gen1, Gen2, and Gen3 link speeds. Range is between 0 to 31 in unit of 18.2mV.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum number of items (
minItems):3Maximum number of items (
maxItems):3Array item rules (
items)Minimum value (
minimum):0Maximum value (
maximum):31Default value (
default):15
apm,tx-speed — not listed as required here #
Tx operating speed. One set of 3-tuple for each supported link speed on the host:
0 = 1-2Gbps
1 = 2-4Gbps (1st tuple default)
2 = 4-8Gbps
3 = 8-15Gbps (2nd tuple default)
4 = 2.5-4Gbps
5 = 4-5Gbps
6 = 5-6Gbps
7 = 6-16Gbps (3rd tuple default).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
Array item rules (items) #
Maximum value (
maximum):7
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@1f21a000 {
compatible = "apm,xgene-phy";
reg = <0x1f21a000 0x100>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Apple Type-C PHY (ATCPHY)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/apple,atcphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sven Peter <sven@kernel.org>"
The Apple Type-C PHY (ATCPHY) is a combined PHY for USB 2.0, USB 3.x, USB4/Thunderbolt, and DisplayPort connectivity via Type-C ports found in Apple Silicon SoCs. The PHY handles muxing between these different protocols and also provides the reset controller for the attached DWC3 USB controller. It is designed for USB4 operation and does not handle individual differential pairs as distinct DisplayPort lanes. Any reference to lane in this binding hence refers to two differential pairs (RX and TX) as used in USB terminology. In order to correctly setup these lanes for the various modes calibration values copied from Apple's firmware and converted to the format described below by our bootloader m1n1 are required. Without these only USB2 operation is possible.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/usb/usb-switch.yaml#
Reusable definitions ($defs) #
apple,tunable #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Array item rules (items) #
Array item rules (
items)Item 1
Register offset
Item 2
Mask to be applied to the register value
Item 3
Bits to be set after applying the mask
List of (register offset, mask, value) tuples copied from Apple's Device Tree by our bootloader m1n1 and used to configure the PHY. These values even vary for a single product/device and likely contain calibration values determined by Apple at manufacturing time. Unless otherwise noted these tunables are always applied to the core register region.
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):"apple,t6000-atcphy","apple,t6020-atcphy","apple,t8112-atcphy"Item 2
Exact value (
const):"apple,t8103-atcphy"
Rule 2
Exact value (
const):"apple,t8103-atcphy"
reg — required here #
Array item rules (items) #
Item 1
Common controls for all PHYs (USB2/3/4, DisplayPort, TBT)
Item 2
DisplayPort Alternate Mode PHY specific controls
Item 3
Type-C PHY AXI to Apple Fabric interconnect controls
Item 4
USB2 PHY specific controls
Item 5
USB3 PIPE interface controls
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"lpdptx"
Item 3
Exact value (
const):"axi2af"
Item 4
Exact value (
const):"usb2phy"
Item 5
Exact value (
const):"pipehandler"
#phy-cells — required here #
Exact value (const): 1
#reset-cells — required here #
Exact value (const): 0
mode-switch — required here #
true — No constraints added by this property rule.
orientation-switch — required here #
true — No constraints added by this property rule.
power-domains — required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Outgoing connection to the SS port of the Type-C connector.
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Incoming endpoint from the USB3 controller.
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Incoming endpoint from the DisplayPort controller.
port@3 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Incoming endpoint from the USB4/Thunderbolt controller.
apple,tunable-common-a — not listed as required here #
Shared schema rule ($ref): #/$defs/apple,tunable
Common tunables required for all modes, applied before tunable-axi2af.
apple,tunable-axi2af — not listed as required here #
Shared schema rule ($ref): #/$defs/apple,tunable
AXI to Apple Fabric tunables, required for all modes. Unlike all other tunables these are applied to the axi2af region.
apple,tunable-common-b — not listed as required here #
Shared schema rule ($ref): #/$defs/apple,tunable
Common tunables required for all modes, applied after tunable-axi2af.
apple,tunable-lane0-usb — not listed as required here #
Shared schema rule ($ref): #/$defs/apple,tunable
USB3 tunables for lane 0.
apple,tunable-lane1-usb — not listed as required here #
Shared schema rule ($ref): #/$defs/apple,tunable
USB3 tunables for lane 1.
apple,tunable-lane0-cio — not listed as required here #
Shared schema rule ($ref): #/$defs/apple,tunable
USB4/Thunderbolt ("Converged IO") tunables for lane 0.
apple,tunable-lane1-cio — not listed as required here #
Shared schema rule ($ref): #/$defs/apple,tunable
USB4/Thunderbolt ("Converged IO") tunables for lane 1.
apple,tunable-lane0-dp — not listed as required here #
Shared schema rule ($ref): #/$defs/apple,tunable
DisplayPort tunables for lane 0. Note that lane here refers to a USB RX and TX pair re-used for DisplayPort and not to an individual DisplayPort differential lane.
apple,tunable-lane1-dp — not listed as required here #
Shared schema rule ($ref): #/$defs/apple,tunable
DisplayPort tunables for lane 1. Note that lane here refers to a USB RX and TX pair re-used for DisplayPort and not to an individual DisplayPort differential lane.
Required in this object (required): "compatible", "reg", "reg-names", "#phy-cells", "#reset-cells", "orientation-switch", "mode-switch", "power-domains", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@83000000 {
compatible = "apple,t8103-atcphy";
reg = <0x83000000 0x4c000>,
<0x83050000 0x8000>,
<0x80000000 0x4000>,
<0x82a90000 0x4000>,
<0x82a84000 0x4000>;
reg-names = "core", "lpdptx", "axi2af", "usb2phy",
"pipehandler";
#phy-cells = <1>;
#reset-cells = <0>;
orientation-switch;
mode-switch;
power-domains = <&ps_atc0_usb>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&typec_connector_ss>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&dwc3_ss_out>;
};
};
port@2 {
reg = <2>;
endpoint {
remote-endpoint = <&dcp_dp_out>;
};
};
port@3 {
reg = <3>;
endpoint {
remote-endpoint = <&acio_tbt_out>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Broadcom Northstar USB 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
To initialize USB 2.0 PHY driver needs to setup PLL correctly. To do this it requires passing phandle to the USB PHY reference clock.
Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "brcm,ns-usb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
PHY control register
brcm,syscon-clkset — required here #
phandle to syscon for clkset register
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
clocks — required here #
Array item rules (items) #
Item 1
USB PHY reference clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy-ref-clk"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#phy-cells", "brcm,syscon-clkset"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/bcm-nsp.h>
phy@1800c164 {
compatible = "brcm,ns-usb2-phy";
reg = <0x1800c164 0x4>;
brcm,syscon-clkset = <&clkset>;
clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
clock-names = "phy-ref-clk";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Broadcom Northstar USB 3.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/bcm-ns-usb3-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Initialization of USB 3.0 PHY depends on Northstar version. There are currently three known series: Ax, Bx and Cx. Known A0: BCM4707 rev 0 Known B0: BCM4707 rev 4, BCM53573 rev 2 Known B1: BCM4707 rev 6 Known C0: BCM47094 rev 0
Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "brcm,ns-ax-usb3-phy", "brcm,ns-bx-usb3-phy"
reg — required here #
address of MDIO bus device
Maximum number of items (maxItems): 1
usb3-dmp-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the DMP (Device Management Plugin) syscon
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "usb3-dmp-syscon", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
mdio {
#address-cells = <1>;
#size-cells = <0>;
usb3-phy@10 {
compatible = "brcm,ns-ax-usb3-phy";
reg = <0x10>;
usb3-dmp-syscon = <&usb3_dmp>;
#phy-cells = <0>;
};
};
usb3_dmp: syscon@18105000 {
reg = <0x18105000 0x1000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
BCM63xx USBH PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,bcm63xx-usbh-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "brcm,bcm6318-usbh-phy", "brcm,bcm6328-usbh-phy", "brcm,bcm6358-usbh-phy", "brcm,bcm6362-usbh-phy", "brcm,bcm6368-usbh-phy", "brcm,bcm63268-usbh-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"usbh"
Item 2
Exact value (
const):"usb_ref"
resets — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 1
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-names", "resets", "#phy-cells"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Allowed values (
enum):"brcm,bcm6318-usbh-phy","brcm,bcm6328-usbh-phy","brcm,bcm6362-usbh-phy","brcm,bcm63268-usbh-phy"
When the condition matches (then) #
Properties and child nodes (
properties) #
power-domains— required here #Maximum number of items (
maxItems):1
When the condition does not match (else) #
Properties and child nodes (
properties) #
power-domains— not listed as required here #
false— Not permitted by this property rule.
Examples (examples) #
usbh: usb-phy@10001700 {
compatible = "brcm,bcm6368-usbh-phy";
reg = <0x10001700 0x38>;
clocks = <&periph_clk 15>;
clock-names = "usbh";
resets = <&periph_rst 12>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Broadcom STB USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,brcmstb-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Broadcom's PHY that handles EHCI/OHCI and/or XHCI
Maintainers (maintainers): "Al Cooper <alcooperx@gmail.com>", "Rafał Miłecki <rafal@milecki.pl>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "brcm,bcm4908-usb-phy", "brcm,bcm7211-usb-phy", "brcm,bcm7216-usb-phy", "brcm,bcm74110-usb-phy", "brcm,brcmstb-usb-phy"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
the base CTRL register
Item 2
XHCI EC register
Item 3
XHCI GBL register
Item 4
USB PHY register
Item 5
USB MDIO register
Item 6
BDC register
reg-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"ctrl"
Item 2
Exact value (
const):"xhci_ec"
Item 3
Exact value (
const):"xhci_gbl"
Item 4
Exact value (
const):"usb_phy"
Item 5
Exact value (
const):"usb_mdio"
Item 6
Exact value (
const):"bdc_ec"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"sw_usb"
Item 2
Exact value (
const):"sw_usb3"
interrupts — not listed as required here #
wakeup interrupt
interrupt-names — not listed as required here #
Exact value (const): "wake"
brcm,ipp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Invert Port Power
Minimum value (minimum): 0
Maximum value (maximum): 1
brcm,ioc — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Invert Over Current detection
Minimum value (minimum): 0
Maximum value (maximum): 1
dr_mode — not listed as required here #
PHY Device mode. If this property is not defined, the PHY will default to "host" mode.
Allowed values (enum): "host", "peripheral", "drd", "typec-pd"
brcm,syscon-piarbctl — not listed as required here #
phandle to syscon for handling config registers
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
brcm,has-xhci — not listed as required here #
Indicates the PHY has an XHCI PHY.
Value type (type): "boolean"
brcm,has-eohci — not listed as required here #
Indicates the PHY has an EHCI/OHCI PHY.
Value type (type): "boolean"
#phy-cells — required here #
Cell allows setting the type of the PHY. Possible values are: - PHY_TYPE_USB2 for USB1.1/2.0 PHY - PHY_TYPE_USB3 for USB3.x PHY
Exact value (const): 1
Required in this object (required): "reg", "#phy-cells"
At least one of these rules must match (anyOf) #
Rule 1 #
Rule 2 #
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)Allowed values (
enum):"brcm,bcm4908-usb-phy","brcm,brcmstb-usb-phy"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,bcm7211-usb-phy"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):6
reg-names— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):6
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"brcm,bcm7216-usb-phy","brcm,bcm74110-usb-phy"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
reg-names— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy.h>
usb-phy@f0470200 {
compatible = "brcm,brcmstb-usb-phy";
reg = <0xf0470200 0xb8>,
<0xf0471940 0x6c0>;
#phy-cells = <1>;
dr_mode = "host";
brcm,ioc = <1>;
brcm,ipp = <1>;
brcm,has-xhci;
brcm,has-eohci;
clocks = <&usb20>, <&usb30>;
clock-names = "sw_usb", "sw_usb3";
};
#include <dt-bindings/phy/phy.h>
usb-phy@29f0200 {
compatible = "brcm,bcm7211-usb-phy";
reg = <0x29f0200 0x200>,
<0x29c0880 0x30>,
<0x29cc100 0x534>,
<0x2808000 0x24>,
<0x2980080 0x8>;
reg-names = "ctrl",
"xhci_ec",
"xhci_gbl",
"usb_phy",
"usb_mdio";
brcm,ioc = <0x0>;
brcm,ipp = <0x0>;
interrupts = <0x30>;
interrupt-parent = <&vpu_intr1_nosec_intc>;
interrupt-names = "wake";
#phy-cells = <0x1>;
brcm,has-xhci;
brcm,syscon-piarbctl = <&syscon_piarbctl>;
clocks = <&scmi_clk 256>;
clock-names = "sw_usb";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Broadcom Cygnus PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,cygnus-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ray Jui <ray.jui@broadcom.com>", "Scott Branden <scott.branden@broadcom.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^pcie[-|_]phy(@.*)?$"
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"brcm,cygnus-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
Base address and length of the PCIe PHY block
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^pcie-phy@[0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
PCIe PHY child nodes
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
The PCIe PHY port number
#phy-cells — required here
Exact value (const): 0
Required in this object (required): "reg", "#phy-cells"
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pcie_phy: pcie_phy@301d0a0 {
compatible = "brcm,cygnus-pcie-phy";
reg = <0x0301d0a0 0x14>;
#address-cells = <1>;
#size-cells = <0>;
pcie0_phy: pcie-phy@0 {
reg = <0>;
#phy-cells = <0>;
};
pcie1_phy: pcie-phy@1 {
reg = <1>;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Broadcom Kona family USB 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,kona-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "brcm,kona-usb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@3f130000 {
compatible = "brcm,kona-usb2-phy";
reg = <0x3f130000 0x28>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Broadcom Northstar2 USB2 Dual Role Device PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,ns2-drd-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Florian Fainelli <florian.fainelli@broadcom.com>", "Hauke Mehrtens <hauke@hauke-m.de>", "Rafał Miłecki <zajec5@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "brcm,ns2-drd-phy"
reg — required here #
Array item rules (items) #
Item 1
DRD ICFG configurations
Item 2
DRD IDM reset
Item 3
CRMU core vdd, PHY and PHY PLL reset
Item 4
Port over current polarity reversal
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"icfg"
Item 2
Exact value (
const):"rst-ctrl"
Item 3
Exact value (
const):"crmu-ctrl"
Item 4
Exact value (
const):"usb2-strap"
#phy-cells — required here #
Exact value (const): 0
id-gpios — required here #
Maximum number of items (maxItems): 1
ID GPIO line
vbus-gpios — required here #
Maximum number of items (maxItems): 1
VBUS GPIO line
Required in this object (required): "#phy-cells", "compatible", "reg", "reg-names", "id-gpios", "vbus-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@66000960 {
#phy-cells = <0>;
compatible = "brcm,ns2-drd-phy";
reg = <0x66000960 0x24>, <0x67012800 0x4>, <0x6501d148 0x4>, <0x664d0700 0x4>;
reg-names = "icfg", "rst-ctrl", "crmu-ctrl", "usb2-strap";
id-gpios = <&gpio_g 30 0>;
vbus-gpios = <&gpio_g 31 0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Broadcom NS2 PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,ns2-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ray Jui <ray.jui@broadcom.com>", "Scott Branden <scott.branden@broadcom.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "brcm,ns2-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
mdio {
#address-cells = <1>;
#size-cells = <0>;
pci-phy@0 {
compatible = "brcm,ns2-pcie-phy";
reg = <0x0>;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Broadcom SATA3 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,sata-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^sata[-|_]phy(@.*)?$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"brcm,bcm7216-sata-phy","brcm,bcm7425-sata-phy","brcm,bcm7445-sata-phy","brcm,bcm63138-sata-phy"Item 2
Exact value (
const):"brcm,phy-sata3"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"brcm,iproc-nsp-sata-phy"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"brcm,iproc-ns2-sata-phy"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"brcm,iproc-sr-sata-phy"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reg-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"phy-ctrl"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^sata-phy@[0-9]+$ — name matches this regular expression #
Value type (type): "object"
Each port's PHY should be represented as a sub-node.
Properties and child nodes (properties) #
reg — required here
The SATA PHY port number
Maximum number of items (maxItems): 1
#phy-cells — required here
Exact value (const): 0
brcm,enable-ssc — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Use spread spectrum clocking (SSC) on this port This property is not applicable for "brcm,iproc-ns2-sata-phy", "brcm,iproc-nsp-sata-phy" and "brcm,iproc-sr-sata-phy".
brcm,rxaeq-mode — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
String that indicates the desired RX equalizer mode.
Allowed values (enum): "off", "auto", "manual"
brcm,rxaeq-value — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
When 'brcm,rxaeq-mode' is set to "manual", provides the RX equalizer value that should be used.
Minimum value (minimum): 0
Maximum value (maximum): 63
brcm,tx-amplitude-millivolt — not listed as required here
Transmit amplitude voltage in millivolt.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 400, 500, 600, 800
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.
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Exact value (
const):"brcm,iproc-ns2-sata-phy"
When the condition matches (then) #
Properties and child nodes (
properties) #
reg— not listed as required here #Minimum number of items (
minItems):2
reg-names— not listed as required here #Minimum number of items (
minItems):2
When the condition does not match (else) #
Properties and child nodes (
properties) #
reg— not listed as required here #Maximum number of items (
maxItems):1
reg-names— not listed as required here #Maximum number of items (
maxItems):1
Required in this object (required): "compatible", "#address-cells", "#size-cells", "reg", "reg-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sata_phy@f0458100 {
compatible = "brcm,bcm7445-sata-phy", "brcm,phy-sata3";
reg = <0xf0458100 0x1e00>;
reg-names = "phy";
#address-cells = <1>;
#size-cells = <0>;
sata-phy@0 {
reg = <0>;
#phy-cells = <0>;
};
sata-phy@1 {
reg = <1>;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Broadcom Stingray PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,sr-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ray Jui <ray.jui@broadcom.com>"
For PAXB based root complex, one can have a configuration of up to 8 PHYs. PHY index goes from 0 to 7. For the internal PAXC based root complex, PHY index is always 8.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "brcm,sr-pcie-phy"
reg — not listed as required here #
Maximum number of items (maxItems): 1
#phy-cells — not listed as required here #
Exact value (const): 1
brcm,sr-cdru — not listed as required here #
phandle to the CDRU syscon node
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
brcm,sr-mhb — not listed as required here #
phandle to the MHB syscon node
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@40000000 {
compatible = "brcm,sr-pcie-phy";
reg = <0x40000000 0x800>;
brcm,sr-cdru = <&cdru>;
brcm,sr-mhb = <&mhb>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Broadcom Stingray USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,sr-usb-combo-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ray Jui <rjui@broadcom.com>", "Scott Branden <sbranden@broadcom.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "brcm,sr-usb-combo-phy", "brcm,sr-usb-hs-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
PHY cell count indicating PHY type
Required in this object (required): "compatible", "reg", "#phy-cells"
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):"brcm,sr-usb-combo-phy"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"brcm,sr-usb-hs-phy"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):0
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@0 {
compatible = "brcm,sr-usb-combo-phy";
reg = <0x00000000 0x100>;
#phy-cells = <1>;
};
usb-phy@20000 {
compatible = "brcm,sr-usb-hs-phy";
reg = <0x00020000 0x100>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Calxeda Highbank Combination PHYs for SATA
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/calxeda-combophy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Calxeda Combination PHYs connect the SoC to the internal fabric and to SATA connectors. The PHYs support multiple protocols (SATA, SGMII, PCIe) and can be assigned to different devices (SATA or XGMAC controller). Programming the PHYs is typically handled by those device drivers, not by a dedicated PHY driver.
Maintainers (maintainers): "Andre Przywara <andre.przywara@arm.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "calxeda,hb-combophy"
#phy-cells — required here #
Exact value (const): 1
reg — required here #
Maximum number of items (maxItems): 1
phydev — required here #
device ID for programming the ComboPHY.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 31
Required in this object (required): "compatible", "reg", "phydev", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
combophy5: combo-phy@fff5d000 {
compatible = "calxeda,hb-combophy";
#phy-cells = <1>;
reg = <0xfff5d000 0x1000>;
phydev = <31>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cadence DPHY Rx
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/cdns,dphy-rx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pratyush Yadav <pratyush@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cdns,dphy-rx"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/soc/ti,sci_pm_domain.h>
dphy0: phy@4580000 {
compatible = "cdns,dphy-rx";
reg = <0x4580000 0x1100>;
#phy-cells = <0>;
power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cadence DPHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/cdns,dphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pratyush Yadav <pratyush@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "cdns,dphy", "ti,j721e-dphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PMA state machine clock
Item 2
PLL reference clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"psm"
Item 2
Exact value (
const):"pll_ref"
#phy-cells — required here #
Exact value (const): 0
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
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/soc/ti,sci_pm_domain.h>
dphy0: phy@fd0e0000{
compatible = "cdns,dphy";
reg = <0xfd0e0000 0x1000>;
clocks = <&psm_clk>, <&pll_ref_clk>;
clock-names = "psm", "pll_ref";
power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cadence SALVO PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/cdns,salvo-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peter Chen <peter.chen@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,salvo-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"salvo_phy_clk"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
cdns,usb2-disconnect-threshold-microvolt — not listed as required here #
The microvolt threshold value utilized for detecting USB disconnection event.
Allowed values (enum): 575, 610, 645
Default value (default): 575
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/firmware/imx/rsrc.h>
usb3phy: usb3-phy@5b160000 {
compatible = "nxp,salvo-phy";
reg = <0x5b160000 0x40000>;
clocks = <&usb3_lpcg 4>;
clock-names = "salvo_phy_clk";
power-domains = <&pd IMX_SC_R_USB_2_PHY>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2020 NXP
Freescale i.MX8 SoC series PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/fsl,imx8-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Richard Zhu <hongxing.zhu@nxp.com>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 0
compatible — required here #
Allowed values (enum): "fsl,imx8mm-pcie-phy", "fsl,imx8mp-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
resets — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"pciephy"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"pciephy"Item 2
Exact value (
const):"perst"
fsl,refclk-pad-mode — required here #
Specifies the mode of the refclk pad used. It can be UNUSED(PHY refclock is derived from SoC internal source), INPUT(PHY refclock is provided externally via the refclk pad) or OUTPUT(PHY refclock is derived from SoC internal source and provided on the refclk pad). Refer include/dt-bindings/phy/phy-imx8-pcie.h for the constants to be used.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
fsl,tx-deemph-gen1 — not listed as required here #
Gen1 De-emphasis value (optional).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
fsl,tx-deemph-gen2 — not listed as required here #
Gen2 De-emphasis value (optional).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
fsl,clkreq-unsupported — not listed as required here #
Value type (type): "boolean"
A boolean property indicating the CLKREQ# signal is not supported in the board design (optional)
power-domains — not listed as required here #
PCIe PHY power domain (optional).
Maximum number of items (maxItems): 1
Required in this object (required): "#phy-cells", "compatible", "reg", "clocks", "clock-names", "fsl,refclk-pad-mode"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mm-clock.h>
#include <dt-bindings/phy/phy-imx8-pcie.h>
#include <dt-bindings/reset/imx8mq-reset.h>
pcie_phy: pcie-phy@32f00000 {
compatible = "fsl,imx8mm-pcie-phy";
reg = <0x32f00000 0x10000>;
clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
clock-names = "ref";
assigned-clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
assigned-clock-rates = <100000000>;
assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_100M>;
resets = <&src IMX8MQ_RESET_PCIEPHY>;
reset-names = "pciephy";
fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
#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 37: for iMX8MM
Line 39: for IMX8MP
Freescale i.MX8MP HDMI PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/fsl,imx8mp-hdmi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8mp-hdmi-phy"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 0
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb"
Item 2
Exact value (
const):"ref"
#phy-cells — required here #
Exact value (const): 0
power-domains — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names", "#phy-cells", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/power/imx8mp-power.h>
phy@32fdff00 {
compatible = "fsl,imx8mp-hdmi-phy";
reg = <0x32fdff00 0x100>;
clocks = <&clk IMX8MP_CLK_HDMI_APB>,
<&clk IMX8MP_CLK_HDMI_24M>;
clock-names = "apb", "ref";
power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_HDMI_TX_PHY>;
#clock-cells = <0>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale i.MX8MQ USB3 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/fsl,imx8mq-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Li Jun <jun.li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,imx8mq-usb-phy","fsl,imx8mp-usb-phy"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx95-usb-phy"Item 2
Exact value (
const):"fsl,imx8mp-usb-phy"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
PHY configuration clock
Item 2
Alternate PHY reference clock
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"alt"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
vbus-supply — not listed as required here #
A phandle to the regulator for USB VBUS.
fsl,phy-tx-vref-tune-percent — not listed as required here #
Tunes the HS DC level relative to the nominal level
Minimum value (minimum): 90
Maximum value (maximum): 124
fsl,phy-tx-rise-tune-percent — not listed as required here #
Adjusts the rise/fall time duration of the HS waveform relative to its nominal value
Minimum value (minimum): 90
Maximum value (maximum): 120
fsl,phy-tx-preemp-amp-tune-microamp — not listed as required here #
Adjust amount of current sourced to DPn and DMn after a J-to-K or K-to-J transition. Default is 0 (disabled).
Minimum value (minimum): 0
Maximum value (maximum): 1800
fsl,phy-tx-vboost-level-microvolt — not listed as required here #
Adjust the boosted transmit launch pk-pk differential amplitude
Allowed values (enum): 844, 1008, 1156
fsl,phy-comp-dis-tune-percent — not listed as required here #
Adjust the voltage level used to detect a disconnect event at the host relative to the nominal value
Minimum value (minimum): 91
Maximum value (maximum): 115
fsl,phy-pcs-tx-deemph-3p5db-attenuation-db — not listed as required here #
Adjust TX de-emphasis attenuation in dB at nominal 3.5dB point as per USB specification
Minimum value (minimum): 0
Maximum value (maximum): 36
fsl,phy-pcs-tx-swing-full-percent — not listed as required here #
Scaling of the voltage defined by fsl,phy-tx-vboost-level-microvolt
Minimum value (minimum): 0
Maximum value (maximum): 100
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names"
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)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
USB PHY Control range
Item 2
USB PHY TCA Block range
When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,imx8mq-usb-phy","fsl,imx8mp-usb-phy"When the condition matches (
then) #Properties and child nodes (
properties)
fsl,phy-tx-vref-tune-percent— not listed as required hereMinimum value (
minimum):94
fsl,phy-tx-rise-tune-percent— not listed as required hereMinimum value (
minimum):97Maximum value (
maximum):103
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
fsl,phy-tx-vref-tune-percent— not listed as required hereMaximum value (
maximum):108
fsl,phy-comp-dis-tune-percent— not listed as required hereMinimum value (
minimum):94Maximum value (
maximum):104
Rule 4 #
Condition (
if) #When the condition matches (
then) #All of these rules must match (
allOf)Rule 1
Shared schema rule (
$ref):/schemas/usb/usb-switch.yaml#Rule 2
Shared schema rule (
$ref):/schemas/usb/usb-switch-ports.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mq-clock.h>
usb3_phy0: phy@381f0040 {
compatible = "fsl,imx8mq-usb-phy";
reg = <0x381f0040 0x40>;
clocks = <&clk IMX8MQ_CLK_USB1_PHY_ROOT>;
clock-names = "phy";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale i.MX8QM SoC series High Speed IO(HSIO) SERDES PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/fsl,imx8qm-hsio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Richard Zhu <hongxing.zhu@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8qm-hsio", "fsl,imx8qxp-hsio"
reg — required here #
Array item rules (items) #
Item 1
Base address and length of the PHY block
Item 2
HSIO control and status registers(CSR) of the PHY
Item 3
HSIO CSR of the controller bound to the PHY
Item 4
HSIO CSR for MISC
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"reg"
Item 2
Exact value (
const):"phy"
Item 3
Exact value (
const):"ctrl"
Item 4
Exact value (
const):"misc"
#phy-cells — required here #
Exact value (const): 3
The first defines lane index. The second defines the type of the PHY refer to the include phy.h. The third defines the controller index, indicated which controller is bound to the lane.
clocks — required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 14
clock-names — required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 14
fsl,hsio-cfg — required here #
Specifies the use case of the HSIO module in the hardware design. Regarding the design of i.MX8QM HSIO subsystem, HSIO module can be confiured as following three use cases. +---------------------------------------+ | | i.MX8QM | |------------------|--------------------| | | Lane0| Lane1| Lane2| |------------------|------|------|------| | pciea-x2-sata | PCIEA| PCIEA| SATA | |------------------|------|------|------| | pciea-x2-pcieb | PCIEA| PCIEA| PCIEB| |------------------|------|------|------| | pciea-pcieb-sata | PCIEA| PCIEB| SATA | +---------------------------------------+
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pciea-x2-sata", "pciea-x2-pcieb", "pciea-pcieb-sata"
Default value (default): "pciea-pcieb-sata"
fsl,refclk-pad-mode — not listed as required here #
Specifies the mode of the refclk pad used. INPUT(PHY refclock is provided externally via the refclk pad) or OUTPUT(PHY refclock is derived from SoC internal source and provided on the refclk pad). This property not exists means unused(PHY refclock is derived from SoC internal source).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "input", "output", "unused"
Default value (default): "unused"
power-domains — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "reg-names", "#phy-cells", "clocks", "clock-names", "fsl,hsio-cfg"
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)When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pclk0"Item 2
Exact value (
const):"apb_pclk0"Item 3
Exact value (
const):"phy0_crr"Item 4
Exact value (
const):"ctl0_crr"Item 5
Exact value (
const):"misc_crr"
power-domains— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pclk0"Item 2
Exact value (
const):"pclk1"Item 3
Exact value (
const):"apb_pclk0"Item 4
Exact value (
const):"apb_pclk1"Item 5
Exact value (
const):"pclk2"Item 6
Exact value (
const):"epcs_tx"Item 7
Exact value (
const):"epcs_rx"Item 8
Exact value (
const):"apb_pclk2"Item 9
Exact value (
const):"phy0_crr"Item 10
Exact value (
const):"phy1_crr"Item 11
Exact value (
const):"ctl0_crr"Item 12
Exact value (
const):"ctl1_crr"Item 13
Exact value (
const):"ctl2_crr"Item 14
Exact value (
const):"misc_crr"
power-domains— not listed as required hereMinimum number of items (
minItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8-clock.h>
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
#include <dt-bindings/phy/phy-imx8-pcie.h>
phy@5f1a0000 {
compatible = "fsl,imx8qxp-hsio";
reg = <0x5f1a0000 0x10000>,
<0x5f120000 0x10000>,
<0x5f140000 0x10000>,
<0x5f160000 0x10000>;
reg-names = "reg", "phy", "ctrl", "misc";
clocks = <&phyx1_lpcg IMX_LPCG_CLK_0>,
<&phyx1_lpcg IMX_LPCG_CLK_4>,
<&phyx1_crr1_lpcg IMX_LPCG_CLK_4>,
<&pcieb_crr3_lpcg IMX_LPCG_CLK_4>,
<&misc_crr5_lpcg IMX_LPCG_CLK_4>;
clock-names = "pclk0", "apb_pclk0", "phy0_crr", "ctl0_crr", "misc_crr";
power-domains = <&pd IMX_SC_R_SERDES_1>;
#phy-cells = <3>;
fsl,hsio-cfg = "pciea-pcieb-sata";
fsl,refclk-pad-mode = "input";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Mixel LVDS PHY for Freescale i.MX8qm SoC
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/fsl,imx8qm-lvds-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Liu Ying <victor.liu@nxp.com>"
The Mixel LVDS PHY IP block is found on Freescale i.MX8qm SoC. It converts two groups of four 7/10 bits of CMOS data into two groups of four data lanes of LVDS data streams. A phase-locked transmit clock is transmitted in parallel with each group of data streams over a fifth LVDS link. Every cycle of the transmit clock, 56/80 bits of input data are sampled and transmitted through the two groups of LVDS data streams. Together with the transmit clocks, the two groups of LVDS data streams form two LVDS channels.
The Mixel LVDS PHY found on Freescale i.MX8qm SoC is controlled by Control and Status Registers(CSR) module in the SoC. The CSR module, as a system controller, contains the PHY's registers.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8qm-lvds-phy", "mixel,28fdsoi-lvds-1250-8ch-tx-pll"
#phy-cells — required here #
Exact value (const): 1
Cell allows setting the LVDS channel index of the PHY. Index 0 is for LVDS channel0 and index 1 is for LVDS channel1.
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "#phy-cells", "clocks", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/firmware/imx/rsrc.h>
phy {
compatible = "fsl,imx8qm-lvds-phy";
#phy-cells = <1>;
clocks = <&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_PHY>;
power-domains = <&pd IMX_SC_R_LVDS_0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale Lynx 28G SerDes PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/fsl,lynx-28g.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ioana Ciornei <ioana.ciornei@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,lynx-28g"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^phy@[0-7]$ — name matches this regular expression #
Value type (type): "object"
SerDes lane (single RX/TX differential pair)
Properties and child nodes (properties) #
reg — required here
Minimum value (minimum): 0
Maximum value (maximum): 7
Lane index as seen in register map
#phy-cells — required here
Exact value (const): 0
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", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
soc {
#address-cells = <2>;
#size-cells = <2>;
serdes@1ea0000 {
compatible = "fsl,lynx-28g";
reg = <0x0 0x1ea0000 0x0 0x1e30>;
#address-cells = <1>;
#size-cells = <0>;
#phy-cells = <1>;
phy@0 {
reg = <0>;
#phy-cells = <0>;
};
phy@1 {
reg = <1>;
#phy-cells = <0>;
};
phy@2 {
reg = <2>;
#phy-cells = <0>;
};
phy@3 {
reg = <3>;
#phy-cells = <0>;
};
phy@4 {
reg = <4>;
#phy-cells = <0>;
};
phy@5 {
reg = <5>;
#phy-cells = <0>;
};
phy@6 {
reg = <6>;
#phy-cells = <0>;
};
phy@7 {
reg = <7>;
#phy-cells = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale MXS USB Phy Device
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/fsl,mxs-usbphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Xu Yang <xu.yang_2@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,imx23-usbphy","fsl,imx7ulp-usbphy","fsl,vf610-usbphy"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx28-usbphy","fsl,imx6ul-usbphy","fsl,imx6sl-usbphy","fsl,imx6sx-usbphy","fsl,imx6q-usbphy"Item 2
Exact value (
const):"fsl,imx23-usbphy"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx6sll-usbphy"Item 2
Exact value (
const):"fsl,imx6ul-usbphy"Item 3
Exact value (
const):"fsl,imx23-usbphy"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx8dxl-usbphy","fsl,imx8qm-usbphy","fsl,imx8qxp-usbphy","fsl,imx8ulp-usbphy"Item 2
Exact value (
const):"fsl,imx7ulp-usbphy"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
#phy-cells — not listed as required here #
Exact value (const): 0
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
fsl,anatop — not listed as required here #
phandle for anatop register, it is only for imx6 SoC series.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phy-3p0-supply — not listed as required here #
One of USB PHY's power supply. Can be used to keep a good signal quality.
fsl,tx-cal-45-dn-ohms — not listed as required here #
Resistance (in ohms) of switchable high-speed trimming resistor connected in parallel with the 45 ohm resistor that terminates the DN output signal.
Minimum value (minimum): 35
Maximum value (maximum): 54
Default value (default): 45
fsl,tx-cal-45-dp-ohms — not listed as required here #
Resistance (in ohms) of switchable high-speed trimming resistor connected in parallel with the 45 ohm resistor that terminates the DP output signal.
Minimum value (minimum): 35
Maximum value (maximum): 54
Default value (default): 45
fsl,tx-d-cal — not listed as required here #
Current trimming value (as a percentage) of the 17.78 mA TX reference current.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 79
Maximum value (maximum): 119
Default value (default): 100
nxp,sim — not listed as required here #
The system integration module (SIM) provides system control and chip configuration registers.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Required in this object (required): "compatible", "reg", "clocks"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExactly one of these rules must match (
oneOf)Rule 1
Allowed values (
enum):"fsl,imx6q-usbphy","fsl,imx6sl-usbphy","fsl,imx6sx-usbphy","fsl,imx6sll-usbphy","fsl,vf610-usbphy"Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx6ul-usbphy"Item 2
Exact value (
const):"fsl,imx23-usbphy"When the condition matches (
then) #
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"fsl,imx7ulp-usbphy"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
nxp,sim— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/imx6qdl-clock.h>
usbphy1: usb-phy@20c9000 {
compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
reg = <0x020c9000 0x1000>;
clocks = <&clks IMX6QDL_CLK_USBPHY1>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
fsl,anatop = <&anatop>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Google Tensor Series G5 (Laguna) USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/google,lga-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Roy Luo <royluo@google.com>"
Describes the USB PHY interfaces integrated with the DWC3 USB controller on Google Tensor SoCs, starting with the G5 generation (laguna). Two specific PHY IPs from Synopsys are integrated, including eUSB 2.0 PHY IP and USB3.2/DisplayPort combo PHY IP.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "google,lga-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
USB3.2/DisplayPort combo PHY core registers.
Item 2
USB3.2/DisplayPort combo PHY Type-C Assist registers.
Item 3
eUSB 2.0 PHY core registers.
Item 4
Top-level wrapper registers for the integrated PHYs.
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb3_core"
Item 2
Exact value (
const):"usb3_tca"
Item 3
Exact value (
const):"usb2_core"
Item 4
Exact value (
const):"usbdp_top"
#phy-cells — required here #
The phandle's argument in the PHY specifier selects one of the three following PHY interfaces. - 0 for USB high-speed. - 1 for USB super-speed. - 2 for DisplayPort.
Exact value (const): 1
clocks — required here #
Array item rules (items) #
Item 1
USB2 PHY clock.
Item 2
USB2 PHY APB clock.
Item 3
USB3.2/DisplayPort combo PHY clock.
Item 4
USB3.2/DisplayPort combo PHY firmware clock.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb2"
Item 2
Exact value (
const):"usb2_apb"
Item 3
Exact value (
const):"usb3"
Item 4
Exact value (
const):"usb3_fw"
resets — required here #
Array item rules (items) #
Item 1
USB2 PHY reset.
Item 2
USB2 PHY APB reset.
Item 3
USB3.2/DisplayPort combo PHY reset.
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb2"
Item 2
Exact value (
const):"usb2_apb"
Item 3
Exact value (
const):"usb3"
power-domains — required here #
Maximum number of items (maxItems): 1
orientation-switch — required here #
Value type (type): "boolean"
Indicates the PHY as a handler of USB Type-C orientation changes
google,usb-cfg-csr — required here #
A phandle to a syscon node used to access the USB configuration registers. These registers are the top-level wrapper of the USB subsystem and provide control and status for the integrated USB controller and USB PHY.
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 syscon node.
Item 2
USB2 PHY configuration register offset.
Required in this object (required): "compatible", "reg", "reg-names", "#phy-cells", "clocks", "clock-names", "resets", "reset-names", "power-domains", "orientation-switch", "google,usb-cfg-csr"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
soc {
#address-cells = <2>;
#size-cells = <2>;
usb-phy@c410000 {
compatible = "google,lga-usb-phy";
reg = <0 0x0c410000 0 0x20000>,
<0 0x0c430000 0 0x1000>,
<0 0x0c440000 0 0x10000>,
<0 0x0c637000 0 0xa0>;
reg-names = "usb3_core", "usb3_tca", "usb2_core", "usbdp_top";
#phy-cells = <1>;
clocks = <&hsion_usb2_phy_clk>, <&hsion_u2phy_apb_clk>,
<&hsion_usb3_phy_clk>, <&hsion_usb3_phy_fw_clk>;
clock-names = "usb2", "usb2_apb", "usb3", "usb3_fw";
resets = <&hsion_resets_usb2_phy>,
<&hsion_resets_u2phy_apb>,
<&hsion_resets_usb3_phy>;
reset-names = "usb2", "usb2_apb", "usb3";
power-domains = <&hsio_n_usb_pd>;
orientation-switch;
google,usb-cfg-csr = <&usb_cfg_csr 0x14>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2025, Google LLC
Hisilicon Kirin 960 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/hisilicon,hi3660-usb3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mauro Carvalho Chehab <mchehab+huawei@kernel.org>"
Bindings for USB3 PHY on HiSilicon Kirin 960.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "hisilicon,hi3660-usb-phy"
#phy-cells — required here #
Exact value (const): 0
hisilicon,pericrg-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle of syscon used to control iso refclk.
hisilicon,pctrl-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle of syscon used to control usb tcxo.
hisilicon,eye-diagram-param — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Maximum number of items (maxItems): 1
Eye diagram for phy.
Required in this object (required): "compatible", "hisilicon,pericrg-syscon", "hisilicon,pctrl-syscon", "hisilicon,eye-diagram-param", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy {
compatible = "hisilicon,hi3660-usb-phy";
#phy-cells = <0>;
hisilicon,pericrg-syscon = <&crg_ctrl>;
hisilicon,pctrl-syscon = <&pctrl>;
hisilicon,eye-diagram-param = <0x22466e4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Hisilicon Kirin970 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/hisilicon,hi3670-usb3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mauro Carvalho Chehab <mchehab+huawei@kernel.org>"
Bindings for USB3 PHY on HiSilicon Kirin 970.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "hisilicon,hi3670-usb-phy"
#phy-cells — required here #
Exact value (const): 0
hisilicon,pericrg-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle of syscon used to control iso refclk.
hisilicon,pctrl-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle of syscon used to control usb tcxo.
hisilicon,sctrl-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle of syscon used to control phy deep sleep.
hisilicon,eye-diagram-param — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Maximum number of items (maxItems): 1
Eye diagram for phy.
hisilicon,tx-vboost-lvl — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
TX level vboost for phy.
Required in this object (required): "compatible", "hisilicon,pericrg-syscon", "hisilicon,pctrl-syscon", "hisilicon,sctrl-syscon", "hisilicon,eye-diagram-param", "hisilicon,tx-vboost-lvl", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy {
compatible = "hisilicon,hi3670-usb-phy";
#phy-cells = <0>;
hisilicon,pericrg-syscon = <&crg_ctrl>;
hisilicon,pctrl-syscon = <&pctrl>;
hisilicon,sctrl-syscon = <&sctrl>;
hisilicon,eye-diagram-param = <0xfdfee4>;
hisilicon,tx-vboost-lvl = <0x5>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
HiSilicon STB PCIE/SATA/USB3 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/hisilicon,hi3798cv200-combphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Guo <shawn.guo@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "hisilicon,hi3798cv200-combphy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
The cell contains the PHY mode
Exact value (const): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
hisilicon,fixed-mode — not listed as required here #
If the phy device doesn't support mode select but a fixed mode setting, the property should be present to specify the particular mode.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4
hisilicon,mode-select-bits — not listed as required here #
If the phy device support mode select, this property should be present to specify the register bits in peripheral controller.
Array item rules (items) #
Item 1
register_offset
Item 2
bit shift
Item 3
bit mask
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "resets"
Exactly one of these rules must match (oneOf) #
Rule 1 #
Rule 2 #
Required in this object (
required):"hisilicon,mode-select-bits"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 33: SATA, PCIE, USB3
Hisilicon hi6220 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/hisilicon,hi6220-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Zhangfei Gao <zhangfei.gao@linaro.org>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "hisilicon,hi6220-usb-phy"
#phy-cells — not listed as required here #
Exact value (const): 0
phy-supply — not listed as required here #
PHY power supply.
hisilicon,peripheral-syscon — not listed as required here #
Phandle to the system controller for PHY control.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usbphy {
compatible = "hisilicon,hi6220-usb-phy";
#phy-cells = <0>;
phy-supply = <&fixed_5v_hub>;
hisilicon,peripheral-syscon = <&sys_ctrl>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
HiSilicon hix5hd2 SATA PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/hisilicon,hix5hd2-sata-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jiancheng Xue <xuejiancheng@huawei.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "hisilicon,hix5hd2-sata-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
hisilicon,peripheral-syscon — not listed as required here #
Phandle of syscon used to control peripheral
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
hisilicon,power-reg — not listed as required here #
Offset and bit number within peripheral-syscon register controlling SATA power supply
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
Offset within peripheral-syscon register
Item 2
Bit number controlling SATA power supply
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@f9900000 {
compatible = "hisilicon,hix5hd2-sata-phy";
reg = <0xf9900000 0x10000>;
#phy-cells = <0>;
hisilicon,peripheral-syscon = <&peripheral_ctrl>;
hisilicon,power-reg = <0x8 10>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
HiSilicon INNO USB2 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/hisilicon,inno-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pengcheng Li <lpc.li@hisilicon.com>"
The INNO USB2 PHY device should be a child node of peripheral controller that contains the PHY configuration register, and each device supports up to 2 PHY ports which are represented as child nodes of INNO USB2 PHY device.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "hisilicon,hi3798cv200-usb2-phy", "hisilicon,hi3798mv100-usb2-phy", "hisilicon,inno-usb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^phy@[0-1]$ — name matches this regular expression #
PHY port subnode
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Maximum value (maximum): 1
#phy-cells — required here
Exact value (const): 0
resets — required here
Maximum number of items (maxItems): 1
Required in this object (required): "reg", "#phy-cells", "resets"
Required in this object (required): "compatible", "reg", "clocks", "resets", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/histb-clock.h>
usb2-phy@120 {
compatible = "hisilicon,hi3798cv200-usb2-phy";
reg = <0x120 0x4>;
clocks = <&crg HISTB_USB2_PHY1_REF_CLK>;
resets = <&crg 0xbc 4>;
#address-cells = <1>;
#size-cells = <0>;
phy@0 {
reg = <0>;
#phy-cells = <0>;
resets = <&crg 0xbc 8>;
};
phy@1 {
reg = <1>;
#phy-cells = <0>;
resets = <&crg 0xbc 9>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
HiSilicon Kirin970 PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/hisilicon,phy-hi3670-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mauro Carvalho Chehab <mchehab+huawei@kernel.org>"
Bindings for PCIe PHY on HiSilicon Kirin 970.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "hisilicon,hi970-pcie-phy"
#phy-cells — required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
PHY Control registers
phy-supply — required here #
The PCIe PHY power supply
clocks — required here #
Array item rules (items) #
Item 1
PCIe PHY clock
Item 2
PCIe AUX clock
Item 3
PCIe APB PHY clock
Item 4
PCIe APB SYS clock
Item 5
PCIe ACLK clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ref"
Item 2
Exact value (
const):"aux"
Item 3
Exact value (
const):"apb_phy"
Item 4
Exact value (
const):"apb_sys"
Item 5
Exact value (
const):"aclk"
hisilicon,eye-diagram-param — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Eye diagram for phy.
Required in this object (required): "#phy-cells", "compatible", "reg", "clocks", "clock-names", "hisilicon,eye-diagram-param", "phy-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/hi3670-clock.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie_phy: pcie-phy@fc000000 {
compatible = "hisilicon,hi970-pcie-phy";
reg = <0x0 0xfc000000 0x0 0x80000>;
#phy-cells = <0>;
phy-supply = <&ldo33>;
clocks = <&crg_ctrl HI3670_CLK_GATE_PCIEPHY_REF>,
<&crg_ctrl HI3670_CLK_GATE_PCIEAUX>,
<&crg_ctrl HI3670_PCLK_GATE_PCIE_PHY>,
<&crg_ctrl HI3670_PCLK_GATE_PCIE_SYS>,
<&crg_ctrl HI3670_ACLK_GATE_PCIE>;
clock-names = "phy_ref", "aux",
"apb_phy", "apb_sys", "aclk";
hisilicon,eye-diagram-param = <0xffffffff 0xffffffff
0xffffffff 0xffffffff 0xffffffff>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Imagination Pistachio USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/img,pistachio-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Bresticker <abrestic@chromium.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "img,pistachio-usb-phy"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb_phy"
#phy-cells — required here #
Exact value (const): 0
phy-supply — not listed as required here #
USB VBUS supply. Must supply 5.0V.
img,refclk — required here #
Reference clock source for the USB PHY. See <dt-bindings/phy/phy-pistachio-usb.h> for valid values.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
img,cr-top — required here #
CR_TOP syscon phandle.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Required in this object (required): "compatible", "clocks", "clock-names", "#phy-cells", "img,refclk", "img,cr-top"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy-pistachio-usb.h>
#include <dt-bindings/clock/pistachio-clk.h>
usb-phy {
compatible = "img,pistachio-usb-phy";
clocks = <&clk_core CLK_USB_PHY>;
clock-names = "usb_phy";
#phy-cells = <0>;
phy-supply = <&usb_vbus>;
img,refclk = <REFCLK_CLK_CORE>;
img,cr-top = <&cr_top>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Ingenic SoCs USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ingenic,phy-usb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>", "周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^usb-phy@.*"
compatible — required here #
Allowed values (enum): "ingenic,jz4770-phy", "ingenic,jz4775-phy", "ingenic,jz4780-phy", "ingenic,x1000-phy", "ingenic,x1830-phy", "ingenic,x2000-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
vcc-supply — required here #
VCC power supply
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "vcc-supply", "#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/ingenic,jz4770-cgu.h>
otg_phy: usb-phy@3c {
compatible = "ingenic,jz4770-phy";
reg = <0x3c 0x10>;
vcc-supply = <&vcc>;
clocks = <&cgu JZ4770_CLK_OTG_PHY>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Intel ComboPhy Subsystem
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/intel,combo-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dilip Kota <eswara.kota@linux.intel.com>"
Intel Combophy subsystem supports PHYs for PCIe, EMAC and SATA controllers. A single Combophy provides two PHY instances.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "combophy(@.*|-([0-9]|[1-9][0-9]+))?$"
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"intel,combophy-lgm"
Item 2
Exact value (
const):"intel,combo-phy"
clocks — required here #
Maximum number of items (maxItems): 1
reg — required here #
Array item rules (items) #
Item 1
ComboPhy core registers
Item 2
PCIe app core control registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"app"
resets — not listed as required here #
Maximum number of items (maxItems): 4
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"core"
Item 3
Exact value (
const):"iphy0"
Item 4
Exact value (
const):"iphy1"
intel,syscfg — 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 Chip configuration registers
Item 2
ComboPhy instance id
Chip configuration registers handle and ComboPhy instance id
intel,hsio — 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 HSIO registers
Item 2
ComboPhy instance id
HSIO registers handle and ComboPhy instance id on NOC
intel,aggregation — not listed as required here #
Value type (type): "boolean"
Specify the flag to configure ComboPHY in dual lane mode.
intel,phy-mode — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Mode of the two phys in ComboPhy. See dt-bindings/phy/phy.h for values.
#phy-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "clocks", "reg", "reg-names", "intel,syscfg", "intel,hsio", "intel,phy-mode", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy.h>
combophy@d0a00000 {
compatible = "intel,combophy-lgm", "intel,combo-phy";
clocks = <&cgu0 1>;
#phy-cells = <1>;
reg = <0xd0a00000 0x40000>,
<0xd0a40000 0x1000>;
reg-names = "core", "app";
resets = <&rcu0 0x50 6>,
<&rcu0 0x50 17>,
<&rcu0 0x50 23>,
<&rcu0 0x50 24>;
reset-names = "phy", "core", "iphy0", "iphy1";
intel,syscfg = <&sysconf 0>;
intel,hsio = <&hsiol 0>;
intel,phy-mode = <PHY_TYPE_PCIE>;
intel,aggregation;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Intel Keem Bay USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/intel,keembay-phy-usb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,keembay-usb-phy"
reg — required here #
Array item rules (items) #
Item 1
USB APB CPR (clock, power, reset) register
Item 2
USB APB slave register
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cpr-apb-base"
Item 2
Exact value (
const):"slv-apb-base"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@20400000 {
compatible = "intel,keembay-usb-phy";
reg = <0x20400000 0x1c>,
<0x20480000 0xd0>;
reg-names = "cpr-apb-base", "slv-apb-base";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Intel Lightning Mountain(LGM) eMMC PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/intel,lgm-emmc-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>"
Bindings for eMMC PHY on Intel's Lightning Mountain SoC, syscon node is used to reference the base address of eMMC phy registers.
The eMMC PHY node should be the child of a syscon node with the required property:
- compatible: Should be one of the following:
"intel,lgm-syscon", "syscon"
- reg:
maxItems: 1
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "intel,lgm-emmc-phy", "intel,keembay-emmc-phy"
#phy-cells — required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"emmcclk"
Required in this object (required): "#phy-cells", "compatible", "reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sysconf: chiptop@e0200000 {
compatible = "intel,lgm-syscon", "syscon";
reg = <0xe0200000 0x100>;
#address-cells = <1>;
#size-cells = <1>;
emmc_phy: emmc-phy@a8 {
compatible = "intel,lgm-emmc-phy";
reg = <0x00a8 0x10>;
clocks = <&emmc>;
#phy-cells = <0>;
};
};
phy@20290000 {
compatible = "intel,keembay-emmc-phy";
reg = <0x20290000 0x54>;
clocks = <&emmc>;
clock-names = "emmcclk";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Intel LGM USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/intel,lgm-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vadivel Murugan Ramuthevar <vadivel.muruganx.ramuthevar@linux.intel.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,lgm-usb-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
USB PHY and Host controller reset
Item 2
APB BUS reset
Item 3
General Hardware reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"apb"
Item 3
Exact value (
const):"phy31"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "clocks", "reg", "resets", "reset-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@e7e00000 {
compatible = "intel,lgm-usb-phy";
reg = <0xe7e00000 0x10000>;
clocks = <&cgu0 153>;
resets = <&rcu 0x70 0x24>,
<&rcu 0x70 0x26>,
<&rcu 0x70 0x28>;
reset-names = "phy", "apb", "phy31";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Lantiq XWAY SoC RCU USB 1.1/2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/lantiq,ase-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hauke Mehrtens <hauke@hauke-m.de>"
This node has to be a sub node of the Lantiq RCU block.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"lantiq,ase-usb2-phy","lantiq,danube-usb2-phy","lantiq,xrx100-usb2-phy","lantiq,xrx200-usb2-phy","lantiq,xrx300-usb2-phy"
reg — required here #
Array item rules (items) #
Item 1
Offset of the USB PHY configuration register
Item 2
Offset of the USB Analog configuration register
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"ctrl"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb2-phy@18 {
compatible = "lantiq,xrx200-usb2-phy";
reg = <0x18 4>, <0x38 4>;
clocks = <&pmu 1>;
clock-names = "phy";
resets = <&reset1 4 4>, <&reset0 4 4>;
reset-names = "phy", "ctrl";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Lantiq VRX200 and ARX300 PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/lantiq,vrx200-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 1
selects the PHY mode as defined in <dt-bindings/phy/phy-lantiq-vrx200-pcie.h>
compatible — required here #
Allowed values (enum): "lantiq,vrx200-pcie-phy", "lantiq,arx300-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PHY module clock
Item 2
PDI register clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"pdi"
resets — required here #
Array item rules (items) #
Item 1
exclusive PHY reset line
Item 2
shared reset line between the PCIe PHY and PCIe controller
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"pcie"
lantiq,rcu — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to the RCU syscon
lantiq,rcu-endian-offset — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
the offset of the endian registers for this PHY instance in the RCU syscon
lantiq,rcu-big-endian-mask — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
the mask to set the PDI (PHY) registers for this PHY instance to big endian
big-endian — not listed as required here #
Configures the PDI (PHY) registers in big-endian mode
Value type (type): "boolean"
little-endian — not listed as required here #
Configures the PDI (PHY) registers in big-endian mode
Value type (type): "boolean"
Required in this object (required): "#phy-cells", "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "lantiq,rcu", "lantiq,rcu-endian-offset", "lantiq,rcu-big-endian-mask"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pcie0_phy: phy@106800 {
compatible = "lantiq,vrx200-pcie-phy";
reg = <0x106800 0x100>;
lantiq,rcu = <&rcu0>;
lantiq,rcu-endian-offset = <0x4c>;
lantiq,rcu-big-endian-mask = <0x80>; /* bit 7 */
big-endian;
clocks = <&pmu 32>, <&pmu 36>;
clock-names = "phy", "pdi";
resets = <&reset0 12 24>, <&reset0 22 22>;
reset-names = "phy", "pcie";
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell Armada UTMI/UTMI+ PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,armada-3700-utmi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Miquel Raynal <miquel.raynal@bootlin.com>"
On Armada 3700, there are two USB controllers, one is compatible with the USB2 and USB3 specifications and supports OTG. The other one is USB2 compliant and only supports host mode. Both of these controllers come with a slightly different UTMI PHY.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,a3700-utmi-host-phy", "marvell,a3700-utmi-otg-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
marvell,usb-misc-reg — required here #
Phandle on the "USB miscellaneous registers" shared region covering registers related to both the host controller and the PHY.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Required in this object (required): "compatible", "reg", "#phy-cells", "marvell,usb-misc-reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb2_utmi_host_phy: phy@5f000 {
compatible = "marvell,a3700-utmi-host-phy";
reg = <0x5f000 0x800>;
marvell,usb-misc-reg = <&usb2_syscon>;
#phy-cells = <0>;
};
usb2_syscon: system-controller@5f800 {
compatible = "marvell,armada-3700-usb2-host-misc", "syscon";
reg = <0x5f800 0x800>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Armada 375 USB Cluster
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,armada-375-usb-cluster.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"
Control register for the Armada 375 USB cluster, managing USB2 and USB3 features.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "marvell,armada-375-usb-cluster"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Number of PHY cells in specifier. 1 for USB2, 2 for USB3.
Exact value (const): 1
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usbcluster: usb-cluster@18400 {
compatible = "marvell,armada-375-usb-cluster";
reg = <0x18400 0x4>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell Armada 38x COMPHY controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,armada-380-comphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"
This comphy controller can be found on Marvell Armada 38x. It provides a number of shared PHYs used by various interfaces (network, sata, usb, PCIe...).
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"marvell,armada-380-comphy"
reg — required here #
Array item rules (items) #
Item 1
COMPHY register location and length
Item 2
Configuration register location and length
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"comphy"
Item 2
Exact value (
const):"conf"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^phy@[0-5]$ — name matches this regular expression #
A COMPHY lane
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Maximum value (maximum): 1
#phy-cells — required here
Input port index for the PHY lane
Exact value (const): 1
Required in this object (required): "reg", "#phy-cells"
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
comphy: phy@18300 {
compatible = "marvell,armada-380-comphy";
reg = <0x18300 0x100>, <0x18460 4>;
reg-names = "comphy", "conf";
#address-cells = <1>;
#size-cells = <0>;
cpm_comphy0: phy@0 {
reg = <0>;
#phy-cells = <1>;
};
cpm_comphy1: phy@1 {
reg = <1>;
#phy-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell Armada CP110/CP115 UTMI PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,armada-cp110-utmi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Konstantin Porotchkin <kostap@marvell.com>"
On Armada 7k/8k and CN913x, there are two host and one device USB controllers. Each of two exiting UTMI PHYs could be connected to either USB host or USB device controller. The USB device controller can only be connected to a single UTMI PHY port 0.H----- USB HOST0 UTMI PHY0 --------/ 0.D-----0 \------ USB DEVICE 1.D-----1 UTMI PHY1 --------\ 1.H----- USB HOST1
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "marvell,cp110-utmi-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
marvell,system-controller — required here #
Phandle to the system controller node
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
swap-dx-lanes — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Specifies the ports which will swap the differential-pair (D+/D-), default is not-swapped.
Properties matching a name pattern (patternProperties) #
^usb-phy@[0|1]$ — name matches this regular expression #
Value type (type): "object"
Each UTMI PHY port must be represented as a sub-node.
Properties and child nodes (properties) #
reg — required here
phy port index.
Maximum number of items (maxItems): 1
#phy-cells — required here
Exact value (const): 0
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", "marvell,system-controller"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
cp0_utmi: utmi@580000 {
compatible = "marvell,cp110-utmi-phy";
reg = <0x580000 0x2000>;
marvell,system-controller = <&cp0_syscon0>;
#address-cells = <1>;
#size-cells = <0>;
cp0_utmi0: usb-phy@0 {
reg = <0>;
#phy-cells = <0>;
};
cp0_utmi1: usb-phy@1 {
reg = <1>;
#phy-cells = <0>;
};
};
cp0_usb3_0 {
usb-phy = <&cp0_usb3_0_phy0>;
phys = <&cp0_utmi0>;
phy-names = "utmi";
/* UTMI0 is connected to USB host controller (default mode) */
dr_mode = "host";
};
cp0_usb3_1 {
usb-phy = <&cp0_usb3_0_phy1>;
phys = <&cp0_utmi1>;
phy-names = "utmi";
/* UTMI1 is connected to USB device controller */
dr_mode = "peripheral";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 50: Required child nodes:
Marvell Berlin SATA PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,berlin2-sata-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Antoine Tenart <atenart@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,berlin2-sata-phy", "marvell,berlin2q-sata-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
#phy-cells — required here #
Exact value (const): 1
Properties matching a name pattern (patternProperties) #
^sata-phy@[0-1]$ — name matches this regular expression #
A SATA PHY sub-node.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Maximum value (maximum): 1
PHY index number.
Required in this object (required): "reg"
Required in this object (required): "compatible", "reg", "clocks", "#address-cells", "#size-cells", "#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/berlin2q.h>
phy@f7e900a0 {
compatible = "marvell,berlin2q-sata-phy";
reg = <0xf7e900a0 0x200>;
clocks = <&chip CLKID_SATA>;
#address-cells = <1>;
#size-cells = <0>;
#phy-cells = <1>;
sata-phy@0 {
reg = <0>;
};
sata-phy@1 {
reg = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell Berlin USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,berlin2-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Antoine Tenart <atenart@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,berlin2-usb-phy", "marvell,berlin2cd-usb-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "#phy-cells", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@f774000 {
compatible = "marvell,berlin2-usb-phy";
reg = <0xf774000 0x128>;
#phy-cells = <0>;
resets = <&chip 0x104 14>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell MVEBU COMPHY Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,comphy-cp110.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Miquel Raynal <miquel.raynal@bootlin.com>"
COMPHY controllers can be found on the following Marvell MVEBU SoCs:
* Armada 7k/8k (on the CP110)
* Armada 3700
It provides a number of shared PHYs used by various interfaces (network, SATA, USB, PCIe...).
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,comphy-cp110", "marvell,comphy-a3700"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Generic COMPHY registers
Item 2
Lane 1 (PCIe/GbE) registers (Armada 3700)
Item 3
Lane 0 (USB3/GbE) registers (Armada 3700)
Item 4
Lane 2 (SATA/USB3) registers (Armada 3700)
reg-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"comphy"
Item 2
Exact value (
const):"lane1_pcie_gbe"
Item 3
Exact value (
const):"lane0_usb3_gbe"
Item 4
Exact value (
const):"lane2_sata_usb3"
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
marvell,system-controller — not listed as required here #
Phandle to the Marvell system controller (CP110 only)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Properties matching a name pattern (patternProperties) #
^phy@[0-5]$ — name matches this regular expression #
A COMPHY lane child node
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
COMPHY lane number
Maximum value (maximum): 5
#phy-cells — required here
Exact value (const): 1
connector — not listed as required here
Value type (type): "object"
Required in this object (required): "reg", "#phy-cells"
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"marvell,comphy-a3700"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereExact value (
const):"xtal"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"mg_clk"Item 2
Exact value (
const):"mg_core_clk"Item 3
Exact value (
const):"axi_clk"Required in this object (
required):"marvell,system-controller"
Examples (examples) #
phy@120000 {
compatible = "marvell,comphy-cp110";
reg = <0x120000 0x6000>;
clocks = <&clk 1 5>, <&clk 1 6>, <&clk 1 18>;
clock-names = "mg_clk", "mg_core_clk", "axi_clk";
#address-cells = <1>;
#size-cells = <0>;
marvell,system-controller = <&syscon0>;
phy@0 {
reg = <0>;
#phy-cells = <1>;
};
phy@1 {
reg = <1>;
#phy-cells = <1>;
};
};
phy@18300 {
compatible = "marvell,comphy-a3700";
reg = <0x18300 0x300>,
<0x1F000 0x400>,
<0x5C000 0x400>,
<0xe0178 0x8>;
reg-names = "comphy",
"lane1_pcie_gbe",
"lane0_usb3_gbe",
"lane2_sata_usb3";
#address-cells = <1>;
#size-cells = <0>;
comphy0: phy@0 {
reg = <0>;
#phy-cells = <1>;
};
comphy1: phy@1 {
reg = <1>;
#phy-cells = <1>;
};
comphy2: 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)
Marvell MMP2/PXA USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,mmp2-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,mmp2-usb-phy", "marvell,pxa910-usb-phy", "marvell,pxa168-usb-phy"
reg — not listed as required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usbphy@d4207000 {
compatible = "marvell,mmp2-usb-phy";
reg = <0xd4207000 0x40>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell MMP3 HSIC PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,mmp3-hsic-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "marvell,mmp3-hsic-phy"
reg — required here #
Maximum number of items (maxItems): 1
base address of the device
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
hsic-phy@f0001800 {
compatible = "marvell,mmp3-hsic-phy";
reg = <0xf0001800 0x40>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
Line 2: Copyright 2019 Lubomir Rintel <lkundrak@v3.sk>
Marvell MMP3 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,mmp3-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^usb-phy@[a-f0-9]+$"
compatible — required here #
Exact value (const): "marvell,mmp3-usb-phy"
reg — required here #
Maximum number of items (maxItems): 1
base address of the device
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@d4207000 {
compatible = "marvell,mmp3-usb-phy";
reg = <0xd4207000 0x40>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
Line 2: Copyright 2019,2020 Lubomir Rintel <lkundrak@v3.sk>
Marvell MVEBU SATA PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,mvebu-sata-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "marvell,mvebu-sata-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sata"
#phy-cells — required here #
Exact value (const): 0
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) #
sata-phy@84000 {
compatible = "marvell,mvebu-sata-phy";
reg = <0x84000 0x0334>;
clocks = <&gate_clk 15>;
clock-names = "sata";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell PXA1928 USB/HSIC PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/marvell,pxa1928-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Duje Mihanović <duje.mihanovic@skole.hr>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,pxa1928-usb-phy", "marvell,pxa1928-hsic-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
resets — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "#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/marvell,pxa1928.h>
usbphy: phy@7000 {
compatible = "marvell,pxa1928-usb-phy";
reg = <0x7000 0xe0>;
clocks = <&apmu PXA1928_CLK_USB>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek MIPI Display Serial Interface (DSI) PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,dsi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>", "Chunfeng Yun <chunfeng.yun@mediatek.com>"
The MIPI DSI PHY supports up to 4-lane output.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^dsi-phy@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mediatek,mt2701-mipi-tx"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mediatek,mt8173-mipi-tx"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt6893-mipi-tx","mediatek,mt8188-mipi-tx","mediatek,mt8195-mipi-tx","mediatek,mt8365-mipi-tx"Item 2
Exact value (
const):"mediatek,mt8183-mipi-tx"
Rule 4
Exact value (
const):"mediatek,mt2701-mipi-tx"
Rule 5
Exact value (
const):"mediatek,mt8173-mipi-tx"
Rule 6
Exact value (
const):"mediatek,mt8183-mipi-tx"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PLL reference clock
clock-output-names — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
#clock-cells — required here #
Exact value (const): 0
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 1
A phandle to the calibration data provided by a nvmem device, if unspecified, default values shall be used.
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"calibration-data"
drive-strength-microamp — not listed as required here #
adjust driving current
Multiple of (multipleOf): 200
Minimum value (minimum): 2000
Maximum value (maximum): 6000
Default value (default): 4600
Required in this object (required): "compatible", "reg", "clocks", "clock-output-names", "#phy-cells", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8173-clk.h>
dsi-phy@10215000 {
compatible = "mediatek,mt8173-mipi-tx";
reg = <0x10215000 0x1000>;
clocks = <&clk26m>;
clock-output-names = "mipi_tx0_pll";
drive-strength-microamp = <4000>;
nvmem-cells = <&mipi_tx_calibration>;
nvmem-cell-names = "calibration-data";
#clock-cells = <0>;
#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 2: Copyright (c) 2020 MediaTek
MediaTek High Definition Multimedia Interface (HDMI) PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,hdmi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>", "Chunfeng Yun <chunfeng.yun@mediatek.com>"
The HDMI PHY serializes the HDMI encoder's three channel 10-bit parallel output and drives the HDMI pads.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^hdmi-phy@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mediatek,mt2701-hdmi-phy"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mediatek,mt8195-hdmi-phy"
Rule 3
Exact value (
const):"mediatek,mt2701-hdmi-phy"
Rule 4
Exact value (
const):"mediatek,mt8173-hdmi-phy"
Rule 5
Exact value (
const):"mediatek,mt8195-hdmi-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
PLL reference clock
Item 2
HDMI 26MHz clock
Item 3
HDMI PLL1 clock
Item 4
HDMI PLL2 clock
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"pll_ref"
Item 2
Exact value (
const):"26m"
Item 3
Exact value (
const):"pll1"
Item 4
Exact value (
const):"pll2"
clock-output-names — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
#clock-cells — required here #
Exact value (const): 0
mediatek,ibias — not listed as required here #
TX DRV bias current for < 1.65Gbps
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 63
Default value (default): 10
mediatek,ibias_up — not listed as required here #
TX DRV bias current for >= 1.65Gbps
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 63
Default value (default): 28
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "clock-output-names", "#phy-cells", "#clock-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"mediatek,mt8195-hdmi-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8173-clk.h>
hdmi_phy: hdmi-phy@10209100 {
compatible = "mediatek,mt8173-hdmi-phy";
reg = <0x10209100 0x24>;
clocks = <&apmixedsys CLK_APMIXED_HDMI_REF>;
clock-names = "pll_ref";
clock-output-names = "hdmitx_dig_cts";
mediatek,ibias = <0xa>;
mediatek,ibias_up = <0x1c>;
#clock-cells = <0>;
#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 2: Copyright (c) 2020 MediaTek
Mediatek Mt7621 PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,mt7621-pci-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sergio Paracuellos <sergio.paracuellos@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt7621-pci-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 1
selects if the phy is dual-ported
Required in this object (required): "compatible", "reg", "clocks", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pcie0_phy: pcie-phy@1e149000 {
compatible = "mediatek,mt7621-pci-phy";
reg = <0x1e149000 0x0700>;
clocks = <&sysc 0>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Mediatek/Ralink USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,mt7628-usbphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sergio Paracuellos <sergio.paracuellos@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mediatek,mt7620-usbphy", "mediatek,mt7628-usbphy", "ralink,rt3352-usbphy"
reg — not listed as required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
ralink,sysctl — required here #
phandle to a ralink syscon register region.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
resets — required here #
Array item rules (items) #
Item 1
USB Host reset controller
Item 2
USB Device reset controller
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"host"
Item 2
Exact value (
const):"device"
Required in this object (required): "compatible", "#phy-cells", "ralink,sysctl", "resets", "reset-names"
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):"mediatek,mt7628-usbphy"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@10120000 {
compatible = "mediatek,mt7628-usbphy";
reg = <0x10120000 0x1000>;
#phy-cells = <0>;
ralink,sysctl = <&sysc>;
resets = <&rstctrl 22>,
<&rstctrl 25>;
reset-names = "host", "device";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek MT7988 XFI T-PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,mt7988-xfi-tphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daniel Golle <daniel@makrotopia.org>"
The MediaTek XFI SerDes T-PHY provides the physical SerDes lanes used by the (10G/5G) USXGMII PCS and (1G/2.5G) LynxI PCS found in MediaTek's 10G-capabale MT7988 SoC. In MediaTek's SDK sources, this unit is referred to as "pextp".
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt7988-xfi-tphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
XFI PHY clock
Item 2
XFI register clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"xfipll"
Item 2
Exact value (
const):"topxtal"
resets — required here #
Array item rules (items) #
Item 1
Reset controller corresponding to the phy instance.
mediatek,usxgmii-performance-errata — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
One instance of the T-PHY on MT7988 suffers from a performance problem in 10GBase-R mode which needs a work-around in the driver. This flag enables a work-around adjusting an analog phy setting and is required for XFI Port0 of the MT7988 SoC to be in compliance with the SFP specification.
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "#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/mediatek,mt7988-clk.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
phy@11f20000 {
compatible = "mediatek,mt7988-xfi-tphy";
reg = <0 0x11f20000 0 0x10000>;
clocks = <&xfi_pll CLK_XFIPLL_PLL_EN>,
<&topckgen CLK_TOP_XFI_PHY_0_XTAL_SEL>;
clock-names = "xfipll", "topxtal";
resets = <&watchdog 14>;
mediatek,usxgmii-performance-errata;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Mediatek Sensor Interface MIPI CSI CD-PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,mt8365-csi-rx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Julien Stephan <jstephan@baylibre.com>", "Andy Hsieh <andy.hsieh@mediatek.com>"
The SENINF CD-PHY is a set of CD-PHY connected to the SENINF CSI-2 receivers. The number of PHYs depends on the SoC model. Depending on the SoC model, each PHYs can be either CD-PHY or D-PHY only capable.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mediatek,mt8365-csi-rx"
reg — required here #
Maximum number of items (maxItems): 1
num-lanes — required here #
Allowed values (enum): 2, 3, 4
#phy-cells — required here #
If the PHY doesn't support mode selection then #phy-cells must be 0 and
PHY mode is described using phy-type property.
If the PHY supports mode selection, then #phy-cells must be 1 and mode
is set in the PHY cells. Supported modes are:
- PHY_TYPE_DPHY
- PHY_TYPE_CPHY
See include/dt-bindings/phy/phy.h for constants.
phy-type — not listed as required here #
If the PHY doesn't support mode selection then this set the operating mode. See include/dt-bindings/phy/phy.h for constants.
Exact value (const): 10
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible", "reg", "num-lanes", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
csi0_rx: phy@11c10000 {
compatible = "mediatek,mt8365-csi-rx";
reg = <0 0x11c10000 0 0x2000>;
num-lanes = <2>;
#phy-cells = <1>;
};
csi1_rx: phy@11c12000 {
compatible = "mediatek,mt8365-csi-rx";
reg = <0 0x11c12000 0 0x2000>;
phy-type = <PHY_TYPE_DPHY>;
num-lanes = <2>;
#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 2: Copyright (c) 2023 MediaTek, BayLibre
MediaTek PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jianjun Wang <jianjun.wang@mediatek.com>"
The PCIe PHY supports physical layer functionality for PCIe Gen3 port.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt8195-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sif"
#phy-cells — required here #
Exact value (const): 0
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 7
Phandles to nvmem cell that contains the efuse data, if unspecified, default value is used.
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"glb_intr"
Item 2
Exact value (
const):"tx_ln0_pmos"
Item 3
Exact value (
const):"tx_ln0_nmos"
Item 4
Exact value (
const):"rx_ln0"
Item 5
Exact value (
const):"tx_ln1_pmos"
Item 6
Exact value (
const):"tx_ln1_nmos"
Item 7
Exact value (
const):"rx_ln1"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@11e80000 {
compatible = "mediatek,mt8195-pcie-phy";
#phy-cells = <0>;
reg = <0x11e80000 0x10000>;
reg-names = "sif";
nvmem-cells = <&pciephy_glb_intr>,
<&pciephy_tx_ln0_pmos>,
<&pciephy_tx_ln0_nmos>,
<&pciephy_rx_ln0>,
<&pciephy_tx_ln1_pmos>,
<&pciephy_tx_ln1_nmos>,
<&pciephy_rx_ln1>;
nvmem-cell-names = "glb_intr", "tx_ln0_pmos",
"tx_ln0_nmos", "rx_ln0",
"tx_ln1_pmos", "tx_ln1_nmos",
"rx_ln1";
power-domains = <&spm 2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MediaTek T-PHY Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,tphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chunfeng Yun <chunfeng.yun@mediatek.com>"
The T-PHY controller supports physical layer functionality for a number of controllers on MediaTek SoCs, includes USB2.0, USB3.0, PCIe and SATA.
Layout differences of banks between T-PHY V1 (mt8173/mt2701) and
T-PHY V2 (mt2712) / V3 (mt8195) when works on USB mode:
-----------------------------------
Version 1:
port offset bank
shared 0x0000 SPLLC
0x0100 FMREG
u2 port0 0x0800 U2PHY_COM
u3 port0 0x0900 U3PHYD
0x0a00 U3PHYD_BANK2
0x0b00 U3PHYA
0x0c00 U3PHYA_DA
u2 port1 0x1000 U2PHY_COM
u3 port1 0x1100 U3PHYD
0x1200 U3PHYD_BANK2
0x1300 U3PHYA
0x1400 U3PHYA_DA
u2 port2 0x1800 U2PHY_COM
...
Version 2/3:
port offset bank
u2 port0 0x0000 MISC
0x0100 FMREG
0x0300 U2PHY_COM
u3 port0 0x0700 SPLLC
0x0800 CHIP
0x0900 U3PHYD
0x0a00 U3PHYD_BANK2
0x0b00 U3PHYA
0x0c00 U3PHYA_DA
u2 port1 0x1000 MISC
0x1100 FMREG
0x1300 U2PHY_COM
u3 port1 0x1700 SPLLC
0x1800 CHIP
0x1900 U3PHYD
0x1a00 U3PHYD_BANK2
0x1b00 U3PHYA
0x1c00 U3PHYA_DA
u2 port2 0x2000 MISC
...
SPLLC shared by u3 ports and FMREG shared by u2 ports on V1 are put back into each port; a new bank MISC for u2 ports and CHIP for u3 ports are added on V2; the FMREG bank for slew rate calibration is not used anymore and reserved on V3;
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^t-phy(@[0-9a-f]+)?$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt2701-tphy","mediatek,mt7623-tphy","mediatek,mt7622-tphy","mediatek,mt8516-tphy"Item 2
Exact value (
const):"mediatek,generic-tphy-v1"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt2712-tphy","mediatek,mt6893-tphy","mediatek,mt7629-tphy","mediatek,mt7981-tphy","mediatek,mt7986-tphy","mediatek,mt8183-tphy","mediatek,mt8186-tphy","mediatek,mt8192-tphy","mediatek,mt8365-tphy"Item 2
Exact value (
const):"mediatek,generic-tphy-v2"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt8188-tphy","mediatek,mt8195-tphy"Item 2
Exact value (
const):"mediatek,generic-tphy-v3"
Rule 4
Exact value (
const):"mediatek,mt2701-u3phy"Deprecated (
deprecated):true
Rule 5
Exact value (
const):"mediatek,mt2712-u3phy"Deprecated (
deprecated):true
Rule 6
Exact value (
const):"mediatek,mt8173-u3phy"
reg — not listed as required here #
Register shared by multiple ports, exclude port's private register. It is needed for T-PHY V1, such as mt2701 and mt8173, but not for T-PHY V2/V3, such as mt2712.
Maximum number of items (maxItems): 1
#address-cells — required here #
#size-cells — required here #
ranges — required here #
true — No constraints added by this property rule.
mediatek,src-ref-clk-mhz — not listed as required here #
Frequency of reference clock for slew rate calibrate
Default value (default): 26
mediatek,src-coef — not listed as required here #
Coefficient for slew rate calibrate, depends on SoC process
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 28
power-domains — not listed as required here #
The TPHY of MediaTek should exist within a power domain. The developer should be aware that the hardware design of MediaTek TPHY does not require the addition of MTCMOS. If the power to the TPHY is turned off, it will impact other functions. From the current perspective of USB hardware design, even if MTCMOS is added to the TPHY, it should remain always on.
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^(usb|pcie|sata)-phy@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
A sub-node is required for each port the controller provides. Address range information including the usual 'reg' property is used inside these nodes to describe the controller's topology.
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
clocks — not listed as required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Reference clock, (HS is 48Mhz, SS/P is 24~27Mhz)
Item 2
Reference clock of analog phy
Uses both clocks if the clock of analog and digital phys are separated, otherwise uses "ref" clock only if needed.
clock-names — not listed as required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"da_ref"
#phy-cells — required here
Exact value (const): 1
The cells contain the following arguments.
- description: The PHY type
enum:
- PHY_TYPE_USB2
- PHY_TYPE_USB3
- PHY_TYPE_PCIE
- PHY_TYPE_SATA
- PHY_TYPE_SGMII
nvmem-cells — not listed as required here
Array item rules (items)
Item 1
internal R efuse for U2 PHY or U3/PCIe PHY
Item 2
rx_imp_sel efuse for U3/PCIe PHY
Item 3
tx_imp_sel efuse for U3/PCIe PHY
Phandles to nvmem cell that contains the efuse data; Available only for U2 PHY or U3/PCIe PHY of version 2/3, these three items should be provided at the same time for U3/PCIe PHY, when use software to load efuse; If unspecified, will use hardware auto-load efuse.
nvmem-cell-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"intr"
Item 2
Exact value (
const):"rx_imp"
Item 3
Exact value (
const):"tx_imp"
mediatek,eye-src — not listed as required here
The value of slew rate calibrate (U2 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 7
mediatek,eye-vrt — not listed as required here
The selection of VRT reference voltage (U2 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 7
mediatek,eye-term — not listed as required here
The selection of HS_TX TERM reference voltage (U2 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 7
mediatek,intr — not listed as required here
The selection of internal resistor (U2 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 31
mediatek,discth — not listed as required here
The selection of disconnect threshold (U2 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 15
mediatek,pre-emphasis — not listed as required here
The level of pre-emphasis which used to widen the eye opening and boost eye swing, the unit step is about 4.16% increment; e.g. the level 1 means amplitude increases about 4.16%, the level 2 is about 8.3% etc. (U2 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 3
mediatek,bc12 — not listed as required here
Specify the flag to enable BC1.2 if support it
Value type (type): "boolean"
mediatek,force-mode — not listed as required here
The force mode is used to manually switch the shared phy mode between USB3 and PCIe, when USB3 phy type is selected by the consumer, and force-mode is set, will cause phy's power and pipe toggled and force phy as USB3 mode which switched from default PCIe mode. But prefer to use the property "mediatek,syscon-type" for newer SoCs that support it.
Value type (type): "boolean"
mediatek,syscon-type — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Maximum number of items (maxItems): 1
A phandle to syscon used to access the register of type switch, the field should always be 3 cells long.
Array item rules (items)
Array item rules (
items)Item 1
The first cell represents a phandle to syscon
Item 2
The second cell represents the register offset
Item 3
The third cell represents the index of config segment
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", "#address-cells", "#size-cells", "ranges"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/phy/phy.h>
usb@11271000 {
compatible = "mediatek,mt8173-mtu3", "mediatek,mtu3";
reg = <0x11271000 0x3000>, <0x11280700 0x0100>;
reg-names = "mac", "ippc";
phys = <&u2port0 PHY_TYPE_USB2>,
<&u3port0 PHY_TYPE_USB3>,
<&u2port1 PHY_TYPE_USB2>;
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>;
clocks = <&topckgen CLK_TOP_USB30_SEL>;
clock-names = "sys_ck";
};
t-phy@11290000 {
compatible = "mediatek,mt8173-u3phy";
reg = <0x11290000 0x800>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
u2port0: usb-phy@11290800 {
reg = <0x11290800 0x100>;
clocks = <&apmixedsys CLK_APMIXED_REF2USB_TX>, <&clk48m>;
clock-names = "ref", "da_ref";
#phy-cells = <1>;
};
u3port0: usb-phy@11290900 {
reg = <0x11290900 0x700>;
clocks = <&clk26m>;
clock-names = "ref";
#phy-cells = <1>;
};
u2port1: usb-phy@11291000 {
reg = <0x11291000 0x100>;
#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 2: Copyright (c) 2020 MediaTek
Line 114: Used with non-empty value if optional 'reg' is not provided.
Line 115: The format of the value is an arbitrary number of triplets of
Line 116: (child-bus-address, parent-bus-address, length).
Line 140: Required child node:
Line 199: The following optional vendor properties are only for debug or HQA test
MediaTek Universal Flash Storage (UFS) M-PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,ufs-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chunfeng Yun <chunfeng.yun@mediatek.com>", "Peter Wang <peter.wang@mediatek.com>", "Chaotian Jing <chaotian.jing@mediatek.com>"
UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro. Each UFS M-PHY node should have its own node. To bind UFS M-PHY with UFS host controller, the controller node should contain a phandle reference to UFS M-PHY node.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^ufs-phy@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mediatek,mt8183-ufsphy"
Rule 2
Exact value (
const):"mediatek,mt8183-ufsphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Unipro core control clock.
Item 2
M-PHY core control clock.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"unipro"
Item 2
Exact value (
const):"mp"
#phy-cells — required here #
Exact value (const): 0
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) #
#include <dt-bindings/clock/mt8183-clk.h>
ufsphy: ufs-phy@11fa0000 {
compatible = "mediatek,mt8183-ufsphy";
reg = <0x11fa0000 0xc000>;
clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>,
<&infracfg CLK_INFRA_UFS_MP_SAP_BCLK>;
clock-names = "unipro", "mp";
#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 2: Copyright (c) 2020 MediaTek
MediaTek XS-PHY Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,xsphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chunfeng Yun <chunfeng.yun@mediatek.com>"
The XS-PHY controller supports physical layer functionality for USB3.1 GEN2 controller on MediaTek SoCs.
Banks layout of xsphy
----------------------------------
port offset bank
u2 port0 0x0000 MISC
0x0100 FMREG
0x0300 U2PHY_COM
u2 port1 0x1000 MISC
0x1100 FMREG
0x1300 U2PHY_COM
u2 port2 0x2000 MISC
...
u31 common 0x3000 DIG_GLB
0x3100 PHYA_GLB
u31 port0 0x3400 DIG_LN_TOP
0x3500 DIG_LN_TX0
0x3600 DIG_LN_RX0
0x3700 DIG_LN_DAIF
0x3800 PHYA_LN
u31 port1 0x3a00 DIG_LN_TOP
0x3b00 DIG_LN_TX0
0x3c00 DIG_LN_RX0
0x3d00 DIG_LN_DAIF
0x3e00 PHYA_LN
...
DIG_GLB & PHYA_GLB are shared by U31 ports.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^xs-phy@[0-9a-f]+$"
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"mediatek,mt3611-xsphy","mediatek,mt3612-xsphy","mediatek,mt7988-xsphy"
Item 2
Exact value (
const):"mediatek,xsphy"
reg — not listed as required here #
Register shared by multiple U3 ports, exclude port's private register, if only U2 ports provided, shouldn't use the property.
Maximum number of items (maxItems): 1
#address-cells — required here #
#size-cells — required here #
ranges — required here #
true — No constraints added by this property rule.
mediatek,src-ref-clk-mhz — not listed as required here #
Frequency of reference clock for slew rate calibrate
Default value (default): 26
mediatek,src-coef — not listed as required here #
Coefficient for slew rate calibrate, depends on SoC process
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 17
Properties matching a name pattern (patternProperties) #
^usb-phy@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
A sub-node is required for each port the controller provides. Address range information including the usual 'reg' property is used inside these nodes to describe the controller's topology.
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
clocks — required here
Array item rules (items)
Item 1
Reference clock, (HS is 48Mhz, SS/P is 24~27Mhz)
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"ref"
#phy-cells — required here
Exact value (const): 1
The cells contain the following arguments.
- description: The PHY type
enum:
- PHY_TYPE_USB2
- PHY_TYPE_USB3
mediatek,eye-src — not listed as required here
The value of slew rate calibrate (U2 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 7
mediatek,eye-vrt — not listed as required here
The selection of VRT reference voltage (U2 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 7
mediatek,eye-term — not listed as required here
The selection of HS_TX TERM reference voltage (U2 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 7
mediatek,efuse-intr — not listed as required here
The selection of Internal Resistor (U2/U3 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 63
mediatek,efuse-tx-imp — not listed as required here
The selection of TX Impedance (U3 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 31
mediatek,efuse-rx-imp — not listed as required here
The selection of RX Impedance (U3 phy)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 31
mediatek,syscon-type — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
A phandle to syscon used to access the register of type switch, the field should always be 3 cells long.
Array item rules (items)
Item 1
Array item rules (
items)Item 1
Phandle to phy type configuration system controller
Item 2
Phy type configuration register offset
Item 3
Index of config segment
Required in this object (required): "reg", "clocks", "clock-names", "#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", "#address-cells", "#size-cells", "ranges"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy.h>
u3phy: xs-phy@11c40000 {
compatible = "mediatek,mt3611-xsphy", "mediatek,xsphy";
reg = <0x11c43000 0x0200>;
mediatek,src-ref-clk-mhz = <26>;
mediatek,src-coef = <17>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
u2port0: usb-phy@11c40000 {
reg = <0x11c40000 0x0400>;
clocks = <&clk48m>;
clock-names = "ref";
mediatek,eye-src = <4>;
#phy-cells = <1>;
};
u3port0: usb-phy@11c43000 {
reg = <0x11c43400 0x0500>;
clocks = <&clk26m>;
clock-names = "ref";
mediatek,efuse-intr = <28>;
#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 2: Copyright (c) 2020 MediaTek
Line 80: Required child node:
Line 111: The following optional vendor properties are only for debug or HQA test
Microchip Lan966x Serdes controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/microchip,lan966x-serdes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Horatiu Vultur <horatiu.vultur@microchip.com>"
Lan966x has 7 interfaces, consisting of 2 copper transceivers(CU), 3 SERDES6G and 2 RGMII interfaces. Two of the SERDES6G support QSGMII. Also it has 8 logical Ethernet ports which can be connected to these interfaces. The Serdes controller will allow to configure these interfaces and allows to "mux" the interfaces to different ports.
For simple selection of the interface that is used with a port, the following macros are defined CU(X), SERDES6G(X), RGMII(X). Where X is a number that represents the index of that interface type. For example CU(1) means use interface copper transceivers 1. SERDES6G(2) means use interface SerDes 2.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^serdes@[0-9a-f]+$"
compatible — required here #
Exact value (const): "microchip,lan966x-serdes"
reg — required here #
Array item rules (items) #
Item 1
HSIO registers
Item 2
HW_STAT register
#phy-cells — required here #
Exact value (const): 2
- Input port to use for a given macro.
- The macro to be used. The macros are defined in
dt-bindings/phy/phy-lan966x-serdes.
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
serdes: serdes@e2004010 {
compatible = "microchip,lan966x-serdes";
reg = <0xe202c000 0x9c>, <0xe2004010 0x4>;
#phy-cells = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Microchip Sparx5 Serdes controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/microchip,sparx5-serdes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Steen Hegelund <steen.hegelund@microchip.com>", "Daniel Machon <daniel.machon@microchip.com>"
The Sparx5 SERDES interfaces share the same basic functionality, but support different operating modes and line rates.
The following list lists the SERDES features:
* RX Adaptive Decision Feedback Equalizer (DFE) * Programmable continuous time linear equalizer (CTLE) * Rx variable gain control * Rx built-in fault detector (loss-of-lock/loss-of-signal) * Adjustable tx de-emphasis (FFE) * Tx output amplitude control * Supports rx eye monitor * Multiple loopback modes * Prbs generator and checker * Polarity inversion control
SERDES6G:
The SERDES6G is a high-speed SERDES interface, which can operate at the following data rates:
* 100 Mbps (100BASE-FX) * 1.25 Gbps (SGMII/1000BASE-X/1000BASE-KX) * 3.125 Gbps (2.5GBASE-X/2.5GBASE-KX) * 5.15625 Gbps (5GBASE-KR/5G-USXGMII)
SERDES10G
The SERDES10G is a high-speed SERDES interface, which can operate at the following data rates:
* 100 Mbps (100BASE-FX) * 1.25 Gbps (SGMII/1000BASE-X/1000BASE-KX) * 3.125 Gbps (2.5GBASE-X/2.5GBASE-KX) * 5 Gbps (QSGMII/USGMII) * 5.15625 Gbps (5GBASE-KR/5G-USXGMII) * 10 Gbps (10G-USGMII) * 10.3125 Gbps (10GBASE-R/10GBASE-KR/USXGMII)
SERDES25G
The SERDES25G is a high-speed SERDES interface, which can operate at the following data rates:
* 1.25 Gbps (SGMII/1000BASE-X/1000BASE-KX) * 3.125 Gbps (2.5GBASE-X/2.5GBASE-KX) * 5 Gbps (QSGMII/USGMII) * 5.15625 Gbps (5GBASE-KR/5G-USXGMII) * 10 Gbps (10G-USGMII) * 10.3125 Gbps (10GBASE-R/10GBASE-KR/USXGMII) * 25.78125 Gbps (25GBASE-KR/25GBASE-CR/25GBASE-SR/25GBASE-LR/25GBASE-ER)
lan969x has ten SERDES10G interfaces that share the same features, operating modes and data rates as the equivalent Sparx5 SERDES10G interfaces.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^serdes@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"microchip,sparx5-serdes","microchip,lan9691-serdes"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"microchip,lan9698-serdes","microchip,lan9696-serdes","microchip,lan9694-serdes","microchip,lan9693-serdes","microchip,lan9692-serdes"Item 2
Exact value (
const):"microchip,lan9691-serdes"
reg — required here #
Minimum number of items (minItems): 1
#phy-cells — required here #
Exact value (const): 1
- The main serdes input port
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
serdes: serdes@10808000 {
compatible = "microchip,sparx5-serdes";
#phy-cells = <1>;
clocks = <&sys_clk>;
reg = <0x10808000 0x5d0000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Mixel DSI PHY for i.MX8
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mixel,mipi-dsi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guido Günther <agx@sigxcpu.org>"
The Mixel MIPI-DSI PHY IP block is e.g. found on i.MX8 platforms (along the MIPI-DSI IP from Northwest Logic). It represents the physical layer for the electrical signals for DSI.
The Mixel PHY IP block found on i.MX8qxp is a combo PHY that can work in either MIPI-DSI PHY mode or LVDS PHY mode.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8mq-mipi-dphy", "fsl,imx8qxp-mipi-dphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "phy_ref"
#phy-cells — required here #
Exact value (const): 0
fsl,syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle which points to Control and Status Registers(CSR) module.
power-domains — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#phy-cells", "power-domains"
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):"fsl,imx8mq-mipi-dphy"When the condition matches (
then) #Properties and child nodes (
properties)
fsl,syscon— not listed as required here
false— Not permitted by this property rule.Required in this object (
required):"assigned-clocks","assigned-clock-parents","assigned-clock-rates"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"fsl,imx8qxp-mipi-dphy"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mq-clock.h>
dphy: dphy@30a0030 {
compatible = "fsl,imx8mq-mipi-dphy";
reg = <0x30a00300 0x100>;
clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>;
clock-names = "phy_ref";
assigned-clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>;
assigned-clock-parents = <&clk IMX8MQ_VIDEO_PLL1_OUT>;
assigned-clock-rates = <24000000>;
#phy-cells = <0>;
power-domains = <&pgc_mipi>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Motorola CPCAP PMIC USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/motorola,cpcap-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "motorola,cpcap-usb-phy", "motorola,mapphone-cpcap-usb-phy"
#phy-cells — required here #
Exact value (const): 0
interrupts — not listed as required here #
CPCAP PMIC interrupts used by the USB PHY
Array item rules (items) #
Item 1
id_ground interrupt
Item 2
id_float interrupt
Item 3
se0conn interrupt
Item 4
vbusvld interrupt
Item 5
sessvld interrupt
Item 6
sessend interrupt
Item 7
se1 interrupt
Item 8
dm interrupt
Item 9
dp interrupt
interrupt-names — required here #
Interrupt names
Array item rules (items) #
Item 1
Exact value (
const):"id_ground"
Item 2
Exact value (
const):"id_float"
Item 3
Exact value (
const):"se0conn"
Item 4
Exact value (
const):"vbusvld"
Item 5
Exact value (
const):"sessvld"
Item 6
Exact value (
const):"sessend"
Item 7
Exact value (
const):"se1"
Item 8
Exact value (
const):"dm"
Item 9
Exact value (
const):"dp"
io-channels — required here #
IIO ADC channels used by the USB PHY
Array item rules (items) #
Item 1
vbus channel
Item 2
id channel
io-channel-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vbus"
Item 2
Exact value (
const):"id"
vusb-supply — required here #
true — No constraints added by this property rule.
pinctrl-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"default"
Item 2
Exact value (
const):"ulpi"
Item 3
Exact value (
const):"utmi"
Item 4
Exact value (
const):"uart"
mode-gpios — not listed as required here #
Optional GPIOs for configuring alternate modes
Array item rules (items) #
Item 1
mode selection GPIO#0
Item 2
mode selection GPIO#1
Required in this object (required): "compatible", "#phy-cells", "interrupts-extended", "interrupt-names", "io-channels", "io-channel-names", "vusb-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
phy {
compatible = "motorola,mapphone-cpcap-usb-phy";
#phy-cells = <0>;
interrupts-extended = <
&cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0
&cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0
&cpcap 48 1
>;
interrupt-names = "id_ground", "id_float", "se0conn", "vbusvld",
"sessvld", "sessend", "se1", "dm", "dp";
io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
io-channel-names = "vbus", "id";
vusb-supply = <&vusb>;
pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;
pinctrl-1 = <&usb_ulpi_pins>;
pinctrl-2 = <&usb_utmi_pins>;
pinctrl-3 = <&uart3_pins>;
pinctrl-names = "default", "ulpi", "utmi", "uart";
mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, <&gpio1 0 GPIO_ACTIVE_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Motorola Mapphone MDM6600 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/motorola,mapphone-mdm6600.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"motorola,mapphone-mdm6600"
enable-gpios — required here #
GPIO to enable the USB PHY
Maximum number of items (maxItems): 1
power-gpios — required here #
GPIO to power on the device
Maximum number of items (maxItems): 1
reset-gpios — required here #
GPIO to reset the device
Maximum number of items (maxItems): 1
motorola,mode-gpios — required here #
Two GPIOs to configure MDM6600 USB start-up mode for normal mode versus USB flashing mode
Array item rules (items) #
Item 1
normal mode select GPIO
Item 2
USB flashing mode select GPIO
motorola,cmd-gpios — required here #
Three GPIOs to control the power state of the MDM6600
Array item rules (items) #
Item 1
power state control GPIO 0
Item 2
power state control GPIO 1
Item 3
power state control GPIO 2
motorola,status-gpios — required here #
Three GPIOs to read the power state of the MDM6600
Array item rules (items) #
Item 1
power state read GPIO 0
Item 2
power state read GPIO 1
Item 3
power state read GPIO 2
#phy-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "enable-gpios", "power-gpios", "reset-gpios", "motorola,mode-gpios", "motorola,cmd-gpios", "motorola,status-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
usb-phy {
compatible = "motorola,mapphone-mdm6600";
enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>,
<&gpio5 21 GPIO_ACTIVE_HIGH>;
motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>,
<&gpio4 8 GPIO_ACTIVE_HIGH>,
<&gpio5 14 GPIO_ACTIVE_HIGH>;
motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>,
<&gpio2 21 GPIO_ACTIVE_HIGH>,
<&gpio2 23 GPIO_ACTIVE_HIGH>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Microsemi Ocelot SerDes muxing
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/mscc,vsc7514-serdes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>", "UNGLinuxDriver@microchip.com"
On Microsemi Ocelot, there is a handful of registers in HSIO address space for setting up the SerDes to switch port muxing.
A SerDes X can be "muxed" to work with switch port Y or Z for example. One specific SerDes can also be used as a PCIe interface.
Hence, a SerDes represents an interface, be it an Ethernet or a PCIe one.
There are two kinds of SerDes: SERDES1G supports 10/100Mbps in half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode.
Also, SERDES6G number (aka "macro") 0 is the only interface supporting QSGMII.
This is a child of the HSIO syscon ("mscc,ocelot-hsio", see Documentation/devicetree/bindings/mips/mscc.txt) on the Microsemi Ocelot.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mscc,vsc7514-serdes"
#phy-cells — required here #
Exact value (const): 2
The first number defines the input port to use for a given SerDes macro. The second defines the macro to use. They are defined in dt-bindings/phy/phy-ocelot-serdes.h
Required in this object (required): "compatible", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
serdes: serdes {
compatible = "mscc,vsc7514-serdes";
#phy-cells = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Nuvoton MA35D1 USB2 phy
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/nuvoton,ma35d1-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hui-Ping Chen <hpchen0nvt@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nuvoton,ma35d1-usb2-phy"
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Maximum number of items (maxItems): 1
nuvoton,sys — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to syscon for checking the PHY clock status.
Required in this object (required): "compatible", "#phy-cells", "clocks", "nuvoton,sys"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
usb_phy: usb-phy {
compatible = "nuvoton,ma35d1-usb2-phy";
clocks = <&clk USBD_GATE>;
nuvoton,sys = <&sys>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NVIDIA Tegra124 XUSB pad controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/nvidia,tegra124-xusb-padctl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"
The Tegra XUSB pad controller manages a set of I/O lanes (with differential signals) which connect directly to pins/pads on the SoC package. Each lane is controlled by a HW block referred to as a "pad" in the Tegra hardware documentation. Each such "pad" may control either one or multiple lanes, and thus contains any logic common to all its lanes. Each lane can be separately configured and powered up.
Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or super-speed USB. Other lanes are for various types of low-speed, full-speed or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller contains a software-configurable mux that sits between the I/O controller ports (e.g. PCIe) and the lanes.
In addition to per-lane configuration, USB 3.0 ports may require additional settings on a per-board basis.
Pads will be represented as children of the top-level XUSB pad controller device tree node. Each lane exposed by the pad will be represented by its own subnode and can be referenced by users of the lane using the standard PHY bindings, as described by the phy-bindings.txt file in this directory.
The Tegra hardware documentation refers to the connection between the XUSB pad controller and the XUSB controller as "ports". This is confusing since "port" is typically used to denote the physical USB receptacle. The device tree binding in this document uses the term "port" to refer to the logical abstraction of the signals that are routed to a USB receptacle (i.e. a PHY for the USB signal, the VBUS power supply, the USB 2.0 companion port for USB 3.0 receptacles, ...).
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra132-xusb-padctl"Item 2
Exact value (
const):"nvidia,tegra124-xusb-padctl"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Array item rules (items) #
Item 1
XUSB pad controller interrupt
resets — required here #
Array item rules (items) #
Item 1
pad controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"padctl"
avdd-pll-utmip-supply — required here #
UTMI PLL power supply. Must supply 1.8 V.
avdd-pll-erefe-supply — required here #
PLLE reference PLL power supply. Must supply 1.05 V.
avdd-pex-pll-supply — required here #
PCIe/USB3 PLL power supply. Must supply 1.05 V.
hvdd-pex-pll-e-supply — required here #
High-voltage PLLE power supply. Must supply 3.3 V.
pads — not listed as required here #
A required child node named "pads" contains a list of subnodes, one for each of the pads exposed by the XUSB pad controller. Each pad may need additional resources that can be referenced in its pad node. The "status" property is used to enable or disable the use of a pad. If set to "disabled", the pad will not be used on the given board. In order to use the pad and any of its lanes, this property must be set to "okay" or be absent.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
usb2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
USB2 tracking clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"trk"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
usb2-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb", "uart"
usb2-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb", "uart"
usb2-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb", "uart"
ulpi — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
ulpi-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb"
hsic — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
HSIC tracking clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"trk"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
hsic-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb"
hsic-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb"
pcie — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
PLLE clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"pll"
resets — not listed as required here
Array item rules (items)
Item 1
reset for the PCIe UPHY block
reset-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"phy"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
pcie-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie", "usb3-ss"
pcie-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie", "usb3-ss"
pcie-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie", "usb3-ss"
pcie-3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie", "usb3-ss"
pcie-4 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie", "usb3-ss"
sata — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
resets — not listed as required here
Array item rules (items)
Item 1
reset for the SATA UPHY block
reset-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"phy"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
sata-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "sata", "usb3-ss"
ports — not listed as required here #
A required child node named "ports" contains a list of subnodes, one for each of the ports exposed by the XUSB pad controller. Each port may need additional resources that can be referenced in its port node. The "status" property is used to enable or disable the use of a port. If set to "disabled", the port will not be used on the given board. In order to use the port, this property must be set to "okay".
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
usb2-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb2-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb2-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
ulpi-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
hsic-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
hsic-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "resets", "reset-names", "avdd-pll-utmip-supply", "avdd-pll-erefe-supply", "avdd-pex-pll-supply", "hvdd-pex-pll-e-supply"
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
padctl@7009f000 {
compatible = "nvidia,tegra124-xusb-padctl";
reg = <0x7009f000 0x1000>;
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
resets = <&tegra_car 142>;
reset-names = "padctl";
avdd-pll-utmip-supply = <&vddio_1v8>;
avdd-pll-erefe-supply = <&avdd_1v05_run>;
avdd-pex-pll-supply = <&vdd_1v05_run>;
hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
pads {
usb2 {
lanes {
usb2-0 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb2-1 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb2-2 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
};
};
ulpi {
lanes {
ulpi-0 {
status = "disabled";
#phy-cells = <0>;
};
};
};
hsic {
lanes {
hsic-0 {
status = "disabled";
#phy-cells = <0>;
};
hsic-1 {
status = "disabled";
#phy-cells = <0>;
};
};
};
pcie {
lanes {
pcie-0 {
nvidia,function = "usb3-ss";
#phy-cells = <0>;
};
pcie-1 {
status = "disabled";
#phy-cells = <0>;
};
pcie-2 {
nvidia,function = "pcie";
#phy-cells = <0>;
};
pcie-3 {
status = "disabled";
#phy-cells = <0>;
};
pcie-4 {
nvidia,function = "pcie";
#phy-cells = <0>;
};
};
};
sata {
lanes {
sata-0 {
nvidia,function = "sata";
#phy-cells = <0>;
};
};
};
};
ports {
/* Micro A/B */
usb2-0 {
mode = "otg";
};
/* Mini PCIe */
usb2-1 {
mode = "host";
};
/* USB3 */
usb2-2 {
vbus-supply = <&vdd_usb3_vbus>;
mode = "host";
};
ulpi-0 {
status = "disabled";
};
hsic-0 {
status = "disabled";
};
hsic-1 {
status = "disabled";
};
usb3-0 {
nvidia,usb2-companion = <2>;
};
usb3-1 {
status = "disabled";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 333: no need to further describe this because the connector will
Line 334: match on gpio-usb-b-connector or usb-b-connector and cause
Line 335: that binding to be selected for the subnode
Line 368: no need to further describe this because the connector will
Line 369: match on gpio-usb-b-connector or usb-b-connector and cause
Line 370: that binding to be selected for the subnode
Line 403: no need to further describe this because the connector will
Line 404: match on gpio-usb-b-connector or usb-b-connector and cause
Line 405: that binding to be selected for the subnode
Line 519: Tegra124 and Tegra132
NVIDIA Tegra186 XUSB pad controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/nvidia,tegra186-xusb-padctl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"
The Tegra XUSB pad controller manages a set of I/O lanes (with differential signals) which connect directly to pins/pads on the SoC package. Each lane is controlled by a HW block referred to as a "pad" in the Tegra hardware documentation. Each such "pad" may control either one or multiple lanes, and thus contains any logic common to all its lanes. Each lane can be separately configured and powered up.
Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or super-speed USB. Other lanes are for various types of low-speed, full-speed or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller contains a software-configurable mux that sits between the I/O controller ports (e.g. PCIe) and the lanes.
In addition to per-lane configuration, USB 3.0 ports may require additional settings on a per-board basis.
Pads will be represented as children of the top-level XUSB pad controller device tree node. Each lane exposed by the pad will be represented by its own subnode and can be referenced by users of the lane using the standard PHY bindings, as described by the phy-bindings.txt file in this directory.
The Tegra hardware documentation refers to the connection between the XUSB pad controller and the XUSB controller as "ports". This is confusing since "port" is typically used to denote the physical USB receptacle. The device tree binding in this document uses the term "port" to refer to the logical abstraction of the signals that are routed to a USB receptacle (i.e. a PHY for the USB signal, the VBUS power supply, the USB 2.0 companion port for USB 3.0 receptacles, ...).
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "nvidia,tegra186-xusb-padctl"
reg — required here #
Array item rules (items) #
Item 1
pad controller registers
Item 2
AO registers
interrupts — not listed as required here #
Array item rules (items) #
Item 1
XUSB pad controller interrupt
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"padctl"
Item 2
Exact value (
const):"ao"
resets — required here #
Array item rules (items) #
Item 1
pad controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"padctl"
avdd-pll-erefeut-supply — required here #
UPHY brick and reference clock as well as UTMI PHY power supply. Must supply 1.8 V.
avdd-usb-supply — required here #
USB I/Os, VBUS, ID, REXT, D+/D- power supply. Must supply 3.3 V.
vclamp-usb-supply — required here #
Bias rail for USB pad. Must supply 1.8 V.
vddio-hsic-supply — required here #
HSIC PHY power supply. Must supply 1.2 V.
pads — not listed as required here #
A required child node named "pads" contains a list of subnodes, one for each of the pads exposed by the XUSB pad controller. Each pad may need additional resources that can be referenced in its pad node. The "status" property is used to enable or disable the use of a pad. If set to "disabled", the pad will not be used on the given board. In order to use the pad and any of its lanes, this property must be set to "okay" or be absent.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
usb2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
USB2 tracking clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"trk"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
usb2-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb2-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb2-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
hsic — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
HSIC tracking clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"trk"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
hsic-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
usb3-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb3-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb3-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
ports — not listed as required here #
A required child node named "ports" contains a list of subnodes, one for each of the ports exposed by the XUSB pad controller. Each port may need additional resources that can be referenced in its port node. The "status" property is used to enable or disable the use of a port. If set to "disabled", the port will not be used on the given board. In order to use the port, this property must be set to "okay".
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
usb2-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
usb2-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
usb2-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
hsic-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
usb3-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "resets", "reset-names", "avdd-pll-erefeut-supply", "avdd-usb-supply", "vclamp-usb-supply", "vddio-hsic-supply"
Examples (examples) #
#include <dt-bindings/clock/tegra186-clock.h>
#include <dt-bindings/gpio/tegra186-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/tegra186-reset.h>
padctl@3520000 {
compatible = "nvidia,tegra186-xusb-padctl";
reg = <0x03520000 0x1000>,
<0x03540000 0x1000>;
reg-names = "padctl", "ao";
interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
resets = <&bpmp TEGRA186_RESET_XUSB_PADCTL>;
reset-names = "padctl";
avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
avdd-usb-supply = <&vdd_3v3_sys>;
vclamp-usb-supply = <&vdd_1v8>;
vddio-hsic-supply = <&gnd>;
pads {
usb2 {
clocks = <&bpmp TEGRA186_CLK_USB2_TRK>;
clock-names = "trk";
lanes {
usb2-0 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb2-1 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb2-2 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
};
};
hsic {
clocks = <&bpmp TEGRA186_CLK_HSIC_TRK>;
clock-names = "trk";
status = "disabled";
lanes {
hsic-0 {
status = "disabled";
#phy-cells = <0>;
};
};
};
usb3 {
lanes {
usb3-0 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb3-1 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb3-2 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
};
};
};
ports {
usb2-0 {
mode = "otg";
vbus-supply = <&vdd_usb0>;
usb-role-switch;
connector {
compatible = "gpio-usb-b-connector",
"usb-b-connector";
label = "micro-USB";
type = "micro";
vbus-gpios = <&gpio TEGRA186_MAIN_GPIO(X, 7) GPIO_ACTIVE_LOW>;
id-gpios = <&pmic 0 GPIO_ACTIVE_HIGH>;
};
};
usb2-1 {
vbus-supply = <&vdd_usb1>;
mode = "host";
};
usb2-2 {
status = "disabled";
};
hsic-0 {
status = "disabled";
};
usb3-0 {
nvidia,usb2-companion = <1>;
};
usb3-1 {
status = "disabled";
};
usb3-2 {
status = "disabled";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 236: no need to further describe this because the connector will
Line 237: match on gpio-usb-b-connector or usb-b-connector and cause
Line 238: that binding to be selected for the subnode
Line 274: no need to further describe this because the connector will
Line 275: match on gpio-usb-b-connector or usb-b-connector and cause
Line 276: that binding to be selected for the subnode
Line 312: no need to further describe this because the connector will
Line 313: match on gpio-usb-b-connector or usb-b-connector and cause
Line 314: that binding to be selected for the subnode
NVIDIA Tegra194 XUSB pad controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/nvidia,tegra194-xusb-padctl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"
The Tegra XUSB pad controller manages a set of I/O lanes (with differential signals) which connect directly to pins/pads on the SoC package. Each lane is controlled by a HW block referred to as a "pad" in the Tegra hardware documentation. Each such "pad" may control either one or multiple lanes, and thus contains any logic common to all its lanes. Each lane can be separately configured and powered up.
Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or super-speed USB. Other lanes are for various types of low-speed, full-speed or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller contains a software-configurable mux that sits between the I/O controller ports (e.g. PCIe) and the lanes.
In addition to per-lane configuration, USB 3.0 ports may require additional settings on a per-board basis.
Pads will be represented as children of the top-level XUSB pad controller device tree node. Each lane exposed by the pad will be represented by its own subnode and can be referenced by users of the lane using the standard PHY bindings, as described by the phy-bindings.txt file in this directory.
The Tegra hardware documentation refers to the connection between the XUSB pad controller and the XUSB controller as "ports". This is confusing since "port" is typically used to denote the physical USB receptacle. The device tree binding in this document uses the term "port" to refer to the logical abstraction of the signals that are routed to a USB receptacle (i.e. a PHY for the USB signal, the VBUS power supply, the USB 2.0 companion port for USB 3.0 receptacles, ...).
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nvidia,tegra194-xusb-padctl", "nvidia,tegra234-xusb-padctl"
reg — required here #
Array item rules (items) #
Item 1
pad controller registers
Item 2
AO registers
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"padctl"
Item 2
Exact value (
const):"ao"
interrupts — not listed as required here #
Array item rules (items) #
Item 1
XUSB pad controller interrupt
resets — required here #
Array item rules (items) #
Item 1
pad controller reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"padctl"
avdd-usb-supply — required here #
USB I/Os, VBUS, ID, REXT, D+/D- power supply. Must supply 3.3 V.
vclamp-usb-supply — required here #
Bias rail for USB pad. Must supply 1.8 V.
pads — not listed as required here #
A required child node named "pads" contains a list of subnodes, one for each of the pads exposed by the XUSB pad controller. Each pad may need additional resources that can be referenced in its pad node. The "status" property is used to enable or disable the use of a pad. If set to "disabled", the pad will not be used on the given board. In order to use the pad and any of its lanes, this property must be set to "okay" or absent.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
usb2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
USB2 tracking clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"trk"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
usb2-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb2-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb2-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb2-3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
usb3-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb3-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb3-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
usb3-3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
ports — not listed as required here #
A required child node named "ports" contains a list of subnodes, one for each of the ports exposed by the XUSB pad controller. Each port may need additional resources that can be referenced in its port node. The "status" property is used to enable or disable the use of a port. If set to "disabled", the port will not be used on the given board. In order to use the port, this property must be set to "okay".
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
usb2-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
usb2-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
usb2-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
usb2-3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
usb3-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
maximum-speed — not listed as required here
A string property that specifies the maximum supported speed of a USB3 port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Exactly one of these rules must match (oneOf)
Rule 1
The USB3 port supports USB 3.1 Gen 2 speed. This is the default.
Exact value (
const):"super-speed-plus"
Rule 2
The USB3 port supports USB 3.1 Gen 1 speed only.
Exact value (
const):"super-speed"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
maximum-speed — not listed as required here
A string property that specifies the maximum supported speed of a USB3 port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Exactly one of these rules must match (oneOf)
Rule 1
The USB3 port supports USB 3.1 Gen 2 speed. This is the default.
Exact value (
const):"super-speed-plus"
Rule 2
The USB3 port supports USB 3.1 Gen 1 speed only.
Exact value (
const):"super-speed"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
maximum-speed — not listed as required here
A string property that specifies the maximum supported speed of a USB3 port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Exactly one of these rules must match (oneOf)
Rule 1
The USB3 port supports USB 3.1 Gen 2 speed. This is the default.
Exact value (
const):"super-speed-plus"
Rule 2
The USB3 port supports USB 3.1 Gen 1 speed only.
Exact value (
const):"super-speed"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
maximum-speed — not listed as required here
A string property that specifies the maximum supported speed of a USB3 port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Exactly one of these rules must match (oneOf)
Rule 1
The USB3 port supports USB 3.1 Gen 2 speed. This is the default.
Exact value (
const):"super-speed-plus"
Rule 2
The USB3 port supports USB 3.1 Gen 1 speed only.
Exact value (
const):"super-speed"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "resets", "reset-names", "avdd-usb-supply", "vclamp-usb-supply"
Examples (examples) #
#include <dt-bindings/clock/tegra194-clock.h>
#include <dt-bindings/gpio/tegra194-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/tegra194-reset.h>
padctl@3520000 {
compatible = "nvidia,tegra194-xusb-padctl";
reg = <0x03520000 0x1000>,
<0x03540000 0x1000>;
reg-names = "padctl", "ao";
interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
resets = <&bpmp TEGRA194_RESET_XUSB_PADCTL>;
reset-names = "padctl";
avdd-usb-supply = <&vdd_usb_3v3>;
vclamp-usb-supply = <&vdd_1v8ao>;
pads {
usb2 {
clocks = <&bpmp TEGRA194_CLK_USB2_TRK>;
clock-names = "trk";
lanes {
usb2-0 {
nvidia,function = "xusb";
status = "disabled";
#phy-cells = <0>;
};
usb2-1 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb2-2 {
nvidia,function = "xusb";
status = "disabled";
#phy-cells = <0>;
};
usb2-3 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
};
};
usb3 {
lanes {
usb3-0 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb3-1 {
nvidia,function = "xusb";
status = "disabled";
#phy-cells = <0>;
};
usb3-2 {
nvidia,function = "xusb";
status = "disabled";
#phy-cells = <0>;
};
usb3-3 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
};
};
};
ports {
usb2-0 {
status = "disabled";
};
usb2-1 {
vbus-supply = <&vdd_5v0_sys>;
mode = "host";
};
usb2-2 {
status = "disabled";
};
usb2-3 {
vbus-supply = <&vdd_5v_sata>;
mode = "host";
};
usb3-0 {
vbus-supply = <&vdd_5v0_sys>;
nvidia,usb2-companion = <1>;
};
usb3-1 {
status = "disabled";
};
usb3-2 {
status = "disabled";
};
usb3-3 {
maximum-speed = "super-speed";
vbus-supply = <&vdd_5v0_sys>;
nvidia,usb2-companion = <3>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 227: no need to further describe this because the connector will
Line 228: match on gpio-usb-b-connector or usb-b-connector and cause
Line 229: that binding to be selected for the subnode
Line 265: no need to further describe this because the connector will
Line 266: match on gpio-usb-b-connector or usb-b-connector and cause
Line 267: that binding to be selected for the subnode
Line 303: no need to further describe this because the connector will
Line 304: match on gpio-usb-b-connector or usb-b-connector and cause
Line 305: that binding to be selected for the subnode
Line 341: no need to further describe this because the connector will
Line 342: match on gpio-usb-b-connector or usb-b-connector and cause
Line 343: that binding to be selected for the subnode
NVIDIA Tegra USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/nvidia,tegra20-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dmitry Osipenko <digetx@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>", "Thierry Reding <thierry.reding@gmail.com>"
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):"nvidia,tegra124-usb-phy","nvidia,tegra114-usb-phy"Item 2
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"nvidia,tegra30-usb-phy","nvidia,tegra20-usb-phy"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
PHY0 and PHY2 share power and ground, PHY0 contains shared registers. PHY0 and PHY2 must specify two register sets, where the first set is PHY own registers and the second set is the PHY0 registers.
clocks — required here #
At least one of these rules must match (anyOf) #
Rule 1
Array item rules (
items)Item 1
Registers clock
Item 2
Main PHY clock
Rule 2
Array item rules (
items)Item 1
Registers clock
Item 2
Main PHY clock
Item 3
ULPI PHY clock
Rule 3
Array item rules (
items)Item 1
Registers clock
Item 2
Main PHY clock
Item 3
UTMI pads control registers clock
Rule 4
Array item rules (
items)Item 1
Registers clock
Item 2
Main PHY clock
Item 3
UTMI timeout clock
Item 4
UTMI pads control registers clock
clock-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"reg"Item 2
Exact value (
const):"pll_u"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"reg"Item 2
Exact value (
const):"pll_u"Item 3
Exact value (
const):"ulpi-link"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"reg"Item 2
Exact value (
const):"pll_u"Item 3
Exact value (
const):"utmi-pads"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"reg"Item 2
Exact value (
const):"pll_u"Item 3
Exact value (
const):"timer"Item 4
Exact value (
const):"utmi-pads"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Maximum number of items (
maxItems):1PHY reset
Rule 2
Array item rules (
items)Item 1
PHY reset
Item 2
UTMI pads reset
reset-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"usb"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"usb"Item 2
Exact value (
const):"utmi-pads"
#phy-cells — required here #
Exact value (const): 0
phy_type — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "utmi", "ulpi", "hsic"
dr_mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
Default value (default): "host"
vbus-supply — not listed as required here #
Regulator controlling USB VBUS.
nvidia,has-legacy-mode — not listed as required here #
Indicates whether this controller can operate in legacy mode (as APX 2500 / 2600). In legacy mode some registers are accessed through the APB_MISC base address instead of the USB controller.
Value type (type): "boolean"
nvidia,is-wired — not listed as required here #
Indicates whether we can do certain kind of power optimizations for the devices that are always connected. e.g. modem.
Value type (type): "boolean"
nvidia,has-utmi-pad-registers — not listed as required here #
Indicates whether this controller contains the UTMI pad control registers common to all USB controllers.
Value type (type): "boolean"
nvidia,hssync-start-delay — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
Number of 480 MHz clock cycles to wait before start of sync launches RxActive.
nvidia,elastic-limit — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
Variable FIFO Depth of elastic input store.
nvidia,idle-wait-delay — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
Number of 480 MHz clock cycles of idle to wait before declare IDLE.
nvidia,term-range-adj — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
Range adjustment on terminations.
nvidia,xcvr-setup — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 127
Input of XCVR cell, HS driver output control.
nvidia,xcvr-setup-use-fuses — not listed as required here #
Indicates that the value is read from the on-chip fuses.
Value type (type): "boolean"
nvidia,xcvr-lsfslew — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
LS falling slew rate control.
nvidia,xcvr-lsrslew — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
LS rising slew rate control.
nvidia,xcvr-hsslew — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 511
HS slew rate control.
nvidia,hssquelch-level — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
HS squelch detector level.
nvidia,hsdiscon-level — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 7
HS disconnect detector level.
nvidia,phy-reset-gpio — not listed as required here #
Maximum number of items (maxItems): 1
GPIO used to reset the PHY.
nvidia,pmc — 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 Power Management controller.
Item 2
USB controller ID.
Phandle to Power Management controller.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "#phy-cells", "phy_type"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
phy_type— not listed as required hereExact value (
const):"utmi"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
resets— not listed as required hereMaximum number of items (
maxItems):2
reset-names— not listed as required hereMaximum number of items (
maxItems):2Required in this object (
required):"nvidia,hssync-start-delay","nvidia,elastic-limit","nvidia,idle-wait-delay","nvidia,term-range-adj","nvidia,xcvr-lsfslew","nvidia,xcvr-lsrslew"At least one of these rules must match (
anyOf)Rule 1
Rule 2
Required in this object (
required):"nvidia,xcvr-setup-use-fuses"Condition (
if)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nvidia,tegra30-usb-phy"When the condition matches (
then)Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"reg"Item 2
Exact value (
const):"pll_u"Item 3
Exact value (
const):"utmi-pads"Required in this object (
required):"nvidia,xcvr-hsslew","nvidia,hssquelch-level","nvidia,hsdiscon-level"When the condition does not match (
else)Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"reg"Item 2
Exact value (
const):"pll_u"Item 3
Exact value (
const):"timer"Item 4
Exact value (
const):"utmi-pads"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
phy_type— not listed as required hereExact value (
const):"ulpi"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):1
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):2Maximum number of items (
maxItems):3Exactly one of these rules must match (
oneOf)Rule 1
Array item rules (
items)Item 1
Exact value (
const):"reg"Item 2
Exact value (
const):"pll_u"Rule 2
Array item rules (
items)Item 1
Exact value (
const):"reg"Item 2
Exact value (
const):"pll_u"Item 3
Exact value (
const):"ulpi-link"
resets— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
reset-names— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
Examples (examples) #
#include <dt-bindings/clock/tegra124-car.h>
usb-phy@7d008000 {
compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy";
reg = <0x7d008000 0x4000>,
<0x7d000000 0x4000>;
interrupts = <0 97 4>;
phy_type = "utmi";
clocks = <&tegra_car TEGRA124_CLK_USB3>,
<&tegra_car TEGRA124_CLK_PLL_U>,
<&tegra_car TEGRA124_CLK_USBD>;
clock-names = "reg", "pll_u", "utmi-pads";
resets = <&tegra_car 59>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads";
#phy-cells = <0>;
nvidia,hssync-start-delay = <0>;
nvidia,idle-wait-delay = <17>;
nvidia,elastic-limit = <16>;
nvidia,term-range-adj = <6>;
nvidia,xcvr-setup = <9>;
nvidia,xcvr-lsfslew = <0>;
nvidia,xcvr-lsrslew = <3>;
nvidia,hssquelch-level = <2>;
nvidia,hsdiscon-level = <5>;
nvidia,xcvr-hsslew = <12>;
nvidia,pmc = <&tegra_pmc 2>;
};
#include <dt-bindings/clock/tegra20-car.h>
usb-phy@c5004000 {
compatible = "nvidia,tegra20-usb-phy";
reg = <0xc5004000 0x4000>;
interrupts = <0 21 4>;
phy_type = "ulpi";
clocks = <&tegra_car TEGRA20_CLK_USB2>,
<&tegra_car TEGRA20_CLK_PLL_U>,
<&tegra_car TEGRA20_CLK_CDEV2>;
clock-names = "reg", "pll_u", "ulpi-link";
resets = <&tegra_car 58>, <&tegra_car 22>;
reset-names = "usb", "utmi-pads";
#phy-cells = <0>;
nvidia,pmc = <&tegra_pmc 1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NVIDIA Tegra210 XUSB pad controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/nvidia,tegra210-xusb-padctl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"
The Tegra XUSB pad controller manages a set of I/O lanes (with differential signals) which connect directly to pins/pads on the SoC package. Each lane is controlled by a HW block referred to as a "pad" in the Tegra hardware documentation. Each such "pad" may control either one or multiple lanes, and thus contains any logic common to all its lanes. Each lane can be separately configured and powered up.
Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or super-speed USB. Other lanes are for various types of low-speed, full-speed or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller contains a software-configurable mux that sits between the I/O controller ports (e.g. PCIe) and the lanes.
In addition to per-lane configuration, USB 3.0 ports may require additional settings on a per-board basis.
Pads will be represented as children of the top-level XUSB pad controller device tree node. Each lane exposed by the pad will be represented by its own subnode and can be referenced by users of the lane using the standard PHY bindings, as described by the phy-bindings.txt file in this directory.
The Tegra hardware documentation refers to the connection between the XUSB pad controller and the XUSB controller as "ports". This is confusing since "port" is typically used to denote the physical USB receptacle. The device tree binding in this document uses the term "port" to refer to the logical abstraction of the signals that are routed to a USB receptacle (i.e. a PHY for the USB signal, the VBUS power supply, the USB 2.0 companion port for USB 3.0 receptacles, ...).
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "nvidia,tegra210-xusb-padctl"
reg — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Array item rules (items) #
Item 1
pad controller reset
interrupts — not listed as required here #
Array item rules (items) #
Item 1
XUSB pad controller interrupt
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"padctl"
avdd-pll-utmip-supply — required here #
UTMI PLL power supply. Must supply 1.8 V.
avdd-pll-uerefe-supply — required here #
PLLE reference PLL power supply. Must supply 1.05 V.
dvdd-pex-pll-supply — required here #
PCIe/USB3 PLL power supply. Must supply 1.05 V.
hvdd-pex-pll-e-supply — required here #
High-voltage PLLE power supply. Must supply 1.8 V.
nvidia,pmc — not listed as required here #
phandle to the Tegra Power Management Controller (PMC) node
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
pads — not listed as required here #
A required child node named "pads" contains a list of subnodes, one for each of the pads exposed by the XUSB pad controller. Each pad may need additional resources that can be referenced in its pad node. The "status" property is used to enable or disable the use of a pad. If set to "disabled", the pad will not be used on the given board. In order to use the pad and any of its lanes, this property must be set to "okay" or be absent.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
usb2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
USB2 tracking clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"trk"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
usb2-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb", "uart"
usb2-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb", "uart"
usb2-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb", "uart"
usb2-3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb", "uart"
hsic — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
HSIC tracking clock
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"trk"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
hsic-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb"
hsic-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "snps", "xusb"
pcie — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
PCIe PLL clock source
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"pll"
resets — not listed as required here
Array item rules (items)
Item 1
PCIe PHY reset
reset-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"phy"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
pcie-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie-x1", "usb3-ss", "pcie-x4"
pcie-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie-x1", "usb3-ss", "pcie-x4"
pcie-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie-x1", "usb3-ss", "pcie-x4"
pcie-3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie-x1", "usb3-ss", "pcie-x4"
pcie-4 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie-x1", "usb3-ss", "pcie-x4"
pcie-5 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie-x1", "usb3-ss", "pcie-x4"
pcie-6 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pcie-x1", "usb3-ss", "pcie-x4"
sata — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clocks — not listed as required here
Array item rules (items)
Item 1
SATA PLL clock source
clock-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"pll"
resets — not listed as required here
Array item rules (items)
Item 1
SATA PHY reset
reset-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"phy"
lanes — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
sata-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#phy-cells — not listed as required here
Exact value (const): 0
nvidia,function — not listed as required here
Function selection for this lane.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "usb3-ss", "sata"
ports — not listed as required here #
A required child node named "ports" contains a list of subnodes, one for each of the ports exposed by the XUSB pad controller. Each port may need additional resources that can be referenced in its port node. The "status" property is used to enable or disable the use of a port. If set to "disabled", the port will not be used on the given board. In order to use the port, this property must be set to "okay".
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
usb2-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
usb2-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
usb2-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
usb2-3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
connector — not listed as required here
Value type (type): "object"
mode — not listed as required here
A string that determines the mode in which to run the port.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "host", "peripheral", "otg"
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
usb-role-switch — not listed as required here
A boolean property whole presence indicates that the port supports OTG or peripheral mode. If present, the port supports switching between USB host and peripheral roles. A connector must be added as a subnode in that case.
See ../connector/usb-connector.yaml.
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Property dependencies (dependencies)
usb-role-switch — applies when this property is present
Also requires: "connector"
hsic-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
hsic-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-0 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-1 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-2 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
usb3-3 — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
nvidia,internal — not listed as required here
A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be external.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
nvidia,usb2-companion — not listed as required here
A single cell that specifies the physical port number to map this super-speed USB port to. The range of valid port numbers varies with the SoC generation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
vbus-supply — not listed as required here
A phandle to the regulator supplying the VBUS voltage.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "avdd-pll-utmip-supply", "avdd-pll-uerefe-supply", "dvdd-pex-pll-supply", "hvdd-pex-pll-e-supply"
Examples (examples) #
#include <dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
padctl@7009f000 {
compatible = "nvidia,tegra210-xusb-padctl";
reg = <0x7009f000 0x1000>;
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
resets = <&tegra_car 142>;
reset-names = "padctl";
avdd-pll-utmip-supply = <&vdd_1v8>;
avdd-pll-uerefe-supply = <&vdd_pex_1v05>;
dvdd-pex-pll-supply = <&vdd_pex_1v05>;
hvdd-pex-pll-e-supply = <&vdd_1v8>;
pads {
usb2 {
clocks = <&tegra_car TEGRA210_CLK_USB2_TRK>;
clock-names = "trk";
lanes {
usb2-0 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb2-1 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb2-2 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
usb2-3 {
nvidia,function = "xusb";
#phy-cells = <0>;
};
};
};
hsic {
clocks = <&tegra_car TEGRA210_CLK_HSIC_TRK>;
clock-names = "trk";
status = "disabled";
lanes {
hsic-0 {
status = "disabled";
#phy-cells = <0>;
};
hsic-1 {
status = "disabled";
#phy-cells = <0>;
};
};
};
pcie {
clocks = <&tegra_car TEGRA210_CLK_PLL_E>;
clock-names = "pll";
resets = <&tegra_car 205>;
reset-names = "phy";
lanes {
pcie-0 {
nvidia,function = "pcie-x1";
#phy-cells = <0>;
};
pcie-1 {
nvidia,function = "pcie-x4";
#phy-cells = <0>;
};
pcie-2 {
nvidia,function = "pcie-x4";
#phy-cells = <0>;
};
pcie-3 {
nvidia,function = "pcie-x4";
#phy-cells = <0>;
};
pcie-4 {
nvidia,function = "pcie-x4";
#phy-cells = <0>;
};
pcie-5 {
nvidia,function = "usb3-ss";
#phy-cells = <0>;
};
pcie-6 {
nvidia,function = "usb3-ss";
#phy-cells = <0>;
};
};
};
sata {
clocks = <&tegra_car TEGRA210_CLK_PLL_E>;
clock-names = "pll";
resets = <&tegra_car 204>;
reset-names = "phy";
lanes {
sata-0 {
nvidia,function = "sata";
#phy-cells = <0>;
};
};
};
};
ports {
usb2-0 {
mode = "peripheral";
usb-role-switch;
connector {
compatible = "gpio-usb-b-connector",
"usb-b-connector";
label = "micro-USB";
type = "micro";
vbus-gpios = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_LOW>;
};
};
usb2-1 {
vbus-supply = <&vdd_5v0_rtl>;
mode = "host";
};
usb2-2 {
vbus-supply = <&vdd_usb_vbus>;
mode = "host";
};
usb2-3 {
mode = "host";
};
hsic-0 {
status = "disabled";
};
hsic-1 {
status = "disabled";
};
usb3-0 {
nvidia,usb2-companion = <1>;
};
usb3-1 {
nvidia,usb2-companion = <2>;
};
usb3-2 {
status = "disabled";
};
usb3-3 {
status = "disabled";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 355: no need to further describe this because the connector will
Line 356: match on gpio-usb-b-connector or usb-b-connector and cause
Line 357: that binding to be selected for the subnode
Line 393: no need to further describe this because the connector will
Line 394: match on gpio-usb-b-connector or usb-b-connector and cause
Line 395: that binding to be selected for the subnode
Line 431: no need to further describe this because the connector will
Line 432: match on gpio-usb-b-connector or usb-b-connector and cause
Line 433: that binding to be selected for the subnode
Line 469: no need to further describe this because the connector will
Line 470: match on gpio-usb-b-connector or usb-b-connector and cause
Line 471: that binding to be selected for the subnode
NXP PTN3222 1-port eUSB2 to USB2 redriver
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/nxp,ptn3222.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,ptn3222"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
vdd1v8-supply — not listed as required here #
power supply (1.8V)
vdd3v3-supply — not listed as required here #
power supply (3.3V)
reset-gpios — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
redriver@4f {
compatible = "nxp,ptn3222";
reg = <0x4f>;
#phy-cells = <0>;
vdd3v3-supply = <&vreg_3p3>;
vdd1v8-supply = <&vreg_1p8>;
reset-gpios = <&gpio_reset GPIO_ACTIVE_LOW>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Cadence Sierra PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/phy-cadence-sierra.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This binding describes the Cadence Sierra PHY. Sierra PHY supports multilink multiprotocol combinations including protocols such as PCIe, USB etc.
Maintainers (maintainers): "Swapnil Jakhade <sjakhade@cadence.com>", "Yuti Amonkar <yamonkar@cadence.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "cdns,sierra-phy-t0", "ti,sierra-phy-t0"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
#clock-cells — not listed as required here #
Exact value (const): 1
resets — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Sierra PHY reset.
Item 2
Sierra APB reset. This is optional.
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"sierra_reset"
Item 2
Exact value (
const):"sierra_apb"
reg — required here #
Maximum number of items (maxItems): 1
Offset of the Sierra PHY configuration registers.
reg-names — not listed as required here #
Exact value (const): "serdes"
clocks — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"cmn_refclk_dig_div"
Item 2
Exact value (
const):"cmn_refclk1_dig_div"
Item 3
Exact value (
const):"pll0_refclk"
Item 4
Exact value (
const):"pll1_refclk"
cdns,autoconf — not listed as required here #
Value type (type): "boolean"
A boolean property whose presence indicates that the PHY registers will be configured by hardware. If not present, all sub-node optional properties must be provided.
Properties matching a name pattern (patternProperties) #
^phy@[0-9a-f]$ — name matches this regular expression #
Value type (type): "object"
Each group of PHY lanes with a single master lane should be represented as a sub-node. Note that the actual configuration of each lane is determined by hardware strapping, and must match the configuration specified here.
Properties and child nodes (properties) #
reg — required here
The master lane number. This is the lowest numbered lane in the lane group.
Minimum value (minimum): 0
Maximum value (maximum): 15
resets — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Contains list of resets, one per lane, to get all the link lanes out of reset.
#phy-cells — required here
Exact value (const): 0
cdns,phy-type — not listed as required here
Specifies the type of PHY for which the group of PHY lanes is used. Refer include/dt-bindings/phy/phy.h. Constants from the header should be used.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 2, 4, 8, 9
cdns,num-lanes — not listed as required here
Number of lanes in this group. The group is made up of consecutive lanes.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 16
cdns,ssc-mode — not listed as required here
Specifies the Spread Spectrum Clocking mode used. It can be NO_SSC, EXTERNAL_SSC or INTERNAL_SSC. Refer include/dt-bindings/phy/phy-cadence.h for the constants to be used.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
Default value (default): 1
Required in this object (required): "reg", "resets", "#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", "#address-cells", "#size-cells", "reg", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
sierra-phy@fd240000 {
compatible = "cdns,sierra-phy-t0";
reg = <0x0 0xfd240000 0x0 0x40000>;
resets = <&phyrst 0>, <&phyrst 1>;
reset-names = "sierra_reset", "sierra_apb";
clocks = <&cmn_refclk_dig_div>, <&cmn_refclk1_dig_div>;
clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div";
#address-cells = <1>;
#size-cells = <0>;
pcie0_phy0: phy@0 {
reg = <0>;
resets = <&phyrst 2>;
cdns,num-lanes = <2>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_PCIE>;
};
pcie0_phy1: phy@2 {
reg = <2>;
resets = <&phyrst 4>;
cdns,num-lanes = <1>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_PCIE>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Cadence Torrent SD0801 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/phy-cadence-torrent.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This binding describes the Cadence SD0801 PHY (also known as Torrent PHY) hardware included with the Cadence MHDP DisplayPort controller. Torrent PHY also supports multilink multiprotocol combinations including protocols such as PCIe, USB, SGMII, QSGMII etc.
Maintainers (maintainers): "Swapnil Jakhade <sjakhade@cadence.com>", "Yuti Amonkar <yamonkar@cadence.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "cdns,torrent-phy", "ti,j7200-serdes-10g", "ti,j721e-serdes-10g"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
#clock-cells — not listed as required here #
Exact value (const): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
PHY input reference clocks - refclk (for PLL0) & pll1_refclk (for PLL1). pll1_refclk is optional and used for multi-protocol configurations requiring separate reference clock for each protocol. Same refclk is used for both PLL0 and PLL1 if no separate pll1_refclk is used. Optional parent clock (phy_en_refclk) to enable a reference clock output feature on some platforms to output either derived or received reference clock.
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"refclk"
Item 2
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Offset of the Torrent PHY configuration registers.
Item 2
Offset of the DPTX PHY configuration registers.
reg-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"torrent_phy"
Item 2
Exact value (
const):"dptx_phy"
resets — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Torrent PHY reset.
Item 2
Torrent APB reset. This is optional.
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"torrent_reset"
Item 2
Exact value (
const):"torrent_apb"
Properties matching a name pattern (patternProperties) #
^phy@[0-3]$ — name matches this regular expression #
Value type (type): "object"
Each group of PHY lanes with a single master lane should be represented as a sub-node.
Properties and child nodes (properties) #
reg — required here
The master lane number. This is the lowest numbered lane in the lane group.
Minimum value (minimum): 0
Maximum value (maximum): 3
resets — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Contains list of resets, one per lane, to get all the link lanes out of reset.
#phy-cells — required here
Exact value (const): 0
cdns,phy-type — required here
Specifies the type of PHY for which the group of PHY lanes is used. Refer include/dt-bindings/phy/phy.h. Constants from the header should be used.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3, 4, 5, 6, 7, 8, 9, 12
cdns,num-lanes — required here
Number of lanes.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3, 4
Default value (default): 4
cdns,ssc-mode — not listed as required here
Specifies the Spread Spectrum Clocking mode used. It can be NO_SSC, EXTERNAL_SSC or INTERNAL_SSC. Refer include/dt-bindings/phy/phy-cadence.h for the constants to be used.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
Default value (default): 0
cdns,max-bit-rate — not listed as required here
Maximum DisplayPort link bit rate to use, in Mbps
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 2160, 2430, 2700, 3240, 4320, 5400, 8100
Default value (default): 8100
Required in this object (required): "reg", "resets", "#phy-cells", "cdns,phy-type", "cdns,num-lanes"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "#address-cells", "#size-cells", "clocks", "clock-names", "reg", "reg-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
torrent-phy@f0fb500000 {
compatible = "cdns,torrent-phy";
reg = <0xf0 0xfb500000 0x0 0x00100000>,
<0xf0 0xfb030a00 0x0 0x00000040>;
reg-names = "torrent_phy", "dptx_phy";
resets = <&phyrst 0>;
reset-names = "torrent_reset";
clocks = <&ref_clk>;
clock-names = "refclk";
#address-cells = <1>;
#size-cells = <0>;
phy@0 {
reg = <0>;
resets = <&phyrst 1>, <&phyrst 2>,
<&phyrst 3>, <&phyrst 4>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_DP>;
cdns,num-lanes = <4>;
cdns,max-bit-rate = <8100>;
};
};
};
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/phy/phy-cadence.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
torrent-phy@f0fb500000 {
compatible = "cdns,torrent-phy";
reg = <0xf0 0xfb500000 0x0 0x00100000>;
reg-names = "torrent_phy";
resets = <&phyrst 0>, <&phyrst 1>;
reset-names = "torrent_reset", "torrent_apb";
clocks = <&ref_clk>;
clock-names = "refclk";
#address-cells = <1>;
#size-cells = <0>;
phy@0 {
reg = <0>;
resets = <&phyrst 2>, <&phyrst 3>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_PCIE>;
cdns,num-lanes = <2>;
cdns,ssc-mode = <CDNS_SERDES_NO_SSC>;
};
phy@2 {
reg = <2>;
resets = <&phyrst 4>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_SGMII>;
cdns,num-lanes = <1>;
cdns,ssc-mode = <CDNS_SERDES_NO_SSC>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Common PHY and network PCS properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/phy-common-props.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Common PHY and network PCS properties, such as peak-to-peak transmit amplitude.
Maintainers (maintainers): "Marek Behún <kabel@kernel.org>"
Reusable definitions ($defs) #
protocol-names #
Names of the PHY modes. If a value of 'default' is provided, the system should use it for any PHY mode that is otherwise not defined here. If 'default' is not provided, the system should use manufacturer default value.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
Items must be unique (uniqueItems): true
Array item rules (items) #
Allowed values (
enum):"default","sgmii","qsgmii","xgmii","1000base-x","2500base-x","5gbase-r","rxaui","xaui","10gbase-kr","usxgmii","10gbase-r","25gbase-r","pcie","pcie1","pcie2","pcie3","pcie4","pcie5","pcie6","usb","usb-ls","usb-fs","usb-hs","usb-ss","usb-ss+","usb-4","sata","ufs-hs","ufs-hs-a","ufs-hs-b","lvds","dp","dp-rbr","dp-hbr","dp-hbr2","dp-hbr3","dp-uhbr-10","dp-uhbr-13.5","dp-uhbr-20","mipi-dphy","mipi-dphy-univ","mipi-dphy-v2.5-univ"
Properties and child nodes (properties) #
tx-p2p-microvolt — not listed as required here #
Transmit amplitude voltages in microvolts, peak-to-peak. If this property contains multiple values for various PHY modes, the 'tx-p2p-microvolt-names' property must be provided and contain corresponding mode names.
tx-p2p-microvolt-names — not listed as required here #
Names of the modes corresponding to voltages in the 'tx-p2p-microvolt' property. Required only if multiple voltages are provided.
Shared schema rule ($ref): #/$defs/protocol-names
rx-polarity — not listed as required here #
An array of values indicating whether the differential receiver's polarity is inverted. Each value can be one of PHY_POL_NORMAL (0) which means the negative signal is decoded from the RXN input, and the positive signal from the RXP input; PHY_POL_INVERT (1) which means the negative signal is decoded from the RXP input, and the positive signal from the RXN input; PHY_POL_AUTO (2) which means the receiver performs automatic polarity detection and correction, which is a mandatory part of link training for some protocols (PCIe, USB SS). The values are defined in <dt-bindings/phy/phy.h>. If the property is absent, the default value is undefined. Note that the RXP and RXN inputs refer to the block that this property is under, and do not necessarily directly translate to external pins. If this property contains multiple values for various protocols, the 'rx-polarity-names' property must be provided.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
Array item rules (items) #
rx-polarity-names — not listed as required here #
Shared schema rule ($ref): #/$defs/protocol-names
tx-polarity — not listed as required here #
Like 'rx-polarity', except it applies to differential transmitters, and only the values of PHY_POL_NORMAL and PHY_POL_INVERT are possible.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
Array item rules (items) #
tx-polarity-names — not listed as required here #
Shared schema rule ($ref): #/$defs/protocol-names
Property dependencies (dependencies) #
tx-p2p-microvolt-names — applies when this property is present #
Also requires: "tx-p2p-microvolt"
rx-polarity-names — applies when this property is present #
Also requires: "rx-polarity"
tx-polarity-names — applies when this property is present #
Also requires: "tx-polarity"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy.h>
phy: phy {
#phy-cells = <1>;
tx-p2p-microvolt = <915000>, <1100000>, <1200000>;
tx-p2p-microvolt-names = "2500base-x", "usb-hs", "usb-ss";
rx-polarity = <PHY_POL_AUTO>, <PHY_POL_NORMAL>;
rx-polarity-names = "usb-ss", "default";
tx-polarity = <PHY_POL_INVERT>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 29: ethernet modes
Line 43: PCIe modes
Line 52: USB modes
Line 61: storage modes
Line 67: display modes
Line 78: camera modes
Rockchip SoC Naneng Combo Phy
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/phy-rockchip-naneng-combphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3528-naneng-combphy", "rockchip,rk3562-naneng-combphy", "rockchip,rk3568-naneng-combphy", "rockchip,rk3576-naneng-combphy", "rockchip,rk3588-naneng-combphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
reference clock
Item 2
apb clock
Item 3
pipe clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"apb"
Item 3
Exact value (
const):"pipe"
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"apb"
phy-supply — not listed as required here #
Single PHY regulator
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
rockchip,enable-ssc — not listed as required here #
Value type (type): "boolean"
The option SSC can be enabled for U3, SATA and PCIE. Most commercially available platforms use SSC to reduce EMI.
rockchip,ext-refclk — not listed as required here #
Value type (type): "boolean"
Many PCIe connections, especially backplane connections, require a synchronous reference clock between the two link partners. To achieve this a common clock source, referred to as REFCLK in the PCI Express Card Electromechanical Specification, should be used by both ends of the PCIe link. In PCIe mode one can choose to use an internal or an external reference clock. By default the internal clock is selected. The PCIe PHY provides a 100MHz differential clock output(optional with SSC) for system applications. When selecting this option an externally 100MHz differential reference clock needs to be provided to the PCIe PHY.
rockchip,pipe-grf — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Some additional phy settings are accessed through GRF regs.
rockchip,pipe-phy-grf — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Some additional pipe settings are accessed through GRF regs.
#phy-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "rockchip,pipe-grf", "rockchip,pipe-phy-grf", "#phy-cells"
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):"rockchip,rk3568-naneng-combphy"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"rockchip,rk3528-naneng-combphy","rockchip,rk3588-naneng-combphy"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):2
reset-names— required hereMinimum number of items (
minItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3568-cru.h>
pipegrf: syscon@fdc50000 {
compatible = "rockchip,rk3568-pipe-grf", "syscon";
reg = <0xfdc50000 0x1000>;
};
pipe_phy_grf0: syscon@fdc70000 {
compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
reg = <0xfdc70000 0x1000>;
};
combphy0: phy@fe820000 {
compatible = "rockchip,rk3568-naneng-combphy";
reg = <0xfe820000 0x100>;
clocks = <&pmucru CLK_PCIEPHY0_REF>,
<&cru PCLK_PIPEPHY0>,
<&cru PCLK_PIPE>;
clock-names = "ref", "apb", "pipe";
assigned-clocks = <&pmucru CLK_PCIEPHY0_REF>;
assigned-clock-rates = <100000000>;
resets = <&cru SRST_PIPEPHY0>;
rockchip,pipe-grf = <&pipegrf>;
rockchip,pipe-phy-grf = <&pipe_phy_grf0>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Rockchip USBDP Combo PHY with Samsung IP block
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/phy-rockchip-usbdp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Wang <frank.wang@rock-chips.com>", "Zhang Yubing <yubing.zhang@rock-chips.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3576-usbdp-phy", "rockchip,rk3588-usbdp-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Cell allows setting the type of the PHY. Possible values are: - PHY_TYPE_USB3 - PHY_TYPE_DP
Exact value (const): 1
clocks — required here #
Maximum number of items (maxItems): 4
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"refclk"
Item 2
Exact value (
const):"immortal"
Item 3
Exact value (
const):"pclk"
Item 4
Exact value (
const):"utmi"
resets — required here #
Maximum number of items (maxItems): 5
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"init"
Item 2
Exact value (
const):"cmn"
Item 3
Exact value (
const):"lane"
Item 4
Exact value (
const):"pcs_apb"
Item 5
Exact value (
const):"pma_apb"
phy-supply — not listed as required here #
Single PHY regulator
rockchip,dp-lane-mux — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Array item rules (items) #
Maximum value (
maximum):3
An array of physical Type-C lanes indexes. Position of an entry determines the DisplayPort (DP) lane index, while the value of an entry indicates physical Type-C lane. The supported DP lanes number are 2 or 4. e.g. for 2 lanes DP lanes map, we could have "rockchip,dp-lane-mux = <2, 3>;", assuming DP lane0 on Type-C phy lane2, DP lane1 on Type-C phy lane3. For 4 lanes DP lanes map, we could have "rockchip,dp-lane-mux = <0, 1, 2, 3>;", assuming DP lane0 on Type-C phy lane0, DP lane1 on Type-C phy lane1, DP lane2 on Type-C phy lane2, DP lane3 on Type-C phy lane3. If DP lanes are mapped by DisplayPort Alt mode, this property is not needed.
rockchip,u2phy-grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the syscon managing the 'usb2 phy general register files'.
rockchip,usb-grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the syscon managing the 'usb general register files'.
rockchip,usbdpphy-grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the syscon managing the 'usbdp phy general register files'.
rockchip,vo-grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the syscon managing the 'video output general register files'. When select the DP lane mapping will request its phandle.
sbu1-dc-gpios — not listed as required here #
GPIO connected to the SBU1 line of the USB-C connector via a big resistor (~100K) to apply a DC offset for signalling the connector orientation.
Maximum number of items (maxItems): 1
sbu2-dc-gpios — not listed as required here #
GPIO connected to the SBU2 line of the USB-C connector via a big resistor (~100K) to apply a DC offset for signalling the connector orientation.
Maximum number of items (maxItems): 1
orientation-switch — not listed as required here #
Flag the port as possible handler of orientation switching
Value type (type): "boolean"
mode-switch — not listed as required here #
Flag the port as possible handler of altmode switching
Value type (type): "boolean"
port — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
A port node to link the PHY to a TypeC controller for the purpose of handling orientation switching.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-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/rockchip,rk3588-cru.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>
usbdp_phy0: phy@fed80000 {
compatible = "rockchip,rk3588-usbdp-phy";
reg = <0xfed80000 0x10000>;
#phy-cells = <1>;
clocks = <&cru CLK_USBDPPHY_MIPIDCPPHY_REF>,
<&cru CLK_USBDP_PHY0_IMMORTAL>,
<&cru PCLK_USBDPPHY0>,
<&u2phy0>;
clock-names = "refclk", "immortal", "pclk", "utmi";
resets = <&cru SRST_USBDP_COMBO_PHY0_INIT>,
<&cru SRST_USBDP_COMBO_PHY0_CMN>,
<&cru SRST_USBDP_COMBO_PHY0_LANE>,
<&cru SRST_USBDP_COMBO_PHY0_PCS>,
<&cru SRST_P_USBDPPHY0>;
reset-names = "init", "cmn", "lane", "pcs_apb", "pma_apb";
rockchip,u2phy-grf = <&usb2phy0_grf>;
rockchip,usb-grf = <&usb_grf>;
rockchip,usbdpphy-grf = <&usbdpphy0_grf>;
rockchip,vo-grf = <&vo0_grf>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32 USB HS PHY controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/phy-stm32-usbphyc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The STM32 USBPHYC block contains a dual port High Speed UTMI+ PHY and a UTMI switch. It controls PHY configuration and status, and the UTMI+ switch that selects either OTG or HOST controller for the second PHY port. It also sets PLL configuration. USBPHYC |_ PLL | |_ PHY port#1 _________________ HOST controller | __ | | / 1|________________| |_ PHY port#2 ----| |________________ | \_0| | |_ UTMI switch_______| OTG controller
Maintainers (maintainers): "Amelie Delaunay <amelie.delaunay@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stm32mp1-usbphyc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
vdda1v1-supply — required here #
regulator providing 1V1 power supply to the PLL block
vdda1v8-supply — required here #
regulator providing 1V8 power supply to the PLL block
#clock-cells — not listed as required here #
number of clock cells for ck_usbo_48m consumer
Exact value (const): 0
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Properties matching a name pattern (patternProperties) #
^usb-phy@[0|1]$ — name matches this regular expression #
Value type (type): "object"
Each port the controller provides must be represented as a sub-node.
Properties and child nodes (properties) #
reg — required here
phy port index.
Maximum number of items (maxItems): 1
phy-supply — required here
regulator providing 3V3 power supply to the PHY.
#phy-cells — required here
connector — not listed as required here
Value type (type): "object"
Shared schema rule ($ref): /schemas/connector/usb-connector.yaml
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
vbus-supply — not listed as required here
true — No constraints added by this property rule.
st,current-boost-microamp — not listed as required here
Current boosting in uA
Allowed values (enum): 1000, 2000
st,no-lsfs-fb-cap — not listed as required here
Disables the LS/FS feedback capacitor
Value type (type): "boolean"
st,decrease-hs-slew-rate — not listed as required here
Decreases the HS driver slew rate by 10%
Value type (type): "boolean"
st,tune-hs-dc-level — not listed as required here
Tunes the HS driver DC level - <0> normal level - <1> increases the level by 5 to 7 mV - <2> increases the level by 10 to 14 mV - <3> decreases the level by 5 to 7 mV
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
Default value (default): 0
st,enable-fs-rftime-tuning — not listed as required here
Enables the FS rise/fall tuning option
Value type (type): "boolean"
st,enable-hs-rftime-reduction — not listed as required here
Enables the HS rise/fall reduction feature
Value type (type): "boolean"
st,trim-hs-current — not listed as required here
Controls HS driver current trimming for choke compensation - <0> = 18.87 mA target current / nominal + 0% - <1> = 19.165 mA target current / nominal + 1.56% - <2> = 19.46 mA target current / nominal + 3.12% - <3> = 19.755 mA target current / nominal + 4.68% - <4> = 20.05 mA target current / nominal + 6.24% - <5> = 20.345 mA target current / nominal + 7.8% - <6> = 20.64 mA target current / nominal + 9.36% - <7> = 20.935 mA target current / nominal + 10.92% - <8> = 21.23 mA target current / nominal + 12.48% - <9> = 21.525 mA target current / nominal + 14.04% - <10> = 21.82 mA target current / nominal + 15.6% - <11> = 22.115 mA target current / nominal + 17.16% - <12> = 22.458 mA target current / nominal + 19.01% - <13> = 22.755 mA target current / nominal + 20.58% - <14> = 23.052 mA target current / nominal + 22.16% - <15> = 23.348 mA target current / nominal + 23.73%
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
Default value (default): 0
st,trim-hs-impedance — not listed as required here
Controls HS driver impedance tuning for choke compensation - <0> = no impedance offset - <1> = reduce the impedance by 2 ohms - <2> = reduce the impedance by 4 ohms - <3> = reduce the impedance by 6 ohms
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
Default value (default): 0
st,tune-squelch-level — not listed as required here
Tunes the squelch DC threshold value - <0> = no shift in threshold - <1> = threshold shift by +7 mV - <2> = threshold shift by -5 mV - <3> = threshold shift by +14 mV
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
Default value (default): 0
st,enable-hs-rx-gain-eq — not listed as required here
Enables the HS Rx gain equalizer
Value type (type): "boolean"
st,tune-hs-rx-offset — not listed as required here
Adjusts the HS Rx offset - <0> = no offset - <1> = offset of +5 mV - <2> = offset of +10 mV - <3> = offset of -5 mV
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
Default value (default): 0
st,no-hs-ftime-ctrl — not listed as required here
Disables the HS fall time control of single ended signals during pre-emphasis
Value type (type): "boolean"
st,no-lsfs-sc — not listed as required here
Disables the short circuit protection in LS/FS driver
Value type (type): "boolean"
st,enable-hs-tx-staggering — not listed as required here
Enables the basic staggering in HS Tx mode
Value type (type): "boolean"
All of these rules must match (allOf) #
Rule 1
Condition (
if)Properties and child nodes (
properties)
reg— not listed as required hereExact value (
const):0When the condition matches (
then)Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):0When the condition does not match (
else)Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):1The value is used to select UTMI switch output. 0 for OTG controller and 1 for Host controller.
Required in this object (required): "reg", "phy-supply", "#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", "clocks", "#address-cells", "#size-cells", "vdda1v1-supply", "vdda1v8-supply", "usb-phy@0", "usb-phy@1"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/stm32mp1-clks.h>
#include <dt-bindings/reset/stm32mp1-resets.h>
usbphyc: usbphyc@5a006000 {
compatible = "st,stm32mp1-usbphyc";
reg = <0x5a006000 0x1000>;
clocks = <&rcc USBPHY_K>;
resets = <&rcc USBPHY_R>;
vdda1v1-supply = <®11>;
vdda1v8-supply = <®18>;
#address-cells = <1>;
#size-cells = <0>;
#clock-cells = <0>;
usbphyc_port0: usb-phy@0 {
reg = <0>;
phy-supply = <&vdd_usb>;
#phy-cells = <0>;
st,tune-hs-dc-level = <2>;
st,enable-fs-rftime-tuning;
st,enable-hs-rftime-reduction;
st,trim-hs-current = <15>;
st,trim-hs-impedance = <1>;
st,tune-squelch-level = <3>;
st,tune-hs-rx-offset = <2>;
st,no-lsfs-sc;
connector {
compatible = "usb-a-connector";
vbus-supply = <&vbus_sw>;
};
};
usbphyc_port1: usb-phy@1 {
reg = <1>;
phy-supply = <&vdd_usb>;
#phy-cells = <1>;
st,tune-hs-dc-level = <2>;
st,enable-fs-rftime-tuning;
st,enable-hs-rftime-reduction;
st,trim-hs-current = <15>;
st,trim-hs-impedance = <1>;
st,tune-squelch-level = <3>;
st,tune-hs-rx-offset = <2>;
st,no-lsfs-sc;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 62: Required child nodes:
Line 89: It can be necessary to adjust the PHY settings to compensate parasitics, which can be due
Line 90: to USB connector/receptacle, routing, ESD protection component,... Here is the list of
Line 91: all optional parameters to tune the interface of the PHY (HS for High-Speed, FS for Full-
Line 92: Speed, LS for Low-Speed)
NVIDIA Tegra194 & Tegra234 P2U
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/phy-tegra194-p2u.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <treding@nvidia.com>"
Tegra194 has two PHY bricks namely HSIO (High Speed IO) and NVHS (NVIDIA High Speed) each interfacing with 12 and 8 P2U instances respectively. Tegra234 has three PHY bricks namely HSIO, NVHS and GBE (Gigabit Ethernet) each interfacing with 8, 8 and 8 P2U instances respectively. A P2U instance is a glue logic between Synopsys DesignWare Core PCIe IP's PIPE interface and PHY of HSIO/NVHS/GBE bricks. Each P2U instance represents one PCIe lane.
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "nvidia,tegra194-p2u", "nvidia,tegra234-p2u"
reg — not listed as required here #
Maximum number of items (maxItems): 1
Should be the physical address space and length of respective each P2U instance.
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ctl"
nvidia,skip-sz-protect-en — not listed as required here #
Should be present if two PCIe retimers are present between the root port and its immediate downstream device.
Value type (type): "boolean"
#phy-cells — not listed as required here #
Exact value (const): 0
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
p2u_hsio_0: phy@3e10000 {
compatible = "nvidia,tegra194-p2u";
reg = <0x03e10000 0x10000>;
reg-names = "ctl";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Atheros AR71XX/9XXX USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qca,ar7100-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alban Bedel <albeu@free.fr>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"qca,ar7100-usb-phy"
reset-names — required here #
Names of reset lines in order.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"suspend-override"
resets — required here #
References to the reset controllers.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Reset controller for phy
Item 2
Reset controller for suspend-override
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reset-names", "resets", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy {
compatible = "qca,ar7100-usb-phy";
reset-names = "phy", "suspend-override";
resets = <&rst 4>, <&rst 3>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm eDP PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"
The Qualcomm eDP PHY is found in a number of Qualcomm platform and provides the physical interface for Embedded Display Port.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,glymur-dp-phy","qcom,sa8775p-edp-phy","qcom,sc7280-edp-phy","qcom,sc8180x-edp-phy","qcom,sc8280xp-dp-phy","qcom,sc8280xp-edp-phy","qcom,x1e80100-dp-phy"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sa8775p-edp-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY base register block
Item 2
tx0 register block
Item 3
tx1 register block
Item 4
PLL register block
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):"aux"
Item 2
Exact value (
const):"cfg_ahb"
Item 3
Exact value (
const):"ref"
#clock-cells — required here #
Exact value (const): 1
#phy-cells — required here #
Exact value (const): 0
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
vdda-phy-supply — not listed as required here #
true — No constraints added by this property rule.
vdda-pll-supply — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#phy-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,glymur-dp-phy","qcom,x1e80100-dp-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3When the condition does not match (
else) #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 hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@aec2a00 {
compatible = "qcom,sc8180x-edp-phy";
reg = <0x0aec2a00 0x1c0>,
<0x0aec2200 0xa0>,
<0x0aec2600 0xa0>,
<0x0aec2000 0x19c>;
clocks = <&dispcc 0>, <&dispcc 1>;
clock-names = "aux", "cfg_ahb";
#clock-cells = <1>;
#phy-cells = <0>;
vdda-phy-supply = <&vdd_a_edp_0_1p2>;
vdda-pll-supply = <&vdd_a_edp_0_0p9>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm Adreno/Snapdragon HDMI phy
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,hdmi-phy-other.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Clark <robdclark@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,hdmi-phy-8660", "qcom,hdmi-phy-8960", "qcom,hdmi-phy-8974", "qcom,hdmi-phy-8084"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hdmi_phy"
Item 2
Exact value (
const):"hdmi_pll"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
core-vdda-supply — not listed as required here #
phandle to VDDA supply regulator
vddio-supply — not listed as required here #
phandle to VDD I/O supply regulator
#clock-cells — not listed as required here #
Exact value (const): 0
#phy-cells — required here #
Exact value (const): 0
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)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"slave_iface"
vddio-supply— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
clock-names— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
Exact value (
const):"slave_iface"Item 2
Exact value (
const):"pxo"
vddio-supply— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,hdmi-phy-8084","qcom,hdmi-phy-8974"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"iface"Item 2
Exact value (
const):"alt_iface"
Required in this object (required): "compatible", "clocks", "reg", "reg-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
hdmi_phy: phy@4a00400 {
compatible = "qcom,hdmi-phy-8960";
reg-names = "hdmi_phy",
"hdmi_pll";
reg = <0x4a00400 0x60>,
<0x4a00500 0x100>;
#clock-cells = <0>;
#phy-cells = <0>;
power-domains = <&mmcc 1>;
clock-names = "slave_iface", "pxo";
clocks = <&clk 21>, <&pxo_board>;
core-vdda-supply = <&pm8921_hdmi_mvs>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm Adreno/Snapdragon QMP HDMI phy
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,hdmi-phy-qmp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Clark <robdclark@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,hdmi-phy-8996", "qcom,hdmi-phy-8998"
reg — required here #
Maximum number of items (maxItems): 6
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hdmi_pll"
Item 2
Exact value (
const):"hdmi_tx_l0"
Item 3
Exact value (
const):"hdmi_tx_l1"
Item 4
Exact value (
const):"hdmi_tx_l2"
Item 5
Exact value (
const):"hdmi_tx_l3"
Item 6
Exact value (
const):"hdmi_phy"
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):"iface"
Item 2
Exact value (
const):"ref"
Item 3
Exact value (
const):"xo"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
vcca-supply — not listed as required here #
phandle to VCCA supply regulator
vddio-supply — not listed as required here #
phandle to VDD I/O supply regulator
#clock-cells — not listed as required here #
Exact value (const): 0
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "clocks", "clock-names", "reg", "reg-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
hdmi-phy@9a0600 {
compatible = "qcom,hdmi-phy-8996";
reg = <0x009a0600 0x1c4>,
<0x009a0a00 0x124>,
<0x009a0c00 0x124>,
<0x009a0e00 0x124>,
<0x009a1000 0x124>,
<0x009a1200 0x0c8>;
reg-names = "hdmi_pll",
"hdmi_tx_l0",
"hdmi_tx_l1",
"hdmi_tx_l2",
"hdmi_tx_l3",
"hdmi_phy";
clocks = <&mmcc 116>,
<&gcc 214>,
<&xo_board>;
clock-names = "iface",
"ref",
"xo";
#clock-cells = <0>;
#phy-cells = <0>;
vddio-supply = <&vreg_l12a_1p8>;
vcca-supply = <&vreg_l28a_0p925>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm UNIPHY PCIe 28LP PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,ipq5332-uniphy-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nitheesh Sekar <quic_nsekar@quicinc.com>", "Varadarajan Narayanan <quic_varada@quicinc.com>"
PCIe and USB combo PHY found in Qualcomm IPQ5018 & IPQ5332 SoCs
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,ipq5018-uniphy-pcie-phy", "qcom,ipq5332-uniphy-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
resets — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
#phy-cells — required here #
Exact value (const): 0
#clock-cells — required here #
Exact value (const): 0
num-lanes — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible", "reg", "clocks", "resets", "#phy-cells", "#clock-cells", "num-lanes"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
pcie pipe clock
resets— not listed as required hereArray item rules (
items)Item 1
phy reset
Item 2
cfg reset
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
pcie pipe clock
Item 2
pcie ahb clock
resets— not listed as required hereArray item rules (
items)Item 1
phy reset
Item 2
ahb reset
Item 3
cfg reset
Examples (examples) #
#include <dt-bindings/clock/qcom,ipq5332-gcc.h>
pcie0_phy: phy@4b0000 {
compatible = "qcom,ipq5332-uniphy-pcie-phy";
reg = <0x004b0000 0x800>;
clocks = <&gcc GCC_PCIE3X1_0_PIPE_CLK>,
<&gcc GCC_PCIE3X1_PHY_AHB_CLK>;
resets = <&gcc GCC_PCIE3X1_0_PHY_BCR>,
<&gcc GCC_PCIE3X1_PHY_AHB_CLK_ARES>,
<&gcc GCC_PCIE3X1_0_PHY_PHY_BCR>;
#clock-cells = <0>;
#phy-cells = <0>;
num-lanes = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
M31 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,ipq5332-usb-hsphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sricharan Ramabadhran <quic_srichara@quicinc.com>", "Varadarajan Narayanan <quic_varada@quicinc.com>"
USB M31 PHY (https://www.m31tech.com) found in Qualcomm IPQ5018, IPQ5332 SoCs.
Properties and child nodes (properties) #
compatible — not listed as required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,ipq5018-usb-hsphy","qcom,ipq5332-usb-hsphy"
#phy-cells — not listed as required here #
Exact value (const): 0
reg — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cfg_ahb"
resets — not listed as required here #
Maximum number of items (maxItems): 1
vdd-supply — not listed as required here #
Phandle to 5V regulator supply to PHY digital circuit.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,ipq5332-gcc.h>
usb-phy@7b000 {
compatible = "qcom,ipq5332-usb-hsphy";
reg = <0x0007b000 0x12c>;
clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
clock-names = "cfg_ahb";
#phy-cells = <0>;
resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
vdd-supply = <®ulator_fixed_5p0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm ipq806x usb DWC3 HS PHY CONTROLLER
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-hs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ansuel Smith <ansuelsmth@gmail.com>"
DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer controllers used in ipq806x. Each DWC3 PHY controller should have its own node.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,ipq806x-usb-phy-hs"
#phy-cells — required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"xo"
Required in this object (required): "compatible", "#phy-cells", "reg", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-ipq806x.h>
hs_phy_0: phy@110f8800 {
compatible = "qcom,ipq806x-usb-phy-hs";
reg = <0x110f8800 0x30>;
clocks = <&gcc USB30_0_UTMI_CLK>;
clock-names = "ref";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Qualcomm ipq806x usb DWC3 SS PHY CONTROLLER
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ansuel Smith <ansuelsmth@gmail.com>"
DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer controllers used in ipq806x. Each DWC3 PHY controller should have its own node.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,ipq806x-usb-phy-ss"
#phy-cells — required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"xo"
qcom,rx-eq — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Override value for rx_eq.
Default value (default): 4
Maximum value (maximum): 7
qcom,tx-deamp-3_5db — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Override value for transmit preemphasis.
Default value (default): 23
Maximum value (maximum): 63
qcom,mpll — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Override value for mpll.
Default value (default): 0
Maximum value (maximum): 7
Required in this object (required): "compatible", "#phy-cells", "reg", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-ipq806x.h>
ss_phy_0: phy@110f8830 {
compatible = "qcom,ipq806x-usb-phy-ss";
reg = <0x110f8830 0x30>;
clocks = <&gcc USB30_0_MASTER_CLK>;
clock-names = "ref";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Qualcomm QMP PHY controller (PCIe, IPQ8074)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,ipq8074-qmp-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
QMP PHY controller supports physical layer functionality for a number of controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,ipq6018-qmp-pcie-phy","qcom,ipq8074-qmp-gen3-pcie-phy","qcom,ipq8074-qmp-pcie-phy","qcom,ipq9574-qmp-gen3x1-pcie-phy","qcom,ipq9574-qmp-gen3x2-pcie-phy"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,ipq9574-qmp-gen3x1-pcie-phy"
Rule 3
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,ipq9574-qmp-gen3x2-pcie-phy"
reg — required here #
Array item rules (items) #
Item 1
serdes
clocks — required here #
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"cfg_ahb"
Item 3
Exact value (
const):"pipe"
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"common"
#clock-cells — required here #
Exact value (const): 0
clock-output-names — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "#clock-cells", "clock-output-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/qcom,gcc-ipq6018.h>
#include <dt-bindings/reset/qcom,gcc-ipq6018.h>
phy@84000 {
compatible = "qcom,ipq6018-qmp-pcie-phy";
reg = <0x00084000 0x1000>;
clocks = <&gcc GCC_PCIE0_AUX_CLK>,
<&gcc GCC_PCIE0_AHB_CLK>,
<&gcc GCC_PCIE0_PIPE_CLK>;
clock-names = "aux",
"cfg_ahb",
"pipe";
clock-output-names = "gcc_pcie0_pipe_clk_src";
#clock-cells = <0>;
#phy-cells = <0>;
resets = <&gcc GCC_PCIE0_PHY_BCR>,
<&gcc GCC_PCIE0PHY_PHY_BCR>;
reset-names = "phy",
"common";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm M31 eUSB2 phy
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,m31-eusb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wesley Cheng <quic_wcheng@quicinc.com>"
M31 based eUSB2 controller, which supports LS/FS/HS usb connectivity on Qualcomm chipsets. It is paired with a eUSB2 repeater.
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):"qcom,glymur-m31-eusb2-phy","qcom,kaanapali-m31-eusb2-phy"Item 2
Exact value (
const):"qcom,sm8750-m31-eusb2-phy"
Rule 2
Exact value (
const):"qcom,sm8750-m31-eusb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Array item rules (items) #
Item 1
reference clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
resets — required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
Phandle to eUSB2 repeater
vdd-supply — required here #
Phandle to 0.88V regulator supply to PHY digital circuit.
vdda12-supply — required here #
Phandle to 1.2V regulator supply to PHY refclk pll block.
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names", "resets", "vdd-supply", "vdda12-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb_1_hsphy: phy@88e3000 {
compatible = "qcom,sm8750-m31-eusb2-phy";
reg = <0x88e3000 0x29c>;
clocks = <&tcsrcc_usb2_clkref_en>;
clock-names = "ref";
resets = <&gcc_qusb2phy_prim_bcr>;
#phy-cells = <0>;
vdd-supply = <&vreg_l2d_0p88>;
vdda12-supply = <&vreg_l3g_1p2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QMP PHY controller (MSM8996 PCIe)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,msm8996-qmp-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
QMP PHY controller supports physical layer functionality for a number of controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,msm8996-qmp-pcie-phy"
reg — required here #
Array item rules (items) #
Item 1
serdes
#address-cells — required here #
#size-cells — required here #
ranges — required here #
true — No constraints added by this property rule.
clocks — required here #
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"cfg_ahb"
Item 3
Exact value (
const):"ref"
resets — required here #
Maximum number of items (maxItems): 3
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"common"
Item 3
Exact value (
const):"cfg"
vdda-phy-supply — required here #
true — No constraints added by this property rule.
vdda-pll-supply — required here #
true — No constraints added by this property rule.
vddp-ref-clk-supply — not listed as required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^phy@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
one child node per PHY provided by this block
Properties and child nodes (properties) #
reg — required here
Array item rules (items)
Item 1
TX
Item 2
RX
Item 3
PCS
clocks — required here
Array item rules (items)
Item 1
PIPE clock
clock-names — not listed as required here
Deprecated (deprecated): true
Array item rules (items)
Item 1
resets — required here
Array item rules (items)
Item 1
PHY reset
reset-names — not listed as required here
Deprecated (deprecated): true
Array item rules (items)
Item 1
#clock-cells — required here
Exact value (const): 0
clock-output-names — required here
Maximum number of items (maxItems): 1
#phy-cells — required here
Exact value (const): 0
Required in this object (required): "reg", "clocks", "resets", "#clock-cells", "clock-output-names", "#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", "ranges", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-msm8996.h>
pcie_phy: phy-wrapper@34000 {
compatible = "qcom,msm8996-qmp-pcie-phy";
reg = <0x34000 0x488>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x34000 0x4000>;
clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
<&gcc GCC_PCIE_PHY_CFG_AHB_CLK>,
<&gcc GCC_PCIE_CLKREF_CLK>;
clock-names = "aux", "cfg_ahb", "ref";
resets = <&gcc GCC_PCIE_PHY_BCR>,
<&gcc GCC_PCIE_PHY_COM_BCR>,
<&gcc GCC_PCIE_PHY_COM_NOCSR_BCR>;
reset-names = "phy", "common", "cfg";
vdda-phy-supply = <&vreg_l28a_0p925>;
vdda-pll-supply = <&vreg_l12a_1p8>;
pciephy_0: phy@1000 {
reg = <0x1000 0x130>,
<0x1200 0x200>,
<0x1400 0x1dc>;
clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
resets = <&gcc GCC_PCIE_0_PHY_BCR>;
#clock-cells = <0>;
clock-output-names = "pcie_0_pipe_clk_src";
#phy-cells = <0>;
};
pciephy_1: phy@2000 {
reg = <0x2000 0x130>,
<0x2200 0x200>,
<0x2400 0x1dc>;
clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
resets = <&gcc GCC_PCIE_1_PHY_BCR>;
#clock-cells = <0>;
clock-output-names = "pcie_1_pipe_clk_src";
#phy-cells = <0>;
};
pciephy_2: phy@3000 {
reg = <0x3000 0x130>,
<0x3200 0x200>,
<0x3400 0x1dc>;
clocks = <&gcc GCC_PCIE_2_PIPE_CLK>;
resets = <&gcc GCC_PCIE_2_PHY_BCR>;
#clock-cells = <0>;
clock-output-names = "pcie_2_pipe_clk_src";
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QMP PHY controller (PCIe, MSM8998)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,msm8998-qmp-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
The QMP PHY controller supports physical layer functionality for a number of controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,msm8998-qmp-pcie-phy"
reg — required here #
Array item rules (items) #
Item 1
serdes
clocks — required here #
Maximum number of items (maxItems): 4
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"cfg_ahb"
Item 3
Exact value (
const):"ref"
Item 4
Exact value (
const):"pipe"
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"common"
vdda-phy-supply — required here #
true — No constraints added by this property rule.
vdda-pll-supply — required here #
true — No constraints added by this property rule.
#clock-cells — required here #
Exact value (const): 0
clock-output-names — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply", "#clock-cells", "clock-output-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/qcom,gcc-msm8998.h>
phy@1c18000 {
compatible = "qcom,msm8998-qmp-pcie-phy";
reg = <0x01c06000 0x1000>;
clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
<&gcc GCC_PCIE_CLKREF_CLK>,
<&gcc GCC_PCIE_0_PIPE_CLK>;
clock-names = "aux",
"cfg_ahb",
"ref",
"pipe";
clock-output-names = "pcie_0_pipe_clk_src";
#clock-cells = <0>;
#phy-cells = <0>;
resets = <&gcc GCC_PCIE_0_PHY_BCR>, <&gcc GCC_PCIE_PHY_BCR>;
reset-names = "phy", "common";
vdda-phy-supply = <&vreg_l1a_0p875>;
vdda-pll-supply = <&vreg_l2a_1p2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QMP PHY controller (USB, MSM8998)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,msm8998-qmp-usb3-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
The QMP PHY controller supports physical layer functionality for USB-C on several Qualcomm chipsets.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,msm8998-qmp-usb3-phy", "qcom,qcm2290-qmp-usb3-phy", "qcom,qcs615-qmp-usb3-phy", "qcom,sdm660-qmp-usb3-phy", "qcom,sm6115-qmp-usb3-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 4
clock-names — required here #
Maximum number of items (maxItems): 4
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"phy_phy"
vdda-phy-supply — required here #
true — No constraints added by this property rule.
vdda-pll-supply — required here #
true — No constraints added by this property rule.
#clock-cells — required here #
Exact value (const): 0
clock-output-names — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
orientation-switch — not listed as required here #
Flag the PHY as possible handler of USB Type-C orientation switching
Value type (type): "boolean"
qcom,tcsr-reg — 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 TCSR hardware block
Item 2
offset of the VLS CLAMP register
Clamp register present in the TCSR
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output endpoint of the PHY
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Incoming endpoint from the USB controller
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply", "#clock-cells", "clock-output-names", "#phy-cells", "qcom,tcsr-reg"
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)Allowed values (
enum):"qcom,msm8998-qmp-usb3-phy","qcom,qcs615-qmp-usb3-phy","qcom,sdm660-qmp-usb3-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"ref"Item 3
Exact value (
const):"cfg_ahb"Item 4
Exact value (
const):"pipe"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,qcm2290-qmp-usb3-phy","qcom,sm6115-qmp-usb3-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"cfg_ahb"Item 2
Exact value (
const):"ref"Item 3
Exact value (
const):"com_aux"Item 4
Exact value (
const):"pipe"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-msm8998.h>
#include <dt-bindings/clock/qcom,rpmh.h>
phy@c010000 {
compatible = "qcom,msm8998-qmp-usb3-phy";
reg = <0x0c010000 0x1000>;
clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
<&gcc GCC_USB3_CLKREF_CLK>,
<&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
<&gcc GCC_USB3_PHY_PIPE_CLK>;
clock-names = "aux",
"ref",
"cfg_ahb",
"pipe";
clock-output-names = "usb3_phy_pipe_clk_src";
#clock-cells = <0>;
#phy-cells = <0>;
resets = <&gcc GCC_USB3_PHY_BCR>,
<&gcc GCC_USB3PHY_PHY_BCR>;
reset-names = "phy",
"phy_phy";
vdda-phy-supply = <&vreg_l1a_0p875>;
vdda-pll-supply = <&vreg_l2a_1p2>;
orientation-switch;
qcom,tcsr-reg = <&tcsr_regs_1 0x6b244>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&pmic_typec_mux_in>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&usb_dwc3_ss>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm PCIe2 PHY controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,pcie2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
The Qualcomm PCIe2 PHY is a Synopsys based phy found in a number of Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"qcom,qcs404-pcie2-phy"
Item 2
Exact value (
const):"qcom,pcie2-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY register set
clocks — required here #
Array item rules (items) #
Item 1
a clock-specifier pair for the "pipe" clock
clock-output-names — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 0
#phy-cells — required here #
Exact value (const): 0
vdda-vp-supply — required here #
low voltage regulator
vdda-vph-supply — required here #
high voltage regulator
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"pipe"
Required in this object (required): "compatible", "reg", "clocks", "clock-output-names", "#clock-cells", "#phy-cells", "vdda-vp-supply", "vdda-vph-supply", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-qcs404.h>
phy@7786000 {
compatible = "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy";
reg = <0x07786000 0xb8>;
clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>,
<&gcc GCC_PCIE_0_PIPE_ARES>;
reset-names = "phy", "pipe";
vdda-vp-supply = <&vreg_l3_1p05>;
vdda-vph-supply = <&vreg_l5_1p8>;
clock-output-names = "pcie_0_pipe_clk";
#clock-cells = <0>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QMP USB3-DP PHY controller (DP, QCS615)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,qcs615-qmp-usb3dp-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Xiangxu Yin <xiangxu.yin@oss.qualcomm.com>"
The QMP PHY controller supports physical layer functionality for both USB3 and DisplayPort over USB-C. While it enables mode switching between USB3 and DisplayPort, but does not support combo mode.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,qcs615-qmp-usb3-dp-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 4
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"ref"
Item 3
Exact value (
const):"cfg_ahb"
Item 4
Exact value (
const):"pipe"
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_phy"
Item 2
Exact value (
const):"dp_phy"
vdda-phy-supply — required here #
true — No constraints added by this property rule.
vdda-pll-supply — required here #
true — No constraints added by this property rule.
#clock-cells — required here #
Exact value (const): 1
See include/dt-bindings/phy/phy-qcom-qmp.h
#phy-cells — required here #
Exact value (const): 1
See include/dt-bindings/phy/phy-qcom-qmp.h
qcom,tcsr-reg — 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 TCSR hardware block
Item 2
offset of the VLS CLAMP register
Item 3
offset of the PHY mode register
Clamp and PHY mode register present in the TCSR
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply", "#clock-cells", "#phy-cells", "qcom,tcsr-reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,qcs615-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
phy@88e8000 {
compatible = "qcom,qcs615-qmp-usb3-dp-phy";
reg = <0x88e8000 0x2000>;
clocks = <&gcc GCC_USB2_SEC_PHY_AUX_CLK>,
<&gcc GCC_USB3_SEC_CLKREF_CLK>,
<&gcc GCC_AHB2PHY_WEST_CLK>,
<&gcc GCC_USB2_SEC_PHY_PIPE_CLK>;
clock-names = "aux",
"ref",
"cfg_ahb",
"pipe";
resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
<&gcc GCC_USB3_DP_PHY_SEC_BCR>;
reset-names = "phy_phy",
"dp_phy";
vdda-phy-supply = <&vreg_l5a>;
vdda-pll-supply = <&vreg_l12a>;
#clock-cells = <1>;
#phy-cells = <1>;
qcom,tcsr-reg = <&tcsr 0xbff0 0xb24c>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QUSB2 phy controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,qusb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wesley Cheng <quic_wcheng@quicinc.com>"
QUSB2 controller supports LS/FS/HS usb connectivity on Qualcomm chipsets.
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):"qcom,ipq5424-qusb2-phy","qcom,ipq6018-qusb2-phy","qcom,ipq8074-qusb2-phy","qcom,ipq9574-qusb2-phy","qcom,msm8953-qusb2-phy","qcom,msm8996-qusb2-phy","qcom,msm8998-qusb2-phy","qcom,qcm2290-qusb2-phy","qcom,qcs615-qusb2-phy","qcom,sdm660-qusb2-phy","qcom,sm4250-qusb2-phy","qcom,sm6115-qusb2-phy"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,sc7180-qusb2-phy","qcom,sdm670-qusb2-phy","qcom,sdm845-qusb2-phy","qcom,sm6350-qusb2-phy"Item 2
Exact value (
const):"qcom,qusb2-v2-phy"
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
Array item rules (items) #
Item 1
phy config clock
Item 2
19.2 MHz ref clk
Item 3
phy interface clock (Optional)
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"cfg_ahb"
Item 2
Exact value (
const):"ref"
Item 3
Exact value (
const):"iface"
vdd-supply — required here #
Phandle to 0.9V regulator supply to PHY digital circuit.
vdda-pll-supply — required here #
Phandle to 1.8V regulator supply to PHY refclk pll block.
vdda-phy-dpdm-supply — required here #
Phandle to 3.1V regulator supply to Dp/Dm port signals.
resets — required here #
Maximum number of items (maxItems): 1
Phandle to reset to phy block.
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 1
Phandle to nvmem cell that contains 'HS Tx trim' tuning parameter value for qusb2 phy.
qcom,tcsr-syscon — not listed as required here #
Phandle to TCSR syscon register region.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
qcom,imp-res-offset-value — not listed as required here #
It is a 6 bit value that specifies offset to be added to PHY refgen RESCODE via IMP_CTRL1 register. It is a PHY tuning parameter that may vary for different boards of same SOC.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 63
Default value (default): 0
qcom,bias-ctrl-value — not listed as required here #
It is a 6 bit value that specifies bias-ctrl-value. It is a PHY tuning parameter that may vary for different boards of same SOC.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 63
Default value (default): 32
qcom,charge-ctrl-value — not listed as required here #
It is a 2 bit value that specifies charge-ctrl-value. It is a PHY tuning parameter that may vary for different boards of same SOC.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
Default value (default): 0
qcom,hstx-trim-value — not listed as required here #
It is a 4 bit value that specifies tuning for HSTX output current. Possible range is - 15mA to 24mA (stepsize of 600 uA). See dt-bindings/phy/phy-qcom-qusb2.h for applicable values.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
Default value (default): 3
qcom,preemphasis-level — not listed as required here #
It is a 2 bit value that specifies pre-emphasis level. Possible range is 0 to 15% (stepsize of 5%). See dt-bindings/phy/phy-qcom-qusb2.h for applicable values.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
Default value (default): 2
qcom,preemphasis-width — not listed as required here #
It is a 1 bit value that specifies how long the HSTX pre-emphasis (specified using qcom,preemphasis-level) must be in effect. Duration could be half-bit of full-bit. See dt-bindings/phy/phy-qcom-qusb2.h for applicable values.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 1
Default value (default): 0
qcom,hsdisc-trim-value — not listed as required here #
It is a 2 bit value tuning parameter that control disconnect threshold and may vary for different boards of same SOC.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
Default value (default): 0
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names", "vdd-supply", "vdda-pll-supply", "vdda-phy-dpdm-supply", "resets"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,qusb2-v2-phy"When the condition matches (
then) #Properties and child nodes (
properties)
qcom,imp-res-offset-value— not listed as required here
false— Not permitted by this property rule.
qcom,bias-ctrl-value— not listed as required here
false— Not permitted by this property rule.
qcom,charge-ctrl-value— not listed as required here
false— Not permitted by this property rule.
qcom,hstx-trim-value— not listed as required here
false— Not permitted by this property rule.
qcom,preemphasis-level— not listed as required here
false— Not permitted by this property rule.
qcom,preemphasis-width— not listed as required here
false— Not permitted by this property rule.
qcom,hsdisc-trim-value— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-msm8996.h>
hsusb_phy: phy@7411000 {
compatible = "qcom,msm8996-qusb2-phy";
reg = <0x7411000 0x180>;
#phy-cells = <0>;
clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
<&gcc GCC_RX1_USB2_CLKREF_CLK>;
clock-names = "cfg_ahb", "ref";
vdd-supply = <&pm8994_l28>;
vdda-pll-supply = <&pm8994_l12>;
vdda-phy-dpdm-supply = <&pm8994_l24>;
resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
nvmem-cells = <&qusb2p_hstx_trim>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm SerDes/SGMII ethernet PHY controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bartosz Golaszewski <bartosz.golaszewski@linaro.org>"
The SerDes PHY sits between the MAC and the external PHY and provides separate Rx Tx lines.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sa8775p-dwmac-sgmii-phy"
Rule 2
Exact value (
const):"qcom,sa8775p-dwmac-sgmii-phy"
reg — required here #
Array item rules (items) #
Item 1
serdes
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "sgmi_ref"
phy-supply — not listed as required here #
Phandle to a regulator that provides power to the PHY.
#phy-cells — required here #
Exact value (const): 0
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) #
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
serdes_phy: phy@8901000 {
compatible = "qcom,sa8775p-dwmac-sgmii-phy";
reg = <0x08901000 0xe10>;
clocks = <&gcc GCC_SGMI_CLKREF_EN>;
clock-names = "sgmi_ref";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm SATA PHY Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,sata-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Konrad Dybcio <konrad.dybcio@linaro.org>"
The Qualcomm SATA PHY describes on-chip SATA Physical layer controllers.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,ipq806x-sata-phy", "qcom,apq8064-sata-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "cfg"
#phy-cells — required here #
Exact value (const): 0
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/qcom,gcc-ipq806x.h>
sata_phy: sata-phy@1b400000 {
compatible = "qcom,ipq806x-sata-phy";
reg = <0x1b400000 0x200>;
clocks = <&gcc SATA_PHY_CFG_CLK>;
clock-names = "cfg";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Qualcomm QMP PHY controller (PCIe, SC8280XP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
The QMP PHY controller supports physical layer functionality for a number of controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,glymur-qmp-gen4x2-pcie-phy", "qcom,glymur-qmp-gen5x4-pcie-phy", "qcom,kaanapali-qmp-gen3x2-pcie-phy", "qcom,qcs615-qmp-gen3x1-pcie-phy", "qcom,qcs8300-qmp-gen4x2-pcie-phy", "qcom,sa8775p-qmp-gen4x2-pcie-phy", "qcom,sa8775p-qmp-gen4x4-pcie-phy", "qcom,sar2130p-qmp-gen3x2-pcie-phy", "qcom,sc8180x-qmp-pcie-phy", "qcom,sc8280xp-qmp-gen3x1-pcie-phy", "qcom,sc8280xp-qmp-gen3x2-pcie-phy", "qcom,sc8280xp-qmp-gen3x4-pcie-phy", "qcom,sdm845-qhp-pcie-phy", "qcom,sdm845-qmp-pcie-phy", "qcom,sdx55-qmp-pcie-phy", "qcom,sdx65-qmp-gen4x2-pcie-phy", "qcom,sm8150-qmp-gen3x1-pcie-phy", "qcom,sm8150-qmp-gen3x2-pcie-phy", "qcom,sm8250-qmp-gen3x1-pcie-phy", "qcom,sm8250-qmp-gen3x2-pcie-phy", "qcom,sm8250-qmp-modem-pcie-phy", "qcom,sm8350-qmp-gen3x1-pcie-phy", "qcom,sm8350-qmp-gen3x2-pcie-phy", "qcom,sm8450-qmp-gen3x1-pcie-phy", "qcom,sm8450-qmp-gen4x2-pcie-phy", "qcom,sm8550-qmp-gen3x2-pcie-phy", "qcom,sm8550-qmp-gen4x2-pcie-phy", "qcom,sm8650-qmp-gen3x2-pcie-phy", "qcom,sm8650-qmp-gen4x2-pcie-phy", "qcom,sm8750-qmp-gen3x2-pcie-phy", "qcom,x1e80100-qmp-gen3x2-pcie-phy", "qcom,x1e80100-qmp-gen4x2-pcie-phy", "qcom,x1e80100-qmp-gen4x4-pcie-phy", "qcom,x1e80100-qmp-gen4x8-pcie-phy", "qcom,x1p42100-qmp-gen4x4-pcie-phy"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clocks — required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 6
clock-names — required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"cfg_ahb"
Item 3
Exact value (
const):"ref"
Item 4
Item 5
Exact value (
const):"pipe"
Item 6
Exact value (
const):"pipediv2"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"phy_nocsr"
vdda-phy-supply — required here #
true — No constraints added by this property rule.
vdda-pll-supply — required here #
true — No constraints added by this property rule.
vdda-qref-supply — not listed as required here #
true — No constraints added by this property rule.
qcom,4ln-config-sel — not listed as required here #
PCIe 4-lane configuration
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle of TCSR syscon
Item 2
offset of PCIe 4-lane configuration register
Item 3
offset of configuration bit for this PHY
#clock-cells — required here #
true — No constraints added by this property rule.
clock-output-names — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply", "#clock-cells", "clock-output-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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)Allowed values (
enum):"qcom,sc8280xp-qmp-gen3x4-pcie-phy","qcom,x1e80100-qmp-gen4x4-pcie-phy","qcom,x1p42100-qmp-gen4x4-pcie-phy"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
port a
Item 2
port b
When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,kaanapali-qmp-gen3x2-pcie-phy","qcom,qcs615-qmp-gen3x1-pcie-phy","qcom,sar2130p-qmp-gen3x2-pcie-phy","qcom,sc8180x-qmp-pcie-phy","qcom,sdm845-qhp-pcie-phy","qcom,sdm845-qmp-pcie-phy","qcom,sdx55-qmp-pcie-phy","qcom,sm8150-qmp-gen3x1-pcie-phy","qcom,sm8150-qmp-gen3x2-pcie-phy","qcom,sm8250-qmp-gen3x1-pcie-phy","qcom,sm8250-qmp-gen3x2-pcie-phy","qcom,sm8250-qmp-modem-pcie-phy","qcom,sm8350-qmp-gen3x1-pcie-phy","qcom,sm8350-qmp-gen3x2-pcie-phy","qcom,sm8450-qmp-gen3x1-pcie-phy","qcom,sm8450-qmp-gen3x2-pcie-phy","qcom,sm8550-qmp-gen3x2-pcie-phy","qcom,sm8550-qmp-gen4x2-pcie-phy","qcom,sm8650-qmp-gen3x2-pcie-phy","qcom,sm8650-qmp-gen4x2-pcie-phy","qcom,sm8750-qmp-gen3x2-pcie-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):5
clock-names— not listed as required hereMaximum number of items (
maxItems):5
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,glymur-qmp-gen4x2-pcie-phy","qcom,glymur-qmp-gen5x4-pcie-phy","qcom,qcs8300-qmp-gen4x2-pcie-phy","qcom,sa8775p-qmp-gen4x2-pcie-phy","qcom,sa8775p-qmp-gen4x4-pcie-phy","qcom,sc8280xp-qmp-gen3x1-pcie-phy","qcom,sc8280xp-qmp-gen3x2-pcie-phy","qcom,sc8280xp-qmp-gen3x4-pcie-phy","qcom,x1e80100-qmp-gen3x2-pcie-phy","qcom,x1e80100-qmp-gen4x2-pcie-phy","qcom,x1e80100-qmp-gen4x4-pcie-phy","qcom,x1e80100-qmp-gen4x8-pcie-phy","qcom,x1p42100-qmp-gen4x4-pcie-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):6
clock-names— not listed as required hereMinimum number of items (
minItems):6
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,glymur-qmp-gen4x2-pcie-phy","qcom,glymur-qmp-gen5x4-pcie-phy","qcom,kaanapali-qmp-gen3x2-pcie-phy","qcom,sm8550-qmp-gen4x2-pcie-phy","qcom,sm8650-qmp-gen4x2-pcie-phy","qcom,x1e80100-qmp-gen3x2-pcie-phy","qcom,x1e80100-qmp-gen4x2-pcie-phy","qcom,x1e80100-qmp-gen4x4-pcie-phy","qcom,x1e80100-qmp-gen4x8-pcie-phy","qcom,x1p42100-qmp-gen4x4-pcie-phy"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):2
reset-names— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sm8450-qmp-gen4x2-pcie-phy","qcom,sm8550-qmp-gen4x2-pcie-phy","qcom,sm8650-qmp-gen4x2-pcie-phy"When the condition matches (
then) #Properties and child nodes (
properties)
#clock-cells— not listed as required hereExact value (
const):1When the condition does not match (
else) #Properties and child nodes (
properties)
#clock-cells— not listed as required hereExact value (
const):0
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
pcie2b_phy: phy@1c18000 {
compatible = "qcom,sc8280xp-qmp-gen3x2-pcie-phy";
reg = <0x01c18000 0x2000>;
clocks = <&gcc GCC_PCIE_2B_AUX_CLK>,
<&gcc GCC_PCIE_2B_CFG_AHB_CLK>,
<&gcc GCC_PCIE_2A2B_CLKREF_CLK>,
<&gcc GCC_PCIE2B_PHY_RCHNG_CLK>,
<&gcc GCC_PCIE_2B_PIPE_CLK>,
<&gcc GCC_PCIE_2B_PIPEDIV2_CLK>;
clock-names = "aux", "cfg_ahb", "ref", "rchng",
"pipe", "pipediv2";
power-domains = <&gcc PCIE_2B_GDSC>;
resets = <&gcc GCC_PCIE_2B_PHY_BCR>;
reset-names = "phy";
vdda-phy-supply = <&vreg_l6d>;
vdda-pll-supply = <&vreg_l4d>;
#clock-cells = <0>;
clock-output-names = "pcie_2b_pipe_clk";
#phy-cells = <0>;
};
pcie2a_phy: phy@1c24000 {
compatible = "qcom,sc8280xp-qmp-gen3x4-pcie-phy";
reg = <0x01c24000 0x2000>, <0x01c26000 0x2000>;
clocks = <&gcc GCC_PCIE_2A_AUX_CLK>,
<&gcc GCC_PCIE_2A_CFG_AHB_CLK>,
<&gcc GCC_PCIE_2A2B_CLKREF_CLK>,
<&gcc GCC_PCIE2A_PHY_RCHNG_CLK>,
<&gcc GCC_PCIE_2A_PIPE_CLK>,
<&gcc GCC_PCIE_2A_PIPEDIV2_CLK>;
clock-names = "aux", "cfg_ahb", "ref", "rchng",
"pipe", "pipediv2";
power-domains = <&gcc PCIE_2A_GDSC>;
resets = <&gcc GCC_PCIE_2A_PHY_BCR>;
reset-names = "phy";
vdda-phy-supply = <&vreg_l6d>;
vdda-pll-supply = <&vreg_l4d>;
qcom,4ln-config-sel = <&tcsr 0xa044 0>;
#clock-cells = <0>;
clock-output-names = "pcie_2a_pipe_clk";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QMP PHY controller (UFS, SC8280XP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-ufs-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
The QMP PHY controller supports physical layer functionality for a number of controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm6115-qmp-ufs-phy"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8550-qmp-ufs-phy"
Rule 3
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sa8775p-qmp-ufs-phy"
Rule 4
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8750-qmp-ufs-phy"
Rule 5
Allowed values (
enum):"qcom,milos-qmp-ufs-phy","qcom,msm8996-qmp-ufs-phy","qcom,msm8998-qmp-ufs-phy","qcom,sa8775p-qmp-ufs-phy","qcom,sc7180-qmp-ufs-phy","qcom,sc7280-qmp-ufs-phy","qcom,sc8180x-qmp-ufs-phy","qcom,sc8280xp-qmp-ufs-phy","qcom,sdm845-qmp-ufs-phy","qcom,sm6115-qmp-ufs-phy","qcom,sm6125-qmp-ufs-phy","qcom,sm6350-qmp-ufs-phy","qcom,sm7150-qmp-ufs-phy","qcom,sm8150-qmp-ufs-phy","qcom,sm8250-qmp-ufs-phy","qcom,sm8350-qmp-ufs-phy","qcom,sm8450-qmp-ufs-phy","qcom,sm8475-qmp-ufs-phy","qcom,sm8550-qmp-ufs-phy","qcom,sm8650-qmp-ufs-phy","qcom,sm8750-qmp-ufs-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
Maximum number of items (maxItems): 3
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ufsphy"
vdda-phy-supply — required here #
true — No constraints added by this property rule.
vdda-pll-supply — required here #
true — No constraints added by this property rule.
#clock-cells — not listed as required here #
Exact value (const): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply", "#phy-cells"
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)Allowed values (
enum):"qcom,milos-qmp-ufs-phy","qcom,msm8998-qmp-ufs-phy","qcom,sa8775p-qmp-ufs-phy","qcom,sc7180-qmp-ufs-phy","qcom,sc7280-qmp-ufs-phy","qcom,sc8180x-qmp-ufs-phy","qcom,sc8280xp-qmp-ufs-phy","qcom,sdm845-qmp-ufs-phy","qcom,sm6115-qmp-ufs-phy","qcom,sm6125-qmp-ufs-phy","qcom,sm6350-qmp-ufs-phy","qcom,sm7150-qmp-ufs-phy","qcom,sm8150-qmp-ufs-phy","qcom,sm8250-qmp-ufs-phy","qcom,sm8350-qmp-ufs-phy","qcom,sm8450-qmp-ufs-phy","qcom,sm8475-qmp-ufs-phy","qcom,sm8550-qmp-ufs-phy","qcom,sm8650-qmp-ufs-phy","qcom,sm8750-qmp-ufs-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"ref"Item 2
Exact value (
const):"ref_aux"Item 3
Exact value (
const):"qref"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)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):"ref"Item 2
Exact value (
const):"qref"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8996-qmp-ufs-phy","qcom,msm8998-qmp-ufs-phy"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— 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/qcom,gcc-sc8280xp.h>
#include <dt-bindings/clock/qcom,rpmh.h>
ufs_mem_phy: phy@1d87000 {
compatible = "qcom,sc8280xp-qmp-ufs-phy";
reg = <0x01d87000 0x1000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
<&gcc GCC_UFS_REF_CLKREF_CLK>;
clock-names = "ref", "ref_aux", "qref";
power-domains = <&gcc UFS_PHY_GDSC>;
resets = <&ufs_mem_hc 0>;
reset-names = "ufsphy";
vdda-phy-supply = <&vreg_l6b>;
vdda-pll-supply = <&vreg_l3b>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QMP PHY controller (USB, SC8280XP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
The QMP PHY controller supports physical layer functionality for a number of controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,glymur-qmp-usb3-uni-phy", "qcom,ipq5424-qmp-usb3-phy", "qcom,ipq6018-qmp-usb3-phy", "qcom,ipq8074-qmp-usb3-phy", "qcom,ipq9574-qmp-usb3-phy", "qcom,msm8996-qmp-usb3-phy", "qcom,qcs8300-qmp-usb3-uni-phy", "qcom,qdu1000-qmp-usb3-uni-phy", "qcom,sa8775p-qmp-usb3-uni-phy", "qcom,sc8180x-qmp-usb3-uni-phy", "qcom,sc8280xp-qmp-usb3-uni-phy", "qcom,sdm845-qmp-usb3-uni-phy", "qcom,sdx55-qmp-usb3-uni-phy", "qcom,sdx65-qmp-usb3-uni-phy", "qcom,sdx75-qmp-usb3-uni-phy", "qcom,sm8150-qmp-usb3-uni-phy", "qcom,sm8250-qmp-usb3-uni-phy", "qcom,sm8350-qmp-usb3-uni-phy", "qcom,x1e80100-qmp-usb3-uni-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"phy_phy"
vdda-phy-supply — required here #
true — No constraints added by this property rule.
vdda-pll-supply — required here #
true — No constraints added by this property rule.
refgen-supply — not listed as required here #
true — No constraints added by this property rule.
#clock-cells — required here #
Exact value (const): 0
clock-output-names — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply", "#clock-cells", "clock-output-names", "#phy-cells"
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)Allowed values (
enum):"qcom,ipq5424-qmp-usb3-phy","qcom,ipq6018-qmp-usb3-phy","qcom,ipq8074-qmp-usb3-phy","qcom,ipq9574-qmp-usb3-phy","qcom,msm8996-qmp-usb3-phy","qcom,sdx55-qmp-usb3-uni-phy","qcom,sdx65-qmp-usb3-uni-phy","qcom,sdx75-qmp-usb3-uni-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"ref"Item 3
Exact value (
const):"cfg_ahb"Item 4
Exact value (
const):"pipe"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,glymur-qmp-usb3-uni-phy","qcom,qcs8300-qmp-usb3-uni-phy","qcom,qdu1000-qmp-usb3-uni-phy","qcom,sa8775p-qmp-usb3-uni-phy","qcom,sc8180x-qmp-usb3-uni-phy","qcom,sc8280xp-qmp-usb3-uni-phy","qcom,sm8150-qmp-usb3-uni-phy","qcom,sm8250-qmp-usb3-uni-phy","qcom,sm8350-qmp-usb3-uni-phy","qcom,x1e80100-qmp-usb3-uni-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"ref"Item 3
Exact value (
const):"com_aux"Item 4
Exact value (
const):"pipe"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):5
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"cfg_ahb"Item 3
Exact value (
const):"ref"Item 4
Exact value (
const):"com_aux"Item 5
Exact value (
const):"pipe"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,glymur-qmp-usb3-uni-phy","qcom,sa8775p-qmp-usb3-uni-phy","qcom,sc8180x-qmp-usb3-uni-phy","qcom,sc8280xp-qmp-usb3-uni-phy","qcom,x1e80100-qmp-usb3-uni-phy"When the condition matches (
then) #
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
refgen-supply— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
#include <dt-bindings/clock/qcom,rpmh.h>
phy@88ef000 {
compatible = "qcom,sc8280xp-qmp-usb3-uni-phy";
reg = <0x088ef000 0x2000>;
clocks = <&gcc GCC_USB3_MP_PHY_AUX_CLK>,
<&gcc GCC_USB3_MP0_CLKREF_CLK>,
<&gcc GCC_USB3_MP_PHY_COM_AUX_CLK>,
<&gcc GCC_USB3_MP_PHY_PIPE_0_CLK>;
clock-names = "aux", "ref", "com_aux", "pipe";
power-domains = <&gcc USB30_MP_GDSC>;
resets = <&gcc GCC_USB3_UNIPHY_MP0_BCR>,
<&gcc GCC_USB3UNIPHY_PHY_MP0_BCR>;
reset-names = "phy", "phy_phy";
vdda-phy-supply = <&vreg_l3a>;
vdda-pll-supply = <&vreg_l5a>;
#clock-cells = <0>;
clock-output-names = "usb2_phy0_pipe_clk";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QMP USB4-USB3-DP PHY controller (SC8280XP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
The QMP PHY controller supports physical layer functionality for a number of controllers on Qualcomm chipsets, such as, PCIe, UFS and USB.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8750-qmp-usb3-dp-phy"
Rule 2
Allowed values (
enum):"qcom,glymur-qmp-usb3-dp-phy","qcom,sar2130p-qmp-usb3-dp-phy","qcom,sc7180-qmp-usb3-dp-phy","qcom,sc7280-qmp-usb3-dp-phy","qcom,sc8180x-qmp-usb3-dp-phy","qcom,sc8280xp-qmp-usb43dp-phy","qcom,sdm845-qmp-usb3-dp-phy","qcom,sm6350-qmp-usb3-dp-phy","qcom,sm8150-qmp-usb3-dp-phy","qcom,sm8250-qmp-usb3-dp-phy","qcom,sm8350-qmp-usb3-dp-phy","qcom,sm8450-qmp-usb3-dp-phy","qcom,sm8550-qmp-usb3-dp-phy","qcom,sm8650-qmp-usb3-dp-phy","qcom,sm8750-qmp-usb3-dp-phy","qcom,x1e80100-qmp-usb3-dp-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"aux"
Item 2
Exact value (
const):"ref"
Item 3
Exact value (
const):"com_aux"
Item 4
Exact value (
const):"usb3_pipe"
Item 5
Exact value (
const):"cfg_ahb"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"common"
vdda-phy-supply — required here #
true — No constraints added by this property rule.
vdda-pll-supply — required here #
true — No constraints added by this property rule.
refgen-supply — not listed as required here #
true — No constraints added by this property rule.
#clock-cells — required here #
Exact value (const): 1
See include/dt-bindings/phy/phy-qcom-qmp.h
#phy-cells — required here #
Exact value (const): 1
See include/dt-bindings/phy/phy-qcom-qmp.h
mode-switch — not listed as required here #
true — No constraints added by this property rule.
orientation-switch — not listed as required here #
true — No constraints added by this property rule.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Output endpoint of the PHY
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
endpoint@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base
Display Port Output lanes of the PHY when used with static mapping, The entry index is the DP lanes index, and the number is the PHY signal in the order RX0, TX0, TX1, RX1.
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
data-lanes — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):3
Rule 2
Array item rules (
items)Item 1
Exact value (
const):0
Rule 3
Array item rules (
items)Item 1
Exact value (
const):3Item 2
Exact value (
const):2
Rule 4
Array item rules (
items)Item 1
Exact value (
const):0Item 2
Exact value (
const):1
Rule 5
Array item rules (
items)Item 1
Exact value (
const):3Item 2
Exact value (
const):2Item 3
Exact value (
const):1Item 4
Exact value (
const):0
Rule 6
Array item rules (
items)Item 1
Exact value (
const):0Item 2
Exact value (
const):1Item 3
Exact value (
const):2Item 4
Exact value (
const):3
Required in this object (required): "data-lanes"
endpoint@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base
USB Output lanes of the PHY when used with static mapping. The entry index is the USB3 lane in the order TX then RX, and the number is the PHY signal in the order RX0, TX0, TX1, RX1.
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
data-lanes — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):0
Rule 2
Array item rules (
items)Item 1
Exact value (
const):2Item 2
Exact value (
const):3
Required in this object (required): "data-lanes"
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Incoming endpoint from the USB controller
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Incoming endpoint from the DisplayPort controller
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply", "#clock-cells", "#phy-cells"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/usb/usb-switch.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"qcom,sc7180-qmp-usb3-dp-phy","qcom,sdm845-qmp-usb3-dp-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):5
clock-names— not listed as required hereMaximum number of items (
maxItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereMaximum number of items (
maxItems):4
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,glymur-qmp-usb3-dp-phy","qcom,sar2130p-qmp-usb3-dp-phy","qcom,sc8280xp-qmp-usb43dp-phy","qcom,sm6350-qmp-usb3-dp-phy","qcom,sm8550-qmp-usb3-dp-phy","qcom,sm8650-qmp-usb3-dp-phy","qcom,sm8750-qmp-usb3-dp-phy","qcom,x1e80100-qmp-usb3-dp-phy"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
power-domains— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
refgen-supply— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
phy@88eb000 {
compatible = "qcom,sc8280xp-qmp-usb43dp-phy";
reg = <0x088eb000 0x4000>;
clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
<&gcc GCC_USB4_EUD_CLKREF_CLK>,
<&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
<&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
clock-names = "aux", "ref", "com_aux", "usb3_pipe";
power-domains = <&gcc USB30_PRIM_GDSC>;
resets = <&gcc GCC_USB3_PHY_PRIM_BCR>,
<&gcc GCC_USB4_DP_PHY_PRIM_BCR>;
reset-names = "phy", "common";
vdda-phy-supply = <&vreg_l9d>;
vdda-pll-supply = <&vreg_l4d>;
orientation-switch;
#clock-cells = <1>;
#phy-cells = <1>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&typec_connector_ss>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&dwc3_ss_out>;
};
};
port@2 {
reg = <2>;
endpoint {
remote-endpoint = <&mdss_dp_out>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 109: Static lane mappings are mutually exclusive with typec-mux/orientation-mux
Line 115: DisplayPort 1 lane, normal orientation
Line 117: DisplayPort 1 lane, flipped orientation
Line 119: DisplayPort 2 lanes, normal orientation
Line 122: DisplayPort 2 lanes, flipped orientation
Line 125: DisplayPort 4 lanes, normal orientation
Line 130: DisplayPort 4 lanes, flipped orientation
Line 146: Static lane mappings are mutually exclusive with typec-mux/orientation-mux
Line 151: USB3, normal orientation
Line 154: USB3, flipped orientation
Qualcomm SNPS eUSB2 phy controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,snps-eusb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Abel Vesa <abel.vesa@linaro.org>"
eUSB2 controller supports LS/FS/HS usb connectivity on Qualcomm chipsets.
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):"qcom,milos-snps-eusb2-phy","qcom,sar2130p-snps-eusb2-phy","qcom,sdx75-snps-eusb2-phy","qcom,sm8650-snps-eusb2-phy","qcom,x1e80100-snps-eusb2-phy"Item 2
Exact value (
const):"qcom,sm8550-snps-eusb2-phy"
Rule 2
Exact value (
const):"qcom,sm8550-snps-eusb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Array item rules (items) #
Item 1
ref
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
resets — required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
Phandle to eUSB2 to USB 2.0 repeater
vdd-supply — required here #
Phandle to 0.88V regulator supply to PHY digital circuit.
vdda12-supply — required here #
Phandle to 1.2V regulator supply to PHY refclk pll block.
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names", "vdd-supply", "vdda12-supply", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sm8550-tcsr.h>
usb_1_hsphy: phy@88e3000 {
compatible = "qcom,sm8550-snps-eusb2-phy";
reg = <0x88e3000 0x154>;
#phy-cells = <0>;
clocks = <&tcsrcc TCSR_USB2_CLKREF_EN>;
clock-names = "ref";
vdd-supply = <&vreg_l1e_0p88>;
vdda12-supply = <&vreg_l3e_1p2>;
resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm Synopsis eUSB2 to USB 2.0 repeater
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,snps-eusb2-repeater.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Abel Vesa <abel.vesa@linaro.org>"
eUSB2 repeater converts between eUSB2 and USB 2.0 signaling levels and allows a eUSB2 PHY to connect to legacy USB 2.0 products
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,pm8550b-eusb2-repeater"
Rule 2
Allowed values (
enum):"qcom,pm8550b-eusb2-repeater","qcom,pmiv0104-eusb2-repeater","qcom,smb2360-eusb2-repeater","qcom,smb2370-eusb2-repeater"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
vdd18-supply — not listed as required here #
true — No constraints added by this property rule.
vdd3-supply — not listed as required here #
true — No constraints added by this property rule.
qcom,tune-usb2-disc-thres — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
High-Speed disconnect threshold
Minimum value (minimum): 0
Maximum value (maximum): 7
qcom,tune-usb2-amplitude — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
High-Speed transmit amplitude
Minimum value (minimum): 0
Maximum value (maximum): 15
qcom,tune-usb2-preem — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
High-Speed TX pre-emphasis tuning
Minimum value (minimum): 0
Maximum value (maximum): 7
qcom,tune-res-fsdif — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
FS Differential TX Output Resistance Tuning
Minimum value (minimum): 0
Maximum value (maximum): 7
qcom,squelch-detector-bp — not listed as required here #
This adjusts the voltage level for the threshold used to detect valid high-speed data.
Minimum value (minimum): -6000
Maximum value (maximum): 1000
Multiple of (multipleOf): 1000
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/spmi/spmi.h>
pmic@7 {
reg = <0x7 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
pm8550b_eusb2_repeater: phy@fd00 {
compatible = "qcom,pm8550b-eusb2-repeater";
reg = <0xfd00>;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm Synopsys DesignWare Core 28nm High-Speed PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,usb-hs-28nm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bryan O'Donoghue <bryan.odonoghue@linaro.org>"
Qualcomm Low-Speed, Full-Speed, Hi-Speed 28nm USB PHY
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,usb-hs-28nm-femtophy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Array item rules (items) #
Item 1
rpmcc ref clock
Item 2
PHY AHB clock
Item 3
Rentention clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"ahb"
Item 3
Exact value (
const):"sleep"
resets — required here #
Array item rules (items) #
Item 1
PHY core reset
Item 2
POR reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"por"
vdd-supply — required here #
phandle to the regulator VDD supply node.
vdda1p8-supply — required here #
phandle to the regulator 1.8V supply node.
vdda3p3-supply — required here #
phandle to the regulator 3.3V supply node.
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names", "resets", "reset-names", "vdd-supply", "vdda1p8-supply", "vdda3p3-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-qcs404.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
usb2_phy_prim: phy@7a000 {
compatible = "qcom,usb-hs-28nm-femtophy";
reg = <0x0007a000 0x200>;
#phy-cells = <0>;
clocks = <&rpmcc RPM_SMD_LN_BB_CLK>,
<&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>,
<&gcc GCC_USB2A_PHY_SLEEP_CLK>;
clock-names = "ref", "ahb", "sleep";
resets = <&gcc GCC_USB_HS_PHY_CFG_AHB_BCR>,
<&gcc GCC_USB2A_PHY_BCR>;
reset-names = "phy", "por";
vdd-supply = <&vreg_l4_1p2>;
vdda1p8-supply = <&vreg_l5_1p8>;
vdda3p3-supply = <&vreg_l12_3p3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm's USB HS PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,usb-hs-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"qcom,usb-hs-phy-apq8064","qcom,usb-hs-phy-msm8660","qcom,usb-hs-phy-msm8960"
When the condition matches (then) #
Properties and child nodes (
properties) #
resets— not listed as required here #Maximum number of items (
maxItems):1
reset-names— not listed as required here #Exact value (
const):"por"
When the condition does not match (else) #
Properties and child nodes (
properties) #
resets— not listed as required here #Minimum number of items (
minItems):2Maximum number of items (
maxItems):2
reset-names— not listed as required here #Array item rules (
items)Item 1
Exact value (
const):"phy"Item 2
Exact value (
const):"por"
Properties and child nodes (properties) #
compatible — not listed as required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,usb-hs-phy-apq8064","qcom,usb-hs-phy-msm8226","qcom,usb-hs-phy-msm8660","qcom,usb-hs-phy-msm8916","qcom,usb-hs-phy-msm8960","qcom,usb-hs-phy-msm8974"
Item 2
Exact value (
const):"qcom,usb-hs-phy"
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
clock-names — required here #
Maximum number of items (maxItems): 2
Rule for matching array elements (contains) #
Array item rules (
items)Item 1
Exact value (
const):"ref"Item 2
Exact value (
const):"sleep"
resets — required here #
true — No constraints added by this property rule.
reset-names — required here #
true — No constraints added by this property rule.
v1p8-supply — not listed as required here #
true — No constraints added by this property rule.
v3p3-supply — not listed as required here #
true — No constraints added by this property rule.
extcon — not listed as required here #
true — No constraints added by this property rule.
#phy-cells — required here #
Exact value (const): 0
qcom,init-seq — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-matrix
Sequence of ULPI address and value pairs to program into the ULPI_EXT_VENDOR_SPECIFIC area. This is related to Device Mode Eye Diagram test.
Maximum number of items (maxItems): 32
Array item rules (items) #
Array item rules (
items)Item 1
the address is offset from the ULPI_EXT_VENDOR_SPECIFIC address
Item 2
value
Required in this object (required): "clocks", "clock-names", "resets", "reset-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
otg: usb-controller {
#reset-cells = <1>;
ulpi {
phy {
compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy";
#phy-cells = <0>;
clocks = <&clk 0>, <&clk 258>;
clock-names = "ref", "sleep";
resets = <&gcc 10>, <&otg 0>;
reset-names = "phy", "por";
v3p3-supply = <&pm8941_l24>;
v1p8-supply = <&pm8941_l6>;
extcon = <&smbb>;
qcom,init-seq = /bits/ 8 <0x1 0x63>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 81: no hard limit
Qualcomm USB HSIC PHY Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,usb-hsic-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Vinod Koul <vkoul@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,usb-hsic-phy-mdm9615","qcom,usb-hsic-phy-msm8974"
Item 2
Exact value (
const):"qcom,usb-hsic-phy"
clocks — required here #
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"cal"
Item 3
Exact value (
const):"cal_sleep"
#phy-cells — required here #
Exact value (const): 0
pinctrl-0 — required here #
true — No constraints added by this property rule.
pinctrl-1 — required here #
true — No constraints added by this property rule.
pinctrl-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"init"
Item 2
Exact value (
const):"default"
Required in this object (required): "compatible", "clocks", "clock-names", "#phy-cells", "pinctrl-0", "pinctrl-1", "pinctrl-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-msm8974.h>
phy {
compatible = "qcom,usb-hsic-phy-msm8974",
"qcom,usb-hsic-phy";
clocks = <&gcc GCC_USB_HSIC_CLK>,
<&gcc GCC_USB_HSIC_IO_CAL_CLK>,
<&gcc GCC_USB_HSIC_IO_CAL_SLEEP_CLK>;
clock-names = "phy", "cal", "cal_sleep";
#phy-cells = <0>;
pinctrl-names = "init", "default";
pinctrl-0 = <&hsic_sleep>;
pinctrl-1 = <&hsic_default>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm Synopsys Femto High-Speed USB PHY V2
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wesley Cheng <quic_wcheng@quicinc.com>"
Qualcomm High-Speed USB PHY
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):"qcom,sa8775p-usb-hs-phy","qcom,sc8280xp-usb-hs-phy"Item 2
Exact value (
const):"qcom,usb-snps-hs-5nm-phy"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,qcs8300-usb-hs-phy","qcom,qdu1000-usb-hs-phy","qcom,sc7280-usb-hs-phy","qcom,sc8180x-usb-hs-phy","qcom,sdx55-usb-hs-phy","qcom,sdx65-usb-hs-phy","qcom,sm6375-usb-hs-phy","qcom,sm8150-usb-hs-phy","qcom,sm8250-usb-hs-phy","qcom,sm8350-usb-hs-phy","qcom,sm8450-usb-hs-phy"Item 2
Exact value (
const):"qcom,usb-snps-hs-7nm-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Array item rules (items) #
Item 1
rpmhcc ref clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
resets — required here #
Array item rules (items) #
Item 1
PHY core reset
vdda-pll-supply — required here #
phandle to the regulator VDD supply node.
vdda18-supply — required here #
phandle to the regulator 1.8V supply node.
vdda33-supply — required here #
phandle to the regulator 3.3V supply node.
qcom,hs-disconnect-bp — not listed as required here #
This adjusts the voltage level for the threshold used to detect a disconnect event at the host. The hardware accepts only discrete values. The value closest to the provided input will be chosen as the override value for this param.
Minimum value (minimum): -272
Maximum value (maximum): 2156
qcom,squelch-detector-bp — not listed as required here #
This adjusts the voltage level for the threshold used to detect valid high-speed data. The hardware accepts only discrete values. The value closest to the provided input will be chosen as the override value for this param.
Minimum value (minimum): -2090
Maximum value (maximum): 1590
qcom,hs-amplitude-bp — not listed as required here #
This adjusts the high-speed DC level voltage. The hardware accepts only discrete values. The value closest to the provided input will be chosen as the override value for this param.
Minimum value (minimum): -660
Maximum value (maximum): 2670
qcom,pre-emphasis-duration-bp — not listed as required here #
This signal controls the duration for which the HS pre-emphasis current is sourced onto DP<#> or DM<#>. The HS Transmitter pre-emphasis duration is defined in terms of unit amounts. One unit of pre-emphasis duration is approximately 650 ps and is defined as 1X pre-emphasis duration. The hardware accepts only discrete values. The value closest to the provided input will be chosen as the override value for this param.
Minimum value (minimum): 10000
Maximum value (maximum): 20000
qcom,pre-emphasis-amplitude-bp — not listed as required here #
This signal controls the amount of current sourced to DP<#> and DM<#> after a J-to-K or K-to-J transition. The HS Transmitter pre-emphasis current is defined in terms of unit amounts. One unit amount is approximately 2 mA and is defined as 1X pre-emphasis current. The hardware accepts only discrete values. The value closest to the provided input will be chosen as the override value for this param.
Minimum value (minimum): 10000
Maximum value (maximum): 40000
qcom,hs-rise-fall-time-bp — not listed as required here #
This adjusts the rise/fall times of the high-speed waveform. The hardware accepts only discrete values. The value closest to the provided input will be chosen as the override value for this param.
Minimum value (minimum): -4100
Maximum value (maximum): 5430
qcom,hs-crossover-voltage-microvolt — not listed as required here #
This adjusts the voltage at which the DP<#> and DM<#> signals cross while transmitting in HS mode. The hardware accepts only discrete values. The value closest to the provided input will be chosen as the override value for this param.
Minimum value (minimum): -31000
Maximum value (maximum): 28000
qcom,hs-output-impedance-micro-ohms — not listed as required here #
In some applications, there can be significant series resistance on the D+ and D- paths between the transceiver and cable. This adjusts the driver source impedance to compensate for added series resistance on the USB. The hardware accepts only discrete values. The value closest to the provided input will be chosen as the override value for this param.
Minimum value (minimum): -2300000
Maximum value (maximum): 6100000
qcom,ls-fs-output-impedance-bp — not listed as required here #
This adjusts the low- and full-speed single-ended source impedance while driving high. The following adjustment values are based on nominal process, voltage, and temperature. The hardware accepts only discrete values. The value closest to the provided input will be chosen as the override value for this param.
Minimum value (minimum): -1053
Maximum value (maximum): 1310
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names", "resets", "vdda-pll-supply", "vdda18-supply", "vdda33-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
phy@88e2000 {
compatible = "qcom,sm8150-usb-hs-phy", "qcom,usb-snps-hs-7nm-phy";
reg = <0x088e2000 0x400>;
#phy-cells = <0>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "ref";
resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
vdda-pll-supply = <&vdd_usb_hs_core>;
vdda33-supply = <&vdda_usb_hs_3p1>;
vdda18-supply = <&vdda_usb_hs_1p8>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,usb-ss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bryan O'Donoghue <bryan.odonoghue@linaro.org>"
Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,usb-ss-28nm-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Array item rules (items) #
Item 1
rpmcc clock
Item 2
PHY AHB clock
Item 3
SuperSpeed pipe clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"ahb"
Item 3
Exact value (
const):"pipe"
vdd-supply — required here #
phandle to the regulator VDD supply node.
vdda1p8-supply — required here #
phandle to the regulator 1.8V supply node.
resets — not listed as required here #
Array item rules (items) #
Item 1
COM reset
Item 2
PHY reset line
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"com"
Item 2
Exact value (
const):"phy"
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names", "vdd-supply", "vdda1p8-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-qcs404.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
usb3_phy: usb3-phy@78000 {
compatible = "qcom,usb-ss-28nm-phy";
reg = <0x78000 0x400>;
#phy-cells = <0>;
clocks = <&rpmcc RPM_SMD_LN_BB_CLK>,
<&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>,
<&gcc GCC_USB3_PHY_PIPE_CLK>;
clock-names = "ref", "ahb", "pipe";
resets = <&gcc GCC_USB3_PHY_BCR>,
<&gcc GCC_USB3PHY_PHY_BCR>;
reset-names = "com", "phy";
vdd-supply = <&vreg_l3_1p05>;
vdda1p8-supply = <&vreg_l5_1p8>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcom IPQ40xx Dakota HS/SS USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom-usb-ipq4019-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robert Marko <robert.marko@sartura.hr>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,usb-ss-ipq4019-phy", "qcom,usb-hs-ipq4019-phy"
reg — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"por_rst"
Item 2
Exact value (
const):"srif_rst"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "resets", "reset-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/qcom,gcc-ipq4019.h>
hsphy@a8000 {
#phy-cells = <0>;
compatible = "qcom,usb-hs-ipq4019-phy";
reg = <0xa8000 0x40>;
resets = <&gcc USB2_HSPHY_POR_ARES>,
<&gcc USB2_HSPHY_S_ARES>;
reset-names = "por_rst", "srif_rst";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Realtek DHC SoCs USB 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/realtek,usb2phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanley Chang <stanley_chang@realtek.com>"
Realtek USB 2.0 PHY support the digital home center (DHC) RTD series SoCs. The USB 2.0 PHY driver is designed to support the XHCI controller. The SoCs support multiple XHCI controllers. One PHY device node maps to one XHCI controller.
RTD1295/RTD1619 SoCs USB
The USB architecture includes three XHCI controllers.
Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on some
controllers.
XHCI controller#0 -- usb2phy -- phy#0
|- usb3phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
XHCI controller#2 -- usb2phy -- phy#0
|- usb3phy -- phy#0
RTD1395 SoCs USB
The USB architecture includes two XHCI controllers.
The controller#0 has one USB 2.0 PHY. The controller#1 includes two USB 2.0
PHY.
XHCI controller#0 -- usb2phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
|- phy#1
RTD1319/RTD1619b SoCs USB
The USB architecture includes three XHCI controllers.
Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#2.
XHCI controller#0 -- usb2phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
XHCI controller#2 -- usb2phy -- phy#0
|- usb3phy -- phy#0
RTD1319d SoCs USB
The USB architecture includes three XHCI controllers.
Each xhci maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#0.
XHCI controller#0 -- usb2phy -- phy#0
|- usb3phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
XHCI controller#2 -- usb2phy -- phy#0
RTD1312c/RTD1315e SoCs USB The USB architecture includes three XHCI controllers. Each XHCI maps to one USB 2.0 PHY. XHCI controller#0 -- usb2phy -- phy#0 XHCI controller#1 -- usb2phy -- phy#0 XHCI controller#2 -- usb2phy -- phy#0
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "realtek,rtd1295-usb2phy", "realtek,rtd1312c-usb2phy", "realtek,rtd1315e-usb2phy", "realtek,rtd1319-usb2phy", "realtek,rtd1319d-usb2phy", "realtek,rtd1395-usb2phy", "realtek,rtd1395-usb2phy-2port", "realtek,rtd1619-usb2phy", "realtek,rtd1619b-usb2phy"
reg — required here #
Array item rules (items) #
Item 1
PHY data registers
Item 2
PHY control registers
#phy-cells — required here #
Exact value (const): 0
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 2
Phandles to nvmem cell that contains the trimming data. If unspecified, default value is used.
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb-dc-cal"
Item 2
Exact value (
const):"usb-dc-dis"
The following names, which correspond to each nvmem-cells. usb-dc-cal is the driving level for each phy specified via efuse. usb-dc-dis is the disconnection level for each phy specified via efuse.
realtek,inverse-hstx-sync-clock — not listed as required here #
For one of the phys of RTD1619b SoC, the synchronous clock of the high-speed tx must be inverted.
Value type (type): "boolean"
realtek,driving-level — not listed as required here #
Control the magnitude of High speed Dp/Dm output swing (mV). For a different board or port, the original magnitude maybe not meet the specification. In this situation we can adjust the value to meet the specification.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 8
Minimum value (minimum): 0
Maximum value (maximum): 31
realtek,driving-level-compensate — not listed as required here #
For RTD1315e SoC, the driving level can be adjusted by reading the efuse table. This property provides drive compensation. If the magnitude of High speed Dp/Dm output swing still not meet the specification, then we can set this value to meet the specification.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/int32
Default value (default): 0
Minimum value (minimum): -8
Maximum value (maximum): 8
realtek,disconnection-compensate — not listed as required here #
This adjusts the disconnection level compensation for the different boards with different disconnection level.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/int32
Default value (default): 0
Minimum value (minimum): -8
Maximum value (maximum): 8
Required in this object (required): "compatible", "reg", "#phy-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
realtek,inverse-hstx-sync-clock— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
realtek,driving-level-compensate— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@13214 {
compatible = "realtek,rtd1619b-usb2phy";
reg = <0x13214 0x4>, <0x28280 0x4>;
#phy-cells = <0>;
nvmem-cells = <&otp_usb_port0_dc_cal>, <&otp_usb_port0_dc_dis>;
nvmem-cell-names = "usb-dc-cal", "usb-dc-dis";
realtek,inverse-hstx-sync-clock;
realtek,driving-level = <0xa>;
realtek,disconnection-compensate = <(-1)>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2023 Realtek Semiconductor Corporation
Realtek DHC SoCs USB 3.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/realtek,usb3phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanley Chang <stanley_chang@realtek.com>"
Realtek USB 3.0 PHY support the digital home center (DHC) RTD series SoCs. The USB 3.0 PHY driver is designed to support the XHCI controller. The SoCs support multiple XHCI controllers. One PHY device node maps to one XHCI controller.
RTD1295/RTD1619 SoCs USB
The USB architecture includes three XHCI controllers.
Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on some
controllers.
XHCI controller#0 -- usb2phy -- phy#0
|- usb3phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
XHCI controller#2 -- usb2phy -- phy#0
|- usb3phy -- phy#0
RTD1319/RTD1619b SoCs USB
The USB architecture includes three XHCI controllers.
Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#2.
XHCI controller#0 -- usb2phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
XHCI controller#2 -- usb2phy -- phy#0
|- usb3phy -- phy#0
RTD1319d SoCs USB
The USB architecture includes three XHCI controllers.
Each xhci maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#0.
XHCI controller#0 -- usb2phy -- phy#0
|- usb3phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
XHCI controller#2 -- usb2phy -- phy#0
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "realtek,rtd1295-usb3phy", "realtek,rtd1319-usb3phy", "realtek,rtd1319d-usb3phy", "realtek,rtd1619-usb3phy", "realtek,rtd1619b-usb3phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 1
A phandle to the tx lfps swing trim data provided by a nvmem device, if unspecified, default values shall be used.
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb_u3_tx_lfps_swing_trim"
realtek,amplitude-control-coarse-tuning — not listed as required here #
This adjusts the signal amplitude for normal operation and beacon LFPS. This value is a parameter for coarse tuning. For different boards, if the default value is inappropriate, this property can be assigned to adjust.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 255
Minimum value (minimum): 0
Maximum value (maximum): 255
realtek,amplitude-control-fine-tuning — not listed as required here #
This adjusts the signal amplitude for normal operation and beacon LFPS. This value is used for fine-tuning parameters.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 65535
Minimum value (minimum): 0
Maximum value (maximum): 65535
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@13e10 {
compatible = "realtek,rtd1319d-usb3phy";
reg = <0x13e10 0x4>;
#phy-cells = <0>;
nvmem-cells = <&otp_usb_u3_tx_lfps_swing_trim>;
nvmem-cell-names = "usb_u3_tx_lfps_swing_trim";
realtek,amplitude-control-coarse-tuning = <0x77>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2023 Realtek Semiconductor Corporation
Renesas Ethernet SERDES
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/renesas,r8a779f0-ether-serdes.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 #
Exact value (const): "renesas,r8a779f0-ether-serdes"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Port number of SERDES.
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "resets", "power-domains", "#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/r8a779f0-cpg-mssr.h>
#include <dt-bindings/power/r8a779f0-sysc.h>
phy@e6444000 {
compatible = "renesas,r8a779f0-ether-serdes";
reg = <0xe6444000 0xc00>;
clocks = <&cpg CPG_MOD 1506>;
power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
resets = <&cpg 1506>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Renesas R-Car Gen2 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
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
Renesas R-Car Generation 3 PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/renesas,rcar-gen3-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sergei Shtylyov <sergei.shtylyov@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "renesas,r8a77980-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "power-domains", "resets", "#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/r8a77980-cpg-mssr.h>
#include <dt-bindings/power/r8a77980-sysc.h>
pcie-phy@e65d0000 {
compatible = "renesas,r8a77980-pcie-phy";
reg = <0xe65d0000 0x8000>;
#phy-cells = <0>;
clocks = <&cpg CPG_MOD 319>;
power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
resets = <&cpg 319>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Renesas RZ/G3E USB 3.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/renesas,rzg3e-usb3-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"renesas,r9a09g047-usb3-phy"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a09g056-usb3-phy","renesas,r9a09g057-usb3-phy"Item 2
Exact value (
const):"renesas,r9a09g047-usb3-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
APB bus clock
Item 2
USB 2.0 PHY reference clock
Item 3
USB 3.0 PHY reference clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"core"
Item 3
Exact value (
const):"ref_alt_clk_p"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "power-domains", "resets", "#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/renesas,r9a09g047-cpg.h>
usb-phy@15870000 {
compatible = "renesas,r9a09g047-usb3-phy";
reg = <0x15870000 0x10000>;
clocks = <&cpg CPG_MOD 0xb0>, <&cpg CPG_CORE 13>, <&cpg CPG_CORE 12>;
clock-names = "pclk", "core", "ref_alt_clk_p";
power-domains = <&cpg>;
resets = <&cpg 0xaa>;
#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 15: RZ/G3E
Line 19: RZ/V2N
Line 20: RZ/V2H(P)
Renesas R-Car generation 3 USB 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/renesas,usb2-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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,usb2-phy-r8a77470","renesas,usb2-phy-r9a08g045","renesas,usb2-phy-r9a09g057"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,usb2-phy-r7s9210","renesas,usb2-phy-r8a774a1","renesas,usb2-phy-r8a774b1","renesas,usb2-phy-r8a774c0","renesas,usb2-phy-r8a774e1","renesas,usb2-phy-r8a7795","renesas,usb2-phy-r8a7796","renesas,usb2-phy-r8a77961","renesas,usb2-phy-r8a77965","renesas,usb2-phy-r8a77990","renesas,usb2-phy-r8a77995"Item 2
Exact value (
const):"renesas,rcar-gen3-usb2-phy"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,usb2-phy-r9a07g043","renesas,usb2-phy-r9a07g044","renesas,usb2-phy-r9a07g054"Item 2
Exact value (
const):"renesas,rzg2l-usb2-phy"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,usb2-phy-r9a09g047","renesas,usb2-phy-r9a09g056"Item 2
Exact value (
const):"renesas,usb2-phy-r9a09g057"
Rule 5
Exact value (
const):"renesas,usb2-phy-r9a09g077"
Rule 6
Array item rules (
items)Item 1
Exact value (
const):"renesas,usb2-phy-r9a09g087"Item 2
Exact value (
const):"renesas,usb2-phy-r9a09g077"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"fck"
Item 2
Exact value (
const):"usb_x1"
#phy-cells — required here #
The phandle's argument in the PHY specifier is the INT_STATUS bit of controller. - 1 = USBH_INTA (OHCI) - 2 = USBH_INTB (EHCI) - 3 = UCOM_INT (OTG and BC)
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
reset of USB 2.0 host side
Item 2
reset of USB 2.0 peripheral side
vbus-supply — not listed as required here #
Phandle to a regulator that provides power to the VBUS. This regulator will be managed during the PHY power on/off sequence.
vbus-regulator — not listed as required here #
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
USB VBUS internal regulator
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
renesas,no-otg-pins — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
specify when a board does not provide proper otg pins.
dr_mode — not listed as required here #
true — No constraints added by this property rule.
mux-states — not listed as required here #
phandle to a mux controller node that select the source for USB VBUS.
Maximum number of items (maxItems): 1
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Exact value (
const):"renesas,usb2-phy-r7s9210"
When the condition matches (then) #
Required in this object (required): "compatible", "reg", "clocks", "#phy-cells"
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)Allowed values (
enum):"renesas,usb2-phy-r9a09g057","renesas,usb2-phy-r9a08g045","renesas,rzg2l-usb2-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,usb2-phy-r9a09g077"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
resets— not listed as required here
false— Not permitted by this property rule.
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/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
usb-phy@ee080200 {
compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
reg = <0xee080200 0x700>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 703>;
#phy-cells = <1>;
};
usb-phy@ee0a0200 {
compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
reg = <0xee0a0200 0x700>;
clocks = <&cpg CPG_MOD 702>;
#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 17: RZ/G1C
Line 18: RZ/G3S
Line 19: RZ/V2H(P)
Line 23: RZ/A2
Line 24: RZ/G2M
Line 25: RZ/G2N
Line 26: RZ/G2E
Line 27: RZ/G2H
Line 28: R-Car H3
Line 29: R-Car M3-W
Line 30: R-Car M3-W+
Line 31: R-Car M3-N
Line 32: R-Car E3
Line 33: R-Car D3
Line 38: RZ/G2UL
Line 39: RZ/G2{L,LC}
Line 40: RZ/V2L
Line 45: RZ/G3E
Line 46: RZ/V2N
Line 49: RZ/T2H
Line 52: RZ/N2H
Line 69: and 0 is deprecated.
Renesas R-Car generation 3 USB 3.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
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
Rockchip USB2.0 phy with inno IP block
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,inno-usb2phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,px30-usb2phy", "rockchip,rk3036-usb2phy", "rockchip,rk3128-usb2phy", "rockchip,rk3228-usb2phy", "rockchip,rk3308-usb2phy", "rockchip,rk3328-usb2phy", "rockchip,rk3366-usb2phy", "rockchip,rk3399-usb2phy", "rockchip,rk3562-usb2phy", "rockchip,rk3568-usb2phy", "rockchip,rk3576-usb2phy", "rockchip,rk3588-usb2phy", "rockchip,rv1108-usb2phy"
reg — required here #
Maximum number of items (maxItems): 1
clock-output-names — required here #
The usb 480m output clock name.
#clock-cells — required here #
Exact value (const): 0
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phyclk"
Item 2
Exact value (
const):"aclk"
Item 3
Exact value (
const):"aclk_slv"
assigned-clocks — not listed as required here #
Phandle of the usb 480m clock.
assigned-clock-parents — not listed as required here #
Parent of the usb 480m clock. Select between usb-phy output 480m and xin24m. Refer to clk/clock-bindings.txt for generic clock consumer properties.
extcon — not listed as required here #
Phandle to the extcon device providing the cable state for the otg phy.
interrupts — not listed as required here #
Muxed interrupt for both ports
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 2
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"apb"
rockchip,usbgrf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the syscon managing the 'usb general register files'. When set the driver will request its phandle as one companion-grf for some special SoCs (e.g rv1108).
host-port — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#phy-cells — required here
Exact value (const): 0
interrupts — not listed as required here
host linestate interrupt
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here
Exact value (const): "linestate"
phy-supply — not listed as required here
Phandle to a regulator that provides power to VBUS. See ./phy-bindings.txt for details.
Required in this object (required): "#phy-cells"
otg-port — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#phy-cells — required here
Exact value (const): 0
interrupts — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
interrupt-names — not listed as required here
Exactly one of these rules must match (oneOf)
Rule 1
Exact value (
const):"linestate"
Rule 2
Exact value (
const):"otg-mux"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"otg-bvalid"Item 2
Exact value (
const):"otg-id"Item 3
Exact value (
const):"linestate"
phy-supply — not listed as required here
Phandle to a regulator that provides power to VBUS. See ./phy-bindings.txt for details.
Required in this object (required): "#phy-cells"
Required in this object (required): "compatible", "reg", "clock-output-names", "#clock-cells"
At least one of these rules must match (anyOf) #
Rule 1 #
Rule 2 #
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)Allowed values (
enum):"rockchip,rk3568-usb2phy","rockchip,rk3588-usb2phy"When the condition matches (
then) #Properties and child nodes (
properties)
host-port— not listed as required hereProperties and child nodes (
properties)
interrupts— not listed as required here
false— Not permitted by this property rule.
otg-port— not listed as required hereProperties and child nodes (
properties)
interrupts— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required here
false— Not permitted by this property rule.
host-port— not listed as required hereRequired in this object (
required):"interrupts","interrupt-names"
otg-port— not listed as required hereRequired in this object (
required):"interrupts","interrupt-names"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"rockchip,px30-usb2phy","rockchip,rk3036-usb2phy","rockchip,rk3128-usb2phy","rockchip,rk3228-usb2phy","rockchip,rk3308-usb2phy","rockchip,rk3328-usb2phy","rockchip,rk3366-usb2phy","rockchip,rk3399-usb2phy","rockchip,rk3562-usb2phy","rockchip,rk3568-usb2phy","rockchip,rk3588-usb2phy","rockchip,rv1108-usb2phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
u2phy0: usb2phy@e450 {
compatible = "rockchip,rk3399-usb2phy";
reg = <0xe450 0x10>;
clocks = <&cru SCLK_USB2PHY0_REF>;
clock-names = "phyclk";
clock-output-names = "clk_usbphy0_480m";
#clock-cells = <0>;
u2phy0_host: host-port {
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "linestate";
#phy-cells = <0>;
};
u2phy0_otg: otg-port {
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "otg-bvalid", "otg-id", "linestate";
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Rockchip PCIe v3 phy
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,pcie3-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3568-pcie3-phy", "rockchip,rk3588-pcie3-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
data-lanes — not listed as required here #
which lanes (by position) should be mapped to which controller (value). 0 means lane disabled, higher value means used. (controller-number +1 )
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 16
Array item rules (items) #
Minimum value (
minimum):0Maximum value (
maximum):16
#phy-cells — required here #
Exact value (const): 0
resets — not listed as required here #
Maximum number of items (maxItems): 1
reset-names — not listed as required here #
Exact value (const): "phy"
phy-supply — not listed as required here #
Single PHY regulator
rockchip,phy-grf — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to the syscon managing the phy "general register files"
rockchip,pipe-grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to the syscon managing the pipe "general register files"
rockchip,rx-common-refclk-mode — not listed as required here #
which lanes (by position) should be configured to run in RX common reference clock mode. 0 means disabled, 1 means enabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
Array item rules (items) #
Minimum value (
minimum):0Maximum value (
maximum):1
Required in this object (required): "compatible", "reg", "rockchip,phy-grf", "#phy-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pclk"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"refclk_m"Item 2
Exact value (
const):"refclk_n"Item 3
Exact value (
const):"pclk"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3568-cru.h>
pcie30phy: phy@fe8c0000 {
compatible = "rockchip,rk3568-pcie3-phy";
reg = <0xfe8c0000 0x20000>;
#phy-cells = <0>;
clocks = <&pmucru CLK_PCIE30PHY_REF_M>,
<&pmucru CLK_PCIE30PHY_REF_N>,
<&cru PCLK_PCIE30PHY>;
clock-names = "refclk_m", "refclk_n", "pclk";
resets = <&cru SRST_PCIE30PHY>;
reset-names = "phy";
rockchip,phy-grf = <&pcie30_phy_grf>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Rockchip MIPI DPHY with additional LVDS/TTL modes
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,px30-dsi-dphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 0
compatible — required here #
Allowed values (enum): "rockchip,px30-dsi-dphy", "rockchip,rk3128-dsi-dphy", "rockchip,rk3368-dsi-dphy", "rockchip,rk3506-dsi-dphy", "rockchip,rk3568-dsi-dphy", "rockchip,rv1126-dsi-dphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PLL reference clock
Item 2
Module clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"pclk"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
phandle to the associated power domain
resets — required here #
Array item rules (items) #
Item 1
exclusive PHY reset line
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb"
Required in this object (required): "#phy-cells", "compatible", "reg", "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) #
dsi_dphy: phy@ff2e0000 {
compatible = "rockchip,px30-dsi-dphy";
reg = <0xff2e0000 0x10000>;
clocks = <&pmucru 13>, <&cru 12>;
clock-names = "ref", "pclk";
resets = <&cru 12>;
reset-names = "apb";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Rockchip HDMI PHY with Innosilicon IP block
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,rk3228-hdmi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3228-hdmi-phy", "rockchip,rk3328-hdmi-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sysclk"
Item 2
Exact value (
const):"refoclk"
Item 3
Exact value (
const):"refpclk"
clock-output-names — required here #
The hdmiphy output clock name, that gets fed back to the CRU.
#clock-cells — required here #
Exact value (const): 0
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 1
A phandle + nvmem specifier for the cpu-version efuse for adjustment to some frequency settings, depending on cpu-version
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cpu-version"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "clock-output-names", "#clock-cells", "#phy-cells"
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):"rockchip,rk3228-hdmi-phy"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"rockchip,rk3328-hdmi-phy"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3228-cru.h>
hdmi_phy: phy@12030000 {
compatible = "rockchip,rk3228-hdmi-phy";
reg = <0x12030000 0x10000>;
#phy-cells = <0>;
clocks = <&cru PCLK_HDMI_PHY>, <&xin24m>, <&cru DCLK_HDMI_PHY>;
clock-names = "sysclk", "refoclk", "refpclk";
#clock-cells = <0>;
clock-output-names = "hdmi_phy";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Rockchip specific extensions to the Analogix Display Port PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,rk3288-dp-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rockchip,rk3288-dp-phy"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "24m"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "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/rk3288-cru.h>
edp-phy {
compatible = "rockchip,rk3288-dp-phy";
clocks = <&cru SCLK_EDP_24M>;
clock-names = "24m";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Rockchip EMMC PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,rk3399-emmc-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rockchip,rk3399-emmc-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "emmcclk"
drive-impedance-ohm — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Specifies the drive impedance in Ohm.
Allowed values (enum): 33, 40, 50, 66, 100
Default value (default): 50
rockchip,enable-strobe-pulldown — not listed as required here #
Value type (type): "boolean"
Enable internal pull-down for the strobe line. If not set, pull-down is not used.
rockchip,output-tapdelay-select — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Specifies the phyctrl_otapdlysec register.
Default value (default): 4
Maximum value (maximum): 15
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@f780 {
compatible = "rockchip,rk3399-emmc-phy";
reg = <0xf780 0x20>;
clocks = <&sdhci>;
clock-names = "emmcclk";
drive-impedance-ohm = <50>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Rockchip RK3399 PCIE PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,rk3399-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rockchip,rk3399-pcie-phy"
#phy-cells — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):0Deprecated (
deprecated):true
Rule 2
Exact value (
const):1One lane per phy mode
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "refclk"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Exact value (const): "phy"
Required in this object (required): "compatible", "#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.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Rockchip Type-C PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,rk3399-typec-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rockchip,rk3399-typec-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tcpdcore"
Item 2
Exact value (
const):"tcpdphy-ref"
extcon — not listed as required here #
true — No constraints added by this property rule.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 3
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"uphy"
Item 2
Exact value (
const):"uphy-pipe"
Item 3
Exact value (
const):"uphy-tcphy"
rockchip,grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the syscon managing the "general register files" (GRF).
dp-port — required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#phy-cells — required here
Exact value (const): 0
port — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Connection to USB Type-C connector
Required in this object (required): "#phy-cells"
usb3-port — required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#phy-cells — required here
Exact value (const): 0
orientation-switch — not listed as required here
true — No constraints added by this property rule.
port — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Connection to USB Type-C connector SS port
Required in this object (required): "#phy-cells"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "dp-port", "usb3-port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3399-cru.h>
phy@ff7c0000 {
compatible = "rockchip,rk3399-typec-phy";
reg = <0xff7c0000 0x40000>;
rockchip,grf = <&grf>;
extcon = <&fusb0>;
clocks = <&cru SCLK_UPHY0_TCPDCORE>,
<&cru SCLK_UPHY0_TCPDPHY_REF>;
clock-names = "tcpdcore", "tcpdphy-ref";
resets = <&cru SRST_UPHY0>,
<&cru SRST_UPHY0_PIPE_L00>,
<&cru SRST_P_UPHY0_TCPHY>;
reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
dp-port {
#phy-cells = <0>;
};
usb3-port {
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Rockchip SoC HDMI/eDP Transmitter Combo PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,rk3588-hdptx-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Cristian Ciocaltea <cristian.ciocaltea@collabora.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"rockchip,rk3588-hdptx-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Reference clock
Item 2
APB clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"apb"
#clock-cells — not listed as required here #
Exact value (const): 0
#phy-cells — required here #
Exact value (const): 0
resets — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 7
reset-names — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 7
rockchip,grf — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Some PHY related data is accessed through GRF regs.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#phy-cells", "resets", "reset-names", "rockchip,grf"
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)When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"apb"Item 2
Exact value (
const):"init"Item 3
Exact value (
const):"cmn"Item 4
Exact value (
const):"lane"When the condition does not match (
else) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):7
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"phy"Item 2
Exact value (
const):"apb"Item 3
Exact value (
const):"init"Item 4
Exact value (
const):"cmn"Item 5
Exact value (
const):"lane"Item 6
Exact value (
const):"ropll"Item 7
Exact value (
const):"lcpll"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
phy@fed60000 {
compatible = "rockchip,rk3588-hdptx-phy";
reg = <0x0 0xfed60000 0x0 0x2000>;
clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>, <&cru PCLK_HDPTX0>;
clock-names = "ref", "apb";
#phy-cells = <0>;
resets = <&cru SRST_HDPTX0>, <&cru SRST_P_HDPTX0>,
<&cru SRST_HDPTX0_INIT>, <&cru SRST_HDPTX0_CMN>,
<&cru SRST_HDPTX0_LANE>, <&cru SRST_HDPTX0_ROPLL>,
<&cru SRST_HDPTX0_LCPLL>;
reset-names = "phy", "apb", "init", "cmn", "lane", "ropll", "lcpll";
rockchip,grf = <&hdptxphy_grf>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Rockchip MIPI D-/C-PHY with Samsung IP block
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip,rk3588-mipi-dcphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guochun Huang <hero.huang@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3576-mipi-dcphy", "rockchip,rk3588-mipi-dcphy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 1
Argument is mode to operate in. Supported modes are:
- PHY_TYPE_DPHY
- PHY_TYPE_CPHY
See include/dt-bindings/phy/phy.h for constants.
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"ref"
resets — required here #
Maximum number of items (maxItems): 4
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"m_phy"
Item 2
Exact value (
const):"apb"
Item 3
Exact value (
const):"grf"
Item 4
Exact value (
const):"s_phy"
rockchip,grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the syscon managing the 'mipi dcphy general register files'.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-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/rockchip,rk3588-cru.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
phy@feda0000 {
compatible = "rockchip,rk3588-mipi-dcphy";
reg = <0x0 0xfeda0000 0x0 0x10000>;
clocks = <&cru PCLK_MIPI_DCPHY0>,
<&cru CLK_USBDPPHY_MIPIDCPPHY_REF>;
clock-names = "pclk", "ref";
resets = <&cru SRST_M_MIPI_DCPHY0>,
<&cru SRST_P_MIPI_DCPHY0>,
<&cru SRST_P_MIPI_DCPHY0_GRF>,
<&cru SRST_S_MIPI_DCPHY0>;
reset-names = "m_phy", "apb", "grf", "s_phy";
rockchip,grf = <&mipidcphy0_grf>;
#phy-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Rockchip SoC MIPI RX0 D-PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip-inno-csi-dphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
The Rockchip SoC has a MIPI CSI D-PHY based on an Innosilicon IP which connects to the ISP1 (Image Signal Processing unit v1.0) for CSI cameras.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,px30-csi-dphy", "rockchip,rk1808-csi-dphy", "rockchip,rk3326-csi-dphy", "rockchip,rk3368-csi-dphy", "rockchip,rk3568-csi-dphy", "rockchip,rk3588-csi-dphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "pclk"
#phy-cells — required here #
Exact value (const): 0
power-domains — not listed as required here #
Video in/out power domain.
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
APB reset line
Item 2
PHY reset line
Minimum number of items (minItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb"
Item 2
Exact value (
const):"phy"
Minimum number of items (minItems): 1
rockchip,grf — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Some additional phy settings are access through GRF regs.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#phy-cells", "resets", "reset-names", "rockchip,grf"
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)Allowed values (
enum):"rockchip,px30-csi-dphy","rockchip,rk1808-csi-dphy","rockchip,rk3326-csi-dphy","rockchip,rk3368-csi-dphy"When the condition matches (
then) #
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"rockchip,px30-csi-dphy","rockchip,rk1808-csi-dphy","rockchip,rk3326-csi-dphy","rockchip,rk3368-csi-dphy","rockchip,rk3568-csi-dphy"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereMaximum number of items (
maxItems):1When the condition does not match (
else) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):2
reset-names— not listed as required hereMinimum number of items (
minItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
csi_dphy: phy@ff2f0000 {
compatible = "rockchip,px30-csi-dphy";
reg = <0xff2f0000 0x4000>;
clocks = <&cru 1>;
clock-names = "pclk";
#phy-cells = <0>;
power-domains = <&power 1>;
resets = <&cru 1>;
reset-names = "apb";
rockchip,grf = <&grf>;
};
#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
phy@fedc0000 {
compatible = "rockchip,rk3588-csi-dphy";
reg = <0x0 0xfedc0000 0x0 0x8000>;
clocks = <&cru PCLK_CSIPHY0>;
clock-names = "pclk";
#phy-cells = <0>;
resets = <&cru SRST_P_CSIPHY0>, <&cru SRST_CSIPHY0>;
reset-names = "apb", "phy";
rockchip,grf = <&csidphy0_grf>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Rockchip SoC MIPI RX0 D-PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip-mipi-dphy-rx0.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Helen Koike <helen.koike@collabora.com>", "Ezequiel Garcia <ezequiel@collabora.com>"
The Rockchip SoC has a MIPI D-PHY bus with an RX0 entry which connects to the ISP1 (Image Signal Processing unit v1.0) for CSI cameras.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rockchip,rk3399-mipi-dphy-rx0"
clocks — required here #
Array item rules (items) #
Item 1
MIPI D-PHY ref clock
Item 2
MIPI D-PHY RX0 cfg clock
Item 3
Video in/out general register file clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dphy-ref"
Item 2
Exact value (
const):"dphy-cfg"
Item 3
Exact value (
const):"grf"
#phy-cells — required here #
Exact value (const): 0
power-domains — required here #
Video in/out power domain.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "#phy-cells", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
/*
* MIPI D-PHY RX0 use registers in "general register files", it
* should be a child of the GRF.
*
* grf: syscon@ff770000 {
* compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
* ...
* };
*/
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/power/rk3399-power.h>
mipi_dphy_rx0: mipi-dphy-rx0 {
compatible = "rockchip,rk3399-mipi-dphy-rx0";
clocks = <&cru SCLK_MIPIDPHY_REF>,
<&cru SCLK_DPHY_RX0_CFG>,
<&cru PCLK_VIO_GRF>;
clock-names = "dphy-ref", "dphy-cfg", "grf";
power-domains = <&power RK3399_PD_VIO>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Rockchip USB2.0 phy
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/rockchip-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3066a-usb-phy", "rockchip,rk3188-usb-phy", "rockchip,rk3288-usb-phy"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
usb-phy@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
#phy-cells — required here
Exact value (const): 0
clocks — not listed as required here
Maximum number of items (maxItems): 1
clock-names — not listed as required here
Exact value (const): "phyclk"
#clock-cells — not listed as required here
Exact value (const): 0
resets — not listed as required here
Maximum number of items (maxItems): 1
reset-names — not listed as required here
Exact value (const): "phy-reset"
vbus-supply — not listed as required here
phandle for vbus power source
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.
Examples (examples) #
usbphy: usbphy {
compatible = "rockchip,rk3288-usb-phy";
#address-cells = <1>;
#size-cells = <0>;
usbphy0: usb-phy@320 {
reg = <0x320>;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Samsung Exynos SoC DisplayPort PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,dp-video-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Marek Szyprowski <m.szyprowski@samsung.com>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,exynos5250-dp-video-phy", "samsung,exynos5420-dp-video-phy"
#phy-cells — required here #
Exact value (const): 0
samsung,pmu-syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Deprecated (deprecated): true
Phandle to PMU system controller interface (if not a child of PMU).
Required in this object (required): "compatible", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy {
compatible = "samsung,exynos5420-dp-video-phy";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung Exynos SoC HDMI PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,exynos-hdmi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"samsung,exynos4210-hdmiphy","samsung,exynos4212-hdmiphy"
Rule 2
Exact value (
const):"samsung,exynos5-hdmiphy"Deprecated (
deprecated):true
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
hdmi-phy@38 {
compatible = "samsung,exynos4210-hdmiphy";
reg = <0x38>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Samsung SoC series PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,exynos-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Szyprowski <m.szyprowski@samsung.com>", "Jaehoon Chung <jh80.chung@samsung.com>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 0
compatible — required here #
Exact value (const): "samsung,exynos5433-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
samsung,pmu-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle for PMU system controller interface, used to control PMU registers bits for PCIe PHY
samsung,fsys-sysreg — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle for FSYS sysreg interface, used to control sysreg registers bits for PCIe PHY
Required in this object (required): "#phy-cells", "compatible", "reg", "samsung,pmu-syscon", "samsung,fsys-sysreg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pcie_phy: pcie-phy@15680000 {
compatible = "samsung,exynos5433-pcie-phy";
reg = <0x15680000 0x1000>;
samsung,pmu-syscon = <&pmu_system_controller>;
samsung,fsys-sysreg = <&syscon_fsys>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung Exynos2200 eUSB2 phy controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,exynos2200-eusb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>"
Samsung Exynos2200 eUSB2 phy, based on Synopsys eUSB2 IP block, supports LS/FS/HS usb connectivity.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,exynos2200-eusb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Array item rules (items) #
Item 1
Reference clock
Item 2
Bus (APB) clock
Item 3
Control clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"bus"
Item 3
Exact value (
const):"ctrl"
resets — not listed as required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
Phandle to eUSB2 to USB 2.0 repeater
vdd-supply — required here #
Phandle to 0.88V regulator supply to PHY digital circuit.
vdda12-supply — required here #
Phandle to 1.2V regulator supply to PHY refclk pll block.
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names", "vdd-supply", "vdda12-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb_hsphy: phy@10ab0000 {
compatible = "samsung,exynos2200-eusb2-phy";
reg = <0x10ab0000 0x10000>;
#phy-cells = <0>;
clocks = <&cmu_hsi0 7>,
<&cmu_hsi0 5>,
<&cmu_hsi0 8>;
clock-names = "ref", "bus", "ctrl";
vdd-supply = <&vreg_0p88>;
vdda12-supply = <&vreg_1p2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Samsung Exynos5250 SoC SATA PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,exynos5250-sata-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Marek Szyprowski <m.szyprowski@samsung.com>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "samsung,exynos5250-sata-phy"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sata_phyctrl"
#phy-cells — required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
samsung,syscon-phandle — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to PMU system controller interface.
samsung,exynos-sataphy-i2c-phandle — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to I2C SATA interface.
Required in this object (required): "compatible", "clocks", "clock-names", "#phy-cells", "reg", "samsung,syscon-phandle", "samsung,exynos-sataphy-i2c-phandle"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5250.h>
phy@12170000 {
compatible = "samsung,exynos5250-sata-phy";
reg = <0x12170000 0x1ff>;
clocks = <&clock CLK_SATA_PHYCTRL>;
clock-names = "sata_phyctrl";
#phy-cells = <0>;
samsung,syscon-phandle = <&pmu_system_controller>;
samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung S5P/Exynos SoC MIPI CSIS/DSIM DPHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,mipi-video-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Marek Szyprowski <m.szyprowski@samsung.com>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
For samsung,s5pv210-mipi-video-phy compatible PHYs the second cell in the
PHY specifier identifies the PHY and its meaning is as follows::
0 - MIPI CSIS 0,
1 - MIPI DSIM 0,
2 - MIPI CSIS 1,
3 - MIPI DSIM 1.
samsung,exynos5420-mipi-video-phy and samsung,exynos5433-mipi-video-phy
support additional fifth PHY::
4 - MIPI CSIS 2.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,s5pv210-mipi-video-phy", "samsung,exynos5420-mipi-video-phy", "samsung,exynos5433-mipi-video-phy", "samsung,exynos7870-mipi-video-phy"
#phy-cells — required here #
Exact value (const): 1
syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Deprecated (deprecated): true
Phandle to PMU system controller interface, valid only for samsung,s5pv210-mipi-video-phy and samsung,exynos5420-mipi-video-phy (if not a child of PMU).
samsung,pmu-syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Deprecated (deprecated): true
Phandle to PMU system controller interface, valid for samsung,exynos5433-mipi-video-phy and samsung,exynos7870-mipi-video-phy (if not a child of PMU).
samsung,disp-sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to DISP system controller interface, valid for samsung,exynos5433-mipi-video-phy and samsung,exynos7870-mipi-video-phy.
samsung,cam0-sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to CAM0 system controller interface, valid for samsung,exynos5433-mipi-video-phy and samsung,exynos7870-mipi-video-phy.
samsung,cam1-sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to CAM1 system controller interface, valid for samsung,exynos5433-mipi-video-phy.
Required in this object (required): "compatible", "#phy-cells"
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)Allowed values (
enum):"samsung,s5pv210-mipi-video-phy","samsung,exynos5420-mipi-video-phy"When the condition matches (
then) #Properties and child nodes (
properties)
samsung,pmu-syscon— not listed as required here
false— Not permitted by this property rule.
samsung,disp-sysreg— not listed as required here
false— Not permitted by this property rule.
samsung,cam0-sysreg— not listed as required here
false— Not permitted by this property rule.
samsung,cam1-sysreg— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-mipi-video-phy"When the condition matches (
then) #Properties and child nodes (
properties)
syscon— not listed as required here
false— Not permitted by this property rule.Required in this object (
required):"samsung,disp-sysreg","samsung,cam0-sysreg","samsung,cam1-sysreg"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos7870-mipi-video-phy"When the condition matches (
then) #Properties and child nodes (
properties)
syscon— not listed as required here
false— Not permitted by this property rule.
samsung,cam1-sysreg— not listed as required here
false— Not permitted by this property rule.Required in this object (
required):"samsung,disp-sysreg","samsung,cam0-sysreg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy {
compatible = "samsung,exynos5433-mipi-video-phy";
#phy-cells = <1>;
samsung,cam0-sysreg = <&syscon_cam0>;
samsung,cam1-sysreg = <&syscon_cam1>;
samsung,disp-sysreg = <&syscon_disp>;
};
phy {
compatible = "samsung,s5pv210-mipi-video-phy";
syscon = <&pmu_system_controller>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung SoC series UFS PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,ufs-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alim Akhtar <alim.akhtar@samsung.com>"
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 0
compatible — required here #
Allowed values (enum): "google,gs101-ufs-phy", "samsung,exynos7-ufs-phy", "samsung,exynosautov9-ufs-phy", "samsung,exynosautov920-ufs-phy", "tesla,fsd-ufs-phy"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy-pma"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
samsung,pmu-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Maximum number of items (maxItems): 1
Array item rules (items) #
Minimum number of items (
minItems):1Array item rules (
items)Item 1
phandle for PMU system controller interface, used to control pmu registers bits for ufs m-phy
Item 2
offset of the pmu control register
It can be phandle/offset pair. The second cell which can represent an offset is optional.
Required in this object (required): "#phy-cells", "compatible", "reg", "reg-names", "clocks", "clock-names", "samsung,pmu-syscon"
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):"samsung,exynos7-ufs-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
PLL reference clock
Item 2
symbol clock for input symbol (rx0-ch0 symbol clock)
Item 3
symbol clock for input symbol (rx1-ch1 symbol clock)
Item 4
symbol clock for output symbol (tx0 symbol clock)
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"ref_clk"Item 2
Exact value (
const):"rx1_symbol_clk"Item 3
Exact value (
const):"rx0_symbol_clk"Item 4
Exact value (
const):"tx0_symbol_clk"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
PLL reference clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"ref_clk"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos7-clk.h>
ufs_phy: ufs-phy@15571800 {
compatible = "samsung,exynos7-ufs-phy";
reg = <0x15571800 0x240>;
reg-names = "phy-pma";
samsung,pmu-syscon = <&pmu_system_controller>;
#phy-cells = <0>;
clocks = <&clock_fsys1 SCLK_COMBO_PHY_EMBEDDED_26M>,
<&clock_fsys1 PHYCLK_UFS20_RX1_SYMBOL_USER>,
<&clock_fsys1 PHYCLK_UFS20_RX0_SYMBOL_USER>,
<&clock_fsys1 PHYCLK_UFS20_TX0_SYMBOL_USER>;
clock-names = "ref_clk", "rx1_symbol_clk",
"rx0_symbol_clk", "tx0_symbol_clk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung S5P/Exynos SoC USB 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Marek Szyprowski <m.szyprowski@samsung.com>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
The first phandle argument in the PHY specifier identifies the PHY, its
meaning is compatible dependent. For the currently supported SoCs (Exynos4210
and Exynos4212) it is as follows::
0 - USB device ("device"),
1 - USB host ("host"),
2 - HSIC0 ("hsic0"),
3 - HSIC1 ("hsic1"),
Exynos3250 has only USB device phy available as phy 0.
Exynos4210 and Exynos4212 use mode switching and require that mode switch register is supplied.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,exynos3250-usb2-phy", "samsung,exynos4210-usb2-phy", "samsung,exynos4x12-usb2-phy", "samsung,exynos5250-usb2-phy", "samsung,exynos5420-usb2-phy", "samsung,s5pv210-usb2-phy"
clocks — required here #
Array item rules (items) #
Item 1
PHY module gate clock.
Item 2
Reference rate clock of PHY module.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"ref"
#phy-cells — required here #
Exact value (const): 1
reg — required here #
Maximum number of items (maxItems): 1
samsung,pmureg-phandle — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to PMU system controller interface.
samsung,sysreg-phandle — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to system registers interface.
vbus-supply — not listed as required here #
VBUS power source.
Required in this object (required): "compatible", "clocks", "clock-names", "#phy-cells", "reg", "samsung,pmureg-phandle"
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)Allowed values (
enum):"samsung,exynos4x12-usb2-phy","samsung,exynos5250-usb2-phy","samsung,exynos5420-usb2-phy"When the condition matches (
then) #Required in this object (
required):"samsung,sysreg-phandle"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5420.h>
phy@12130000 {
compatible = "samsung,exynos5420-usb2-phy";
reg = <0x12130000 0x100>;
#phy-cells = <1>;
clocks = <&clock CLK_USBH20>, <&clock CLK_SCLK_USBPHY300>;
clock-names = "phy", "ref";
samsung,sysreg-phandle = <&sysreg_system_controller>;
samsung,pmureg-phandle = <&pmu_system_controller>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung Exynos SoC USB 3.0 DRD PHY USB 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,usb3-drd-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Marek Szyprowski <m.szyprowski@samsung.com>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
For samsung,exynos5250-usbdrd-phy and samsung,exynos5420-usbdrd-phy
compatible PHYs, the second cell in the PHY specifier identifies the
PHY id, which is interpreted as follows::
0 - UTMI+ type phy,
1 - PIPE3 type phy.
For SoCs like Exynos5420 having multiple USB 3.0 DRD PHY controllers, 'usbdrd_phy' nodes should have numbered alias in the aliases node, in the form of usbdrdphyN, N = 0, 1... (depending on number of controllers).
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "google,gs101-usb31drd-phy", "samsung,exynos2200-usb32drd-phy", "samsung,exynos5250-usbdrd-phy", "samsung,exynos5420-usbdrd-phy", "samsung,exynos5433-usbdrd-phy", "samsung,exynos7-usbdrd-phy", "samsung,exynos7870-usbdrd-phy", "samsung,exynos850-usbdrd-phy", "samsung,exynos990-usbdrd-phy", "samsung,exynosautov920-usb31drd-combo-ssphy", "samsung,exynosautov920-usbdrd-combo-hsphy", "samsung,exynosautov920-usbdrd-phy"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
Typically two clocks:
- Main PHY clock (same as USB DRD controller i.e. DWC3 IP clock), used
for register access.
- PHY reference clock (usually crystal clock), used for PHY operations,
associated by phy name. It is used to determine bit values for clock
settings register. For Exynos5420 this is given as 'sclk_usbphy30'
in the CMU. It's not needed for Exynos2200.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
USBDRD-underlying high-speed PHY
phy-names — not listed as required here #
Exact value (const): "hs"
port — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Any connector to the data bus of this controller should be modelled using the OF graph bindings specified.
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reg-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"pcs"
Item 3
Exact value (
const):"pma"
samsung,pmu-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to PMU system controller interface.
vbus-supply — not listed as required here #
VBUS power source.
vbus-boost-supply — not listed as required here #
VBUS Boost 5V power source.
pll-supply — not listed as required here #
Power supply for the USB PLL.
dvdd-usb20-supply — not listed as required here #
DVDD power supply for the USB 2.0 phy.
vddh-usb20-supply — not listed as required here #
VDDh power supply for the USB 2.0 phy.
vdd33-usb20-supply — not listed as required here #
3.3V power supply for the USB 2.0 phy.
vdda-usbdp-supply — not listed as required here #
VDDa power supply for the USB DP phy.
vddh-usbdp-supply — not listed as required here #
VDDh power supply for the USB DP phy.
dvdd-supply — not listed as required here #
0.75V power supply for the USB phy.
vdd18-supply — not listed as required here #
1.8V power supply for the USB phy.
vdd33-supply — not listed as required here #
3.3V power supply for the USB phy.
Required in this object (required): "compatible", "clocks", "clock-names", "#phy-cells", "reg", "samsung,pmu-syscon"
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):"google,gs101-usb31drd-phy"When the condition matches (
then) #All of these rules must match (
allOf)Rule 1
Shared schema rule (
$ref):/schemas/usb/usb-switch.yaml#Rule 2
Shared schema rule (
$ref):/schemas/usb/usb-switch-ports.yaml#Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Gate of main PHY clock
Item 2
Gate of PHY reference clock
Item 3
Gate of control interface AXI clock
Item 4
Gate of control interface APB clock
Item 5
Gate of SCL APB clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"phy"Item 2
Exact value (
const):"ref"Item 3
Exact value (
const):"ctrl_aclk"Item 4
Exact value (
const):"ctrl_pclk"Item 5
Exact value (
const):"scl_pclk"
reg— not listed as required hereMinimum number of items (
minItems):3
reg-names— required hereMinimum number of items (
minItems):3Required in this object (
required):"reg-names","orientation-switch","port","pll-supply","dvdd-usb20-supply","vddh-usb20-supply","vdd33-usb20-supply","vdda-usbdp-supply","vddh-usbdp-supply"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"phy"
reg— not listed as required hereMaximum number of items (
maxItems):1
reg-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,exynos5433-usbdrd-phy","samsung,exynos7-usbdrd-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):5
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"phy"Item 2
Exact value (
const):"ref"Item 3
Exact value (
const):"phy_utmi"Item 4
Exact value (
const):"phy_pipe"Item 5
Exact value (
const):"itp"
reg— not listed as required hereMaximum number of items (
maxItems):1
reg-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,exynos5250-usbdrd-phy","samsung,exynos5420-usbdrd-phy","samsung,exynos7870-usbdrd-phy","samsung,exynos850-usbdrd-phy","samsung,exynos990-usbdrd-phy","samsung,exynosautov920-usb31drd-combo-ssphy","samsung,exynosautov920-usbdrd-combo-hsphy","samsung,exynosautov920-usbdrd-phy"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):"phy"Item 2
Exact value (
const):"ref"
reg— not listed as required hereMaximum number of items (
maxItems):1
reg-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,exynosautov920-usb31drd-combo-ssphy","samsung,exynosautov920-usbdrd-combo-hsphy","samsung,exynosautov920-usbdrd-phy"When the condition matches (
then) #Required in this object (
required):"dvdd-supply","vdd18-supply"When the condition does not match (
else) #Properties and child nodes (
properties)
dvdd-supply— not listed as required here
false— Not permitted by this property rule.
vdd18-supply— not listed as required here
false— Not permitted by this property rule.
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,exynosautov920-usbdrd-combo-hsphy","samsung,exynosautov920-usbdrd-phy"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
vdd33-supply— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5420.h>
phy@12100000 {
compatible = "samsung,exynos5420-usbdrd-phy";
reg = <0x12100000 0x100>;
#phy-cells = <1>;
clocks = <&clock CLK_USBD300>, <&clock CLK_SCLK_USBPHY300>;
clock-names = "phy", "ref";
samsung,pmu-syscon = <&pmu_system_controller>;
vbus-supply = <&usb300_vbus_reg>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Socionext UniPhier AHCI PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/socionext,uniphier-ahci-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This describes the deivcetree bindings for PHY interfaces built into AHCI controller implemented on Socionext UniPhier SoCs.
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "socionext,uniphier-pro4-ahci-phy", "socionext,uniphier-pxs2-ahci-phy", "socionext,uniphier-pxs3-ahci-phy"
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
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 6
resets — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 6
reset-names — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 6
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-pro4-ahci-phy"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):"gio"
resets— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"link"Item 2
Exact value (
const):"gio"Item 3
Exact value (
const):"phy"Item 4
Exact value (
const):"pm"Item 5
Exact value (
const):"tx"Item 6
Exact value (
const):"rx"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"socionext,uniphier-pxs2-ahci-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereExact 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):"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)Exact value (
const):"socionext,uniphier-pxs3-ahci-phy"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"
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) #
ahci_phy: phy@10 {
compatible = "socionext,uniphier-pxs3-ahci-phy";
reg = <0x10 0x10>;
#phy-cells = <0>;
clock-names = "link", "phy";
clocks = <&sys_clk 28>, <&sys_clk 30>;
reset-names = "link", "phy";
resets = <&sys_rst 28>, <&sys_rst 30>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Socionext UniPhier PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/socionext,uniphier-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This describes the devicetree bindings for PHY interface built into PCIe controller implemented on Socionext UniPhier SoCs.
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "socionext,uniphier-pro5-pcie-phy", "socionext,uniphier-ld20-pcie-phy", "socionext,uniphier-pxs3-pcie-phy", "socionext,uniphier-nx1-pcie-phy"
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
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
socionext,syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to system control to set configurations for phy
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-pcie-phy"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"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereExact value (
const):"link"
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereExact value (
const):"link"
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) #
pcie_phy: phy@66038000 {
compatible = "socionext,uniphier-ld20-pcie-phy";
reg = <0x66038000 0x4000>;
#phy-cells = <0>;
clock-names = "link";
clocks = <&sys_clk 24>;
reset-names = "link";
resets = <&sys_rst 24>;
socionext,syscon = <&soc_glue>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Socionext UniPhier USB2 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/socionext,uniphier-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This describes the devicetree bindings for PHY interface built into USB2 controller implemented on Socionext UniPhier SoCs. Pro4 SoC has both USB2 and USB3 host controllers, however, this USB3 controller doesn't include its own High-Speed PHY. This needs to specify USB2 PHY instead of USB3 HS-PHY.
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "socionext,uniphier-pro4-usb2-phy", "socionext,uniphier-ld11-usb2-phy"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^phy@[0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Minimum value (minimum): 0
Maximum value (maximum): 3
The ID number for the PHY
#phy-cells — required here
Exact value (const): 0
vbus-supply — not listed as required here
A phandle to the regulator for USB VBUS, only for USB host
Required in this object (required): "reg", "#phy-cells"
Required in this object (required): "compatible", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
// The UniPhier usb2-phy should be a subnode of a "syscon" compatible node.
usb-hub {
compatible = "socionext,uniphier-ld11-usb2-phy";
#address-cells = <1>;
#size-cells = <0>;
usb_phy0: phy@0 {
reg = <0>;
#phy-cells = <0>;
};
usb_phy1: phy@1 {
reg = <1>;
#phy-cells = <0>;
};
usb_phy2: phy@2 {
reg = <2>;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Socionext UniPhier USB3 High-Speed (HS) PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
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)
Socionext UniPhier USB3 Super-Speed (SS) PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/socionext,uniphier-usb3ss-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 Super-Speed PHY.
Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "socionext,uniphier-pro4-usb3-ssphy", "socionext,uniphier-pro5-usb3-ssphy", "socionext,uniphier-pxs2-usb3-ssphy", "socionext,uniphier-ld20-usb3-ssphy", "socionext,uniphier-pxs3-usb3-ssphy", "socionext,uniphier-nx1-usb3-ssphy"
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, only for USB host
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)Allowed values (
enum):"socionext,uniphier-pro4-usb3-ssphy","socionext,uniphier-pro5-usb3-ssphy"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-ssphy","socionext,uniphier-ld20-usb3-ssphy"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-ssphy","socionext,uniphier-nx1-usb3-ssphy"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_ssphy0: phy@300 {
compatible = "socionext,uniphier-ld20-usb3-ssphy";
reg = <0x300 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>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Sophgo CV18XX/SG200X USB 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/sophgo,cv1800b-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Inochi Amaoto <inochiama@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sophgo,cv1800b-usb2-phy"
reg — not listed as required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Array item rules (items) #
Item 1
PHY app clock
Item 2
PHY stb clock
Item 3
PHY lpm clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"app"
Item 2
Exact value (
const):"stb"
Item 3
Exact value (
const):"lpm"
resets — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "#phy-cells", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@48 {
compatible = "sophgo,cv1800b-usb2-phy";
reg = <0x48 0x4>;
#phy-cells = <0>;
clocks = <&clk 93>, <&clk 94>, <&clk 95>;
clock-names = "app", "stb", "lpm";
resets = <&rst 58>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
SpacemiT K1 PCIe/USB3 Combo PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/spacemit,k1-combo-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alex Elder <elder@riscstar.com>"
Of the three PHYs on the SpacemiT K1 SoC capable of being used for PCIe, one is a combo PHY that can also be configured for use by a USB 3 controller. Using PCIe or USB 3 is a board design decision. The combo PHY is also the only PCIe PHY that is able to determine PCIe calibration values to use, and this must be determined before the other two PCIe PHYs can be used. This calibration must be performed with the combo PHY in PCIe mode, and is this is done when the combo PHY is probed. The combo PHY uses an external oscillator as a reference clock. During normal operation, the PCIe or USB port driver is responsible for ensuring all other clocks needed by a PHY are enabled, and all resets affecting the PHY are deasserted. However, for the combo PHY to perform calibration independent of whether it's later used for PCIe or USB, all PCIe mode clocks and resets must be defined.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "spacemit,k1-combo-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY control registers
clocks — required here #
Array item rules (items) #
Item 1
External oscillator used by the PHY PLL
Item 2
DWC PCIe Data Bus Interface (DBI) clock
Item 3
DWC PCIe application AXI-bus Master interface clock
Item 4
DWC PCIe application AXI-bus slave interface clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"refclk"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"mstr"
Item 4
Exact value (
const):"slv"
resets — required here #
Array item rules (items) #
Item 1
PHY reset; remains deasserted after initialization
Item 2
DWC PCIe Data Bus Interface (DBI) reset
Item 3
DWC PCIe application AXI-bus Master interface reset
Item 4
DWC PCIe application AXI-bus slave interface reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"dbi"
Item 3
Exact value (
const):"mstr"
Item 4
Exact value (
const):"slv"
spacemit,apmu — required here #
A phandle that refers to the APMU system controller, whose regmap is used in setting the mode
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
#phy-cells — required here #
Exact value (const): 1
The argument value (PHY_TYPE_PCIE or PHY_TYPE_USB3) determines whether the PHY operates in PCIe or USB3 mode.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "spacemit,apmu", "#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/spacemit,k1-syscon.h>
phy@c0b10000 {
compatible = "spacemit,k1-combo-phy";
reg = <0xc0b10000 0x1000>;
clocks = <&vctcxo_24m>,
<&syscon_apmu CLK_PCIE0_DBI>,
<&syscon_apmu CLK_PCIE0_MASTER>,
<&syscon_apmu CLK_PCIE0_SLAVE>;
clock-names = "refclk",
"dbi",
"mstr",
"slv";
resets = <&syscon_apmu RESET_PCIE0_GLOBAL>,
<&syscon_apmu RESET_PCIE0_DBI>,
<&syscon_apmu RESET_PCIE0_MASTER>,
<&syscon_apmu RESET_PCIE0_SLAVE>;
reset-names = "phy",
"dbi",
"mstr",
"slv";
spacemit,apmu = <&syscon_apmu>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
SpacemiT K1 PCIe PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/spacemit,k1-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alex Elder <elder@riscstar.com>"
Two PHYs on the SpacemiT K1 SoC used for only for PCIe. These PHYs must be configured using calibration values that are determined by a third "combo PHY". The combo PHY determines these calibration values during probe so they can be used for the two PCIe-only PHYs. The PHY uses an external oscillator as a reference clock. During normal operation, the PCIe host driver is responsible for ensuring all other clocks needed by a PHY are enabled, and all resets affecting the PHY are deasserted.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "spacemit,k1-pcie-phy"
reg — required here #
Array item rules (items) #
Item 1
PHY control registers
clocks — required here #
Array item rules (items) #
Item 1
External oscillator used by the PHY PLL
clock-names — required here #
Exact value (const): "refclk"
resets — required here #
Array item rules (items) #
Item 1
PHY reset; remains deasserted after initialization
reset-names — required here #
Exact value (const): "phy"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-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/spacemit,k1-syscon.h>
phy@c0c10000 {
compatible = "spacemit,k1-pcie-phy";
reg = <0xc0c10000 0x1000>;
clocks = <&vctcxo_24m>;
clock-names = "refclk";
resets = <&syscon_apmu RESET_PCIE1_GLOBAL>;
reset-names = "phy";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
SpacemiT K1 SoC USB 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/spacemit,usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ze Huang <huang.ze@linux.dev>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "spacemit,k1-usb2-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@c09c0000 {
compatible = "spacemit,k1-usb2-phy";
reg = <0xc09c0000 0x200>;
clocks = <&syscon_apmu 15>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ST SPEAr miphy
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/st,spear1310-miphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pratyush Anand <pratyush.anand@gmail.com>"
ST Microelectronics SPEAr miphy is a phy controller supporting PCIe and SATA.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,spear1310-miphy", "st,spear1340-miphy"
reg — required here #
Maximum number of items (maxItems): 1
misc — required here #
Phandle for the syscon node to access misc registers.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
#phy-cells — required here #
Cell[0] indicates interface type: 0 = SATA, 1 = PCIe.
Exact value (const): 1
phy-id — not listed as required here #
Instance id of the phy. Required when multiple PHYs are present.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible", "reg", "misc", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
miphy@1000 {
compatible = "st,spear1310-miphy";
reg = <0x1000 0x100>;
misc = <&syscon>;
#phy-cells = <1>;
phy-id = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STiH407 USB PHY controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/st,stih407-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.com>"
The USB picoPHY device is the PHY for both USB2 and USB3 host controllers (when controlling usb2/1.1 devices) available on STiH407 SoC family from STMicroelectronics.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stih407-usb2-phy"
st,syscfg — required here #
Phandle to the syscfg bank
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to syscfg
Item 2
phyparam register offset
Item 3
phyctrl register offset
resets — required here #
Array item rules (items) #
Item 1
Phandle and reset specifier pair for the whole phy.
Item 2
Phandle and reset specifier pair for the port.
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"global"
Item 2
Exact value (
const):"port"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "st,syscfg", "resets", "reset-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/reset/stih407-resets.h>
usb-phy {
compatible = "st,stih407-usb2-phy";
#phy-cells = <0>;
st,syscfg = <&syscfg_core 0x100 0xf4>;
resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
<&picophyreset STIH407_PICOPHY0_RESET>;
reset-names = "global", "port";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32MP25 USB3/PCIe COMBOPHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/st,stm32mp25-combophy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christian Bruel <christian.bruel@foss.st.com>"
Single lane PHY shared (exclusive) between the USB3 and PCIe controllers. Supports 5Gbit/s for USB3 and PCIe gen2 or 2.5Gbit/s for PCIe gen1.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stm32mp25-combophy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 1
clocks — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
apb Bus clock mandatory to access registers.
Item 2
ker Internal RCC reference clock for USB3 or PCIe
Item 3
pad Optional on board clock input for PCIe only. Typically an external 100Mhz oscillator wired on dedicated CLKIN pad. Used as reference clock input instead of the ker
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"apb"
Item 2
Exact value (
const):"ker"
Item 3
Exact value (
const):"pad"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Exact value (const): "phy"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt used for wakeup
access-controllers — not listed as required here #
Maximum number of items (maxItems): 1
Phandle to the rifsc device to check access right.
st,ssc-on — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
A property whose presence indicates that the Spread Spectrum Clocking is active.
st,rx-equalizer — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 7
Default value (default): 2
A 3 bit value to tune the RX fixed equalizer setting for optimal eye compliance
st,output-micro-ohms — not listed as required here #
Minimum value (minimum): 3999000
Maximum value (maximum): 6090000
Default value (default): 4968000
A value property to tune the Single Ended Output Impedance, simulations results at 25C for a VDDP=0.8V. The hardware accepts discrete values in this range.
st,output-vswing-microvolt — not listed as required here #
Minimum value (minimum): 442000
Maximum value (maximum): 803000
Default value (default): 803000
A value property in microvolt to tune the Single Ended Output Voltage Swing to change the Vlo, Vhi for a VDDP = 0.8V. The hardware accepts discrete values in this range.
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) #
#include <dt-bindings/clock/st,stm32mp25-rcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/st,stm32mp25-rcc.h>
phy@480c0000 {
compatible = "st,stm32mp25-combophy";
reg = <0x480c0000 0x1000>;
#phy-cells = <1>;
clocks = <&rcc CK_BUS_USB3PCIEPHY>, <&rcc CK_KER_USB3PCIEPHY>;
clock-names = "apb", "ker";
resets = <&rcc USB3PCIEPHY_R>;
reset-names = "phy";
access-controllers = <&rifsc 67>;
power-domains = <&CLUSTER_PD>;
wakeup-source;
interrupts-extended = <&exti1 45 IRQ_TYPE_EDGE_FALLING>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
StarFive SoC JH7110 MIPI D-PHY Rx Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/starfive,jh7110-dphy-rx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jack Zhu <jack.zhu@starfivetech.com>", "Changhuang Liang <changhuang.liang@starfivetech.com>"
StarFive SoCs contain a MIPI CSI D-PHY based on M31 IP, used to transfer CSI camera data.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "starfive,jh7110-dphy-rx"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
config clock
Item 2
reference clock
Item 3
escape mode transmit clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cfg"
Item 2
Exact value (
const):"ref"
Item 3
Exact value (
const):"tx"
resets — required here #
Array item rules (items) #
Item 1
DPHY_HW reset
Item 2
DPHY_B09_ALWAYS_ON reset
power-domains — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "power-domains", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@19820000 {
compatible = "starfive,jh7110-dphy-rx";
reg = <0x19820000 0x10000>;
clocks = <&ispcrg 3>,
<&ispcrg 4>,
<&ispcrg 5>;
clock-names = "cfg", "ref", "tx";
resets = <&ispcrg 2>,
<&ispcrg 3>;
power-domains = <&aon_syscon 1>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Starfive SoC MIPI D-PHY Tx Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/starfive,jh7110-dphy-tx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Keith Zhao <keith.zhao@starfivetech.com>", "Shengyang Chen <shengyang.chen@starfivetech.com>"
The Starfive SoC uses the MIPI DSI D-PHY based on M31 IP to transfer DSI data.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "starfive,jh7110-dphy-tx"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"txesc"
resets — required here #
Array item rules (items) #
Item 1
MIPITX_DPHY_SYS reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sys"
power-domains — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "power-domains", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@295e0000 {
compatible = "starfive,jh7110-dphy-tx";
reg = <0x295e0000 0x10000>;
clocks = <&voutcrg 14>;
clock-names = "txesc";
resets = <&syscrg 10>;
reset-names = "sys";
power-domains = <&aon_syscon 0>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
StarFive JH7110 PCIe 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/starfive,jh7110-pcie-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Minda Chen <minda.chen@starfivetech.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "starfive,jh7110-pcie-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
starfive,sys-syscon — 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 System Register Controller sys_syscon node.
Item 2
PHY connect offset of SYS_SYSCONSAIF__SYSCFG register for USB PHY.
The phandle to System Register Controller syscon node and the PHY connect offset of SYS_SYSCONSAIF__SYSCFG register. Connect PHY to USB3 controller.
starfive,stg-syscon — 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 System Register Controller stg_syscon node.
Item 2
PHY mode offset of STG_SYSCONSAIF__SYSCFG register.
Item 3
PHY enable for USB offset of STG_SYSCONSAIF__SYSCFG register.
The phandle to System Register Controller syscon node and the offset of STG_SYSCONSAIF__SYSCFG register for PCIe PHY. Total 2 regsisters offset.
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@10210000 {
compatible = "starfive,jh7110-pcie-phy";
reg = <0x10210000 0x10000>;
#phy-cells = <0>;
starfive,sys-syscon = <&sys_syscon 0x18>;
starfive,stg-syscon = <&stg_syscon 0x148 0x1f4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
StarFive JH7110 USB 2.0 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/starfive,jh7110-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Minda Chen <minda.chen@starfivetech.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "starfive,jh7110-usb-phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Array item rules (items) #
Item 1
PHY 125m
Item 2
app 125m
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"125m"
Item 2
Exact value (
const):"app_125m"
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) #
phy@10200000 {
compatible = "starfive,jh7110-usb-phy";
reg = <0x10200000 0x10000>;
clocks = <&syscrg 95>,
<&stgcrg 6>;
clock-names = "125m", "app_125m";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Sunplus SP7021 USB 2.0 PHY Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/sunplus,sp7021-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vincent Shih <vincent.sunplus@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sunplus,sp7021-usb2-phy"
reg — required here #
Array item rules (items) #
Item 1
UPHY register region
Item 2
MOON4 register region
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"moon4"
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
nvmem-cell-names — required here #
names corresponding to the nvmem cells of disconnect voltage
Exact value (const): "disc_vol"
nvmem-cells — required here #
nvmem cell address of disconnect voltage
Maximum number of items (maxItems): 1
sunplus,disc-vol-addr-off — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
the otp address offset of disconnect voltage
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "resets", "#phy-cells", "nvmem-cell-names", "nvmem-cells", "sunplus,disc-vol-addr-off"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sp_uphy0: usb-phy@9c004a80 {
compatible = "sunplus,sp7021-usb2-phy";
reg = <0x9c004a80 0x80>, <0x9c000248 0x10>;
reg-names = "phy", "moon4";
clocks = <&clkc 0x3d>;
resets = <&rstc 0x2d>;
#phy-cells = <0>;
nvmem-cell-names = "disc_vol";
nvmem-cells = <&disc_vol>;
sunplus,disc-vol-addr-off = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) Sunplus Co., Ltd. 2021
TI OMAP Control PHY Module
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,control-phy-otghs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Roger Quadros <rogerq@ti.com>"
The TI OMAP Control PHY module is a hardware block within the system control module (SCM) of Texas Instruments OMAP SoCs. It provides centralized control over power, configuration, and auxiliary features for multiple on-chip PHYs. This module is essential for proper PHY operation in power-constrained embedded systems.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^phy@[0-9a-f]+$"
compatible — required here #
Allowed values (enum): "ti,control-phy-otghs", "ti,control-phy-pcie", "ti,control-phy-pipe3", "ti,control-phy-usb2", "ti,control-phy-usb2-am437", "ti,control-phy-usb2-dra7"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reg-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
Array item rules (items) #
Allowed values (
enum):"otghs_control","power","pcie_pcs","control_sma"
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)When the condition matches (
then) #Properties and child nodes (
properties)
reg-names— not listed as required hereExact value (
const):"otghs_control"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):3
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"power"Item 2
Exact value (
const):"pcie_pcs"Item 3
Exact value (
const):"control_sma"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"ti,control-phy-usb2","ti,control-phy-usb2-dra7","ti,control-phy-usb2-am437","ti,control-phy-pipe3"When the condition matches (
then) #Properties and child nodes (
properties)
reg-names— not listed as required hereExact value (
const):"power"
Required in this object (required): "reg", "compatible", "reg-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy@4a00233c {
compatible = "ti,control-phy-otghs";
reg = <0x4a00233c 0x4>;
reg-names = "otghs_control";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI DA8xx/OMAP-L1xx/AM18xx USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,da830-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "David Lechner <david@lechnology.com>"
This device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG controllers on DA8xx SoCs. It also requires a "syscon" node with compatible = "ti,da830-cfgchip", "syscon" to access the CFGCHIP2 register.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ti,da830-usb-phy"
#phy-cells — required here #
Exact value (const): 1
Consumers of this device should use index 0 for the USB 2.0 phy device and index 1 for the USB 1.1 phy device.
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb0_clk48"
Item 2
Exact value (
const):"usb1_clk48"
Required in this object (required): "compatible", "#phy-cells", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy {
compatible = "ti,da830-usb-phy";
#phy-cells = <1>;
clocks = <&usb_phy_clk 0>, <&usb_phy_clk 1>;
clock-names = "usb0_clk48", "usb1_clk48";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI DM8168 USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,dm8168-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,dm8168-usb-phy"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"refclk"
#phy-cells — required here #
Exact value (const): 0
syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle for the syscon node to access misc registers.
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "#phy-cells", "syscon"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@20 {
compatible = "ti,dm8168-usb-phy";
reg = <0x20 0x8>;
reg-names = "phy";
clocks = <&main_fapll 6>;
clock-names = "refclk";
#phy-cells = <0>;
syscon = <&scm_conf>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI Keystone USB PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,keystone-usbphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nishanth Menon <nm@ti.com>", "Santosh Shilimkar <ssantosh@kernel.org>"
The main purpose of this PHY driver is to enable the USB PHY reference clock gate on the Keystone SOC for both the USB2 and USB3 PHY. Otherwise it is just an NOP PHY driver. Hence this node is referenced as both the usb2 and usb3 phy node in the USB Glue layer driver node.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,keystone-usbphy"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@2620738 {
compatible = "ti,keystone-usbphy";
reg = <0x2620738 32>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
OMAP USB2 PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
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)
TI AM654 SERDES
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,phy-am654-serdes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This binding describes the TI AM654 SERDES. AM654 SERDES can be configured to be used with either PCIe or USB or SGMII.
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,phy-am654-serdes"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"serdes"
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 3
Three input clocks referring to left input reference clock, refclk and right input reference clock.
#phy-cells — not listed as required here #
Exact value (const): 2
The 1st cell corresponds to the phy type (should be one of the types specified in include/dt-bindings/phy/phy.h) and the 2nd cell should be the serdes lane function.
ti,serdes-clk — required here #
Phandle to the SYSCON entry required for configuring SERDES clock selection.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
#clock-cells — not listed as required here #
Exact value (const): 1
mux-controls — required here #
Maximum number of items (maxItems): 1
Phandle to the SYSCON entry required for configuring SERDES lane function.
clock-output-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Clock output names for SERDES 0
Array item rules (
items)Item 1
Exact value (
const):"serdes0_cmu_refclk"Item 2
Exact value (
const):"serdes0_lo_refclk"Item 3
Exact value (
const):"serdes0_ro_refclk"
Rule 2
Clock output names for SERDES 1
Array item rules (
items)Item 1
Exact value (
const):"serdes1_cmu_refclk"Item 2
Exact value (
const):"serdes1_lo_refclk"Item 3
Exact value (
const):"serdes1_ro_refclk"
Required in this object (required): "compatible", "reg", "power-domains", "clocks", "assigned-clocks", "assigned-clock-parents", "ti,serdes-clk", "mux-controls", "clock-output-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy-am654-serdes.h>
serdes0: serdes@900000 {
compatible = "ti,phy-am654-serdes";
reg = <0x900000 0x2000>;
reg-names = "serdes";
#phy-cells = <2>;
power-domains = <&k3_pds 153>;
clocks = <&k3_clks 153 4>, <&k3_clks 153 1>,
<&serdes1 AM654_SERDES_LO_REFCLK>;
clock-output-names = "serdes0_cmu_refclk", "serdes0_lo_refclk", "serdes0_ro_refclk";
assigned-clocks = <&k3_clks 153 4>, <&serdes0 AM654_SERDES_CMU_REFCLK>;
assigned-clock-parents = <&k3_clks 153 8>, <&k3_clks 153 4>;
ti,serdes-clk = <&serdes0_clk>;
mux-controls = <&serdes_mux 0>;
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
CPSW Port's Interface Mode Selection PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,phy-gmii-sel.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>"
TI am335x/am437x/dra7(am5)/dm814x CPSW3G Ethernet Subsystem supports
two 10/100/1000 Ethernet ports with selectable G/MII, RMII, and RGMII interfaces.
The interface mode is selected by configuring the MII mode selection register(s)
(GMII_SEL) in the System Control Module chapter (SCM). GMII_SEL register(s) and
bit fields placement in SCM are different between SoCs while fields meaning
is the same.
+--------------+
+-------------------------------+ |SCM |
| CPSW | | +---------+ |
| +--------------------------------+gmii_sel | |
| | | | +---------+ |
| +----v---+ +--------+ | +--------------+
| |Port 1..<--+-->GMII/MII<------->
| | | | | | |
| +--------+ | +--------+ |
| | |
| | +--------+ |
| | | RMII <------->
| +--> | |
| | +--------+ |
| | |
| | +--------+ |
| | | RGMII <------->
| +--> | |
| +--------+ |
+-------------------------------+
CPSW Port's Interface Mode Selection PHY describes MII interface mode between CPSW Port and Ethernet PHY which depends on Eth PHY and board configuration. | CPSW Port's Interface Mode Selection PHY device should defined as child device of SCM node (scm_conf) and can be attached to each CPSW port node using standard PHY bindings.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,am3352-phy-gmii-sel", "ti,dra7xx-phy-gmii-sel", "ti,am43xx-phy-gmii-sel", "ti,dm814-phy-gmii-sel", "ti,am654-phy-gmii-sel", "ti,j7200-cpsw5g-phy-gmii-sel", "ti,j721e-cpsw9g-phy-gmii-sel", "ti,j784s4-cpsw9g-phy-gmii-sel"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
true — No constraints added by this property rule.
ti,qsgmii-main-ports — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Required only for QSGMII mode. Array to select the port/s for QSGMII main mode. The size of the array corresponds to the number of QSGMII interfaces and thus, the number of distinct QSGMII main ports, supported by the device. If the device supports two QSGMII interfaces but only one QSGMII interface is desired, repeat the QSGMII main port value corresponding to the QSGMII interface in the array.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum value (
minimum):1Maximum value (
maximum):8
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)Allowed values (
enum):"ti,dra7xx-phy-gmii-sel","ti,dm814-phy-gmii-sel","ti,am654-phy-gmii-sel","ti,j7200-cpsw5g-phy-gmii-sel","ti,j721e-cpsw9g-phy-gmii-sel","ti,j784s4-cpsw9g-phy-gmii-sel"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):1CPSW port number (starting from 1)
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
ti,qsgmii-main-ports— not listed as required hereMaximum number of items (
maxItems):1Array item rules (
items)Minimum value (
minimum):1Maximum value (
maximum):4
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"ti,j721e-cpsw9g-phy-gmii-sel","ti,j784s4-cpsw9g-phy-gmii-sel"When the condition matches (
then) #Properties and child nodes (
properties)
ti,qsgmii-main-ports— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2Array item rules (
items)Minimum value (
minimum):1Maximum value (
maximum):8
Rule 4 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"ti,j7200-cpsw5g-phy-gmii-sel","ti,j721e-cpsw9g-phy-gmii-sel","ti,j784s4-cpsw9g-phy-gmii-sel"When the condition matches (
then) #Properties and child nodes (
properties)
ti,qsgmii-main-ports— not listed as required here
false— Not permitted by this property rule.
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"ti,am3352-phy-gmii-sel","ti,am43xx-phy-gmii-sel"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):2- CPSW port number (starting from 1) - RMII refclk mode
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy_gmii_sel: phy@650 {
compatible = "ti,am3352-phy-gmii-sel";
reg = <0x650 0x4>;
#phy-cells = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
TI J721E WIZ (SERDES Wrapper)
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,phy-j721e-wiz.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,j721e-wiz-16g", "ti,j721e-wiz-10g", "ti,j721s2-wiz-10g", "ti,am64-wiz-10g", "ti,j7200-wiz-10g", "ti,j784s4-wiz-10g"
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
clock-specifier to represent input to the WIZ
clock-names — required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
Exact value (
const):"fck"
Item 2
Exact value (
const):"core_ref_clk"
Item 3
Exact value (
const):"ext_ref_clk"
Item 4
Exact value (
const):"core_ref1_clk"
num-lanes — required here #
Minimum value (minimum): 1
Maximum value (maximum): 4
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 1
#reset-cells — required here #
Exact value (const): 1
#clock-cells — not listed as required here #
Exact value (const): 1
ranges — required here #
true — No constraints added by this property rule.
typec-dir-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO to signal Type-C cable orientation for lane swap. If GPIO is active, lane 0 and lane 1 of SERDES will be swapped to achieve the functionality of an external type-C plug flip mux.
typec-dir-debounce-ms — not listed as required here #
Minimum value (minimum): 100
Maximum value (maximum): 1000
Default value (default): 100
Number of milliseconds to wait before sampling typec-dir-gpio. If not specified, the default debounce of 100ms will be used. Type-C spec states minimum CC pin debounce of 100 ms and maximum of 200 ms. However, some solutions might need more than 200 ms.
refclk-dig — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
WIZ node should have subnode for refclk_dig to select the reference clock source for the reference clock used in the PHY and PMA digital logic.
Deprecated (deprecated): true
Properties and child nodes (properties) #
clocks — required here
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Phandle to two (Torrent) or four (Sierra) clock nodes representing the inputs to refclk_dig
#clock-cells — required here
Exact value (const): 0
clock-output-names — not listed as required here
Maximum number of items (maxItems): 1
assigned-clocks — required here
Maximum number of items (maxItems): 1
assigned-clock-parents — required here
Maximum number of items (maxItems): 1
Required in this object (required): "clocks", "#clock-cells", "assigned-clocks", "assigned-clock-parents"
ti,scm — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to System Control Module for syscon regmap access.
Properties matching a name pattern (patternProperties) #
^pll[0|1]-refclk$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
WIZ node should have subnodes for each of the PLLs present in the SERDES.
Deprecated (deprecated): true
Properties and child nodes (properties) #
clocks — required here
Maximum number of items (maxItems): 2
Phandle to clock nodes representing the two inputs to PLL.
#clock-cells — required here
Exact value (const): 0
clock-output-names — not listed as required here
Maximum number of items (maxItems): 1
assigned-clocks — required here
Maximum number of items (maxItems): 1
assigned-clock-parents — required here
Maximum number of items (maxItems): 1
Required in this object (required): "clocks", "#clock-cells", "assigned-clocks", "assigned-clock-parents"
^cmn-refclk1?-dig-div$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
WIZ node should have subnodes for each of the PMA common refclock provided by the SERDES.
Deprecated (deprecated): true
Properties and child nodes (properties) #
clocks — required here
Maximum number of items (maxItems): 1
Phandle to the clock node representing the input to the divider clock.
#clock-cells — required here
Exact value (const): 0
clock-output-names — not listed as required here
Maximum number of items (maxItems): 1
Required in this object (required): "clocks", "#clock-cells"
^serdes@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
WIZ node should have '1' subnode for the SERDES. It could be either Sierra SERDES or Torrent SERDES. Sierra SERDES should follow the bindings specified in Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml Torrent SERDES should follow the bindings specified in Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
Required in this object (required): "compatible", "power-domains", "clocks", "clock-names", "num-lanes", "#address-cells", "#size-cells", "#reset-cells", "ranges"
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):"ti,j7200-wiz-10g"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/soc/ti,sci_pm_domain.h>
wiz@5000000 {
compatible = "ti,j721e-wiz-16g";
#address-cells = <1>;
#size-cells = <1>;
power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 292 5>, <&k3_clks 292 11>, <&dummy_cmn_refclk>;
clock-names = "fck", "core_ref_clk", "ext_ref_clk";
assigned-clocks = <&k3_clks 292 11>, <&k3_clks 292 0>;
assigned-clock-parents = <&k3_clks 292 15>, <&k3_clks 292 4>;
num-lanes = <2>;
#reset-cells = <1>;
ranges = <0x5000000 0x5000000 0x10000>;
pll0-refclk {
clocks = <&k3_clks 293 13>, <&dummy_cmn_refclk>;
#clock-cells = <0>;
assigned-clocks = <&wiz1_pll0_refclk>;
assigned-clock-parents = <&k3_clks 293 13>;
};
pll1-refclk {
clocks = <&k3_clks 293 0>, <&dummy_cmn_refclk1>;
#clock-cells = <0>;
assigned-clocks = <&wiz1_pll1_refclk>;
assigned-clock-parents = <&k3_clks 293 0>;
};
cmn-refclk-dig-div {
clocks = <&wiz1_refclk_dig>;
#clock-cells = <0>;
};
cmn-refclk1-dig-div {
clocks = <&wiz1_pll1_refclk>;
#clock-cells = <0>;
};
refclk-dig {
clocks = <&k3_clks 292 11>, <&k3_clks 292 0>,
<&dummy_cmn_refclk>, <&dummy_cmn_refclk1>;
#clock-cells = <0>;
assigned-clocks = <&wiz0_refclk_dig>;
assigned-clock-parents = <&k3_clks 292 11>;
};
serdes@5000000 {
compatible = "ti,sierra-phy-t0";
reg-names = "serdes";
reg = <0x5000000 0x10000>;
#address-cells = <1>;
#size-cells = <0>;
resets = <&serdes_wiz0 0>;
reset-names = "sierra_reset";
clocks = <&wiz0_cmn_refclk_dig_div>, <&wiz0_cmn_refclk1_dig_div>;
clock-names = "cmn_refclk_dig_div", "cmn_refclk1_dig_div";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
TI PIPE3 PHY Module
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,phy-usb3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Roger Quadros <rogerq@ti.com>"
The TI PIPE3 PHY is a high-speed SerDes (Serializer/Deserializer) transceiver integrated in OMAP5, DRA7xx/AM57xx, and similar SoCs. It supports multiple protocols (USB3, SATA, PCIe) using the PIPE3 interface standard, which defines a common physical layer for high-speed serial interfaces.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^(pcie-phy|usb3-phy|phy)@[0-9a-f]+$"
compatible — required here #
Allowed values (enum): "ti,omap-usb3", "ti,phy-pipe3-pcie", "ti,phy-pipe3-sata", "ti,phy-usb3"
reg — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
reg-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"phy_rx"
Item 2
Exact value (
const):"phy_tx"
Item 3
Exact value (
const):"pll_ctrl"
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 7
clock-names — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 7
Array item rules (items) #
Allowed values (
enum):"wkupclk","sysclk","refclk","dpll_ref","dpll_ref_m2","phy-div","div-clk"
syscon-phy-power — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Maximum number of items (maxItems): 1
Array item rules (items) #
Array item rules (
items)Item 1
Phandle to the system control module
Item 2
Register offset controlling PHY power
syscon-pllreset — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Maximum number of items (maxItems): 1
Array item rules (items) #
Array item rules (
items)Item 1
Phandle to the system control module
Item 2
Register offset of CTRL_CORE_SMA_SW_0
syscon-pcs — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Maximum number of items (maxItems): 1
Array item rules (items) #
Array item rules (
items)Item 1
Phandle to the system control module
Item 2
Register offset for PCS delay programming
ctrl-module — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle of control module for PHY power on.
Deprecated (deprecated): true
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):"ti,phy-pipe3-sata"When the condition matches (
then) #Properties and child nodes (
properties)
syscon-pllreset— not listed as required here
true— No constraints added by this property rule.When the condition does not match (
else) #Properties and child nodes (
properties)
syscon-pllreset— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "reg", "compatible", "reg-names", "#phy-cells", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
/* TI PIPE3 USB3 PHY */
usb3-phy@4a084400 {
compatible = "ti,phy-usb3";
reg = <0x4a084400 0x80>,
<0x4a084800 0x64>,
<0x4a084c00 0x40>;
reg-names = "phy_rx", "phy_tx", "pll_ctrl";
#phy-cells = <0>;
clocks = <&usb_phy_cm_clk32k>,
<&sys_clkin>,
<&usb_otg_ss_refclk960m>;
clock-names = "wkupclk", "sysclk", "refclk";
ctrl-module = <&omap_control_usb>;
};
/* TI PIPE3 SATA PHY */
phy@4a096000 {
compatible = "ti,phy-pipe3-sata";
reg = <0x4a096000 0x80>, /* phy_rx */
<0x4a096400 0x64>, /* phy_tx */
<0x4a096800 0x40>; /* pll_ctrl */
reg-names = "phy_rx", "phy_tx", "pll_ctrl";
clocks = <&sys_clkin1>, <&sata_ref_clk>;
clock-names = "sysclk", "refclk";
syscon-pllreset = <&scm_conf 0x3fc>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TCAN104x CAN TRANSCEIVER PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,tcan104x-can.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Aswath Govindraju <a-govindraju@ti.com>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^can-phy"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"ti,tcan1042"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"ti,tcan1046"Item 2
Exact value (
const):"nxp,tja1048"
Rule 3
Allowed values (
enum):"ti,tcan1042","ti,tcan1043","nxp,tja1048","nxp,tja1051","nxp,tja1057","nxp,tjr1443"
#phy-cells — required here #
silent-gpios — not listed as required here #
gpio node to toggle silent signal on transceiver
Maximum number of items (maxItems): 1
standby-gpios — not listed as required here #
gpio node to toggle standby signal on transceiver. For two Items, item 1 is for stbn1, item 2 is for stbn2.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
enable-gpios — not listed as required here #
gpio node to toggle enable signal on transceiver
Maximum number of items (maxItems): 1
max-bitrate — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
max bit rate supported in bps
Minimum value (minimum): 1
mux-states — not listed as required here #
mux controller node to route the signals from controller to transceiver.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "#phy-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"nxp,tjr1443","ti,tcan1042","ti,tcan1043"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):0
silent-gpios— not listed as required here
false— Not permitted by this property rule.
standby-gpios— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nxp,tja1048"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):1
enable-gpios— not listed as required here
false— Not permitted by this property rule.
silent-gpios— not listed as required here
false— Not permitted by this property rule.
standby-gpios— not listed as required hereMinimum number of items (
minItems):2
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nxp,tja1051"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):0
standby-gpios— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nxp,tja1057"When the condition matches (
then) #Properties and child nodes (
properties)
#phy-cells— not listed as required hereExact value (
const):0
enable-gpios— not listed as required here
false— Not permitted by this property rule.
standby-gpios— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
transceiver1: can-phy {
compatible = "ti,tcan1043";
#phy-cells = <0>;
max-bitrate = <5000000>;
standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>;
enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>;
mux-states = <&mux0 1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Xilinx ZynqMP Gigabit Transceiver PHY
Peios Kernel / Hardware and drivers / Device-tree binding reference / PHY bindings
Schema identifier ($id): "http://devicetree.org/schemas/phy/xlnx,zynqmp-psgtr.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
This binding describes the Xilinx ZynqMP Gigabit Transceiver (GTR) PHY. The GTR provides four lanes and is used by USB, SATA, PCIE, Display port and Ethernet SGMII controllers.
Properties and child nodes (properties) #
#phy-cells — required here #
Exact value (const): 4
The cells contain the following arguments.
- description: The GTR lane
minimum: 0
maximum: 3
- description: The PHY type
enum:
- PHY_TYPE_DP
- PHY_TYPE_PCIE
- PHY_TYPE_SATA
- PHY_TYPE_SGMII
- PHY_TYPE_USB3
- description: The PHY instance
minimum: 0
maximum: 1 # for DP, SATA or USB
maximum: 3 # for PCIE or SGMII
- description: The reference clock number
minimum: 0
maximum: 3
compatible — required here #
Allowed values (enum): "xlnx,zynqmp-psgtr-v1.1", "xlnx,zynqmp-psgtr"
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Clock for each PS_MGTREFCLK[0-3] reference clock input. Unconnected inputs shall not have an entry.
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items) #
String pattern (
pattern):"^ref[0-3]$"
reg — required here #
Array item rules (items) #
Item 1
SERDES registers block
Item 2
SIOU registers block
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"serdes"
Item 2
Exact value (
const):"siou"
xlnx,tx-termination-fix — not listed as required here #
Include this for fixing functional issue with the TX termination resistance in GT, which can be out of spec for the XCZU9EG silicon version.
Value type (type): "boolean"
Required in this object (required): "#phy-cells", "compatible", "reg", "reg-names"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Exact value (
const):"xlnx,zynqmp-psgtr-v1.1"
When the condition matches (then) #
Properties and child nodes (
properties) #
xlnx,tx-termination-fix— not listed as required here #
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy: phy@fd400000 {
compatible = "xlnx,zynqmp-psgtr-v1.1";
reg = <0xfd400000 0x40000>,
<0xfd3d0000 0x1000>;
reg-names = "serdes", "siou";
clocks = <&refclks 3>, <&refclks 2>, <&refclks 0>;
clock-names = "ref1", "ref2", "ref3";
#phy-cells = <4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)