Message ID | 20200721100234.1302910-7-codrin.ciubotariu@microchip.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=yukz=BA=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> 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 E7E086C1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Jul 2020 10:08:31 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 C17162073A for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Jul 2020 10:08:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="0PzNILZu"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="wuo9+mmY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C17162073A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.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=merlin.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=ER6GsDvkcU1Lzg5JxbLuwX3zDBJUweom7rYutkQ9M5o=; b=0PzNILZutjiw4f+emODVvkjPW FcsAQCxIc687pgppVYWNvoiWuLTRB9+5O/G/TcQ9yIvxecCxmtdeVH8b87xbdHdTawgKtlkeZuVrG 9FxzS/Q0KCk7EPVX8FFyWF0eUZXWGm66CxkKSs8U4yPFTq4A6vA1wWYUdWGtfq4mSICa3/zmK5jts n2Gm5kA6lLGz32AXGtshWWrZ7vOzwh3F21ZVRmxAAWwdmW85MKaSfV7QLxfrO3RdZ0Qid6g2KV1dV 4JaZuwbzt51Padt5LzZCY1zKhKC3YTcc8dbxGWErVU9eUCMIR3lDFYFqf6EaCd2ueec1f4Ql9wQKJ TmsUJMiWw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxpB4-0006Py-Tl; Tue, 21 Jul 2020 10:07:15 +0000 Received: from esa3.microchip.iphmx.com ([68.232.153.233]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxpB2-0006Od-GM for linux-arm-kernel@lists.infradead.org; Tue, 21 Jul 2020 10:07:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1595326032; x=1626862032; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/xQWcdSlHsWygAH/DfFJrDsm8/BKa5avthMl6a1HWjg=; b=wuo9+mmYCly+yWe/pdMqGTvDqtYqrfI5n08txEkSstk7cAuDSCJOv5sr b+UKvpPQ1VYB3TfT8TIvBesAlij8WvIJ4KIFDuDvMYK5S+dbE9VseNXYR 9+EzphEjaUqMkzHi2q2e479aa09d0QnKk75xSZozaIXjarI5jDx0ujOsY WeaIUDJWkppzpU3lCk5CZdM6ZqmbaYK8kscDKCK1Ah2W4MD/Chor7tkZz /hTlq8x9DfDo626nfclbn53oW+eWoGTHvoy9SDCgSEW6QM6+hPazFpcnI dGb5owpMPKbm30Sy5lS9LJoPVxfn/wRT8kL7mWJvuSK+BFTEDyK9rCbgE Q==; IronPort-SDR: ICNgzqqeu9rUrNsgQ8lG0EgtR+5CUIT2rWm3noJC47ST2YO59lg5kd8CSamv9JzekXwZNfI7YN CccsGY0wvoTfACjMos9glVJG5bead1RbROewdcyfcYLGhzW7MlZs39BFx94181tsGSK9+h6yUP ItNZI1ShkByqqk2t0UaaA+JC5Tma0ZLl4waMV0FvdO0FmLAbC7HZOTXlAJOdD9IXjaUA0O5W7v xoOZm6zLoTpCSXqC4ZjXkruXROb99NxMSU70Uw9esi/cYXtK+U62Us5lQxKeOHB0RN569Lz+Z0 Ge8= X-IronPort-AV: E=Sophos;i="5.75,378,1589266800"; d="scan'208";a="84749239" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 21 Jul 2020 03:07:10 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Tue, 21 Jul 2020 03:07:08 -0700 Received: from rob-ult-m19940.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Tue, 21 Jul 2020 03:05:56 -0700 From: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> To: <netdev@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH net-next 6/7] ARM: dts: at91: sama5d4: add an mdio sub-node to macb Date: Tue, 21 Jul 2020 13:02:33 +0300 Message-ID: <20200721100234.1302910-7-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721100234.1302910-1-codrin.ciubotariu@microchip.com> References: <20200721100234.1302910-1-codrin.ciubotariu@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_060712_732449_9F63628C X-CRM114-Status: UNSURE ( 6.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.153.233 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [68.232.153.233 listed in wl.mailspike.net] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: andrew@lunn.ch, alexandre.belloni@bootlin.com, f.fainelli@gmail.com, claudiu.beznea@microchip.com, ludovic.desroches@microchip.com, robh+dt@kernel.org, kuba@kernel.org, Codrin Ciubotariu <codrin.ciubotariu@microchip.com>, davem@davemloft.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
Add an MDIO sub-node under MACB
|
expand
|
diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts index 924d9491780d..62598d06aead 100644 --- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts @@ -59,10 +59,14 @@ macb0: ethernet@f8020000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>; - phy0: ethernet-phy@1 { - interrupt-parent = <&pioE>; - interrupts = <1 IRQ_TYPE_LEVEL_LOW>; - reg = <1>; + mdio { + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@1 { + interrupt-parent = <&pioE>; + interrupts = <1 IRQ_TYPE_LEVEL_LOW>; + reg = <1>; + }; }; };
Use the new macb bindings and add an mdio sub-node to contain all the phy nodes. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)