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/xlnx,zynqmp-psgtr.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Xilinx ZynqMP Gigabit Transceiver PHY 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot This binding describes the Xilinx ZynqMP Gigabit Transceiver (GTR) PHY. The 14c66ec88fSEmmanuel Vadot GTR provides four lanes and is used by USB, SATA, PCIE, Display port and 15c66ec88fSEmmanuel Vadot Ethernet SGMII controllers. 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadotproperties: 18c66ec88fSEmmanuel Vadot "#phy-cells": 19c66ec88fSEmmanuel Vadot const: 4 20c66ec88fSEmmanuel Vadot description: | 21c66ec88fSEmmanuel Vadot The cells contain the following arguments. 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot - description: The GTR lane 24c66ec88fSEmmanuel Vadot minimum: 0 25c66ec88fSEmmanuel Vadot maximum: 3 26c66ec88fSEmmanuel Vadot - description: The PHY type 27c66ec88fSEmmanuel Vadot enum: 28c66ec88fSEmmanuel Vadot - PHY_TYPE_DP 29c66ec88fSEmmanuel Vadot - PHY_TYPE_PCIE 30c66ec88fSEmmanuel Vadot - PHY_TYPE_SATA 31c66ec88fSEmmanuel Vadot - PHY_TYPE_SGMII 328cc087a1SEmmanuel Vadot - PHY_TYPE_USB3 33c66ec88fSEmmanuel Vadot - description: The PHY instance 34c66ec88fSEmmanuel Vadot minimum: 0 35c66ec88fSEmmanuel Vadot maximum: 1 # for DP, SATA or USB 36c66ec88fSEmmanuel Vadot maximum: 3 # for PCIE or SGMII 37c66ec88fSEmmanuel Vadot - description: The reference clock number 38c66ec88fSEmmanuel Vadot minimum: 0 39c66ec88fSEmmanuel Vadot maximum: 3 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot compatible: 42c66ec88fSEmmanuel Vadot enum: 43c66ec88fSEmmanuel Vadot - xlnx,zynqmp-psgtr-v1.1 44c66ec88fSEmmanuel Vadot - xlnx,zynqmp-psgtr 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot clocks: 47c66ec88fSEmmanuel Vadot minItems: 1 48c66ec88fSEmmanuel Vadot maxItems: 4 49c66ec88fSEmmanuel Vadot description: | 50c66ec88fSEmmanuel Vadot Clock for each PS_MGTREFCLK[0-3] reference clock input. Unconnected 51c66ec88fSEmmanuel Vadot inputs shall not have an entry. 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel Vadot clock-names: 54c66ec88fSEmmanuel Vadot minItems: 1 55c66ec88fSEmmanuel Vadot maxItems: 4 56c66ec88fSEmmanuel Vadot items: 57c66ec88fSEmmanuel Vadot pattern: "^ref[0-3]$" 58c66ec88fSEmmanuel Vadot 59c66ec88fSEmmanuel Vadot reg: 60c66ec88fSEmmanuel Vadot items: 61c66ec88fSEmmanuel Vadot - description: SERDES registers block 62c66ec88fSEmmanuel Vadot - description: SIOU registers block 63c66ec88fSEmmanuel Vadot 64c66ec88fSEmmanuel Vadot reg-names: 65c66ec88fSEmmanuel Vadot items: 66c66ec88fSEmmanuel Vadot - const: serdes 67c66ec88fSEmmanuel Vadot - const: siou 68c66ec88fSEmmanuel Vadot 69c66ec88fSEmmanuel Vadot xlnx,tx-termination-fix: 70c66ec88fSEmmanuel Vadot description: | 71c66ec88fSEmmanuel Vadot Include this for fixing functional issue with the TX termination 72c66ec88fSEmmanuel Vadot resistance in GT, which can be out of spec for the XCZU9EG silicon 73c66ec88fSEmmanuel Vadot version. 74c66ec88fSEmmanuel Vadot type: boolean 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadotrequired: 77c66ec88fSEmmanuel Vadot - "#phy-cells" 78c66ec88fSEmmanuel Vadot - compatible 79c66ec88fSEmmanuel Vadot - reg 80c66ec88fSEmmanuel Vadot - reg-names 81c66ec88fSEmmanuel Vadot 82c66ec88fSEmmanuel Vadotif: 83c66ec88fSEmmanuel Vadot properties: 84c66ec88fSEmmanuel Vadot compatible: 85c66ec88fSEmmanuel Vadot const: xlnx,zynqmp-psgtr-v1.1 86c66ec88fSEmmanuel Vadot 87c66ec88fSEmmanuel Vadotthen: 88c66ec88fSEmmanuel Vadot properties: 89c66ec88fSEmmanuel Vadot xlnx,tx-termination-fix: false 90c66ec88fSEmmanuel Vadot 91c66ec88fSEmmanuel VadotadditionalProperties: false 92c66ec88fSEmmanuel Vadot 93c66ec88fSEmmanuel Vadotexamples: 94c66ec88fSEmmanuel Vadot - | 95c66ec88fSEmmanuel Vadot phy: phy@fd400000 { 96c66ec88fSEmmanuel Vadot compatible = "xlnx,zynqmp-psgtr-v1.1"; 97c66ec88fSEmmanuel Vadot reg = <0xfd400000 0x40000>, 98c66ec88fSEmmanuel Vadot <0xfd3d0000 0x1000>; 99c66ec88fSEmmanuel Vadot reg-names = "serdes", "siou"; 100c66ec88fSEmmanuel Vadot clocks = <&refclks 3>, <&refclks 2>, <&refclks 0>; 101c66ec88fSEmmanuel Vadot clock-names = "ref1", "ref2", "ref3"; 102c66ec88fSEmmanuel Vadot #phy-cells = <4>; 103c66ec88fSEmmanuel Vadot }; 104c66ec88fSEmmanuel Vadot 105c66ec88fSEmmanuel Vadot... 106