Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp946849lqs; Wed, 6 Mar 2024 01:23:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWb0rxItB+FhoaT90LkOiSVeGujuUJv2wVjFGF23vnZWthyGtFxNw16f61TV9HxpvSUllTbXApqn8doHecjLpGnyLzeSk6qBhjip/aRBA== X-Google-Smtp-Source: AGHT+IEMDj3iYeeQZ4CXiv4MFLj28mAGFDPr7xDPgX5pylIpBnP9eZRdcBbOgRUYLc0i8X7GXaF3 X-Received: by 2002:a17:903:1209:b0:1dc:4199:a31d with SMTP id l9-20020a170903120900b001dc4199a31dmr4919825plh.53.1709717008858; Wed, 06 Mar 2024 01:23:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709717008; cv=pass; d=google.com; s=arc-20160816; b=JMRxokLTobsBk2YXfV+rfP9+3acHTM0zN+qDdEKwwLIzl2W4uzLHFdkzn4LqXMRn2f UNOG4JET1Qfzm+9Gp2LkL4nPMDN2H9vzFLpblwAC57FpC7D8i+jgM7qxbnjmxwORbFpU mDZjOdtZC75Wy7wMZxA8uxKRnLtVuotnFvvt1LEHvh+9Czbv078urhbXfjJaRp5YFZXE wnESwccbXXmo4GMQ+RgwuLZoB2Nq2zQ5lcvkMqmYMQABguQ23rcMR2NzYg78izdP3UfP AjoyWrqEuCzC0M5mVqFvHT4U/JqYI+GF4LKBQDju21X8zmcJYJhGGX3Vs3xyvrvPFrkt KrYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wDwve/vDPX82R6LOd6lV6HpaHxjnpNiVXhkGyWSr/1s=; fh=Yek51KtWkuS8F9wIb61YhKBdNUJJ2f/R79g/JeL1hhg=; b=MTX5JJQe4v3Y/M9/e7nc5Fn5/ZkUPCZFdXmpBQFRZ5FB8u+RNNQS5wn1Lm/n1vvb6E LfB6FHudHB2jc1SiygJGIZTJdl7HUTS2aWo+BvD/e4ZT1AqvU+b0527fi2yEJ5SoJBVI Yz6UWH0lFzJZreSeDQEsPeUqUBvCfEROQpAbhc8QKp8MzyIhLIKC5Qj86WzGZCxE3OCX OqNqO/DylvsMyo8t0eJTE45N1H1YS0qIS5ZaRlMc9es2Ei9To0EQRZx5IlZXEbPLrw3i dxotpZ8H12nnLgraTrNEI2XnmenJ+0HTD2Xiz47baBsbux+75lHHHRRpLXwHIVlfxz6v 2Lsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=0TPOQTfA; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-93552-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z6-20020a170903018600b001dc18318ee7si11663138plg.476.2024.03.06.01.23.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 01:23:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93552-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=0TPOQTfA; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-93552-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D10E3B20FF5 for ; Wed, 6 Mar 2024 08:56:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 739F4605D3; Wed, 6 Mar 2024 08:53:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="0TPOQTfA" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6D655F84B; Wed, 6 Mar 2024 08:53:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709715184; cv=none; b=KYx0TMHp4ZXaJJyGfbptQIeKoP0DUwDAHDi8hDM32T6CE1g8YzTA32q7wMeZ2nX//SxkCiQwx+EP3SH4DFOTRrnCE4zIc9wRkoVmxX4ekz2kx/JLwkPU65skI6DQPAmjyCONhUOFLwqQTzauR4u49dsakq3licYsH1PhuDMoVoE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709715184; c=relaxed/simple; bh=lDRbK2rhCaAWfWzretyXAUHotbH6aGS+0/nhiX2i/+s=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H+JjXrNgWLvs6sav1T35AlmIT3/ODNDGQwe/0XaMt57G5hb2i8Mt8Pw5O8nMJJ/nk1K4GxJJ+nPch6K0Sx7RlAxapVU9Ji0gjQYnrgGtVRevZijhwfHcyWEjoNi4ElVQC5XlcZFAbgHoI+GWrFMnxIvlh3befkdRlbZJYbzOmE0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=0TPOQTfA; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1709715182; x=1741251182; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lDRbK2rhCaAWfWzretyXAUHotbH6aGS+0/nhiX2i/+s=; b=0TPOQTfAilt1AujhieWr4gY3RrsdtOHrDLSPmlJ12YXhqOEqXDD/A/R/ UyXUL4HnpRJibXm2guxzS/tGP0PYuQus9ys2EHmiv8gZaTDSiCs41nKwg 2ocylkFceuzF0Ix2v74vRhxU80Up5hzNCLpM3jKqhAjHJVVmxLuuMGKNe UOy7bCaN8ePXr+n26QfzJSRUwdr4gIf3CU8bwBiMQ46VOiK+Yj3TGvTZV FpjADohTRXpolY4TE6IbEJ/V1MNZsbn4LUX1UbKwTlKIDvDscReweqPHn tpcNdjqo/joQ2KxYYnYHhESHIMoY4vHZRFlGkPxCf09wtcYYR1kOmDGy6 Q==; X-CSE-ConnectionGUID: cO76qCGVTh6esswCB3LBdA== X-CSE-MsgGUID: riJ1/wQmQGK9Ual0indk2w== X-IronPort-AV: E=Sophos;i="6.06,207,1705388400"; d="scan'208";a="18916181" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 06 Mar 2024 01:52:59 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 6 Mar 2024 01:52:29 -0700 Received: from CHE-LT-I17164LX.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 6 Mar 2024 01:52:19 -0700 From: Parthiban Veerasooran To: , , , , , , , , , , , , , , , , , , , CC: , , , , , , Parthiban Veerasooran Subject: [PATCH net-next v3 12/12] dt-bindings: net: add Microchip's LAN865X 10BASE-T1S MACPHY Date: Wed, 6 Mar 2024 14:20:17 +0530 Message-ID: <20240306085017.21731-13-Parthiban.Veerasooran@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240306085017.21731-1-Parthiban.Veerasooran@microchip.com> References: <20240306085017.21731-1-Parthiban.Veerasooran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit The LAN8650/1 combines a Media Access Controller (MAC) and an Ethernet PHY to enable 10BASE-T1S networks. The Ethernet Media Access Controller (MAC) module implements a 10 Mbps half duplex Ethernet MAC, compatible with the IEEE 802.3 standard and a 10BASE-T1S physical layer transceiver integrated into the LAN8650/1. The communication between the Host and the MAC-PHY is specified in the OPEN Alliance 10BASE-T1x MACPHY Serial Interface (TC6). Signed-off-by: Parthiban Veerasooran --- .../bindings/net/microchip,lan865x.yaml | 80 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 81 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/microchip,lan865x.yaml diff --git a/Documentation/devicetree/bindings/net/microchip,lan865x.yaml b/Documentation/devicetree/bindings/net/microchip,lan865x.yaml new file mode 100644 index 000000000000..ee52f9d8e93c --- /dev/null +++ b/Documentation/devicetree/bindings/net/microchip,lan865x.yaml @@ -0,0 +1,80 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/microchip,lan865x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip LAN8650/1 10BASE-T1S MACPHY Ethernet Controllers + +maintainers: + - Parthiban Veerasooran + +description: + The LAN8650/1 combines a Media Access Controller (MAC) and an Ethernet + PHY to enable 10BASE‑T1S networks. The Ethernet Media Access Controller + (MAC) module implements a 10 Mbps half duplex Ethernet MAC, compatible + with the IEEE 802.3 standard and a 10BASE-T1S physical layer transceiver + integrated into the LAN8650/1. The communication between the Host and + the MAC-PHY is specified in the OPEN Alliance 10BASE-T1x MACPHY Serial + Interface (TC6). + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + oneOf: + - items: + - const: microchip,lan8650 + - const: microchip,lan8651 + - enum: + - microchip,lan8650 + + reg: + maxItems: 1 + + interrupts: + description: + Interrupt from MAC-PHY asserted in the event of Receive Chunks + Available, Transmit Chunk Credits Available and Extended Status + Event. + maxItems: 1 + + spi-max-frequency: + minimum: 15000000 + maximum: 25000000 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +required: + - compatible + - reg + - interrupts + - spi-max-frequency + +unevaluatedProperties: false + +examples: + - | + #include + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + ethernet@0 { + compatible = "microchip,lan8650"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <ð0_pins>; + interrupt-parent = <&gpio>; + interrupts = <6 IRQ_TYPE_EDGE_FALLING>; + local-mac-address = [04 05 06 01 02 03]; + spi-max-frequency = <15000000>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index f41b7f2257d2..2172431a1935 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14378,6 +14378,7 @@ MICROCHIP LAN8650/1 10BASE-T1S MACPHY ETHERNET DRIVER M: Parthiban Veerasooran L: netdev@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/net/microchip,lan865x.yaml F: drivers/net/ethernet/microchip/lan865x/lan865x.c MICROCHIP LAN87xx/LAN937x T1 PHY DRIVER -- 2.34.1