Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp427753lqb; Fri, 24 May 2024 02:49:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7+epcw5J+UgrESeV7NHC6FEn+ppumpDAyqgU1cM/0XBv+e7ukzb5Y0k9b8KkWEFzINCMrqxPUlNz5wpSpkjW++mGPBcMsZ5AEcMU4NA== X-Google-Smtp-Source: AGHT+IFz6XWEWyYk0g36H711TnVmEk7OlWTDfAANjOyy471wfSCWJ83rgrVENwIqiGeSqMrUnq6b X-Received: by 2002:a50:d4c9:0:b0:578:4c50:3d6d with SMTP id 4fb4d7f45d1cf-57850c40a09mr1429105a12.7.1716544151926; Fri, 24 May 2024 02:49:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716544151; cv=pass; d=google.com; s=arc-20160816; b=AFoDvo/M/JHBbogVC5zRYyH86xVpDTDOsNUwOblgchNpIhs6JYC//CZr5+Ro5nIO1d 0vVbCmzYigPj2eEevR1xcNe92w6nu/qQpYvv3zsW+rSh93PJQf64uNjFuX8yNjqPVwB5 hF+h2wkJii9LVhKUNQU+3ZDOM69Ucliu4GNxOKdQbppIvLAyn9ISnskx7XcIY6hlZbzF 9cFtHzNoDgMCpKBwwFflvgiy5dhDjN4k+qEkvLmrR/cL1hLpBE0ywPGXr3ovn6PkBapm AlGs1QyMXAP4K/mkFslrS9RYRmp8WUuQ9beULRqVc+vRDkgJ/5wigAvbdl7fbHGwtOuo hqVw== 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=Tuuyoe5xySx/hJmSrvHIGSfM8ld1hFJbw7cZ5WZhje0=; fh=H7Etj99Fa67GhYekAZgeFDGx01e8SCZtJmp9x3zHWII=; b=vy7B2SjG0NyG40CQKw4yNl4BCjBh2ddRoY+bn+bATGHEctcl0U9BxuXmuAtovt7lTQ RAWZd3jqa/RYwhiQle+RGeXYwjTbfsNO3JgPaFfa/X4+KPFv8yyk4YH6YwmaWEYanN9J Bh5+jZrsRFObnF8GRJYeH+ZohBilNJM1JXW5rDu3eUkFh1Wl9uSxyk5znUJ0uHcJOh6h E5b3ib+hojv/aqkNXBln7/5BAdeUZtrbAWAz5MhRafRctTztkqIlkKDVrUYmEHxlhJlR ARzdRoz+5z7LcrtHLk9HkVNoWSSN5hPEyJ6OMRcnumsI9N6CjAXAPoWsGh9LqyrkE3xN 0TAQ==; 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-188582-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188582-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-578524637b7si680310a12.298.2024.05.24.02.49.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:49:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188582-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-188582-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188582-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 A6E821F21526 for ; Fri, 24 May 2024 09:49:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CE71D85636; Fri, 24 May 2024 09:47:27 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B89885C43; Fri, 24 May 2024 09:47:25 +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=1716544047; cv=none; b=LxDsbfP+x/sazp5hOxkIOWayD0EDLA8kikKjm4yzhcTlOxNxVyrnPUl4YbDqPgSITRp2nTX7RlzpXWl7GJ72nO40fAGwVgVZ5lwr9DcubEyH+VL5hXD9KXrXzBvqLSq5TxyNKV93/GPnwEjgWp+BSpApBm0n/ZWbr9Zt/WEiQ4g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716544047; c=relaxed/simple; bh=Fs0QcavU4AhMW5fvMh3QVxyj8Xo9/QNHu+yqJeDCf+8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=NuXGKs07/msMQx9J9M0eby1qozu6cJD/wUdIAtYdOpXwxyJVft4Z0ArO31fz1D8O0JrT4kNCB8tO2DbfolpcliR4hXp0mXgMGfBBKXSzB738R7Yu1j7X6FRRYPBzpp3jZxW+bFA/82NQXAusnh+xbyRP3Dez3rwgM788TwAp9ns= 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="205579852" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 24 May 2024 18:47:25 +0900 Received: from renesas-deb12.cephei.uk (unknown [10.226.93.196]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 3F9BC400720C; Fri, 24 May 2024 18:47:20 +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 9/9] arm64: dts: renesas: rzg2ul: Set Ethernet PVDD to 1.8V Date: Fri, 24 May 2024 10:46:03 +0100 Message-Id: <20240524094603.988-10-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 On the RZ/G2UL & RZ/Five SMARC SOMs, the RGMII interface between the SoC and the Ethernet PHY operates at 1.8V. The power supply for this interface may be correctly configured in u-boot, but the kernel should not be relying on this. Now that the RZ/G2L pinctrl driver supports configuring the Ethernet power supply voltage, we can simply specify the desired voltage in the device tree. Signed-off-by: Paul Barker --- .../boot/dts/renesas/rzg2ul-smarc-som.dtsi | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi index 417f49090b15..79443fb3f581 100644 --- a/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi @@ -144,6 +144,7 @@ adc_pins: adc { eth0_pins: eth0 { txc { pinmux = ; /* ET0_TXC */ + power-source = <1800>; output-enable; }; @@ -161,14 +162,19 @@ mux { , /* ET0_RXD0 */ , /* ET0_RXD1 */ , /* ET0_RXD2 */ - , /* ET0_RXD3 */ - ; /* IRQ2 */ + ; /* ET0_RXD3 */ + power-source = <1800>; + }; + + irq { + pinmux = ; /* IRQ2 */ }; }; eth1_pins: eth1 { txc { pinmux = ; /* ET1_TXC */ + power-source = <1800>; output-enable; }; @@ -186,8 +192,12 @@ mux { , /* ET1_RXD0 */ , /* ET1_RXD1 */ , /* ET1_RXD2 */ - , /* ET1_RXD3 */ - ; /* IRQ7 */ + ; /* ET1_RXD3 */ + power-source = <1800>; + }; + + irq { + pinmux = ; /* IRQ7 */ }; }; -- 2.39.2