🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26855

[PATCH net-next 1/2] dt-bindings: net: Add Realtek STB SoC r8169soc Ethernet controller

#26855
From: Eric Wang
Date: Fri, 04 Dec 2026 10:07
143 lines
13266 bytes
Add Devicetree binding documentation for the embedded r8169soc Ethernet
controller found on Realtek STB SoCs, starting with the RTD1625 SoC
("realtek,rtd1625-r8169soc").

The schema is named realtek,r8169soc.yaml so additional Realtek STB SoC
variants sharing this controller architecture can be documented in the
same binding.

Signed-off-by: Eric Wang <ericwang@realtek.com>
---
 .../bindings/net/realtek,r8169soc.yaml        | 102 ++++++++++++++++++
 MAINTAINERS                                   |   6 ++
 2 files changed, 108 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/realtek,r8169soc.yaml

diff --git a/Documentation/devicetree/bindings/net/realtek,r8169soc.yaml b/Documentation/devicetree/bindings/net/realtek,r8169soc.yaml
new file mode 100644
index 000000000000..604ff1ddfb0a
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/realtek,r8169soc.yaml
@@ -0,0 +1,102 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/realtek,r8169soc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Realtek STB SoC r8169soc Ethernet Controller
+
+maintainers:
+  - Eric Wang <ericwang@realtek.com>
+
+description:
+  The embedded Realtek STB SoC r8169soc Ethernet controller integrates a
+  Fast Ethernet MAC with an internal Fast Ethernet PHY, using ISO and
+  MAIN2 system controller regmaps for SoC-specific PHY and bus control.
+  Since the controller connects directly to the internal PHY, external
+  phy-mode and phy-handle properties are not required.
+
+allOf:
+  - $ref: ethernet-controller.yaml#
+
+properties:
+  compatible:
+    const: realtek,rtd1625-r8169soc
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  clocks:
+    items:
+      - description: 250MHz reference clock
+      - description: Ethernet system clock
+      - description: ISO misc clock
+
+  clock-names:
+    items:
+      - const: etn_250m
+      - const: etn_sys
+      - const: misc
+
+  resets:
+    items:
+      - description: GMAC reset
+      - description: GPHY reset
+      - description: Misc reset
+
+  reset-names:
+    items:
+      - const: gmac
+      - const: gphy
+      - const: misc
+
+  power-domains:
+    maxItems: 1
+
+  realtek,iso:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description:
+      Phandle to the ISO system controller syscon node used for Ethernet
+      PHY interrupt clearing, bypass mode control, and autoload status.
+
+  realtek,m2tmx:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description:
+      Phandle to the MAIN2 misc syscon node used for Ethernet DBUS clock
+      gating and power-cut configuration.
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - clocks
+  - clock-names
+  - resets
+  - reset-names
+  - realtek,iso
+  - realtek,m2tmx
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+    ethernet@16000 {
+        compatible = "realtek,rtd1625-r8169soc";
+        reg = <0x16000 0x1000>;
+        interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
+        clocks = <&ic 11>, <&ic 12>, <&cc 5>;
+        clock-names = "etn_250m", "etn_sys", "misc";
+        resets = <&ic 7>, <&ic 8>, <&cc 0>;
+        reset-names = "gmac", "gphy", "misc";
+        pinctrl-names = "default";
+        pinctrl-0 = <&etn_led_loc0_pins>;
+        power-domains = <&pd>;
+        local-mac-address = [00 10 20 30 40 50];
+        realtek,iso = <&iso>;
+        realtek,m2tmx = <&m2tmx>;
+    };
diff --git a/MAINTAINERS b/MAINTAINERS
index 05b2d9e36b6d..319ec17b5ce6 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -23693,6 +23693,12 @@ S:	Maintained
 F:	Documentation/devicetree/bindings/net/pse-pd/realtek,pse-mcu-gen1.yaml
 F:	drivers/net/pse-pd/realtek-pse-mcu*
 
+REALTEK R8169SOC ETHERNET DRIVER
+M:	Eric Wang <ericwang@realtek.com>
+L:	netdev@vger.kernel.org
+S:	Maintained
+F:	Documentation/devicetree/bindings/net/realtek,r8169soc.yaml
+
 REALTEK RTL83xx SMI DSA ROUTER CHIPS
 M:	Linus Walleij <linusw@kernel.org>
 M:	Luiz Angelo Daros de Luca <luizluca@gmail.com>
