From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9A56CD484C for ; Tue, 12 May 2026 04:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=69lN7Nqu0b0Ud7v4Hw1277+7oWLNdp8seu/N+XqFRSQ=; b=koPHQWCVLN+n+Ihf7SZ+SBZbOl V7IVUcQiLr4pr+RPjxGgbZlbvly/ThYzj8NjGOkyPrylb35iIj+Rx4W3i24dXGdvZp/XkQFaFk940 yTdK1qRWIAu03bbnNObnE2I6ieuYF8B1/bN+blELzHgQyzvXPZCqu21voSa8Kwut19MVk3SHiZuc7 LN4fTVNl8bCmFfohLNeCz7sMb9ViRBR+vab/7mEc/Q+YpcqURVG3PGzqXwI3Rb4phRImueqGK/Q0S 7tNEt8DFIX2viW9amFmx/rgQ74Q8VlXItyB0PLMOONccCNoHl1VaIn+lGdQjsUE9ZFt3BNByN57al 5UXVLiHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wMeoc-0000000FTVw-288E; Tue, 12 May 2026 04:33:54 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wMeoZ-0000000FTV0-2K5n; Tue, 12 May 2026 04:33:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1778560427; bh=FTb3G2vLYxM7tcE6j6MbZT2m19/M+dWLgv+cqwFrwzQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=JeVAT78nzlYc/Aa1+9p/QVL7ruR5Nilj03GC1XUPGzEuwzBZZAqRd5R48hcC7GZDY 2rP0lukEu+qCZcBDEATs0KA3R9KJUX25CIhVl93ajt08/yrbTlCiY1WZ46SRMcvXf5 MKRXnDvBN5IByfGdcIRIycU+LUHGs+DNJJUbjoXsrXSJGQEKB+uxwstNVXUAtw8abV JMt1oNxCMBlWlvzFl9XePXe1etOvvEaowwcTaB6V714Q0jG+/GM5j5mIpwjEntnyEY 60NZRisGwrdZgGfYkJusFsbsVjX2GJt+YKG92Fl1nvXGAlOhFIgcHbsUiwBtWvV5q9 4FdxY7Mzscsuw== Received: from yukiji.home (unknown [100.64.0.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: laeyraud) by bali.collaboradmins.com (Postfix) with ESMTPSA id CDF2817E1513; Tue, 12 May 2026 06:33:46 +0200 (CEST) From: Louis-Alexis Eyraud Date: Tue, 12 May 2026 06:33:18 +0200 Subject: [PATCH net-next v3 1/6] dt-bindings: net: Add support for Airoha AN8801/R GbE PHY MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260512-add-airoha-an8801-support-v3-1-1edb34e363ae@collabora.com> References: <20260512-add-airoha-an8801-support-v3-0-1edb34e363ae@collabora.com> In-Reply-To: <20260512-add-airoha-an8801-support-v3-0-1edb34e363ae@collabora.com> To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , AngeloGioacchino Del Regno , Andrew Lunn , Heiner Kallweit , Russell King Cc: kevin-kw.huang@airoha.com, macpaul.lin@mediatek.com, matthias.bgg@gmail.com, kernel@collabora.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Louis-Alexis Eyraud X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1778560425; l=3167; i=louisalexis.eyraud@collabora.com; s=20250113; h=from:subject:message-id; bh=XMccUmrUacqO4GAsqwSfQksObded8gKYNJE+Y06QrTE=; b=NSOOV8lIX8V4jVnh0iqlH6eVarUNgt/lyaNS7auNTKBaNbOmkbNcjLbjHwP96kHSJgIB23BVo RcvpBwQZWLWBwpArq2jO5u+mhnz9QHeB+KK9g4r1ywjhofJxIfL6n9J X-Developer-Key: i=louisalexis.eyraud@collabora.com; a=ed25519; pk=CHFBDB2Kqh4EHc6JIqFn69GhxJJAzc0Zr4e8QxtumuM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260511_213351_756042_2749DD24 X-CRM114-Status: GOOD ( 12.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: AngeloGioacchino Del Regno Add a new binding to support the Airoha AN8801R Series Gigabit Ethernet PHY. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Rob Herring (Arm) Signed-off-by: Louis-Alexis Eyraud --- .../devicetree/bindings/net/airoha,an8801.yaml | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/Documentation/devicetree/bindings/net/airoha,an8801.yaml b/Documentation/devicetree/bindings/net/airoha,an8801.yaml new file mode 100644 index 000000000000..b90b21b55053 --- /dev/null +++ b/Documentation/devicetree/bindings/net/airoha,an8801.yaml @@ -0,0 +1,85 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/airoha,an8801.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Airoha AN8801R Series PHY + +maintainers: + - AngeloGioacchino Del Regno + +description: + The Airoha AN8801R is a low power single-port Ethernet PHY Transceiver + with Single-port serdes interface for 1000Base-X/RGMII; this chip is + compliant with 10Base-T, 100Base-TX and 1000Base-T IEEE 802.3(u,ab) + and supports Energy Efficient Ethernet (802.3az), Full Duplex Control + Flow (802.3x), auto-negotiation, crossover detect and autocorrection, + Wake-on-LAN with Magic Packet, and Jumbo Frame up to 9 Kilobytes. + This PHY also supports up to three user-configurable LEDs, which are + usually used for LAN Activity, 100M, 1000M indication. + +allOf: + - $ref: ethernet-phy.yaml# + +properties: + compatible: + enum: + - ethernet-phy-idc0ff.0421 + + reg: + maxItems: 1 + + leds: true + + wakeup-source: + $ref: /schemas/types.yaml#/definitions/flag + description: + Enable Wake-on-LAN support + +required: + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethernet-phy@0 { + compatible = "ethernet-phy-idc0ff.0421"; + reg = <0>; + + leds { + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0>; + color = ; + function = LED_FUNCTION_LAN; + default-state = "keep"; + }; + + led@1 { + reg = <1>; + color = ; + function = LED_FUNCTION_LAN; + function-enumerator = <1>; + default-state = "keep"; + }; + + led@2 { + reg = <2>; + color = ; + function = LED_FUNCTION_LAN; + function-enumerator = <2>; + default-state = "keep"; + }; + }; + }; + }; -- 2.54.0