Message ID | 20200721171316.1427582-8-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 CCEC113B4 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Jul 2020 17:23:13 +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 A46062068F for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Jul 2020 17:23:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hywLwr7C"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="lw/szNsM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A46062068F 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=kUB6bCZiVRQ9frnFJsqYygJ93wMzl2MoJXPFwqFo9GU=; b=hywLwr7Cz2ROs93mAOBFFiG4k M3z6mNOwEDw+5xTHZY6aOYrQhvL9ff6d2hdHZfGejjA4gU2N8Xz+ztyPg2p/fZ4vpV5UTCUgMyPqb YS2SO5B8U+BiLWxlugdhQ0SeWeT0lFRwpkVPyzolj7u+Mk+GjKZXdS8iva/TQ/sNS/R5uX8bwomtU 4POrjJM5hyGs6UrTJ5OXJoT4qNLPDmpbwLScCki0ThnSoSBdAwPMYkwHShL8iwPPWSbFqBl/EpGYk TbTM6XnAsr7IkG96Ida9hV5z6/NjKnfzcQLZ2I4gLtRuIdjeuyr38gdJyeIf8uzTQ+TvpjqxXzBim ap2NDG+Ew==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxvxh-0002P6-4e; Tue, 21 Jul 2020 17:21:53 +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 1jxvxd-0002O9-Uz for linux-arm-kernel@lists.infradead.org; Tue, 21 Jul 2020 17:21:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1595352110; x=1626888110; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Cr9yMh/643YG+tS2Nsorca62cbZHykMm0kwOqg1UwAk=; b=lw/szNsMajlb+0AdVo8voOGoG/msPvajoNGh8yH6vKT+IUNw1d5wqFo2 JMO+ruKApIR4Zud3EDItOlwybE6NOBYUtgVNj/Yma8f0EAmiVYeFC/Jz7 J+KcKTa2BDFS0ApkxoMq57h4xMtRc+Tcwos8chSvHmZJ5NoC/f0SP8az0 xzZvUiR+wG/W/QgiwrSkPONdmdthBwfQYW4wIttUUGr1kEMPBqdjwnSX4 pwSSldYwpwkDYuuPnJhjxglGUrB6aVOj1fhnIfquVxXdQM1cJ64BLWP56 PCO0YNHJfDC/ofEpSIHOS07kFdR3VTNub2Vc6ocb8y5AVaFu/38ICWrry Q==; IronPort-SDR: CcUTc3On6c0yp9yuLQT1QB8qmu3kf1ctzNkAZV5ykz+c/Q4nHoQAmZsZXurSKjCElhdpE9vH3X jviXJD+TgYaZfN7gnZ3sCQD0xVo3KtgMuMMonpP989J6dwByPekkqtHLlHUj8URJbA/vwgc2zu etVGQzMqLQDCpsrUbbFKPiatvFNQsrnpSJQSZocfLuYXb3e1rVQQBLP3Of2S8Pu/Q70iPcdG/f oswuX8YdXbPr3uCVZQR1raA7mdWkVOwhzBIFqJUd4p2nxS0rUtgLsXJOjG7a3SJY7YsOZchP0J XaE= X-IronPort-AV: E=Sophos;i="5.75,379,1589266800"; d="scan'208";a="84067376" 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:21:49 -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:21:47 -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:20:43 -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 v2 7/7] ARM: dts: at91: sam9x60: add an mdio sub-node to macb Date: Tue, 21 Jul 2020 20:13:16 +0300 Message-ID: <20200721171316.1427582-8-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_132150_147546_EBDFB2D7 X-CRM114-Status: UNSURE ( 7.87 ) 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: <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
|
On 7/21/20 10:13 AM, Codrin Ciubotariu wrote: > 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> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts index a5f5718c711a..ba871ebe10d4 100644 --- a/arch/arm/boot/dts/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts @@ -324,8 +324,12 @@ &macb0 { pinctrl-0 = <&pinctrl_macb0_rmii>; status = "okay"; - ethernet-phy@0 { - reg = <0x0>; + mdio { + #address-cells = <1>; + #size-cells = <0>; + ethernet-phy@0 { + reg = <0x0>; + }; }; };
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> --- Changes in v2: - none arch/arm/boot/dts/at91-sam9x60ek.dts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)