From nobody Wed Apr 15 13:02:39 2026 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (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 365453988F5; Wed, 4 Mar 2026 09:36:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772616978; cv=none; b=hbO2WgkqySmV45rj+W7qRx6C41XfGxPA3Mwj+9IpkNi8ykMM8hFa2ZkXgV6XFEzsqo0gh6WOV9eawiq5oPK4gTdtT30WGS4+LxfCwBzNCKUsv0Y4TyQU1JCn99EQ3O6Ko5AUiqpP8O2TcNQtoEOXFaOHVvIfHacZG2WVNKNzUAs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772616978; c=relaxed/simple; bh=miZBEDWHYrtNxaEL5LHvKe/AtdLtzl62S7Z+ArLM+Dg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=biOgIMKQg38u51mMpazgN6Wap995cJSkSKidFJbyUeTZPdvF/4tkOMUOsrlnxjYYN+1JIw8hkju0kLqfK51/WHJkFZevbIefe73UxG0qxJ4dcRN9mpIsmZqP6IDw/3520CrAynLnsiMfu9IxabnmUgRCl2HHq5ICwxQmvE0HlWg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=E2WwY63k; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="E2WwY63k" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1772616975; bh=miZBEDWHYrtNxaEL5LHvKe/AtdLtzl62S7Z+ArLM+Dg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=E2WwY63k/nO7YWPAwoykFub8ajR5xmvZPrGMFBqtUAITbBt2kodoDXtDyb07QNmqZ L9qzOX6S9a1+8zduug2O6YfbEDGKedJcIe2KSmALVxAD1fSnUT9toWRCRwHYPkxMqD Wmf4x0xycuHz9G1FaQwajPH8buWLbPvsh0l3Ok+9yp93VIJYofy8mXn9AW739d99bm d2yvCgAl/M6aUfNEgyyYlsSn0pCnZ1lnqivkOnl6wJV0XKj/1tHZ3xDg5T0/W6Trbh kXZFIrYGPsZGrSmbDiGqiUD05mMmAYJEgrget3aUohDjfPV0v7ANS/263VX9B7EoEb +6x5rPjc9h+aw== Received: from yukiji.home (amontpellier-657-1-116-247.w83-113.abo.wanadoo.fr [83.113.51.247]) (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 E5D4F17E0EAA; Wed, 4 Mar 2026 10:36:14 +0100 (CET) From: Louis-Alexis Eyraud Date: Wed, 04 Mar 2026 10:35:28 +0100 Subject: [PATCH net-next 1/2] dt-bindings: net: Add support for Airoha AN8801/R GbE PHY 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: quoted-printable Message-Id: <20260304-add-airoha-an8801-support-v1-1-0ae4ee5a2f9d@collabora.com> References: <20260304-add-airoha-an8801-support-v1-0-0ae4ee5a2f9d@collabora.com> In-Reply-To: <20260304-add-airoha-an8801-support-v1-0-0ae4ee5a2f9d@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.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772616974; l=3058; i=louisalexis.eyraud@collabora.com; s=20250113; h=from:subject:message-id; bh=f1uOi1KCiYeObZzr04y0dnDloVcq2c6mZeNHSqkgqr4=; b=s1qI102nFjzdVzHn9zMO8wE5OeJcAb2pRGPcCgfMSEVJa4T8L03bUKAcJW45QYPTbLaQrd/1e nHGjJ1GfAwJASKuFXp+LC8ieVuk2vl69fOfOe9w+ASGvVPoBkclcvHn X-Developer-Key: i=louisalexis.eyraud@collabora.com; a=ed25519; pk=CHFBDB2Kqh4EHc6JIqFn69GhxJJAzc0Zr4e8QxtumuM= From: AngeloGioacchino Del Regno Add a new binding to support the Airoha AN8801R Series Gigabit Ethernet PHY. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Louis-Alexis Eyraud Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/net/airoha,an8801.yaml | 81 ++++++++++++++++++= ++++ 1 file changed, 81 insertions(+) diff --git a/Documentation/devicetree/bindings/net/airoha,an8801.yaml b/Doc= umentation/devicetree/bindings/net/airoha,an8801.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f251c9d2fbbed3675c9fd7ff221= 74049a13a7b5e --- /dev/null +++ b/Documentation/devicetree/bindings/net/airoha,an8801.yaml @@ -0,0 +1,81 @@ +# 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 + +required: + - reg + - leds + +unevaluatedProperties: false + +examples: + - | + #include + + mdio { + #address-cells =3D <1>; + #size-cells =3D <0>; + + ethernet-phy@0 { + compatible =3D "ethernet-phy-idc0ff.0421"; + reg =3D <0>; + + leds { + #address-cells =3D <1>; + #size-cells =3D <0>; + + led@0 { + reg =3D <0>; + color =3D ; + function =3D LED_FUNCTION_LAN; + default-state =3D "keep"; + }; + + led@1 { + reg =3D <1>; + color =3D ; + function =3D LED_FUNCTION_LAN; + function-enumerator =3D <1>; + default-state =3D "keep"; + }; + + led@2 { + reg =3D <2>; + color =3D ; + function =3D LED_FUNCTION_LAN; + function-enumerator =3D <2>; + default-state =3D "keep"; + }; + }; + }; + }; --=20 2.53.0