1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot# Copyright (C) 2019 Texas Instruments Incorporated 3c66ec88fSEmmanuel Vadot%YAML 1.2 4c66ec88fSEmmanuel Vadot--- 5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/net/ti,dp83869.yaml# 6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadottitle: TI DP83869 ethernet PHY 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel VadotallOf: 11*fac71e4eSEmmanuel Vadot - $ref: ethernet-phy.yaml# 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotmaintainers: 14b97ee269SEmmanuel Vadot - Andrew Davis <afd@ti.com> 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadotdescription: | 17c66ec88fSEmmanuel Vadot The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 18c66ec88fSEmmanuel Vadot with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 19c66ec88fSEmmanuel Vadot 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 20c66ec88fSEmmanuel Vadot 100BASE-FX Fiber protocols. 21c66ec88fSEmmanuel Vadot This device interfaces to the MAC layer through Reduced GMII (RGMII) and 22c66ec88fSEmmanuel Vadot SGMII The DP83869HM supports Media Conversion in Managed mode. In this mode, 23c66ec88fSEmmanuel Vadot the DP83869HM can run 1000BASE-X-to-1000BASE-T and 100BASE-FX-to-100BASE-TX 24c66ec88fSEmmanuel Vadot conversions. The DP83869HM can also support Bridge Conversion from RGMII to 25c66ec88fSEmmanuel Vadot SGMII and SGMII to RGMII. 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot Specifications about the Ethernet PHY can be found at: 28c66ec88fSEmmanuel Vadot http://www.ti.com/lit/ds/symlink/dp83869hm.pdf 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadotproperties: 31c66ec88fSEmmanuel Vadot reg: 32c66ec88fSEmmanuel Vadot maxItems: 1 33c66ec88fSEmmanuel Vadot 34c66ec88fSEmmanuel Vadot ti,min-output-impedance: 35c66ec88fSEmmanuel Vadot type: boolean 36c66ec88fSEmmanuel Vadot description: | 37c66ec88fSEmmanuel Vadot MAC Interface Impedance control to set the programmable output impedance 38c66ec88fSEmmanuel Vadot to a minimum value (35 ohms). 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot ti,max-output-impedance: 41c66ec88fSEmmanuel Vadot type: boolean 42c66ec88fSEmmanuel Vadot description: | 43c66ec88fSEmmanuel Vadot MAC Interface Impedance control to set the programmable output impedance 44c66ec88fSEmmanuel Vadot to a maximum value (70 ohms). 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot tx-fifo-depth: 475def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 48c66ec88fSEmmanuel Vadot description: | 49c66ec88fSEmmanuel Vadot Transmitt FIFO depth see dt-bindings/net/ti-dp83869.h for values 50c66ec88fSEmmanuel Vadot 51c66ec88fSEmmanuel Vadot rx-fifo-depth: 525def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 53c66ec88fSEmmanuel Vadot description: | 54c66ec88fSEmmanuel Vadot Receive FIFO depth see dt-bindings/net/ti-dp83869.h for values 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel Vadot ti,clk-output-sel: 575def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 58c66ec88fSEmmanuel Vadot description: | 59c66ec88fSEmmanuel Vadot Muxing option for CLK_OUT pin see dt-bindings/net/ti-dp83869.h for values. 60c66ec88fSEmmanuel Vadot 61c66ec88fSEmmanuel Vadot ti,op-mode: 625def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 63c66ec88fSEmmanuel Vadot description: | 64c66ec88fSEmmanuel Vadot Operational mode for the PHY. If this is not set then the operational 65c66ec88fSEmmanuel Vadot mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values 66c66ec88fSEmmanuel Vadot 67c66ec88fSEmmanuel Vadot rx-internal-delay-ps: 68c66ec88fSEmmanuel Vadot description: Delay is in pico seconds 69c66ec88fSEmmanuel Vadot enum: [ 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000, 70c66ec88fSEmmanuel Vadot 3250, 3500, 3750, 4000 ] 71c66ec88fSEmmanuel Vadot default: 2000 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadot tx-internal-delay-ps: 74c66ec88fSEmmanuel Vadot description: Delay is in pico seconds 75c66ec88fSEmmanuel Vadot enum: [ 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000, 76c66ec88fSEmmanuel Vadot 3250, 3500, 3750, 4000 ] 77c66ec88fSEmmanuel Vadot default: 2000 78c66ec88fSEmmanuel Vadot 79c66ec88fSEmmanuel Vadotrequired: 80c66ec88fSEmmanuel Vadot - reg 81c66ec88fSEmmanuel Vadot 826be33864SEmmanuel VadotunevaluatedProperties: false 836be33864SEmmanuel Vadot 84c66ec88fSEmmanuel Vadotexamples: 85c66ec88fSEmmanuel Vadot - | 86c66ec88fSEmmanuel Vadot #include <dt-bindings/net/ti-dp83869.h> 87c66ec88fSEmmanuel Vadot mdio0 { 88c66ec88fSEmmanuel Vadot #address-cells = <1>; 89c66ec88fSEmmanuel Vadot #size-cells = <0>; 90c66ec88fSEmmanuel Vadot ethphy0: ethernet-phy@0 { 91c66ec88fSEmmanuel Vadot reg = <0>; 92c66ec88fSEmmanuel Vadot tx-fifo-depth = <DP83869_PHYCR_FIFO_DEPTH_4_B_NIB>; 93c66ec88fSEmmanuel Vadot rx-fifo-depth = <DP83869_PHYCR_FIFO_DEPTH_4_B_NIB>; 94c66ec88fSEmmanuel Vadot ti,op-mode = <DP83869_RGMII_COPPER_ETHERNET>; 95e67e8565SEmmanuel Vadot ti,max-output-impedance; 96c66ec88fSEmmanuel Vadot ti,clk-output-sel = <DP83869_CLK_O_SEL_CHN_A_RCLK>; 97c66ec88fSEmmanuel Vadot rx-internal-delay-ps = <2000>; 98c66ec88fSEmmanuel Vadot tx-internal-delay-ps = <2000>; 99c66ec88fSEmmanuel Vadot }; 100c66ec88fSEmmanuel Vadot }; 101