1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/socionext,uniphier-usb3ss-phy.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Socionext UniPhier USB3 Super-Speed (SS) PHY 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotdescription: | 10c66ec88fSEmmanuel Vadot This describes the devicetree bindings for PHY interfaces built into 11c66ec88fSEmmanuel Vadot USB3 controller implemented on Socionext UniPhier SoCs. 12c66ec88fSEmmanuel Vadot Although the controller includes High-Speed PHY and Super-Speed PHY, 13c66ec88fSEmmanuel Vadot this describes about Super-Speed PHY. 14c66ec88fSEmmanuel Vadot 15c66ec88fSEmmanuel Vadotmaintainers: 16c66ec88fSEmmanuel Vadot - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadotproperties: 19c66ec88fSEmmanuel Vadot compatible: 20c66ec88fSEmmanuel Vadot enum: 21c66ec88fSEmmanuel Vadot - socionext,uniphier-pro4-usb3-ssphy 22c66ec88fSEmmanuel Vadot - socionext,uniphier-pro5-usb3-ssphy 23c66ec88fSEmmanuel Vadot - socionext,uniphier-pxs2-usb3-ssphy 24c66ec88fSEmmanuel Vadot - socionext,uniphier-ld20-usb3-ssphy 25c66ec88fSEmmanuel Vadot - socionext,uniphier-pxs3-usb3-ssphy 26e67e8565SEmmanuel Vadot - socionext,uniphier-nx1-usb3-ssphy 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot reg: 295def4c47SEmmanuel Vadot maxItems: 1 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadot "#phy-cells": 32c66ec88fSEmmanuel Vadot const: 0 33c66ec88fSEmmanuel Vadot 34c66ec88fSEmmanuel Vadot clocks: 35c66ec88fSEmmanuel Vadot minItems: 2 36c66ec88fSEmmanuel Vadot maxItems: 3 37c66ec88fSEmmanuel Vadot 38d5b0e70fSEmmanuel Vadot clock-names: true 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot resets: 41c66ec88fSEmmanuel Vadot maxItems: 2 42c66ec88fSEmmanuel Vadot 43d5b0e70fSEmmanuel Vadot reset-names: true 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadot vbus-supply: 46d5b0e70fSEmmanuel Vadot description: A phandle to the regulator for USB VBUS, only for USB host 47d5b0e70fSEmmanuel Vadot 48d5b0e70fSEmmanuel VadotallOf: 49d5b0e70fSEmmanuel Vadot - if: 50d5b0e70fSEmmanuel Vadot properties: 51d5b0e70fSEmmanuel Vadot compatible: 52d5b0e70fSEmmanuel Vadot contains: 53d5b0e70fSEmmanuel Vadot enum: 54d5b0e70fSEmmanuel Vadot - socionext,uniphier-pro4-usb3-ssphy 55d5b0e70fSEmmanuel Vadot - socionext,uniphier-pro5-usb3-ssphy 56d5b0e70fSEmmanuel Vadot then: 57d5b0e70fSEmmanuel Vadot properties: 58d5b0e70fSEmmanuel Vadot clocks: 59d5b0e70fSEmmanuel Vadot minItems: 2 60d5b0e70fSEmmanuel Vadot maxItems: 2 61d5b0e70fSEmmanuel Vadot clock-names: 62d5b0e70fSEmmanuel Vadot items: 63d5b0e70fSEmmanuel Vadot - const: gio 64d5b0e70fSEmmanuel Vadot - const: link 65d5b0e70fSEmmanuel Vadot resets: 66d5b0e70fSEmmanuel Vadot minItems: 2 67d5b0e70fSEmmanuel Vadot maxItems: 2 68d5b0e70fSEmmanuel Vadot reset-names: 69d5b0e70fSEmmanuel Vadot items: 70d5b0e70fSEmmanuel Vadot - const: gio 71d5b0e70fSEmmanuel Vadot - const: link 72d5b0e70fSEmmanuel Vadot - if: 73d5b0e70fSEmmanuel Vadot properties: 74d5b0e70fSEmmanuel Vadot compatible: 75d5b0e70fSEmmanuel Vadot contains: 76d5b0e70fSEmmanuel Vadot enum: 77d5b0e70fSEmmanuel Vadot - socionext,uniphier-pxs2-usb3-ssphy 78d5b0e70fSEmmanuel Vadot - socionext,uniphier-ld20-usb3-ssphy 79d5b0e70fSEmmanuel Vadot then: 80d5b0e70fSEmmanuel Vadot properties: 81d5b0e70fSEmmanuel Vadot clocks: 82d5b0e70fSEmmanuel Vadot minItems: 2 83d5b0e70fSEmmanuel Vadot maxItems: 2 84d5b0e70fSEmmanuel Vadot clock-names: 85d5b0e70fSEmmanuel Vadot items: 86d5b0e70fSEmmanuel Vadot - const: link 87d5b0e70fSEmmanuel Vadot - const: phy 88d5b0e70fSEmmanuel Vadot resets: 89d5b0e70fSEmmanuel Vadot minItems: 2 90d5b0e70fSEmmanuel Vadot maxItems: 2 91d5b0e70fSEmmanuel Vadot reset-names: 92d5b0e70fSEmmanuel Vadot items: 93d5b0e70fSEmmanuel Vadot - const: link 94d5b0e70fSEmmanuel Vadot - const: phy 95d5b0e70fSEmmanuel Vadot - if: 96d5b0e70fSEmmanuel Vadot properties: 97d5b0e70fSEmmanuel Vadot compatible: 98d5b0e70fSEmmanuel Vadot contains: 99d5b0e70fSEmmanuel Vadot enum: 100d5b0e70fSEmmanuel Vadot - socionext,uniphier-pxs3-usb3-ssphy 101d5b0e70fSEmmanuel Vadot - socionext,uniphier-nx1-usb3-ssphy 102d5b0e70fSEmmanuel Vadot then: 103d5b0e70fSEmmanuel Vadot properties: 104d5b0e70fSEmmanuel Vadot clocks: 105d5b0e70fSEmmanuel Vadot minItems: 2 106d5b0e70fSEmmanuel Vadot maxItems: 3 107d5b0e70fSEmmanuel Vadot clock-names: 108d5b0e70fSEmmanuel Vadot minItems: 2 109d5b0e70fSEmmanuel Vadot items: 110d5b0e70fSEmmanuel Vadot - const: link 111d5b0e70fSEmmanuel Vadot - const: phy 112d5b0e70fSEmmanuel Vadot - const: phy-ext 113d5b0e70fSEmmanuel Vadot resets: 114d5b0e70fSEmmanuel Vadot minItems: 2 115d5b0e70fSEmmanuel Vadot maxItems: 2 116d5b0e70fSEmmanuel Vadot reset-names: 117d5b0e70fSEmmanuel Vadot items: 118d5b0e70fSEmmanuel Vadot - const: link 119d5b0e70fSEmmanuel Vadot - const: phy 120c66ec88fSEmmanuel Vadot 121c66ec88fSEmmanuel Vadotrequired: 122c66ec88fSEmmanuel Vadot - compatible 123c66ec88fSEmmanuel Vadot - reg 124c66ec88fSEmmanuel Vadot - "#phy-cells" 125c66ec88fSEmmanuel Vadot - clocks 126c66ec88fSEmmanuel Vadot - clock-names 127c66ec88fSEmmanuel Vadot - resets 128c66ec88fSEmmanuel Vadot - reset-names 129c66ec88fSEmmanuel Vadot 130c66ec88fSEmmanuel VadotadditionalProperties: false 131c66ec88fSEmmanuel Vadot 132c66ec88fSEmmanuel Vadotexamples: 133c66ec88fSEmmanuel Vadot - | 134*cb7aa33aSEmmanuel Vadot usb_ssphy0: phy@300 { 135c66ec88fSEmmanuel Vadot compatible = "socionext,uniphier-ld20-usb3-ssphy"; 136c66ec88fSEmmanuel Vadot reg = <0x300 0x10>; 137c66ec88fSEmmanuel Vadot #phy-cells = <0>; 138c66ec88fSEmmanuel Vadot clock-names = "link", "phy"; 139c66ec88fSEmmanuel Vadot clocks = <&sys_clk 14>, <&sys_clk 16>; 140c66ec88fSEmmanuel Vadot reset-names = "link", "phy"; 141c66ec88fSEmmanuel Vadot resets = <&sys_rst 14>, <&sys_rst 16>; 142c66ec88fSEmmanuel Vadot vbus-supply = <&usb_vbus0>; 143c66ec88fSEmmanuel Vadot }; 144