Wesley Cheng | f06b9fc | 2020-05-04 16:54:23 -0700 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: "http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml#" |
| 5 | $schema: "http://devicetree.org/meta-schemas/core.yaml#" |
| 6 | |
| 7 | title: Qualcomm Synopsys Femto High-Speed USB PHY V2 |
| 8 | |
| 9 | maintainers: |
| 10 | - Wesley Cheng <wcheng@codeaurora.org> |
| 11 | |
| 12 | description: | |
| 13 | Qualcomm High-Speed USB PHY |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - qcom,usb-snps-hs-7nm-phy |
Sandeep Maheswaram | 6a7d15b | 2021-03-17 16:31:40 +0530 | [diff] [blame] | 19 | - qcom,sc7280-usb-hs-phy |
Wesley Cheng | f06b9fc | 2020-05-04 16:54:23 -0700 | [diff] [blame] | 20 | - qcom,sm8150-usb-hs-phy |
Jack Pham | fcba632 | 2021-01-15 09:47:22 -0800 | [diff] [blame] | 21 | - qcom,sm8250-usb-hs-phy |
| 22 | - qcom,sm8350-usb-hs-phy |
Wesley Cheng | f06b9fc | 2020-05-04 16:54:23 -0700 | [diff] [blame] | 23 | - qcom,usb-snps-femto-v2-phy |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | "#phy-cells": |
| 29 | const: 0 |
| 30 | |
| 31 | clocks: |
| 32 | items: |
| 33 | - description: rpmhcc ref clock |
| 34 | |
| 35 | clock-names: |
| 36 | items: |
| 37 | - const: ref |
| 38 | |
| 39 | resets: |
| 40 | items: |
| 41 | - description: PHY core reset |
| 42 | |
| 43 | vdda-pll-supply: |
| 44 | description: phandle to the regulator VDD supply node. |
| 45 | |
| 46 | vdda18-supply: |
| 47 | description: phandle to the regulator 1.8V supply node. |
| 48 | |
| 49 | vdda33-supply: |
| 50 | description: phandle to the regulator 3.3V supply node. |
| 51 | |
| 52 | required: |
| 53 | - compatible |
| 54 | - reg |
| 55 | - "#phy-cells" |
| 56 | - clocks |
| 57 | - clock-names |
| 58 | - resets |
| 59 | - vdda-pll-supply |
| 60 | - vdda18-supply |
| 61 | - vdda33-supply |
| 62 | |
| 63 | additionalProperties: false |
| 64 | |
| 65 | examples: |
| 66 | - | |
| 67 | #include <dt-bindings/clock/qcom,rpmh.h> |
| 68 | #include <dt-bindings/clock/qcom,gcc-sm8150.h> |
| 69 | phy@88e2000 { |
| 70 | compatible = "qcom,sm8150-usb-hs-phy"; |
Rob Herring | 0db958b | 2020-06-11 08:58:04 -0600 | [diff] [blame] | 71 | reg = <0x088e2000 0x400>; |
Wesley Cheng | f06b9fc | 2020-05-04 16:54:23 -0700 | [diff] [blame] | 72 | #phy-cells = <0>; |
| 73 | |
| 74 | clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 75 | clock-names = "ref"; |
| 76 | |
| 77 | resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; |
Wesley Cheng | b9d3e8a | 2020-05-06 01:26:29 -0700 | [diff] [blame] | 78 | |
| 79 | vdda-pll-supply = <&vdd_usb_hs_core>; |
| 80 | vdda33-supply = <&vdda_usb_hs_3p1>; |
| 81 | vdda18-supply = <&vdda_usb_hs_1p8>; |
Wesley Cheng | f06b9fc | 2020-05-04 16:54:23 -0700 | [diff] [blame] | 82 | }; |
| 83 | ... |