Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1313180rda; Mon, 23 Oct 2023 08:50:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFKTC6+Q/NTEqs2dYoM3f7btai8J6RuvgAr8Ai6tT89qfdeY4EtqB1SkB+S5ln9iUuc/GPk X-Received: by 2002:a05:6a20:8e08:b0:17b:7505:8ab7 with SMTP id y8-20020a056a208e0800b0017b75058ab7mr13138332pzj.46.1698076212658; Mon, 23 Oct 2023 08:50:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698076212; cv=none; d=google.com; s=arc-20160816; b=uWW1xkSdfkNeb2sGqHsYAv1WHPGbCsjO5+0jFdnms5IEpuOoL3NtXOar5KO8TQTLW3 ujkXsPo70sQcgjQ0WVigDB8JNDQKjnfA/XxwN+4uyQXqY/4Mjjl0FwBLgWtP8VKOOIIB N94ko3tAsk3B8IiSvrtB426zJNpqq/JFVzNiPB3XhU03p3fG+1FiiVrY/jSMXvQnskNB g/I3SYup+RLBV/rfTBRxQzCeUC2ARFDMqWYmf5I6CTcccdmkApCv4No5CkW9EjVFJvbB jpkKLBrm27cNKe5VAjwj8SN1QeD1K7NwJZg3nP9C0IgguHB6MkSDlS6imFFNWMorMn73 wX1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=atTjUId3f/DlrmfJ0II8mnjq67sU/oRps/i7VM/8Eww=; fh=Q8NcdHh7ZH3WNhS8B25W7Zd1jgCsteS1Xfmmwt5FzZY=; b=h24ofAi7x6taNMWFT18uAd5jcuxg4b4PUeJk8+X/uHteHcB9Xh87H826OxuDAT5alE fYeoV2w9M55o8faLeNW3IU56R7TgDnqZB5iapZKOiE+wC47irCUr9stLOvIGw8+zBSKq HPJlt0plRoXEyg1qSvgnzE6GWtBKxHxBhqVulHW/+iEO11NLjCtxJlHDKRPKI0aRaOrs /Ng+78Z1Q4hgZrlW33tgjjo1u2HKWzwu6sN5doVOrbvPFT+yuMYstrEIiKvXNUH1wdgT r7bNTf36sY6DtKUeXt4RNNGANpXIKPMrpM3C1xEDmxH0wDb4gDFRYGsA8OF3WgVjz1L9 Hsvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=WWNyD9nE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id a73-20020a63904c000000b00578c9144913si6397681pge.364.2023.10.23.08.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 08:50:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=WWNyD9nE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4A6A4805E550; Mon, 23 Oct 2023 08:50:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233240AbjJWPtg (ORCPT + 99 others); Mon, 23 Oct 2023 11:49:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230158AbjJWPtc (ORCPT ); Mon, 23 Oct 2023 11:49:32 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B0310A; Mon, 23 Oct 2023 08:49:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1698076170; x=1729612170; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=q4Pt0gwBLyBOMj0Wnjreub+jmFGjoXYgtnrkexWrKuQ=; b=WWNyD9nEl7TtbCz9BEaY2DrVpnbdtPDJbjx2WQ5JaO24PyuymYRq/CJZ 0zcNvf8nIoMENwmcgo5LdmiuYEkjSdAjALxCquamSSYs5JZIkCiDB08TL 4waZgWhxDDPBpM73lNvRsDihwosQtLDdWjOb4716UH3ljPMKxvxgi7eZD jpVdV3Ya/3V46Ng0ZzLin71tHInCgchlBfRUaPvNlOSe3lgdKdvY64G/d SPHrXIIHab930TR6UExWe1j4C7q75RmHwLWiYSj1UBsjjt7r1PgVV6h5+ 1nXWd4p32ag6B44BukvRSJlYIMbEgnibzZ7h8n1E0LznniUUJIsDbfopQ g==; X-CSE-ConnectionGUID: R4tFaVLSQ02v5bYQOZNT7Q== X-CSE-MsgGUID: i+IzyY15S9G3s11hpzaXEw== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.03,244,1694761200"; d="scan'208";a="177613932" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Oct 2023 08:49:29 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.21; Mon, 23 Oct 2023 08:49:12 -0700 Received: from CHE-LT-I17164LX.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 23 Oct 2023 08:48:58 -0700 From: Parthiban Veerasooran To: , , , , , , , , , , , , CC: , , , , , , , , , Parthiban Veerasooran Subject: [PATCH net-next v2 9/9] dt-bindings: net: add Microchip's LAN865X 10BASE-T1S MACPHY Date: Mon, 23 Oct 2023 21:16:49 +0530 Message-ID: <20231023154649.45931-10-Parthiban.Veerasooran@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231023154649.45931-1-Parthiban.Veerasooran@microchip.com> References: <20231023154649.45931-1-Parthiban.Veerasooran@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 23 Oct 2023 08:50:08 -0700 (PDT) Add DT bindings for Microchip's LAN865X 10BASE-T1S MACPHY. 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 | 101 ++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 102 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..974622dd6846 --- /dev/null +++ b/Documentation/devicetree/bindings/net/microchip,lan865x.yaml @@ -0,0 +1,101 @@ +# 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). + + Specifications about the LAN8650/1 can be found at: + https://www.microchip.com/en-us/product/lan8650 + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + const: microchip,lan865x + + 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 + + local-mac-address: + description: + Specifies the MAC address assigned to the network device. + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 6 + maxItems: 6 + + spi-max-frequency: + minimum: 15000000 + maximum: 25000000 + + oa-tc6: + $ref: oa-tc6.yaml# + unevaluatedProperties: true + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +required: + - compatible + - reg + - pinctrl-names + - pinctrl-0 + - interrupts + - interrupt-parent + - local-mac-address + - spi-max-frequency + - oa-tc6 + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + ethernet@0 { + compatible = "microchip,lan865x"; + 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>; + status = "okay"; + oa-tc6 { + #address-cells = <1>; + #size-cells = <0>; + oa-cps = <64>; + oa-txcte; + oa_rxcte; + oa-prote; + oa-dprac; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 1b1bd3218a2d..d2b3c0e8d97e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14005,6 +14005,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.c MICROCHIP LAN87xx/LAN937x T1 PHY DRIVER -- 2.34.1