From patchwork Tue Oct 22 13:16:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=A9bastien_Szymanski?= X-Patchwork-Id: 11204417 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5CC031515 for ; Tue, 22 Oct 2019 13:19:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A97621783 for ; Tue, 22 Oct 2019 13:19:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Q0lpC2u/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A97621783 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=armadeus.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=LpBYQjbv2ytmYadBjHr36Q/ZupeqkmaSWIhOgHHYNSk=; b=Q0lpC2u/sxGRhY 3Rt2kUplRMNxcxDJVstX+gqObO3LP4WwohmpgUew7Oco0+/Rku0FPDEYSrKSGBv5f0GSNqj982Sv3 FbSO1MFWGiAWnCnvumNk3gbxhmub7P+Cf/eFfW6hxx1IaWzd28DFgbiDyhSzqASJDzVN/6Fjf/JUK 2BJmJ1yf7OcE9t0EJOyGt+ukmGRW4aCA3ECCP25y2VLZGu4wQGVpE7+BAC3v3IC2+vjZlb4BBOGhL AzVnTVEQNdLgIqC/IDSKmqX+y/Z3/RXv6p2Hje75nAzij2IdVzTiHJhd0/XpeBLFeb+Fzfh4MTW6a inZN+lvpMDJAoK9Tc4Tg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iMu43-00006o-B7; Tue, 22 Oct 2019 13:19:07 +0000 Received: from 3.mo69.mail-out.ovh.net ([188.165.52.203]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iMu3Q-0007xQ-NO for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2019 13:18:30 +0000 Received: from player793.ha.ovh.net (unknown [10.109.146.168]) by mo69.mail-out.ovh.net (Postfix) with ESMTP id D0B3E6D3FF for ; Tue, 22 Oct 2019 15:18:24 +0200 (CEST) Received: from armadeus.com (lfbn-1-7591-179.w90-126.abo.wanadoo.fr [90.126.248.179]) (Authenticated sender: sebastien.szymanski@armadeus.com) by player793.ha.ovh.net (Postfix) with ESMTPSA id F286CB3E3F70; Tue, 22 Oct 2019 13:18:10 +0000 (UTC) From: =?utf-8?q?S=C3=A9bastien_Szymanski?= To: Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: [PATCH 3/9] ARM: dts: imx6qdl-apf6: add phy to fec Date: Tue, 22 Oct 2019 15:16:49 +0200 Message-Id: <20191022131655.25737-4-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191022131655.25737-1-sebastien.szymanski@armadeus.com> References: <20191022131655.25737-1-sebastien.szymanski@armadeus.com> MIME-Version: 1.0 X-Ovh-Tracer-Id: 117093590818575429 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrkeejgdeivdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191022_061829_000264_A8B51F8E X-CRM114-Status: GOOD ( 10.38 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [188.165.52.203 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Julien Boibessot Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add the mdio bus and the phy to the fec-node. Signed-off-by: Sébastien Szymanski --- arch/arm/boot/dts/imx6qdl-apf6.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-apf6.dtsi b/arch/arm/boot/dts/imx6qdl-apf6.dtsi index 10981c74c90d..37cbdfd4fb33 100644 --- a/arch/arm/boot/dts/imx6qdl-apf6.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apf6.dtsi @@ -11,7 +11,21 @@ phy-mode = "rgmii-id"; phy-reset-duration = <10>; phy-reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; + phy-handle = <ðphy1>; status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy1: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + interrupt-parent = <&gpio1>; + interrupts = <28 IRQ_TYPE_LEVEL_LOW>; + status = "okay"; + }; + }; }; /* Bluetooth */