From patchwork Mon Jan 2 22:18:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13087029 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D72C1C54EBC for ; Mon, 2 Jan 2023 22:18:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234436AbjABWSj (ORCPT ); Mon, 2 Jan 2023 17:18:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233127AbjABWSf (ORCPT ); Mon, 2 Jan 2023 17:18:35 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5B2B9594; Mon, 2 Jan 2023 14:18:33 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id t15so18716013wro.9; Mon, 02 Jan 2023 14:18:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=87pexaz/1Mg04XsXrAVU5SOSGgcQVwJXYmy5/v4n+sw=; b=JjLAUZ55HaemIjQxq0JLX3n2KYtyao/3S1EgMQ7TFge8k2jh+Oof76gWZAuJUFjqQ+ BdIhZUkIYjzZMTXGYE/rdDkDWjuF81PsbuxVRQGvQ9f6sStEih8yLYa2thDwFcXYm/zh tGC78yT8Wn+HC0mADubihr2yZjUTyT41YFcDGa/wfDBpkSX6G/IvP+3phDPE5ffNX30d h6XTqLfbf0kFyLcXKwCe552LoHUy6rf8NCxuUpJjfHWisqkO9vsviYRLuDdoLDZXJR4C +i78eHvZDqJbsGGoN30YY9nXa+2oPwtwzQaivAFTHxiAb+vB1dobI+D/YR247W85N1Gi Beew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=87pexaz/1Mg04XsXrAVU5SOSGgcQVwJXYmy5/v4n+sw=; b=Oo6mjrWMmpY/Un5Lh+Vv2sCEUb0OFQL5fbGNPWXTa1DRQZszFs4Y04u+HsxiF/FmU1 DMRH73Yq16qJA5N/Be4dRKBvfwzQRm84Jv2CAP4Hay46D2/qKVeVvMplQzNCgBXpdPBD Qf9i5dfH2vY1e4niUWFwnZbmuAh2qk9jdEeA7cNE57UBB+mZ7Kg3CQqi0Vhu6gUJDVwr trj7VnSZqzBOcf6c2PO0MIQghGAIakdcoPOqzpkjTyOkME0x+GmTDkcDL+XKJUlLzuTz MeVTdzhJOw6CDZyFi1wHL000aZ+g4cEcnqb8ga0LCpjkREUsqrx0hsCTWzlSsayy6d24 KquQ== X-Gm-Message-State: AFqh2koFQXA+NFzaZYNnUSLKdy1i9N/9BIGmJhnlPDQHbNAgOmZ35xIA 3pUcoksbIgX4O4RK5G8oiY+/2wzhBUcZbxEc X-Google-Smtp-Source: AMrXdXs5ofU5819EL2FO1N0TDHgeBtXVz3DaYl6IOJ65XbX7nrksuwPRW7uub7CAi0HAj0tuTlSCwA== X-Received: by 2002:a5d:58ee:0:b0:28c:d9bf:d71 with SMTP id f14-20020a5d58ee000000b0028cd9bf0d71mr9314818wrd.25.1672697912180; Mon, 02 Jan 2023 14:18:32 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2501:c701:8a7:e535:b020:566a]) by smtp.gmail.com with ESMTPSA id n14-20020adfe34e000000b002366dd0e030sm29872463wrj.68.2023.01.02.14.18.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 14:18:31 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Linus Walleij Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v3 6/6] arm64: dts: renesas: rzg2ul-smarc-som: Add PHY interrupt support for ETH{0/1} Date: Mon, 2 Jan 2023 22:18:15 +0000 Message-Id: <20230102221815.273719-7-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230102221815.273719-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20230102221815.273719-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Lad Prabhakar The PHY interrupt (INT_N) pin is connected to IRQ2 and IRQ7 for ETH0 and ETH1 respectively. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven --- v2 -> v3 * No change v1 -> v2 * No change --- arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi index 931efc07d6fb..49ecd33aeeb8 100644 --- a/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi @@ -6,6 +6,7 @@ */ #include +#include #include / { @@ -77,6 +78,8 @@ phy0: ethernet-phy@7 { compatible = "ethernet-phy-id0022.1640", "ethernet-phy-ieee802.3-c22"; reg = <7>; + interrupt-parent = <&irqc>; + interrupts = ; rxc-skew-psec = <2400>; txc-skew-psec = <2400>; rxdv-skew-psec = <0>; @@ -104,6 +107,8 @@ phy1: ethernet-phy@7 { compatible = "ethernet-phy-id0022.1640", "ethernet-phy-ieee802.3-c22"; reg = <7>; + interrupt-parent = <&irqc>; + interrupts = ; rxc-skew-psec = <2400>; txc-skew-psec = <2400>; rxdv-skew-psec = <0>; @@ -151,7 +156,8 @@ eth0_pins: eth0 { , /* ET0_RXD0 */ , /* ET0_RXD1 */ , /* ET0_RXD2 */ - ; /* ET0_RXD3 */ + , /* ET0_RXD3 */ + ; /* IRQ2 */ }; eth1_pins: eth1 { @@ -169,7 +175,8 @@ eth1_pins: eth1 { , /* ET1_RXD0 */ , /* ET1_RXD1 */ , /* ET1_RXD2 */ - ; /* ET1_RXD3 */ + , /* ET1_RXD3 */ + ; /* IRQ7 */ }; sdhi0_emmc_pins: sd0emmc {