Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp280811lqp; Tue, 11 Jun 2024 04:36:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDzHs85w2PfTWf2vfpe4v0qkTH/jeQ+JxHziKMk8iGQlh+S1EHq1j/w9iEDShUFPmn6iHMQzMSFfUoflzcpIvpiLLBSLN1UxqqdfCrkw== X-Google-Smtp-Source: AGHT+IHk+xKpwaOfYoJW4eI7+8+JWUZGgi4dT5nnmUHRp1LcNNpdDGvWKT09HRaob8SeSYxdvQ+E X-Received: by 2002:a17:902:ec90:b0:1f6:4ea9:6a71 with SMTP id d9443c01a7336-1f6d02e47damr156817265ad.23.1718105783074; Tue, 11 Jun 2024 04:36:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718105783; cv=pass; d=google.com; s=arc-20160816; b=WRnJxijCZbDGnjsDM6PuBoYIIaeKVvHyXylHxlPa3tAqIb6fvT3armOOXottp3yS7w Jndp6Kk/69RWIF5ArlNGkbz3lkopGUm09+h2rg4oEtO+Heq7+96n5ks7Y5ao4aRg4M8a 2f4OGRzEyb18oYcLg8PZqASKkQt3YxFsVvf+i5ZuGld6mFtpETFIbnf0l6bzNx30dNSZ S5xKrQx88NnHHZiEOK11qwHnTwFdQrqpmeFPkCZkpsK0xFPYusGEqxRz+AmM9vhot4HT xrcJSh4hUGrjU5ECIy15dWkVv0VF4TzdlB42lcxFv9i28pVkdUFDL93rmix/ujBc2RDp QzQg== 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=DVTDNtBcf1oQSoYzURP3cMT29aqMfB4TI7QXVV2DFXM=; fh=euLdGf6/mbn+BTdRQixZpDYPaLYVhM5osBbradXTqRU=; b=ntH2yLm4/9y9LIjy4s5rpIEN2o7paKURBkDB274wm147nmeGm1tmELV6IYdRXfzFtI zGieRrl0blfro2FCJC+zl7P/O8UsGuyjvFXDDvoCPvvf2pBZiCxYepva6esfVPB4MpPr yOiYp8DuM2RfXc09YOWA8e20W1nQQSJcCs/D2kjfriQPpcdIbSd1iSilBqp8HTAj84X6 vkn6P2jfnogHGZZLox1Aq1j6ZhGjI3GyyVKuTY9lsp+bkpCNZLsZPnC9Olq4gt8wGYDc sb3H8p/DCcYCX21JEc4Uhf2yRbi7sVbOkAsghr21eD5vaaILm36ifz5yX3qoxMCbppox cBNA==; 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-209759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd81fc78si94988645ad.575.2024.06.11.04.36.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 04:36:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::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-209759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209759-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A8A30282EFF for ; Tue, 11 Jun 2024 11:36:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15D1517DE23; Tue, 11 Jun 2024 11:33:25 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFCE217C238; Tue, 11 Jun 2024 11:33:22 +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=1718105604; cv=none; b=poAYbMrPVjup6XviIk1d4n4ix7bwXnakTMv2FCFURtLM7f46xDGlWvI1a4gRQAK/FPJpTkG21Es1u+SSycmEhcWJkg34nEuaYcuj8ihNpM2GlCkRqxRWdB7Gkx4k+coh0bV+eI2ul9QVsjuNVNZXsQsxHs2Cx/912xvtUaF8KVE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718105604; c=relaxed/simple; bh=nKloG7BjsR88jobpvDi2Bo+MAIo5fDc+ls5XYMd9tSs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qgF2bCeFbFotAyaSgXlKfhb2VevgRJcIR+Cw9U3IipTxZZjIYSrSfUB4o/x8MnYaAqBUG5rSOogg4ubzZfNpx3rNK+5FetYGxkroVaYSot5XdyeGup1q7WydPdwAuUsEMcBHvauBWH0vmmQPUy8cTSRpyYTPp68FxHnRP8f1qIE= 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,229,1712588400"; d="scan'208";a="207491466" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 11 Jun 2024 20:33:22 +0900 Received: from renesas-deb12.mshome.net (unknown [10.226.92.82]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 484044008C4F; Tue, 11 Jun 2024 20:33:17 +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 7/9] arm64: dts: renesas: rzg2l: Set Ethernet PVDD to 1.8V Date: Tue, 11 Jun 2024 12:32:01 +0100 Message-Id: <20240611113204.3004-8-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 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 Reviewed-by: Geert Uytterhoeven --- Changes v1->v2: * Picked up Geert's Reviewed-by tag. .../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