From patchwork Tue Jul 21 17:13:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 11676323 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 AFB8F13B4 for ; Tue, 21 Jul 2020 17:22:25 +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 8615E2068F for ; Tue, 21 Jul 2020 17:22:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="L2NwE3Mh"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="PAezypFX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8615E2068F 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=4okrrxM0F4/wOMRMubEzgcAof5+kS4IzV2g829JsClo=; b=L2NwE3Mhgf1iiqN4gdjcaLd6h eIJsCDLzReYYtxdzNXqsexrIe4AyAdY7n6VzscLvpWOF93V+3r3lkzWq2cATzjFxKAlQnzimwuwDF ZUTlDd/h0gR2TbrMqqeikh15yhkVUHuZFToKLEbGjgwg7OZDKv6kgmZKEY3XXyJ5GoevlAeN/vXlW Q/RYMwsM03W+AH7W/MAFF3z4aOy7LwNUGMTIcykN5oFzLyJ0Bgas+ERCAqWkdJAQRgVUOG1RhXXow YzPP3Geeg80T2I5xHAHglg8ZOQAjokoZAGlVx9WaHmB9lCSlUn+FcQ7YLohteXcuIYqLIix2aYZWi I2a9DfWBw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxvwl-0002AL-HH; Tue, 21 Jul 2020 17:20:55 +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 1jxvwj-00029D-1s for linux-arm-kernel@lists.infradead.org; Tue, 21 Jul 2020 17:20:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1595352053; x=1626888053; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=djao7XJFkQBlS3QbE2ngJuOq6kvDMlGOyGzmYSfMPxE=; b=PAezypFXn5keAN/GKF+rAC+7n+DVgKUXAkCoKAhC3kYw3ZWxK+WHQVVk WnlRSBbXdTJUPu3y+jjlRKlt8bCq89HDVo7CzEc8dsyqLNpRVX7AaBtr5 Zk4vRaQwQnRogcSumLaGagdj9Do9hgaKPoxeT9ewO1xmB0x0ROQ8w/diu c3Xtpe6ljyS/RKa2aI3licNTPAp/xvIXZxyhkp2FGkXMoW0WiZOZYyvgv 0p5kh6ABqqOlIw1lDN39DId+ZyJp0iewmQ4O1WPFUB5ebxJHBUQU1Zjkl +KztbBehEHBBV4DSKPPPXjdNWNxTB9yEwa31h+r2NY+9Nt2U0KHYLJhTZ w==; IronPort-SDR: H6UjchvUyd5cFnz/ERy9emwbTS70swPTeoiMJO4YC0mN7OrvQe06ZYQ7AGU8WsQB7EG8nfGbJy EqasAqoe1a9CwO5Cw9WgL4YHG06lndPbMocJWYVzTij0DwOdCIw3L2C3C5NRNuWnFyU4MZvHQB eIkOA2K7Io5F06W4LtXoDAV4mpnmW+Rwqfst+KnV7U7Vdv1MZndmj/LoIQZGL4WGUkh3hzA18Q bcho2OP7k75V7XO23u2ZDgvE05d2wIWk0WGFM2bUR0GIkh/7cOBCbiNYSPlD640TN5Wmm2r2Nw EzE= X-IronPort-AV: E=Sophos;i="5.75,379,1589266800"; d="scan'208";a="84067153" 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 10:20:52 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) 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 10:20:50 -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 10:19:52 -0700 From: Codrin Ciubotariu To: , , , Subject: [PATCH net-next v2 5/7] ARM: dts: at91: sama5d3: add an mdio sub-node to macb Date: Tue, 21 Jul 2020 20:13:14 +0300 Message-ID: <20200721171316.1427582-6-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721171316.1427582-1-codrin.ciubotariu@microchip.com> References: <20200721171316.1427582-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_132053_290057_A5B85273 X-CRM114-Status: UNSURE ( 6.78 ) 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 Reviewed-by: Florian Fainelli --- Changes in v2: - none; 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>; + }; }; };