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