From patchwork Mon Jul 17 20:25:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 9846055 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C84B960386 for ; Mon, 17 Jul 2017 20:26:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED20F28503 for ; Mon, 17 Jul 2017 20:26:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1CAA28509; Mon, 17 Jul 2017 20:26:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6E38828503 for ; Mon, 17 Jul 2017 20:26:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=1O1b7xn64GeQX2c+0JMnZh4tpALRf5eF5/HRFCJRSL0=; b=cKOZr9geu2Cowkqhj9NufVOilj PuLY3eYj2e2QbmXwEWSTyHoW2PsEDxKkBOuSjvDirknXJrK3Zz3ADjwMScgvLAKAWj8HeSLNYOJdw erNHdx6CRdoLKADgZARutWwp4qj22Z6GmeHIvwe8YuVaCr41R3bVhRL8frMRJWKQwdG4mziyKqBaJ 8YCqumD402ibWnjPgVsElo/R8ua9QHLsXX76wSnOpB8HSVg4Hqc8lH/OvlJJqbkV2cVbFS8r3WPRu 30DDri0OuAfD0nUF8TK5HHkZusZaKQz3F4i2o4zVgcgvsMShnpT8JDLtrLuveftnBf4ohOfUok9Ox 8z0jfpMg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXCah-0004qI-Hk; Mon, 17 Jul 2017 20:26:03 +0000 Received: from vps0.lunn.ch ([178.209.37.122]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXCae-0004fU-KP for linux-arm-kernel@lists.infradead.org; Mon, 17 Jul 2017 20:26:02 +0000 Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1dXCa2-00031n-De; Mon, 17 Jul 2017 22:25:22 +0200 From: Andrew Lunn To: shawnguo@kernel.org Subject: [PATCH 5/5] ARM: dts: imx6: RDU2: Add Micrel PHY interrupt Date: Mon, 17 Jul 2017 22:25:04 +0200 Message-Id: <1500323104-11583-6-git-send-email-andrew@lunn.ch> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1500323104-11583-1-git-send-email-andrew@lunn.ch> References: <1500323104-11583-1-git-send-email-andrew@lunn.ch> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170717_132600_838699_69B6B784 X-CRM114-Status: UNSURE ( 6.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nikita.yoush@cogentembedded.com, Andrew Lunn , cphealy@gmail.com, p.zabel@pengutronix.de, linux ARM , l.stach@pengutronix.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Micrel PHY has its interrupt pin connected to a GPIO line. Wire this up in the device tree. Signed-off-by: Andrew Lunn --- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi index 83f311a51cca..eeb7679fd348 100644 --- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi @@ -61,7 +61,11 @@ &gpio6 4 GPIO_ACTIVE_HIGH>; phy: ethernet-phy@0 { + pinctrl-0 = <&pinctrl_rmii_phy_irq>; + pinctrl-names = "default"; reg = <0>; + interrupt-parent = <&gpio3>; + interrupts = <30 IRQ_TYPE_LEVEL_LOW>; }; };