From nobody Tue Oct 7 20:08:09 2025 Received: from leonov.paulk.fr (leonov.paulk.fr [185.233.101.22]) (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 AEE3C2264A1; Mon, 7 Jul 2025 16:54:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.233.101.22 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751907253; cv=none; b=b+FqzVRMqUatlmViJfmPqTGpJveVorIUolfKxsO9EDiiRwBlV7Y4zwldCXmsURKmv1O7cbWWRbt2E/FTbvpqC2yIVNA4lBw7vJ/iCMYi9B68E8weDqlOTWxcFL1Xag6qp7tKm2bUmByaOesG0RIhwQE+Wal3cXv2Nwc0buEinmg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751907253; c=relaxed/simple; bh=dSDtzgHJhb5nkTok5hdWeyc72epjdPSgyP5Q3UFWO2c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qxsvzmcqLkrN6Hl7w/cHEpChIaNbwMa6VMx3Z6vh8CBq2N0sBRHPTBf/V8AVE+CGYM5C4BfqdxCJtOLRH1EJK0QnLdy9ZcPKFswJt+CJ43dACc//Hh5vu69RXgWBOBCLlk0fbye7PKOh6CL8orGR9s0f2ogrGrLCpyHi0ifM2Ao= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sys-base.io; spf=pass smtp.mailfrom=sys-base.io; arc=none smtp.client-ip=185.233.101.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sys-base.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sys-base.io Received: from laika.paulk.fr (12.234.24.109.rev.sfr.net [109.24.234.12]) by leonov.paulk.fr (Postfix) with ESMTPS id F30621F00036; Mon, 7 Jul 2025 16:54:09 +0000 (UTC) Received: by laika.paulk.fr (Postfix, from userid 65534) id 747B4ACAEF1; Mon, 7 Jul 2025 16:54:09 +0000 (UTC) X-Spam-Level: * Received: from localhost.localdomain (unknown [192.168.1.65]) by laika.paulk.fr (Postfix) with ESMTP id 25322ACAEE3; Mon, 7 Jul 2025 16:52:09 +0000 (UTC) From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Linus Walleij , Paul Kocialkowski , Andre Przywara Subject: [PATCH v2 2/4] arm64: dts: allwinner: a100: Add pin definitions for RGMII/RMII Date: Mon, 7 Jul 2025 18:51:53 +0200 Message-ID: <20250707165155.581579-3-paulk@sys-base.io> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250707165155.581579-1-paulk@sys-base.io> References: <20250707165155.581579-1-paulk@sys-base.io> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Allwinner A100/A133 supports both RGMII and RMII for its Ethernet MAC (EMAC) controller. Add corresponding pin definitions. Note that the sun50iw10 die actually includes two ethernet controllers, the second of which is rarely exposed to pins. Call the first controller "emac0" to distinguish it from the second that may be added later. Signed-off-by: Paul Kocialkowski Reviewed-by: Andre Przywara --- arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/bo= ot/dts/allwinner/sun50i-a100.dtsi index bd366389b238..7d5be0975371 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi @@ -236,6 +236,21 @@ mmc2_pins: mmc2-pins { bias-pull-up; }; =20 + rgmii0_pins: rgmii0-pins { + pins =3D "PH0", "PH1", "PH2", "PH3", "PH4", + "PH5", "PH6", "PH7", "PH9", "PH10", + "PH14", "PH15", "PH16", "PH17", "PH18"; + function =3D "emac0"; + drive-strength =3D <40>; + }; + + rmii0_pins: rmii0-pins { + pins =3D "PH0", "PH1", "PH2", "PH3", "PH4", + "PH5", "PH6", "PH7", "PH9", "PH10"; + function =3D "emac0"; + drive-strength =3D <40>; + }; + uart0_pb_pins: uart0-pb-pins { pins =3D "PB9", "PB10"; function =3D "uart0"; --=20 2.49.0