Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp280397lqp; Tue, 11 Jun 2024 04:35:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJ6WeF1wcWwwPUd+PqTq8rKnUNtTNrON2K99EWqW6X8JYLE68n8t9Nz7v/B7IqhZDWQJ7C0i92hhiPeIu2hqaDQ83oebgoqmqCFH71zw== X-Google-Smtp-Source: AGHT+IGOk5J8c1+ZfXdR1uGij5sZU83QsG09AJ1c7O9eCeeq+3CfYzeVNSPSSFFjR/8pbse0la+8 X-Received: by 2002:a05:620a:318e:b0:795:385b:81de with SMTP id af79cd13be357-7953c70ad06mr1400731485a.66.1718105724205; Tue, 11 Jun 2024 04:35:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718105724; cv=pass; d=google.com; s=arc-20160816; b=QTKWe1CSvqnS8PJ0LLl0cPSu8QfC1evtA3dRKr/CP8OlwhtIoVku6Y70ZmqBLrxsq5 hSllp3d99NIh9PQ8rACTH0C3+3gwb35SAe9mLjvRwoW/Fkxcrp9jt26UxNhg8/Pacxfu lvBOaKtO199jcr3s/3Ypml2Nl/fS0Jb0tbj37wB6QNVZcKNh/5z1yPpaJHW+ITukJN9q ogHqqGmtWaNYT4oB1yePWXtMxm2vgkQ3aSGL34yLaPuB6fT6GsvUfFICETZVO/5x4FUi IkFonFoHx3L1DcM9Zfid0aAQaF1QfUh5gxPefTl2NUlBbziax9kPfJ9EDdeYbjXa/zel WUqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=DoCB7S1fdgJgjN+DmeXr1NJu3/7+lva/hCSpJ2rIwBg=; fh=euLdGf6/mbn+BTdRQixZpDYPaLYVhM5osBbradXTqRU=; b=sv04J0bydVyic+cL6SqvY/uV+epiupsPYBCGQa0yz+TekCiQzrZ13ucZ5/SlD9Nobn SkpMQ00xbZUIKFERCIkpsJ9DtMmoop+Fw83MdT0V76lNpXXV5njz6KAhhx//nAvjMjlh C6qy3npKERRG3IXMKbMJ0g3dHMumGYvRbIsAw1VFR8lKlgGPfSwdiDZTMf1ZoZux+3m5 0MeIaqJ3rjU5fLALZFugK8121XZ5nbDZmT0ZXbHvlhpAPhgRiEnYVblTWxNcHMIxYOVr PLLgQP0ct8OAVlnVhODYRq1g00I0I08Gxq63Ug4woxvezIvTHBxUv5AzKAaetiAlZa8s fiRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-209756-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209756-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-79559146928si731733185a.701.2024.06.11.04.35.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 04:35:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209756-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-209756-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209756-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E72CC1C22190 for ; Tue, 11 Jun 2024 11:35:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 293CA17D373; Tue, 11 Jun 2024 11:33:11 +0000 (UTC) Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E7F717CA1E; Tue, 11 Jun 2024 11:33:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718105590; cv=none; b=QEn87gkalcAG7Pe1zM09tTNlahH5tm+9yK6XOk7Skhe5alLmH6ECdBzo2ZY57eOR2SPESQu51C7DNI5aeCMS0ST/jrHpYFfcFZebfSHGg6EUZrA07wM/Hihyif1GbQKRnt7fTG7uYG6bKF66jgBJvHatq03dB3Vw5rNSKK4By20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718105590; c=relaxed/simple; bh=nFI3j7Hbsnyjz37WEKhI9GvJ+E+TRQvc/iFf8KLB4dQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hS2lsMdd77cdsfDJT3c4zwNvluR4CBErVnDLgHM1w0NuT52FhuPx0lbIlp3nOGTMumh8HDLQyFz0pwIf7PNxEUIuvrrXRpEl/xH+kYDPiy6n2NG6zhqCAuT/16SMXva9GFWtcyzhNuxXKPKgN/MKX8YTAFxPXKX3TB++8Ww6uq4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-IronPort-AV: E=Sophos;i="6.08,229,1712588400"; d="scan'208";a="211449646" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 11 Jun 2024 20:33:08 +0900 Received: from renesas-deb12.mshome.net (unknown [10.226.92.82]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id EE59C4006DF4; Tue, 11 Jun 2024 20:33:03 +0900 (JST) From: Paul Barker To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Lad Prabhakar Cc: Paul Barker , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/9] arm64: dts: renesas: rzg2l: Enable Ethernet TXC output Date: Tue, 11 Jun 2024 12:31:58 +0100 Message-Id: <20240611113204.3004-5-paul.barker.ct@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240611113204.3004-1-paul.barker.ct@bp.renesas.com> References: <20240611113204.3004-1-paul.barker.ct@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Configure ET0_TXC and ET1_TXC as outputs on the Renesas RZ/[GV]2L SMARC SoMs, as per RGMII specification. Signed-off-by: Paul Barker Reviewed-by: Geert Uytterhoeven --- Changes v1->v2: * Picked up Geert's Reviewed-by tag. .../boot/dts/renesas/rzg2l-smarc-som.dtsi | 76 +++++++++++-------- 1 file changed, 44 insertions(+), 32 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi index 4409c47239b9..2b5e037ea9fa 100644 --- a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi @@ -180,41 +180,53 @@ adc_pins: adc { }; eth0_pins: eth0 { - pinmux = , /* ET0_LINKSTA */ - , /* ET0_MDC */ - , /* ET0_MDIO */ - , /* ET0_TXC */ - , /* ET0_TX_CTL */ - , /* ET0_TXD0 */ - , /* ET0_TXD1 */ - , /* ET0_TXD2 */ - , /* ET0_TXD3 */ - , /* ET0_RXC */ - , /* ET0_RX_CTL */ - , /* ET0_RXD0 */ - , /* ET0_RXD1 */ - , /* ET0_RXD2 */ - , /* ET0_RXD3 */ - ; /* IRQ2 */ + txc { + pinmux = ; /* ET0_TXC */ + output-enable; + }; + + mux { + pinmux = , /* ET0_LINKSTA */ + , /* ET0_MDC */ + , /* ET0_MDIO */ + , /* ET0_TX_CTL */ + , /* ET0_TXD0 */ + , /* ET0_TXD1 */ + , /* ET0_TXD2 */ + , /* ET0_TXD3 */ + , /* ET0_RXC */ + , /* ET0_RX_CTL */ + , /* ET0_RXD0 */ + , /* ET0_RXD1 */ + , /* ET0_RXD2 */ + , /* ET0_RXD3 */ + ; /* IRQ2 */ + }; }; eth1_pins: eth1 { - pinmux = , /* ET1_LINKSTA */ - , /* ET1_MDC */ - , /* ET1_MDIO */ - , /* ET1_TXC */ - , /* ET1_TX_CTL */ - , /* ET1_TXD0 */ - , /* ET1_TXD1 */ - , /* ET1_TXD2 */ - , /* ET1_TXD3 */ - , /* ET1_RXC */ - , /* ET1_RX_CTL */ - , /* ET1_RXD0 */ - , /* ET1_RXD1 */ - , /* ET1_RXD2 */ - , /* ET1_RXD3 */ - ; /* IRQ3 */ + txc { + pinmux = ; /* ET1_TXC */ + output-enable; + }; + + mux { + pinmux = , /* ET1_LINKSTA */ + , /* ET1_MDC */ + , /* ET1_MDIO */ + , /* ET1_TX_CTL */ + , /* ET1_TXD0 */ + , /* ET1_TXD1 */ + , /* ET1_TXD2 */ + , /* ET1_TXD3 */ + , /* ET1_RXC */ + , /* ET1_RX_CTL */ + , /* ET1_RXD0 */ + , /* ET1_RXD1 */ + , /* ET1_RXD2 */ + , /* ET1_RXD3 */ + ; /* IRQ3 */ + }; }; gpio-sd0-pwr-en-hog { -- 2.39.2