Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp427238lqb; Fri, 24 May 2024 02:47:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVX7xtVV1nm6jdo4vE0x6fCRu4Y4u99+6Jy9Bs3PUY/GyDq3tBvX+LvbVB4Qv8CCh0fZJCaDhDuqATDwER2KDokwEC1u4v6wfVAQZhvNA== X-Google-Smtp-Source: AGHT+IGlzDb7Kj/ffYhDEJbzcybCO60H7Tl7V2Et3y+f3yo+omsVrugHEv194NA5ukUHC5O+x6kY X-Received: by 2002:a17:906:3ed1:b0:a59:c23d:85d8 with SMTP id a640c23a62f3a-a6264f15e2cmr116965366b.51.1716544065198; Fri, 24 May 2024 02:47:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716544065; cv=pass; d=google.com; s=arc-20160816; b=Z7Tc5BtCKzVX3pQaiiEJep9XazweZH4g2m2GH/i5ptvFwdpTfbXBSaOnEjRP4lJ7EW ZR2mDQ23qhlNC499o8PS8ClH/KHcY/d6GNiDruX05etcwRW+OvL9NLrvZmzSvGz505de 5Pi1jFZbnTCWBxISdAYh8QVKXqdgLqbw4eRSFrncKs3t6YVlKHuujRFzmne55B9H0VlF Ix3LZRFzA7YGkBMJ5O0yDVTgp5SrMbEBjD6P9fDpDKMK55NK/M3NO7yhvMQ0Jqnz4ajg 9CdDl8hEXOdCGYltxJ2E+V5N5z86FBX/yN45lw3Kougv1GePufFfGaurIIDwYld2I1KV zMkw== 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=R60Hl6Ff4rnIa/zkX7g00/U+5yiqFdqtZmMBYI4CUyI=; fh=H7Etj99Fa67GhYekAZgeFDGx01e8SCZtJmp9x3zHWII=; b=XG8IVr7dMs5Curr1PSTJeBvsN7Fdm+pyeEZF5xNTM3OK6v2sRDmhfB1cXdcc/B59nl 8OZTK9vIFcg0JpUqTnQcYCTNNVpjh8o6YFCX2NkhPeQnG7LRJC1LJkSevuJi1uu7gOr8 cuBeGvHQB9NWgzqrl6QAmIyQT3CxbuDfXrnbGVeOM5+/UDGCZhXAl/F9SLh90OL1yI7X 9ZVeRtKjSo2Ky9oVrLx6e9Gm67ycoqgsnwI5jSwtJxhyHWmWin/JCGvKquryxw8eeh5D U0cDiIxxPg/d9t6TubsTcfUjOSIZODKNGsuyP3aFXeWwtqbrcFsi/9Dni6WfR2+TAnOh Zhcw==; 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-188576-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188576-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cd92950si62432366b.816.2024.05.24.02.47.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:47:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188576-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-188576-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188576-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EA1AF1F21551 for ; Fri, 24 May 2024 09:47:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C882086240; Fri, 24 May 2024 09:47:05 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D36F984E19; Fri, 24 May 2024 09:47:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716544025; cv=none; b=MTZ1uC4IZxDtfsU9RR4DP2+2wK8Wc2KEKGsf9GsQM0OVkYyZWJnHKDJ4/t+SUBCM3LcIzQUHsboLyyok9vdE8FfN/VWenz8xP6Bemf7o/ycrE1t4PJfRv7WjWikCP3kB23juNIQ+2nMxrJ/GiLs1+wupHWHCNTKP2mvaiIcz5dA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716544025; c=relaxed/simple; bh=09jIskDfBS8Vvc1KdL3+BTlujGkf8PxN62IIfMnlInU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hq40oXfaZwgG+3/3mIekuF3TN+TNBGDmVB3spO2KokUTzYiq3XqhIVEGrb9eWIS4t+SJDAY1Ok2XFtOJyF+zqF7xRA2pbNhk4VhJrJB5n1xQ5WHJOFxaOf9UGu4z1tMJTO65K1Ik3wfB1/umOXJvW+kN64w0TvstHsfNFGhR5+Y= 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.171 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,185,1712588400"; d="scan'208";a="205579825" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 24 May 2024 18:47:02 +0900 Received: from renesas-deb12.cephei.uk (unknown [10.226.93.196]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 8C0CF40065A6; Fri, 24 May 2024 18:46:58 +0900 (JST) From: Paul Barker To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij 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 4/9] arm64: dts: renesas: rzg2l: Enable Ethernet TXC output Date: Fri, 24 May 2024 10:45:58 +0100 Message-Id: <20240524094603.988-5-paul.barker.ct@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240524094603.988-1-paul.barker.ct@bp.renesas.com> References: <20240524094603.988-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 --- .../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