-- 
2.49.0
Technical Details
Message-ID: <20261204100746.1165612-2-ericwang@realtek.com>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377232-linux-kernel-netdev=dewy.ru
References: <20261204100746.1165612-1-ericwang@realtek.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377232-linux-kernel-netdev=dewy.ru
From: ericwang@realtek.com (Eric Wang)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next 1/2] dt-bindings: net: Add Realtek STB SoC r8169soc Ethernet controller
Date: Fri, 4 Dec 2026 18:07:44 +0800
Organization: Usenet Network
Message-ID: <20261204100746.1165612-2-ericwang@realtek.com>
References: <20261204100746.1165612-1-ericwang@realtek.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2733754"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:rNWA46VJ5Y/gMeuD8jTyQL8zxLI= sha256:sXk+mTz8ehdONrMWHhGOheLj+ZSWmihC7kf9BQvxn+k=
	sha1:ixpVHAVrqAf4J2OYGDOT15hDY/s= sha256:F2PovBNwa6YrfZBPuYkHRApijbQyDmOkD8sjBtSf0dI=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 47EB9117B8E; Fri,  4 Dec 2026 13:08:54 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.298
X-Spam-Status: No, score=-3.298 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=realtek.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id gPOWN44vGv0h;
	Fri,  4 Dec 2026 13:08:51 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377232-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=realtek.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id E7C08117B8C; Fri,  4 Dec 2026 13:08:42 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id F27F32B82C; Fri,  4 Dec 2026 10:08:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796378912;
	b=DvDcX1bp+tDmEkoIOXfVR0kZc/uitcZPD7K7mr2KdEa7FdniHsMCVQSULR48UYoYVcWf
	 yRZRzG5uebdt6HyQx1cHk1LZEB+oooVwA9TtyIpfZcQnU6ZD0KGXtwaXZmDof+yiyAsjx
	 f1edx3RvxzUrlBLoo/iyRBJZ4MX8EMm/VMiDZM0IiNtoN8u/m+hXZa0x6I4Mk+9cvoRzH
	 r5gSFVGXNauJJ2/suMmSc47Kn+pg1dGxagAfILgDnKUiJL1qbqax+zPb0VKjUXIPYaaL/
	 dvErKAWl6ox0UZl+1Ug2CzFZ/Rb+SHmvDDzGHAxE6xnjByzuChGR7bvKflNhdukkZzQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796378912;
	h=X-Original-To:Received:DMARC-Filter:X-SpamFilter-By:DKIM-Signature:
	 Received:Received:Received:From:To:CC:Subject:Date:Message-ID:
	 X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Transfer-Encoding:Content-Type;
	bh=vqh+6hKXDCV6MTxxETOOcD4pJmIzfJR6BC3vnzS3ePk=;
	b=v6eyfSLi4kMOt7mbui3Z4pfDSz5eM/qvVaoyTUx8+FwdNa44s7Zmp0cpvarW3Fx3QzEn
	 ULBoShBwnXn4sMQXWadFWMyBNB0yRosgOT693VY2i347zodLhUrxVMFWqwIblcOMHOujU
	 rsYxmrYVkI0VsfGVHEC6iAvS8fvnIDHL4/Ts4cSsQvDEfEJ8//Azr+NDhpaVYde2dKN96
	 Da/Aux1h35iSmVeSWPM5EYo6n8ntgstfQ/3oYOz8phb8dZEor+pNv+3KjCnlqZCV+6FQi
	 OZJXK7NiC7k6+kBG+Wnb95iA2GvGanKAkubgxU/duwN4rA4wkb1X6GBQYrT8vIhlD/Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=PJKmlTnX;
	dmarc=pass header.from=realtek.com;
	spf=pass smtp.mailfrom=realtek.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id AA08A606A33E;
	Fri,  4 Dec 2026 10:08:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=PJKmlTnX
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796378906;
	b=eXJhUiSBZ2YEXhg9gePIK6g33AUvfQ9JyOnmDk5keIy3cVrKJfCc3FLlj4+P+5jo0rab
	 TfFfh5UoZq3KOIaPLwLjlQiwewu8j09FB5j/n9khLaOsCw00XJcWGbbePpG/bhyJPTky+
	 xS8YgH+cekToMrgey8mnR72NYiumKpvzywVrJMK9ZCn8b5RUS8RCoMmCaAkdhwUfeI68H
	 gYOtG+R3iw54WNKFcMH6nIf8vZGXDB0uIZaXqATmnuOhAaDcqZ8EZ/GA2UBOzGUO3w5Qt
	 aszE4wAxVIbS7lgiwmk6u3hlaVuYJO8VqoEO0zf4z8EOwKH1m+/EhSmjwqBTOV1tK9A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796378906;
	h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received:
	 Received:From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
	 References:MIME-Version:Content-Transfer-Encoding:Content-Type;
	bh=vqh+6hKXDCV6MTxxETOOcD4pJmIzfJR6BC3vnzS3ePk=;
	b=Zq7FJTIEfyqWra+qFopM5PEp4ChjaVYRcV51rQhaNsZz4r3iOufqa3hKB0kAqWaHKdGI
	 ES0DByZ4GHPV5UnYfO/QygqXsOBOJHrTKt8bPrgasqAXAz3UO34Pnx9FScEKBGyi17E/O
	 5ZOjvie37ul5RuPQZ6I1rundKdVpe1NTOuJrTSm2H8PePf/wYZvoInU1ele3u7X4XDOh6
	 9tLWxLKouDf8tG72gXw1w3JfPzbl77vpbA/dIz+hhPfDIV/hAGtQq9+Hz8gTzQp2q26LQ
	 yCvXqe6kyFzE6xxc17X/WnDCNRYBLKkyVnrCrzC+KCXu9DMQ8cseKVgGJgciKf6wsBA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=realtek.com;
	spf=pass smtp.mailfrom=realtek.com;
	dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=PJKmlTnX;
	arc=none smtp.remote-ip=211.75.126.72
