Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | # Copyright (c) 2020 NXP |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: http://devicetree.org/schemas/phy/cdns,salvo-phy.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: Cadence SALVO PHY |
| 9 | |
| 10 | maintainers: |
| 11 | - Peter Chen <peter.chen@nxp.com> |
| 12 | |
| 13 | properties: |
| 14 | compatible: |
| 15 | enum: |
| 16 | - nxp,salvo-phy |
| 17 | |
| 18 | reg: |
| 19 | maxItems: 1 |
| 20 | |
| 21 | clocks: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | clock-names: |
| 25 | items: |
| 26 | - const: salvo_phy_clk |
| 27 | |
| 28 | power-domains: |
| 29 | maxItems: 1 |
| 30 | |
| 31 | "#phy-cells": |
| 32 | const: 0 |
| 33 | |
| 34 | cdns,usb2-disconnect-threshold-microvolt: |
| 35 | description: The microvolt threshold value utilized for detecting |
| 36 | USB disconnection event. |
| 37 | enum: [575, 610, 645] |
| 38 | default: 575 |
| 39 | |
| 40 | required: |
| 41 | - compatible |
| 42 | - reg |
| 43 | - "#phy-cells" |
| 44 | |
| 45 | additionalProperties: false |
| 46 | |
| 47 | examples: |
| 48 | - | |
| 49 | #include <dt-bindings/firmware/imx/rsrc.h> |
| 50 | |
| 51 | usb3phy: usb3-phy@5b160000 { |
| 52 | compatible = "nxp,salvo-phy"; |
| 53 | reg = <0x5b160000 0x40000>; |
| 54 | clocks = <&usb3_lpcg 4>; |
| 55 | clock-names = "salvo_phy_clk"; |
| 56 | power-domains = <&pd IMX_SC_R_USB_2_PHY>; |
| 57 | #phy-cells = <0>; |
| 58 | }; |