From patchwork Tue Jul 21 10:02:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 11675305 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 07910138C for ; Tue, 21 Jul 2020 10:07:48 +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 CD3E52073A for ; Tue, 21 Jul 2020 10:07:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Q2lZpqiY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="1GcCNypr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CD3E52073A 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=ALY82XIJNwVMBE5aK0jOI/c/YO2oqAyJ0zf+puX2avk=; b=Q2lZpqiYMOyf+puqwYsrieCXn BVl9ohFF6LydQTGHkFegq4c83uHKWmc3xT3rbG/152Yb/+Xe1hNKLwAi0NAhZ7bB+t2IePeoeE7ta p8NpmQSMyMViy6HX9a75JyWkrrBxt0vNnQWEBKWqc/cu8yl+N77r0a4PpEVYagVnnxTRuZWxm32Mn PObe9lZHJBVTdvRPgFuW8hgUVwTl6MIcDQotoQ2PXi/P4gD7cYBZxu0mwRguagJFdHIb++rtuFXux py0sk/FyWIpAgpf6L1xQLxRkBNi7hTRLQjtcQvBBHbVUVC5SVjhbRd0G6JrVAFwjR5tqKr+2rDErp Rfkmj026w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxpAO-00069h-LM; Tue, 21 Jul 2020 10:06:32 +0000 Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxpAL-00068K-84 for linux-arm-kernel@lists.infradead.org; Tue, 21 Jul 2020 10:06:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1595325989; x=1626861989; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ugupFvNUPF8FuehP3ksTBUyo0lliEzV3XM3HFd37shU=; b=1GcCNypr9FYHxQFn0U0QTbziBGgPuXndHjmVqg6jn8cN3D7DoOwMwSnZ 69WI6EucFFU4IMdjV4Clpuxpwu91x3/e7Azv35JEG80XuXVBI4SS6Cy0V SNbW3PkAZ05WBFN2Ga+oa/xL2hIvwdSJMuIrfe/vn2dDhXZ66CVZkNu+H ulHkUa3cpvzguw/DYnM58SYXEsz9iKu8SK86QycQtNqOHSVUUjuRv438j nx5o4W2MBTAtdAaHfE7gesc379MIjbB+HmZKUfE0lLkyjWmqTfuuzDE6v hIo/qbNtHR9xeoOTPWA4r91VZdxhA71KmAxo6CsCF3XOi9LYcFEAm6dkG Q==; IronPort-SDR: FGePf6p8HLuXtALEkGo3Low74GqV4AxxjBQqDVu8qRvPfx1kKZC7BrozdV2daQo2ur73pQULTZ Oc1Scj8uNmDy/2LX08X+q9PpiUocbKfU0+goT3k+lyXwhF5w0tP7WQ6IVe8fMMC1MN8aGMh4n+ FIWuneeIZT2RrFHIp8ber/wfMgb/V67LaiCGsi6Kl/fx+D+vQurIj3xct+S9VYE2zXkrpFhSM5 Qnx3r8P+5+hQ6T6IUC7mlwcmku8sEw0jiy45fgNx7JnBimaps7r3HeQFbKSMVcU9UTlq6PrLHM VJM= X-IronPort-AV: E=Sophos;i="5.75,378,1589266800"; d="scan'208";a="84004861" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 21 Jul 2020 03:06:28 -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:06:25 -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:14 -0700 From: Codrin Ciubotariu To: , , , Subject: [PATCH net-next 5/7] ARM: dts: at91: sama5d3: add an mdio sub-node to macb Date: Tue, 21 Jul 2020 13:02:32 +0300 Message-ID: <20200721100234.1302910-6-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_060629_434551_0BFCA093 X-CRM114-Status: UNSURE ( 7.03 ) 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 [216.71.150.166 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.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 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: 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 , davem@davemloft.net Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Use the new macb bindings and add an mdio sub-node to contain all the phy nodes. Signed-off-by: Codrin Ciubotariu --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index 61f068a7b362..25d2646ce4cb 100644 --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts @@ -133,8 +133,12 @@ macb0: ethernet@f0028000 { #size-cells = <0>; status = "okay"; - ethernet-phy@7 { - reg = <0x7>; + mdio { + #address-cells = <1>; + #size-cells = <0>; + ethernet-phy@7 { + reg = <0x7>; + }; }; }; @@ -200,8 +204,12 @@ macb1: ethernet@f802c000 { #size-cells = <0>; status = "okay"; - ethernet-phy@1 { - reg = <0x1>; + mdio { + #address-cells = <1>; + #size-cells = <0>; + ethernet-phy@1 { + reg = <0x1>; + }; }; };