1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot 3c66ec88fSEmmanuel Vadot%YAML 1.2 4c66ec88fSEmmanuel Vadot--- 5c66ec88fSEmmanuel Vadot$id: "http://devicetree.org/schemas/phy/qcom,qmp-phy.yaml#" 6c66ec88fSEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#" 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadottitle: Qualcomm QMP PHY controller 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadotmaintainers: 118cc087a1SEmmanuel Vadot - Vinod Koul <vkoul@kernel.org> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotdescription: 14c66ec88fSEmmanuel Vadot QMP phy controller supports physical layer functionality for a number of 15c66ec88fSEmmanuel Vadot controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB. 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadotproperties: 18c66ec88fSEmmanuel Vadot compatible: 19c66ec88fSEmmanuel Vadot enum: 205956d97fSEmmanuel Vadot - qcom,ipq6018-qmp-pcie-phy 21354d7675SEmmanuel Vadot - qcom,ipq6018-qmp-usb3-phy 22c66ec88fSEmmanuel Vadot - qcom,ipq8074-qmp-pcie-phy 23c66ec88fSEmmanuel Vadot - qcom,ipq8074-qmp-usb3-phy 24c66ec88fSEmmanuel Vadot - qcom,msm8996-qmp-pcie-phy 25c66ec88fSEmmanuel Vadot - qcom,msm8996-qmp-ufs-phy 26c66ec88fSEmmanuel Vadot - qcom,msm8996-qmp-usb3-phy 27c66ec88fSEmmanuel Vadot - qcom,msm8998-qmp-pcie-phy 28c66ec88fSEmmanuel Vadot - qcom,msm8998-qmp-ufs-phy 29c66ec88fSEmmanuel Vadot - qcom,msm8998-qmp-usb3-phy 308cc087a1SEmmanuel Vadot - qcom,qcm2290-qmp-usb3-phy 312eb4d8dcSEmmanuel Vadot - qcom,sc7180-qmp-usb3-phy 32354d7675SEmmanuel Vadot - qcom,sc8180x-qmp-pcie-phy 335def4c47SEmmanuel Vadot - qcom,sc8180x-qmp-ufs-phy 345def4c47SEmmanuel Vadot - qcom,sc8180x-qmp-usb3-phy 35*c9ccf3a3SEmmanuel Vadot - qcom,sc8280xp-qmp-ufs-phy 36c66ec88fSEmmanuel Vadot - qcom,sdm845-qhp-pcie-phy 37c66ec88fSEmmanuel Vadot - qcom,sdm845-qmp-pcie-phy 38c66ec88fSEmmanuel Vadot - qcom,sdm845-qmp-ufs-phy 392eb4d8dcSEmmanuel Vadot - qcom,sdm845-qmp-usb3-phy 40c66ec88fSEmmanuel Vadot - qcom,sdm845-qmp-usb3-uni-phy 41354d7675SEmmanuel Vadot - qcom,sm6115-qmp-ufs-phy 42c66ec88fSEmmanuel Vadot - qcom,sm8150-qmp-ufs-phy 435def4c47SEmmanuel Vadot - qcom,sm8150-qmp-usb3-phy 445def4c47SEmmanuel Vadot - qcom,sm8150-qmp-usb3-uni-phy 45c66ec88fSEmmanuel Vadot - qcom,sm8250-qmp-ufs-phy 465def4c47SEmmanuel Vadot - qcom,sm8250-qmp-gen3x1-pcie-phy 475def4c47SEmmanuel Vadot - qcom,sm8250-qmp-gen3x2-pcie-phy 485def4c47SEmmanuel Vadot - qcom,sm8250-qmp-modem-pcie-phy 495def4c47SEmmanuel Vadot - qcom,sm8250-qmp-usb3-phy 505def4c47SEmmanuel Vadot - qcom,sm8250-qmp-usb3-uni-phy 515def4c47SEmmanuel Vadot - qcom,sm8350-qmp-ufs-phy 525def4c47SEmmanuel Vadot - qcom,sm8350-qmp-usb3-phy 535def4c47SEmmanuel Vadot - qcom,sm8350-qmp-usb3-uni-phy 54e67e8565SEmmanuel Vadot - qcom,sm8450-qmp-gen3x1-pcie-phy 55e67e8565SEmmanuel Vadot - qcom,sm8450-qmp-gen4x2-pcie-phy 56e67e8565SEmmanuel Vadot - qcom,sm8450-qmp-ufs-phy 57e67e8565SEmmanuel Vadot - qcom,sm8450-qmp-usb3-phy 585956d97fSEmmanuel Vadot - qcom,sdx55-qmp-pcie-phy 595def4c47SEmmanuel Vadot - qcom,sdx55-qmp-usb3-uni-phy 60c66ec88fSEmmanuel Vadot 61c66ec88fSEmmanuel Vadot reg: 625def4c47SEmmanuel Vadot minItems: 1 63c66ec88fSEmmanuel Vadot items: 64c66ec88fSEmmanuel Vadot - description: Address and length of PHY's common serdes block. 655def4c47SEmmanuel Vadot - description: Address and length of PHY's DP_COM control block. 66c66ec88fSEmmanuel Vadot 67c66ec88fSEmmanuel Vadot "#clock-cells": 68c66ec88fSEmmanuel Vadot enum: [ 1, 2 ] 69c66ec88fSEmmanuel Vadot 70c66ec88fSEmmanuel Vadot "#address-cells": 71c66ec88fSEmmanuel Vadot enum: [ 1, 2 ] 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadot "#size-cells": 74c66ec88fSEmmanuel Vadot enum: [ 1, 2 ] 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadot ranges: true 77c66ec88fSEmmanuel Vadot 78c66ec88fSEmmanuel Vadot clocks: 79c66ec88fSEmmanuel Vadot minItems: 1 80c66ec88fSEmmanuel Vadot maxItems: 4 81c66ec88fSEmmanuel Vadot 82c66ec88fSEmmanuel Vadot clock-names: 83c66ec88fSEmmanuel Vadot minItems: 1 84c66ec88fSEmmanuel Vadot maxItems: 4 85c66ec88fSEmmanuel Vadot 86c66ec88fSEmmanuel Vadot resets: 87c66ec88fSEmmanuel Vadot minItems: 1 88c66ec88fSEmmanuel Vadot maxItems: 3 89c66ec88fSEmmanuel Vadot 90c66ec88fSEmmanuel Vadot reset-names: 91c66ec88fSEmmanuel Vadot minItems: 1 92c66ec88fSEmmanuel Vadot maxItems: 3 93c66ec88fSEmmanuel Vadot 94c66ec88fSEmmanuel Vadot vdda-phy-supply: 95c66ec88fSEmmanuel Vadot description: 96c66ec88fSEmmanuel Vadot Phandle to a regulator supply to PHY core block. 97c66ec88fSEmmanuel Vadot 98c66ec88fSEmmanuel Vadot vdda-pll-supply: 99c66ec88fSEmmanuel Vadot description: 100c66ec88fSEmmanuel Vadot Phandle to 1.8V regulator supply to PHY refclk pll block. 101c66ec88fSEmmanuel Vadot 102c66ec88fSEmmanuel Vadot vddp-ref-clk-supply: 103c66ec88fSEmmanuel Vadot description: 104c66ec88fSEmmanuel Vadot Phandle to a regulator supply to any specific refclk pll block. 105c66ec88fSEmmanuel Vadot 106c66ec88fSEmmanuel Vadot#Required nodes: 107c66ec88fSEmmanuel VadotpatternProperties: 108c66ec88fSEmmanuel Vadot "^phy@[0-9a-f]+$": 109c66ec88fSEmmanuel Vadot type: object 110c66ec88fSEmmanuel Vadot description: 111c66ec88fSEmmanuel Vadot Each device node of QMP phy is required to have as many child nodes as 112c66ec88fSEmmanuel Vadot the number of lanes the PHY has. 113c66ec88fSEmmanuel Vadot 114c66ec88fSEmmanuel Vadotrequired: 115c66ec88fSEmmanuel Vadot - compatible 116c66ec88fSEmmanuel Vadot - reg 117c66ec88fSEmmanuel Vadot - "#clock-cells" 118c66ec88fSEmmanuel Vadot - "#address-cells" 119c66ec88fSEmmanuel Vadot - "#size-cells" 120c66ec88fSEmmanuel Vadot - ranges 121c66ec88fSEmmanuel Vadot - clocks 122c66ec88fSEmmanuel Vadot - clock-names 123c66ec88fSEmmanuel Vadot - resets 124c66ec88fSEmmanuel Vadot - reset-names 125c66ec88fSEmmanuel Vadot 126c66ec88fSEmmanuel VadotadditionalProperties: false 127c66ec88fSEmmanuel Vadot 128c66ec88fSEmmanuel VadotallOf: 129c66ec88fSEmmanuel Vadot - if: 130c66ec88fSEmmanuel Vadot properties: 131c66ec88fSEmmanuel Vadot compatible: 132c66ec88fSEmmanuel Vadot contains: 133c66ec88fSEmmanuel Vadot enum: 134c66ec88fSEmmanuel Vadot - qcom,sdm845-qmp-usb3-uni-phy 135c66ec88fSEmmanuel Vadot then: 136c66ec88fSEmmanuel Vadot properties: 137c66ec88fSEmmanuel Vadot clocks: 138c66ec88fSEmmanuel Vadot items: 139c66ec88fSEmmanuel Vadot - description: Phy aux clock. 140c66ec88fSEmmanuel Vadot - description: Phy config clock. 141c66ec88fSEmmanuel Vadot - description: 19.2 MHz ref clk. 142c66ec88fSEmmanuel Vadot - description: Phy common block aux clock. 143c66ec88fSEmmanuel Vadot clock-names: 144c66ec88fSEmmanuel Vadot items: 145c66ec88fSEmmanuel Vadot - const: aux 146c66ec88fSEmmanuel Vadot - const: cfg_ahb 147c66ec88fSEmmanuel Vadot - const: ref 148c66ec88fSEmmanuel Vadot - const: com_aux 149c66ec88fSEmmanuel Vadot resets: 150c66ec88fSEmmanuel Vadot items: 151c66ec88fSEmmanuel Vadot - description: reset of phy block. 152c66ec88fSEmmanuel Vadot - description: phy common block reset. 153c66ec88fSEmmanuel Vadot reset-names: 154c66ec88fSEmmanuel Vadot items: 155c66ec88fSEmmanuel Vadot - const: phy 156c66ec88fSEmmanuel Vadot - const: common 1578cc087a1SEmmanuel Vadot required: 1588cc087a1SEmmanuel Vadot - vdda-phy-supply 1598cc087a1SEmmanuel Vadot - vdda-pll-supply 160c66ec88fSEmmanuel Vadot - if: 161c66ec88fSEmmanuel Vadot properties: 162c66ec88fSEmmanuel Vadot compatible: 163c66ec88fSEmmanuel Vadot contains: 164c66ec88fSEmmanuel Vadot enum: 1655def4c47SEmmanuel Vadot - qcom,sdx55-qmp-usb3-uni-phy 1665def4c47SEmmanuel Vadot then: 1675def4c47SEmmanuel Vadot properties: 1685def4c47SEmmanuel Vadot clocks: 1695def4c47SEmmanuel Vadot items: 1705def4c47SEmmanuel Vadot - description: Phy aux clock. 1715def4c47SEmmanuel Vadot - description: Phy config clock. 1725def4c47SEmmanuel Vadot - description: 19.2 MHz ref clk. 1735def4c47SEmmanuel Vadot clock-names: 1745def4c47SEmmanuel Vadot items: 1755def4c47SEmmanuel Vadot - const: aux 1765def4c47SEmmanuel Vadot - const: cfg_ahb 1775def4c47SEmmanuel Vadot - const: ref 1785def4c47SEmmanuel Vadot resets: 1795def4c47SEmmanuel Vadot items: 1805def4c47SEmmanuel Vadot - description: reset of phy block. 1815def4c47SEmmanuel Vadot - description: phy common block reset. 1825def4c47SEmmanuel Vadot reset-names: 1835def4c47SEmmanuel Vadot items: 1845def4c47SEmmanuel Vadot - const: phy 1855def4c47SEmmanuel Vadot - const: common 1868cc087a1SEmmanuel Vadot required: 1878cc087a1SEmmanuel Vadot - vdda-phy-supply 1888cc087a1SEmmanuel Vadot - vdda-pll-supply 1895def4c47SEmmanuel Vadot - if: 1905def4c47SEmmanuel Vadot properties: 1915def4c47SEmmanuel Vadot compatible: 1925def4c47SEmmanuel Vadot contains: 1935def4c47SEmmanuel Vadot enum: 194c66ec88fSEmmanuel Vadot - qcom,msm8996-qmp-pcie-phy 195c66ec88fSEmmanuel Vadot then: 196c66ec88fSEmmanuel Vadot properties: 197c66ec88fSEmmanuel Vadot clocks: 198c66ec88fSEmmanuel Vadot items: 199c66ec88fSEmmanuel Vadot - description: Phy aux clock. 200c66ec88fSEmmanuel Vadot - description: Phy config clock. 201c66ec88fSEmmanuel Vadot - description: 19.2 MHz ref clk. 202c66ec88fSEmmanuel Vadot clock-names: 203c66ec88fSEmmanuel Vadot items: 204c66ec88fSEmmanuel Vadot - const: aux 205c66ec88fSEmmanuel Vadot - const: cfg_ahb 206c66ec88fSEmmanuel Vadot - const: ref 207c66ec88fSEmmanuel Vadot resets: 208c66ec88fSEmmanuel Vadot items: 209c66ec88fSEmmanuel Vadot - description: reset of phy block. 210c66ec88fSEmmanuel Vadot - description: phy common block reset. 211c66ec88fSEmmanuel Vadot - description: phy's ahb cfg block reset. 212c66ec88fSEmmanuel Vadot reset-names: 213c66ec88fSEmmanuel Vadot items: 214c66ec88fSEmmanuel Vadot - const: phy 215c66ec88fSEmmanuel Vadot - const: common 216c66ec88fSEmmanuel Vadot - const: cfg 2178cc087a1SEmmanuel Vadot required: 2188cc087a1SEmmanuel Vadot - vdda-phy-supply 2198cc087a1SEmmanuel Vadot - vdda-pll-supply 220c66ec88fSEmmanuel Vadot - if: 221c66ec88fSEmmanuel Vadot properties: 222c66ec88fSEmmanuel Vadot compatible: 223c66ec88fSEmmanuel Vadot contains: 224c66ec88fSEmmanuel Vadot enum: 225c66ec88fSEmmanuel Vadot - qcom,ipq8074-qmp-usb3-phy 226c66ec88fSEmmanuel Vadot - qcom,msm8996-qmp-usb3-phy 227c66ec88fSEmmanuel Vadot - qcom,msm8998-qmp-pcie-phy 228c66ec88fSEmmanuel Vadot - qcom,msm8998-qmp-usb3-phy 229c66ec88fSEmmanuel Vadot then: 230c66ec88fSEmmanuel Vadot properties: 231c66ec88fSEmmanuel Vadot clocks: 232c66ec88fSEmmanuel Vadot items: 233c66ec88fSEmmanuel Vadot - description: Phy aux clock. 234c66ec88fSEmmanuel Vadot - description: Phy config clock. 235c66ec88fSEmmanuel Vadot - description: 19.2 MHz ref clk. 236c66ec88fSEmmanuel Vadot clock-names: 237c66ec88fSEmmanuel Vadot items: 238c66ec88fSEmmanuel Vadot - const: aux 239c66ec88fSEmmanuel Vadot - const: cfg_ahb 240c66ec88fSEmmanuel Vadot - const: ref 241c66ec88fSEmmanuel Vadot resets: 242c66ec88fSEmmanuel Vadot items: 243c66ec88fSEmmanuel Vadot - description: reset of phy block. 244c66ec88fSEmmanuel Vadot - description: phy common block reset. 245c66ec88fSEmmanuel Vadot reset-names: 246c66ec88fSEmmanuel Vadot items: 247c66ec88fSEmmanuel Vadot - const: phy 248c66ec88fSEmmanuel Vadot - const: common 2498cc087a1SEmmanuel Vadot required: 2508cc087a1SEmmanuel Vadot - vdda-phy-supply 2518cc087a1SEmmanuel Vadot - vdda-pll-supply 252c66ec88fSEmmanuel Vadot - if: 253c66ec88fSEmmanuel Vadot properties: 254c66ec88fSEmmanuel Vadot compatible: 255c66ec88fSEmmanuel Vadot contains: 256c66ec88fSEmmanuel Vadot enum: 257c66ec88fSEmmanuel Vadot - qcom,msm8996-qmp-ufs-phy 258c66ec88fSEmmanuel Vadot then: 259c66ec88fSEmmanuel Vadot properties: 260c66ec88fSEmmanuel Vadot clocks: 261c66ec88fSEmmanuel Vadot items: 262c66ec88fSEmmanuel Vadot - description: 19.2 MHz ref clk. 263c66ec88fSEmmanuel Vadot clock-names: 264c66ec88fSEmmanuel Vadot items: 265c66ec88fSEmmanuel Vadot - const: ref 266c66ec88fSEmmanuel Vadot resets: 267c66ec88fSEmmanuel Vadot items: 268c66ec88fSEmmanuel Vadot - description: PHY reset in the UFS controller. 269c66ec88fSEmmanuel Vadot reset-names: 270c66ec88fSEmmanuel Vadot items: 271c66ec88fSEmmanuel Vadot - const: ufsphy 2728cc087a1SEmmanuel Vadot required: 2738cc087a1SEmmanuel Vadot - vdda-phy-supply 2748cc087a1SEmmanuel Vadot - vdda-pll-supply 275c66ec88fSEmmanuel Vadot - if: 276c66ec88fSEmmanuel Vadot properties: 277c66ec88fSEmmanuel Vadot compatible: 278c66ec88fSEmmanuel Vadot contains: 279c66ec88fSEmmanuel Vadot enum: 280c66ec88fSEmmanuel Vadot - qcom,msm8998-qmp-ufs-phy 281c66ec88fSEmmanuel Vadot - qcom,sdm845-qmp-ufs-phy 282c66ec88fSEmmanuel Vadot - qcom,sm8150-qmp-ufs-phy 283c66ec88fSEmmanuel Vadot - qcom,sm8250-qmp-ufs-phy 284*c9ccf3a3SEmmanuel Vadot - qcom,sc8180x-qmp-ufs-phy 285*c9ccf3a3SEmmanuel Vadot - qcom,sc8280xp-qmp-ufs-phy 286c66ec88fSEmmanuel Vadot then: 287c66ec88fSEmmanuel Vadot properties: 288c66ec88fSEmmanuel Vadot clocks: 289c66ec88fSEmmanuel Vadot items: 290c66ec88fSEmmanuel Vadot - description: 19.2 MHz ref clk. 291c66ec88fSEmmanuel Vadot - description: Phy reference aux clock. 292c66ec88fSEmmanuel Vadot clock-names: 293c66ec88fSEmmanuel Vadot items: 294c66ec88fSEmmanuel Vadot - const: ref 295c66ec88fSEmmanuel Vadot - const: ref_aux 296c66ec88fSEmmanuel Vadot resets: 297c66ec88fSEmmanuel Vadot items: 298c66ec88fSEmmanuel Vadot - description: PHY reset in the UFS controller. 299c66ec88fSEmmanuel Vadot reset-names: 300c66ec88fSEmmanuel Vadot items: 301c66ec88fSEmmanuel Vadot - const: ufsphy 3028cc087a1SEmmanuel Vadot required: 3038cc087a1SEmmanuel Vadot - vdda-phy-supply 3048cc087a1SEmmanuel Vadot - vdda-pll-supply 305c66ec88fSEmmanuel Vadot - if: 306c66ec88fSEmmanuel Vadot properties: 307c66ec88fSEmmanuel Vadot compatible: 308c66ec88fSEmmanuel Vadot contains: 309c66ec88fSEmmanuel Vadot enum: 3105956d97fSEmmanuel Vadot - qcom,ipq6018-qmp-pcie-phy 3118cc087a1SEmmanuel Vadot - qcom,ipq8074-qmp-pcie-phy 3125956d97fSEmmanuel Vadot then: 3135956d97fSEmmanuel Vadot properties: 3145956d97fSEmmanuel Vadot clocks: 3155956d97fSEmmanuel Vadot items: 3165956d97fSEmmanuel Vadot - description: Phy aux clock. 3175956d97fSEmmanuel Vadot - description: Phy config clock. 3185956d97fSEmmanuel Vadot clock-names: 3195956d97fSEmmanuel Vadot items: 3205956d97fSEmmanuel Vadot - const: aux 3215956d97fSEmmanuel Vadot - const: cfg_ahb 3225956d97fSEmmanuel Vadot resets: 3235956d97fSEmmanuel Vadot items: 3245956d97fSEmmanuel Vadot - description: reset of phy block. 3255956d97fSEmmanuel Vadot - description: phy common block reset. 3265956d97fSEmmanuel Vadot reset-names: 3275956d97fSEmmanuel Vadot items: 3285956d97fSEmmanuel Vadot - const: phy 3295956d97fSEmmanuel Vadot - const: common 3305956d97fSEmmanuel Vadot - if: 3315956d97fSEmmanuel Vadot properties: 3325956d97fSEmmanuel Vadot compatible: 3335956d97fSEmmanuel Vadot contains: 3345956d97fSEmmanuel Vadot enum: 335354d7675SEmmanuel Vadot - qcom,sc8180x-qmp-pcie-phy 336c66ec88fSEmmanuel Vadot - qcom,sdm845-qhp-pcie-phy 337c66ec88fSEmmanuel Vadot - qcom,sdm845-qmp-pcie-phy 3385956d97fSEmmanuel Vadot - qcom,sdx55-qmp-pcie-phy 3395def4c47SEmmanuel Vadot - qcom,sm8250-qmp-gen3x1-pcie-phy 3405def4c47SEmmanuel Vadot - qcom,sm8250-qmp-gen3x2-pcie-phy 3415def4c47SEmmanuel Vadot - qcom,sm8250-qmp-modem-pcie-phy 342e67e8565SEmmanuel Vadot - qcom,sm8450-qmp-gen3x1-pcie-phy 343e67e8565SEmmanuel Vadot - qcom,sm8450-qmp-gen4x2-pcie-phy 344c66ec88fSEmmanuel Vadot then: 345c66ec88fSEmmanuel Vadot properties: 346c66ec88fSEmmanuel Vadot clocks: 347c66ec88fSEmmanuel Vadot items: 348c66ec88fSEmmanuel Vadot - description: Phy aux clock. 349c66ec88fSEmmanuel Vadot - description: Phy config clock. 350c66ec88fSEmmanuel Vadot - description: 19.2 MHz ref clk. 351c66ec88fSEmmanuel Vadot - description: Phy refgen clk. 352c66ec88fSEmmanuel Vadot clock-names: 353c66ec88fSEmmanuel Vadot items: 354c66ec88fSEmmanuel Vadot - const: aux 355c66ec88fSEmmanuel Vadot - const: cfg_ahb 356c66ec88fSEmmanuel Vadot - const: ref 357c66ec88fSEmmanuel Vadot - const: refgen 358c66ec88fSEmmanuel Vadot resets: 359c66ec88fSEmmanuel Vadot items: 360c66ec88fSEmmanuel Vadot - description: reset of phy block. 361c66ec88fSEmmanuel Vadot reset-names: 362c66ec88fSEmmanuel Vadot items: 363c66ec88fSEmmanuel Vadot - const: phy 3648cc087a1SEmmanuel Vadot required: 3658cc087a1SEmmanuel Vadot - vdda-phy-supply 3668cc087a1SEmmanuel Vadot - vdda-pll-supply 3675def4c47SEmmanuel Vadot - if: 3685def4c47SEmmanuel Vadot properties: 3695def4c47SEmmanuel Vadot compatible: 3705def4c47SEmmanuel Vadot contains: 3715def4c47SEmmanuel Vadot enum: 3725def4c47SEmmanuel Vadot - qcom,sm8150-qmp-usb3-phy 3735def4c47SEmmanuel Vadot - qcom,sm8150-qmp-usb3-uni-phy 3745def4c47SEmmanuel Vadot - qcom,sm8250-qmp-usb3-uni-phy 3755def4c47SEmmanuel Vadot - qcom,sm8350-qmp-usb3-uni-phy 3765def4c47SEmmanuel Vadot then: 3775def4c47SEmmanuel Vadot properties: 3785def4c47SEmmanuel Vadot clocks: 3795def4c47SEmmanuel Vadot items: 3805def4c47SEmmanuel Vadot - description: Phy aux clock. 3815def4c47SEmmanuel Vadot - description: 19.2 MHz ref clk source. 3825def4c47SEmmanuel Vadot - description: 19.2 MHz ref clk. 3835def4c47SEmmanuel Vadot - description: Phy common block aux clock. 3845def4c47SEmmanuel Vadot clock-names: 3855def4c47SEmmanuel Vadot items: 3865def4c47SEmmanuel Vadot - const: aux 3875def4c47SEmmanuel Vadot - const: ref_clk_src 3885def4c47SEmmanuel Vadot - const: ref 3895def4c47SEmmanuel Vadot - const: com_aux 3905def4c47SEmmanuel Vadot resets: 3915def4c47SEmmanuel Vadot items: 3925def4c47SEmmanuel Vadot - description: reset of phy block. 3935def4c47SEmmanuel Vadot - description: phy common block reset. 3945def4c47SEmmanuel Vadot reset-names: 3955def4c47SEmmanuel Vadot items: 3965def4c47SEmmanuel Vadot - const: phy 3975def4c47SEmmanuel Vadot - const: common 3988cc087a1SEmmanuel Vadot required: 3998cc087a1SEmmanuel Vadot - vdda-phy-supply 4008cc087a1SEmmanuel Vadot - vdda-pll-supply 4015def4c47SEmmanuel Vadot - if: 4025def4c47SEmmanuel Vadot properties: 4035def4c47SEmmanuel Vadot compatible: 4045def4c47SEmmanuel Vadot contains: 4055def4c47SEmmanuel Vadot enum: 4065def4c47SEmmanuel Vadot - qcom,sm8250-qmp-usb3-phy 4075def4c47SEmmanuel Vadot - qcom,sm8350-qmp-usb3-phy 4085def4c47SEmmanuel Vadot then: 4095def4c47SEmmanuel Vadot properties: 4105def4c47SEmmanuel Vadot clocks: 4115def4c47SEmmanuel Vadot items: 4125def4c47SEmmanuel Vadot - description: Phy aux clock. 4135def4c47SEmmanuel Vadot - description: 19.2 MHz ref clk. 4145def4c47SEmmanuel Vadot - description: Phy common block aux clock. 4155def4c47SEmmanuel Vadot clock-names: 4165def4c47SEmmanuel Vadot items: 4175def4c47SEmmanuel Vadot - const: aux 4185def4c47SEmmanuel Vadot - const: ref_clk_src 4195def4c47SEmmanuel Vadot - const: com_aux 4205def4c47SEmmanuel Vadot resets: 4215def4c47SEmmanuel Vadot items: 4225def4c47SEmmanuel Vadot - description: reset of phy block. 4235def4c47SEmmanuel Vadot - description: phy common block reset. 4245def4c47SEmmanuel Vadot reset-names: 4255def4c47SEmmanuel Vadot items: 4265def4c47SEmmanuel Vadot - const: phy 4275def4c47SEmmanuel Vadot - const: common 4288cc087a1SEmmanuel Vadot required: 4298cc087a1SEmmanuel Vadot - vdda-phy-supply 4308cc087a1SEmmanuel Vadot - vdda-pll-supply 4318cc087a1SEmmanuel Vadot - if: 4328cc087a1SEmmanuel Vadot properties: 4338cc087a1SEmmanuel Vadot compatible: 4348cc087a1SEmmanuel Vadot contains: 4358cc087a1SEmmanuel Vadot enum: 4368cc087a1SEmmanuel Vadot - qcom,qcm2290-qmp-usb3-phy 4378cc087a1SEmmanuel Vadot then: 4388cc087a1SEmmanuel Vadot properties: 4398cc087a1SEmmanuel Vadot clocks: 4408cc087a1SEmmanuel Vadot items: 4418cc087a1SEmmanuel Vadot - description: Phy config clock. 4428cc087a1SEmmanuel Vadot - description: 19.2 MHz ref clk. 4438cc087a1SEmmanuel Vadot - description: Phy common block aux clock. 4448cc087a1SEmmanuel Vadot clock-names: 4458cc087a1SEmmanuel Vadot items: 4468cc087a1SEmmanuel Vadot - const: cfg_ahb 4478cc087a1SEmmanuel Vadot - const: ref 4488cc087a1SEmmanuel Vadot - const: com_aux 4498cc087a1SEmmanuel Vadot resets: 4508cc087a1SEmmanuel Vadot items: 4518cc087a1SEmmanuel Vadot - description: phy_phy reset. 4528cc087a1SEmmanuel Vadot - description: reset of phy block. 4538cc087a1SEmmanuel Vadot reset-names: 4548cc087a1SEmmanuel Vadot items: 4558cc087a1SEmmanuel Vadot - const: phy_phy 4568cc087a1SEmmanuel Vadot - const: phy 4578cc087a1SEmmanuel Vadot required: 4588cc087a1SEmmanuel Vadot - vdda-phy-supply 4598cc087a1SEmmanuel Vadot - vdda-pll-supply 460c66ec88fSEmmanuel Vadot 461c66ec88fSEmmanuel Vadotexamples: 462c66ec88fSEmmanuel Vadot - | 463c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-sdm845.h> 464c66ec88fSEmmanuel Vadot usb_2_qmpphy: phy-wrapper@88eb000 { 465c66ec88fSEmmanuel Vadot compatible = "qcom,sdm845-qmp-usb3-uni-phy"; 466c66ec88fSEmmanuel Vadot reg = <0x088eb000 0x18c>; 467c66ec88fSEmmanuel Vadot #clock-cells = <1>; 468c66ec88fSEmmanuel Vadot #address-cells = <1>; 469c66ec88fSEmmanuel Vadot #size-cells = <1>; 470c66ec88fSEmmanuel Vadot ranges = <0x0 0x088eb000 0x2000>; 471c66ec88fSEmmanuel Vadot 472c66ec88fSEmmanuel Vadot clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK >, 473c66ec88fSEmmanuel Vadot <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 474c66ec88fSEmmanuel Vadot <&gcc GCC_USB3_SEC_CLKREF_CLK>, 475c66ec88fSEmmanuel Vadot <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>; 476c66ec88fSEmmanuel Vadot clock-names = "aux", "cfg_ahb", "ref", "com_aux"; 477c66ec88fSEmmanuel Vadot 478c66ec88fSEmmanuel Vadot resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>, 479c66ec88fSEmmanuel Vadot <&gcc GCC_USB3_PHY_SEC_BCR>; 480c66ec88fSEmmanuel Vadot reset-names = "phy", "common"; 481c66ec88fSEmmanuel Vadot 482c66ec88fSEmmanuel Vadot vdda-phy-supply = <&vdda_usb2_ss_1p2>; 483c66ec88fSEmmanuel Vadot vdda-pll-supply = <&vdda_usb2_ss_core>; 484c66ec88fSEmmanuel Vadot 485c66ec88fSEmmanuel Vadot usb_2_ssphy: phy@200 { 486c66ec88fSEmmanuel Vadot reg = <0x200 0x128>, 487c66ec88fSEmmanuel Vadot <0x400 0x1fc>, 488c66ec88fSEmmanuel Vadot <0x800 0x218>, 489c66ec88fSEmmanuel Vadot <0x600 0x70>; 490c66ec88fSEmmanuel Vadot #clock-cells = <0>; 491c66ec88fSEmmanuel Vadot #phy-cells = <0>; 492c66ec88fSEmmanuel Vadot clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; 493c66ec88fSEmmanuel Vadot clock-names = "pipe0"; 494c66ec88fSEmmanuel Vadot clock-output-names = "usb3_uni_phy_pipe_clk_src"; 495c66ec88fSEmmanuel Vadot }; 496c66ec88fSEmmanuel Vadot }; 497