Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp281051lqp; Tue, 11 Jun 2024 04:37:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWc8dlPEo8jDrKNV+qN7RNlVL0XCR0UhWnykXyvNx/wesxXe+OdWAxDFg/cvlABD5C75jdMu8MiHvMrS45RQizAQjm5ERw11b462sd3Gg== X-Google-Smtp-Source: AGHT+IEEP64OQPx2WdOGuhi5X/U764uoLbvoXEoYxJslQXLriXPa0LiiLTH0i2owzTYXsC3/S2HI X-Received: by 2002:a17:906:c7c5:b0:a6f:fbc:b3f3 with SMTP id a640c23a62f3a-a6f0fbcb448mr435787166b.47.1718105821533; Tue, 11 Jun 2024 04:37:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718105821; cv=pass; d=google.com; s=arc-20160816; b=u8eeaYuiM9tlREAuj7qg1pWKwPfpKR27a6WPBPxCMSZmUQVb7ipuXbEG89TKqlw3JP 8q2+VJLAC6vnVO6vFnfFVoKh5zdhtqYx1s4KpT+uZQk9bcscndV3CmpfVgV9G8/ie8j7 j6BjmdiLsZMFCHd/W4cl0WC/f/v+pgTJneoV70J5FhhtdCLFAXPdxK61z/yu3H0Dg7+P aEuwJOWMapAlQy2OPZDXyVp+KTIYLUM6/aPq81Z1sstXyn7HarDcCsQgO4ZGyOCBv1c8 XGYRkCRrvHlYFnCnDXLs+6UO7FFvUM/rHiAQnFodyKAvfh6+yx5LTEBb8ngmzHqvQPZE FRcw== 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=VLEywkjhUNQ+eULhQ7v0OHlN7JfPumER1yCxW01WFS8=; fh=euLdGf6/mbn+BTdRQixZpDYPaLYVhM5osBbradXTqRU=; b=rB4RBH5oXSagTW3YlikX87GBgo3747FuKf1aYr8UxOZ/WOk/3Wv/dXe4tZ00m/QMrS m+VuooV6tDv5FMHnPMAIXJA6hm4R12eKihzAKV97nVr9xvydUeCzbqex0ZJy4zLaaFRK aXEyI3sIlb5fTEHoVmibUwYFj6FpIZddg8KTVCggx3440ccr6wFf4wXfnQ6suYAo3Y6o gX3+3PHw9HseDahw/A/Dhhb0vxNd9LVg8q+VgwBG2YMZavdnT8tOI4hS5fhVNGtk1uvY vHZNC5vYSOVChnkwaXn4B77Ts+fVSs4xPHFA5W6Hz1MibKHwG28tkfYWxHp9oqI7n3jr LXYQ==; 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-209762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209762-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 a640c23a62f3a-a6efe98a35asi342968566b.681.2024.06.11.04.37.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 04:37:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209762-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-209762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209762-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 430361F248D2 for ; Tue, 11 Jun 2024 11:37:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83DB817E46E; Tue, 11 Jun 2024 11:33:35 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B0F017E45B; Tue, 11 Jun 2024 11:33:32 +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=1718105615; cv=none; b=cdpWAHIP1rFweSZ3NjTKMf+ahAU4BzqukddPdDQshInIox09FVrHEr3U9P0US5FIwX1V2JfU0MvwMWxTFR/f5qiI9Fil0hzflezS8AwUxCQ4f4f8tgUjrKwXeRe3AUUf6VMPxHO81UH2V3UcJHVGSFvs5bbi5qZ3lDqSTJ1xzEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718105615; c=relaxed/simple; bh=PZ/qgo1iYhsepWwiQ2x0fwZsLK3jpsjhbyJ39AjPBF4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=XBuLEVCfIuRTTpqw/uFzj9EoF5D1mzgCboAs7wwV9hXHS8owN0AmVoMESvft1NxoquWEM598xJXxnNhflUZC2YtU9ZZ089r4KBHV+JDTdHWwRiecVaPbuGKVM/pP8Thl/JTxPVM2eQng9Q1YC092F9zJXKR8ulJhPSFST7n2Zfs= 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="207491491" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 11 Jun 2024 20:33:32 +0900 Received: from renesas-deb12.mshome.net (unknown [10.226.92.82]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id D5BEC4008C4F; Tue, 11 Jun 2024 20:33:27 +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 9/9] arm64: dts: renesas: rzg2ul: Set Ethernet PVDD to 1.8V Date: Tue, 11 Jun 2024 12:32:03 +0100 Message-Id: <20240611113204.3004-10-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/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 Reviewed-by: Geert Uytterhoeven --- Changes v1->v2: * Picked up Geert's Reviewed-by tag. .../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