1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/net/ethernet-connector.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Generic Ethernet Connector 8 9maintainers: 10 - Maxime Chevallier <maxime.chevallier@bootlin.com> 11 12description: 13 An Ethernet Connector represents the output of a network component such as 14 a PHY, an Ethernet controller with no PHY, or an SFP module. 15 16properties: 17 18 pairs: 19 description: 20 Defines the number of BaseT pairs that are used on the connector. 21 $ref: /schemas/types.yaml#/definitions/uint32 22 enum: [1, 2, 4] 23 24 media: 25 description: 26 The mediums, as defined in 802.3, that can be used on the port. 27 enum: 28 - BaseT 29 - BaseK 30 - BaseS 31 - BaseC 32 - BaseL 33 - BaseD 34 - BaseE 35 - BaseF 36 - BaseV 37 - BaseMLD 38 39required: 40 - media 41 42allOf: 43 - if: 44 properties: 45 media: 46 const: BaseT 47 then: 48 required: 49 - pairs 50 else: 51 properties: 52 pairs: false 53 54additionalProperties: true 55 56... 57