X-Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C03E9606A333;
	Fri,  4 Dec 2026 10:08:25 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C03E9606A333
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com
X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6B4A7kxjE2715592, This message is accepted by code: ctloc85258
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim;
	t=1796378866; bh=vqh+6hKXDCV6MTxxETOOcD4pJmIzfJR6BC3vnzS3ePk=;
	h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:
	 MIME-Version:Content-Transfer-Encoding:Content-Type;
	b=PJKmlTnXwVhVSlEiTHwZKE7ODz1gygmG/VlAnjIKxugeBEfiZiN8s3K3/XFIVwkrv
	 fmXhjl792dDPgA6xljwfiEitIuQDxeMU4uAHqGREz29gLRkd+TleE9Aiw1Mn0YN/IO
	 IIJA0GBS4fjrGbazJsOEaXNTvjCa5VDI1zh6QBE85LEsdjRwehYGqnCZeai24B9Ehi
	 Fnn6RGJO8wyce59NRQ+me4vUZxJKqKBPlNQnaNpViPhehtspw//QXttxjthX2JmHVS
	 zY2k6UBKWeAkzWA1gyNhx4AREGgC54qNPTU6Fvoqs5By3iyYMdc2kht7XPjA/22L6q
	 VIEPjw1ZsS6kA==
X-Received: from mail.realtek.com (rtkexhmbs04.realtek.com.tw[10.21.1.54])
	by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6B4A7kxjE2715592
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
	Fri, 4 Dec 2026 18:07:46 +0800
X-Received: from RTKEXHMBS05.realtek.com.tw (10.21.1.55) by
 RTKEXHMBS04.realtek.com.tw (10.21.1.54) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.2.2562.56; Fri, 4 Dec 2026 18:07:46 +0800
X-Received: from cn1dhc-k02 (172.21.252.101) by RTKEXHMBS05.realtek.com.tw
 (10.21.1.55) with Microsoft SMTP Server id 15.2.2562.56 via Frontend
 Transport; Fri, 4 Dec 2026 18:07:46 +0800
X-CC: <netdev@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, Eric Wang <ericwang@realtek.com>, Eleanor Lin
	<eleanor.lin@realtek.com>
X-Mailer: git-send-email 2.50.1
X-In-Reply-To: <20261204100746.1165612-1-ericwang@realtek.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list