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: 1335598 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=S6Ejr826; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BCmGF3j49z9sTC for ; Fri, 24 Jul 2020 20:51:17 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728197AbgGXKvN (ORCPT ); Fri, 24 Jul 2020 06:51:13 -0400 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:43033 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbgGXKvM (ORCPT ); Fri, 24 Jul 2020 06:51:12 -0400 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: , , , CC: , , , , , , , , , "Codrin Ciubotariu" 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 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.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>; + }; }; };