1e90b651eSDan Murphy# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 24d66c56fSDan Murphy# Copyright (C) 2019 Texas Instruments Incorporated 34d66c56fSDan Murphy%YAML 1.2 44d66c56fSDan Murphy--- 5*3079bfdbSRob Herring$id: http://devicetree.org/schemas/net/ti,dp83869.yaml# 6*3079bfdbSRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml# 74d66c56fSDan Murphy 84d66c56fSDan Murphytitle: TI DP83869 ethernet PHY 94d66c56fSDan Murphy 104d66c56fSDan MurphyallOf: 11*3079bfdbSRob Herring - $ref: ethernet-phy.yaml# 124d66c56fSDan Murphy 134d66c56fSDan Murphymaintainers: 1407d1caa4SKrzysztof Kozlowski - Andrew Davis <afd@ti.com> 154d66c56fSDan Murphy 164d66c56fSDan Murphydescription: | 174d66c56fSDan Murphy The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 184d66c56fSDan Murphy with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 194d66c56fSDan Murphy 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 204d66c56fSDan Murphy 100BASE-FX Fiber protocols. 214d66c56fSDan Murphy This device interfaces to the MAC layer through Reduced GMII (RGMII) and 224d66c56fSDan Murphy SGMII The DP83869HM supports Media Conversion in Managed mode. In this mode, 234d66c56fSDan Murphy the DP83869HM can run 1000BASE-X-to-1000BASE-T and 100BASE-FX-to-100BASE-TX 244d66c56fSDan Murphy conversions. The DP83869HM can also support Bridge Conversion from RGMII to 254d66c56fSDan Murphy SGMII and SGMII to RGMII. 264d66c56fSDan Murphy 277d25e14eSFabio Estevam Specifications about the Ethernet PHY can be found at: 284d66c56fSDan Murphy http://www.ti.com/lit/ds/symlink/dp83869hm.pdf 294d66c56fSDan Murphy 304d66c56fSDan Murphyproperties: 314d66c56fSDan Murphy reg: 324d66c56fSDan Murphy maxItems: 1 334d66c56fSDan Murphy 344d66c56fSDan Murphy ti,min-output-impedance: 354d66c56fSDan Murphy type: boolean 364d66c56fSDan Murphy description: | 374d66c56fSDan Murphy MAC Interface Impedance control to set the programmable output impedance 384d66c56fSDan Murphy to a minimum value (35 ohms). 394d66c56fSDan Murphy 404d66c56fSDan Murphy ti,max-output-impedance: 414d66c56fSDan Murphy type: boolean 424d66c56fSDan Murphy description: | 434d66c56fSDan Murphy MAC Interface Impedance control to set the programmable output impedance 444d66c56fSDan Murphy to a maximum value (70 ohms). 454d66c56fSDan Murphy 464d66c56fSDan Murphy tx-fifo-depth: 47d69c6dddSRob Herring $ref: /schemas/types.yaml#/definitions/uint32 484d66c56fSDan Murphy description: | 494d66c56fSDan Murphy Transmitt FIFO depth see dt-bindings/net/ti-dp83869.h for values 504d66c56fSDan Murphy 514d66c56fSDan Murphy rx-fifo-depth: 52d69c6dddSRob Herring $ref: /schemas/types.yaml#/definitions/uint32 534d66c56fSDan Murphy description: | 544d66c56fSDan Murphy Receive FIFO depth see dt-bindings/net/ti-dp83869.h for values 554d66c56fSDan Murphy 564d66c56fSDan Murphy ti,clk-output-sel: 57d69c6dddSRob Herring $ref: /schemas/types.yaml#/definitions/uint32 584d66c56fSDan Murphy description: | 594d66c56fSDan Murphy Muxing option for CLK_OUT pin see dt-bindings/net/ti-dp83869.h for values. 604d66c56fSDan Murphy 614d66c56fSDan Murphy ti,op-mode: 62d69c6dddSRob Herring $ref: /schemas/types.yaml#/definitions/uint32 634d66c56fSDan Murphy description: | 644d66c56fSDan Murphy Operational mode for the PHY. If this is not set then the operational 654d66c56fSDan Murphy mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values 664d66c56fSDan Murphy 672fb305c3SDan Murphy rx-internal-delay-ps: 682fb305c3SDan Murphy description: Delay is in pico seconds 692fb305c3SDan Murphy enum: [ 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000, 702fb305c3SDan Murphy 3250, 3500, 3750, 4000 ] 712fb305c3SDan Murphy default: 2000 722fb305c3SDan Murphy 732fb305c3SDan Murphy tx-internal-delay-ps: 742fb305c3SDan Murphy description: Delay is in pico seconds 752fb305c3SDan Murphy enum: [ 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000, 762fb305c3SDan Murphy 3250, 3500, 3750, 4000 ] 772fb305c3SDan Murphy default: 2000 782fb305c3SDan Murphy 794d66c56fSDan Murphyrequired: 804d66c56fSDan Murphy - reg 814d66c56fSDan Murphy 826fdc6e23SRob HerringunevaluatedProperties: false 836fdc6e23SRob Herring 844d66c56fSDan Murphyexamples: 854d66c56fSDan Murphy - | 864d66c56fSDan Murphy #include <dt-bindings/net/ti-dp83869.h> 874d66c56fSDan Murphy mdio0 { 884d66c56fSDan Murphy #address-cells = <1>; 894d66c56fSDan Murphy #size-cells = <0>; 904d66c56fSDan Murphy ethphy0: ethernet-phy@0 { 914d66c56fSDan Murphy reg = <0>; 924d66c56fSDan Murphy tx-fifo-depth = <DP83869_PHYCR_FIFO_DEPTH_4_B_NIB>; 934d66c56fSDan Murphy rx-fifo-depth = <DP83869_PHYCR_FIFO_DEPTH_4_B_NIB>; 944d66c56fSDan Murphy ti,op-mode = <DP83869_RGMII_COPPER_ETHERNET>; 9570dfc417SRob Herring ti,max-output-impedance; 964d66c56fSDan Murphy ti,clk-output-sel = <DP83869_CLK_O_SEL_CHN_A_RCLK>; 972fb305c3SDan Murphy rx-internal-delay-ps = <2000>; 982fb305c3SDan Murphy tx-internal-delay-ps = <2000>; 994d66c56fSDan Murphy }; 1004d66c56fSDan Murphy }; 101