From patchwork Fri Jul 24 10:50: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: 11682987 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 E9F3D138A for ; Fri, 24 Jul 2020 10:54:15 +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 C1A042073E for ; Fri, 24 Jul 2020 10:54:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wV37Xigl"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="S6Ejr826" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1A042073E 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=2FqIvcUJrmbBeX7zVKYVn8FSeaDPn0zaaealn22KV9s=; b=wV37Xigl5NJyEfaZ8rXkKg/1A RRMInP8q8c/EF3r5H02oKOCLmkQRpx3s1IRtQiRPr5U4T8FrToQ8idXjlpZhUkvtskelytIBEJjjj Yxj6AjHv1TFVKV5NHKFsN5jm+07Zka9Pdi6e5C4M4xfbH1sPB9Bif+vtRgm4MjpbeT34p+s46SEAM btyEMmd+gwm0M7BpA8eGigkfzu/7w0W2oHexV2yTkG4pt5f8dvF98NRg1KEEAVvZxFptC2qxZEwBK 0y4XHwzjrfhXrIU1LzE3XI5yOBpIqW6zZzMoH11Y0N6vQZfTAAP1crRLm7u3VjvMJ6ml0cdn0D2V9 +n70SiwMg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyvJQ-0003k2-5G; Fri, 24 Jul 2020 10:52:24 +0000 Received: from esa4.microchip.iphmx.com ([68.232.154.123]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyvIF-0003Ct-RK for linux-arm-kernel@lists.infradead.org; Fri, 24 Jul 2020 10:51:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1595587871; x=1627123871; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RNLy3SNdJWGs/dvVv791yY4/covPYOf3+6f/EUHhRqs=; b=S6Ejr826mgIxUqHky6f4FBG4MtF3/D46OeyCPhMyijjgq+u6wATCW3MN N9zXlM0MXnUotcuMT2UlWcNjbGohfPKn74MsmZCbus+jPfEQItgmQGuBj 5au3Lbczce8tHtb3UguovzueqzTDA5sdomc4QVpXzEZ5ls1lMdwfwCrDr xlRJcE2Advhsk0M/13CsQOvqiE8R+SwZ+K0sotGqqJnk3ZnKYt790+WGg PmsSzyLh8knR7SkHYHvX4ejsL8yPVV7SGdyC+CO/L2V70izrP+lZkCayn wUDXoa9zEmeQqqiq2mKR2MbyCZzPwT3gBYfCrrvvra0fKbQpLVPDLbp+X A==; IronPort-SDR: cqYyOeTG/ohZsRTIsmjRLxt4zcO69+k+MK8UluWjjdkaVC9JN0+w6vCZAy0MKKaeJNearsNWUc Oh6/c803pm1sl64roY5pCMxAkwdXDVJOA6CVE9UJ3bUdj2Soqboux2HLefrNfmQrn/awOJ0zrP eA8Tt4XlpwESV3UQsS+wEURSwyHyHOcePPFyWf4PjNBBWWkP/+qqKPkJ3KR00JsTZrU+DFdqHY NJmeA51O3u/oIui9VZh7Qm5D8pEhU9iAiIg+n7PCPCknH97QPQynRqrSwdLLKWdCBVAIxel9cH Ryw= X-IronPort-AV: E=Sophos;i="5.75,390,1589266800"; d="scan'208";a="81155781" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Jul 2020 03:51:11 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Fri, 24 Jul 2020 03:50:30 -0700 Received: from rob-ult-m19940.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Fri, 24 Jul 2020 03:50:25 -0700 From: Codrin Ciubotariu To: , , , Subject: [PATCH net-next v3 6/7] ARM: dts: at91: sama5d4: add an mdio sub-node to macb Date: Fri, 24 Jul 2020 13:50:32 +0300 Message-ID: <20200724105033.2124881-7-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200724105033.2124881-1-codrin.ciubotariu@microchip.com> References: <20200724105033.2124881-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-20200724_065112_077611_202D90C3 X-CRM114-Status: UNSURE ( 7.47 ) 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 ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [68.232.154.123 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.154.123 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_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 Message has at least one valid DKIM or DK signature -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: 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 v3: - added tag from Florian Changes in v2: - none arch/arm/boot/dts/at91-sama5d4_xplained.dts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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>; + }; }; };