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--- 54d66c56fSDan Murphy$id: "http://devicetree.org/schemas/net/ti,dp83869.yaml#" 64d66c56fSDan Murphy$schema: "http://devicetree.org/meta-schemas/core.yaml#" 74d66c56fSDan Murphy 84d66c56fSDan Murphytitle: TI DP83869 ethernet PHY 94d66c56fSDan Murphy 104d66c56fSDan MurphyallOf: 114d66c56fSDan Murphy - $ref: "ethernet-controller.yaml#" 124d66c56fSDan Murphy 134d66c56fSDan Murphymaintainers: 144d66c56fSDan Murphy - Dan Murphy <dmurphy@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 274d66c56fSDan Murphy Specifications about the charger 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: 474d66c56fSDan Murphy $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: 524d66c56fSDan Murphy $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: 574d66c56fSDan Murphy $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: 624d66c56fSDan Murphy $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 674d66c56fSDan Murphyrequired: 684d66c56fSDan Murphy - reg 694d66c56fSDan Murphy 704d66c56fSDan Murphyexamples: 714d66c56fSDan Murphy - | 724d66c56fSDan Murphy #include <dt-bindings/net/ti-dp83869.h> 734d66c56fSDan Murphy mdio0 { 744d66c56fSDan Murphy #address-cells = <1>; 754d66c56fSDan Murphy #size-cells = <0>; 764d66c56fSDan Murphy ethphy0: ethernet-phy@0 { 774d66c56fSDan Murphy reg = <0>; 784d66c56fSDan Murphy tx-fifo-depth = <DP83869_PHYCR_FIFO_DEPTH_4_B_NIB>; 794d66c56fSDan Murphy rx-fifo-depth = <DP83869_PHYCR_FIFO_DEPTH_4_B_NIB>; 804d66c56fSDan Murphy ti,op-mode = <DP83869_RGMII_COPPER_ETHERNET>; 814d66c56fSDan Murphy ti,max-output-impedance = "true"; 824d66c56fSDan Murphy ti,clk-output-sel = <DP83869_CLK_O_SEL_CHN_A_RCLK>; 834d66c56fSDan Murphy }; 844d66c56fSDan Murphy }; 85