From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 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== 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== 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 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) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C03E9606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com 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-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6B4A7kxjE2715592, This message is accepted by code: ctloc85258 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== 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 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 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 From: Eric Wang To: Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel CC: , , , Eric Wang , Eleanor Lin 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 Message-ID: <20261204100746.1165612-2-ericwang@realtek.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20261204100746.1165612-1-ericwang@realtek.com> References: <20261204100746.1165612-1-ericwang@realtek.com> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 --- .../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 + +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 + + ethernet@16000 { + compatible = "realtek,rtd1625-r8169soc"; + reg = <0x16000 0x1000>; + interrupts = ; + 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 +L: netdev@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/net/realtek,r8169soc.yaml + REALTEK RTL83xx SMI DSA ROUTER CHIPS M: Linus Walleij M: Luiz Angelo Daros de Luca -- 2.49.0