Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp427601lqb; Fri, 24 May 2024 02:48:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhPnPfka4w4dqXu1Re3rI7Laua22nyka4G1ZyingdDrqOkDUCz1ruFZP0GJk8N5CWS3VETYd7Iy71U+Oyvvb8FoFa3x1fv8UHe6dcwpQ== X-Google-Smtp-Source: AGHT+IH6/DRdNP68LKx2Lqv/1wLgtmS7aP0NnYi7OQldqlcU403iOFOcI8v/S2dBk9NCo47aV/DD X-Received: by 2002:a50:9e42:0:b0:574:ebe0:7dc0 with SMTP id 4fb4d7f45d1cf-5785199dbe4mr1221258a12.18.1716544125422; Fri, 24 May 2024 02:48:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716544125; cv=pass; d=google.com; s=arc-20160816; b=DZmUUe5ALPoF40hbC3UbZkoIUX6LLrojKq0X9W9GI1iW4cTtB4tPLUIHSJLPKWRuju 60JBatsint3tsTeCtXisU7OOsHXtLiZmzLS5NAfoy2eE9xTwAyxTlQTQ0UhBGSb/9cBi /9dzo4MwJ0qzpslYD6yyFz1KUKr7ORmvZMp77llnBNAyz8dRgxRHhE+Ac+aQ/d/rE9fA ihhrthrwvnUko4YbDrC+Kcfcg8z7AK86X3sbkl7GMa+UcmoNZKKGscgX1mrUhhhUy6ii UR9vPZyscF8GrPPofX9rboM4ow/9XFXq1SdfWK4E90qj8zsGelr9ovmVJ4OXZnyYxjnC Ay3Q== 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=XT90Vq011oLLEiVamKPyal12F3g+5dnzSwEXqNA6PM8=; fh=H7Etj99Fa67GhYekAZgeFDGx01e8SCZtJmp9x3zHWII=; b=Lp0qWMhPBMJf4ojL9ZUapcLj6Hs1wYSa3Rxm895m77di+UMbj4hl8KaIbEA+Ix7Ujk RjevET99mhJ0d84K7BMLVuTTgig5p65BmpHpPIeUMBR+MSZgqpFmIszPAGAJ2ihKWrQL 7wpU5z1ZroD0K1+ndkifBTG2A4Rc02wKQzAjICANrSN+P+ihnIqp3V8SSaVlzUyQRnr0 zAJ8IFR7FQNaFTjk4z8AjZ+Hu7yBzTBOs7aoXEkkfeSuW56mQDAO7D6QIkdUZfynue97 gUoszKngFTA8Z6rdqdEEiU9ih2H4Ib+TP7DoKQoQKTDaXA4rm7WTscmeuBAOMFYZcs48 YTgg==; 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-188580-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188580-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-578524963edsi683852a12.457.2024.05.24.02.48.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:48:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188580-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-188580-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188580-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 2830C1F21972 for ; Fri, 24 May 2024 09:48:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94E7C126F3A; Fri, 24 May 2024 09:47:19 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1805485658; Fri, 24 May 2024 09:47:16 +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=1716544039; cv=none; b=ey6gEjczISSQtY346VfZWFUHZIYoXN9ZmMyHBwgcAJFh2LEdRMCVJ5hVKdu1rnMTdMXTgMsYJc4dhQvdzBJwdG2jB5H5D9QfsTVKz9tUT5tmgnS7QraruLO41vu7rTvAx7DVGyPr0rZ/0yUp9OEynAgYGsHfGeWMgxiFQOCwwzk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716544039; c=relaxed/simple; bh=IpeplB1lK4cFFKIZ/wVncTahHn/KO1b7151E6AAahWg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SWMxZlhyjTeWgbj8d97JStSUjFFDf6RpgDv5FqgPqq3p0ClmFS7hh2XOsgm/m54ieDk2TaeHI9zkxGjal+ZMNleMKIklzJ0q46ibx82fox2VmrTWFSysCdguFHA0fFzgTJ/u+knT4UgpV0RUyTZJP/AS7PRUB8wz3qJUL0VCpbQ= 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="205579844" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 24 May 2024 18:47:16 +0900 Received: from renesas-deb12.cephei.uk (unknown [10.226.93.196]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 3301C400720C; Fri, 24 May 2024 18:47:11 +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 7/9] arm64: dts: renesas: rzg2l: Set Ethernet PVDD to 1.8V Date: Fri, 24 May 2024 10:46:01 +0100 Message-Id: <20240524094603.988-8-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/G2L & RZ/V2L 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/rzg2l-smarc-som.dtsi | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi index 2b5e037ea9fa..83f5642d0d35 100644 --- a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi @@ -182,6 +182,7 @@ adc_pins: adc { eth0_pins: eth0 { txc { pinmux = ; /* ET0_TXC */ + power-source = <1800>; output-enable; }; @@ -199,14 +200,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; }; @@ -224,8 +230,12 @@ mux { , /* ET1_RXD0 */ , /* ET1_RXD1 */ , /* ET1_RXD2 */ - , /* ET1_RXD3 */ - ; /* IRQ3 */ + ; /* ET1_RXD3 */ + power-source = <1800>; + }; + + irq { + pinmux = ; /* IRQ3 */ }; }; -- 2.39.2