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-usb2-phy.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Socionext UniPhier USB2 PHY 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotdescription: | 10c66ec88fSEmmanuel Vadot This describes the devicetree bindings for PHY interface built into 11c66ec88fSEmmanuel Vadot USB2 controller implemented on Socionext UniPhier SoCs. 12c66ec88fSEmmanuel Vadot Pro4 SoC has both USB2 and USB3 host controllers, however, this USB3 13c66ec88fSEmmanuel Vadot controller doesn't include its own High-Speed PHY. This needs to specify 14c66ec88fSEmmanuel Vadot USB2 PHY instead of USB3 HS-PHY. 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadotmaintainers: 17c66ec88fSEmmanuel Vadot - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadotproperties: 20c66ec88fSEmmanuel Vadot compatible: 21c66ec88fSEmmanuel Vadot enum: 22c66ec88fSEmmanuel Vadot - socionext,uniphier-pro4-usb2-phy 23c66ec88fSEmmanuel Vadot - socionext,uniphier-ld11-usb2-phy 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel Vadot "#address-cells": 26c66ec88fSEmmanuel Vadot const: 1 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot "#size-cells": 29c66ec88fSEmmanuel Vadot const: 0 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel VadotpatternProperties: 32c66ec88fSEmmanuel Vadot "^phy@[0-9]+$": 33c66ec88fSEmmanuel Vadot type: object 34c66ec88fSEmmanuel Vadot additionalProperties: false 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot properties: 37c66ec88fSEmmanuel Vadot reg: 38c66ec88fSEmmanuel Vadot minimum: 0 39c66ec88fSEmmanuel Vadot maximum: 3 40c66ec88fSEmmanuel Vadot description: 41c66ec88fSEmmanuel Vadot The ID number for the PHY 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot "#phy-cells": 44c66ec88fSEmmanuel Vadot const: 0 45c66ec88fSEmmanuel Vadot 46d5b0e70fSEmmanuel Vadot vbus-supply: 47d5b0e70fSEmmanuel Vadot description: A phandle to the regulator for USB VBUS, only for USB host 48d5b0e70fSEmmanuel Vadot 49c66ec88fSEmmanuel Vadot required: 50c66ec88fSEmmanuel Vadot - reg 51c66ec88fSEmmanuel Vadot - "#phy-cells" 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel Vadotrequired: 54c66ec88fSEmmanuel Vadot - compatible 55c66ec88fSEmmanuel Vadot - "#address-cells" 56c66ec88fSEmmanuel Vadot - "#size-cells" 57c66ec88fSEmmanuel Vadot 58c66ec88fSEmmanuel VadotadditionalProperties: false 59c66ec88fSEmmanuel Vadot 60c66ec88fSEmmanuel Vadotexamples: 61c66ec88fSEmmanuel Vadot - | 62c66ec88fSEmmanuel Vadot // The UniPhier usb2-phy should be a subnode of a "syscon" compatible node. 63c66ec88fSEmmanuel Vadot 64*cb7aa33aSEmmanuel Vadot usb-hub { 65c66ec88fSEmmanuel Vadot compatible = "socionext,uniphier-ld11-usb2-phy"; 66c66ec88fSEmmanuel Vadot #address-cells = <1>; 67c66ec88fSEmmanuel Vadot #size-cells = <0>; 68c66ec88fSEmmanuel Vadot 69c66ec88fSEmmanuel Vadot usb_phy0: phy@0 { 70c66ec88fSEmmanuel Vadot reg = <0>; 71c66ec88fSEmmanuel Vadot #phy-cells = <0>; 72c66ec88fSEmmanuel Vadot }; 73c66ec88fSEmmanuel Vadot 74c66ec88fSEmmanuel Vadot usb_phy1: phy@1 { 75c66ec88fSEmmanuel Vadot reg = <1>; 76c66ec88fSEmmanuel Vadot #phy-cells = <0>; 77c66ec88fSEmmanuel Vadot }; 78c66ec88fSEmmanuel Vadot 79c66ec88fSEmmanuel Vadot usb_phy2: phy@2 { 80c66ec88fSEmmanuel Vadot reg = <2>; 81c66ec88fSEmmanuel Vadot #phy-cells = <0>; 82c66ec88fSEmmanuel Vadot }; 83c66ec88fSEmmanuel Vadot }; 84