Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752196AbcDUJTG (ORCPT ); Thu, 21 Apr 2016 05:19:06 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:63738 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751364AbcDUJS7 (ORCPT ); Thu, 21 Apr 2016 05:18:59 -0400 X-IronPort-AV: E=Sophos;i="5.24,512,1455004800"; d="scan'208";a="93484064" From: Pramod Kumar To: Rob Herring , Catalin Marinas , Will Deacon , Masahiro Yamada , Chen-Yu Tsai Cc: BCM Kernel Feedback , Pawel Moll , Mark Rutland , Arnd Bergmann , Suzuki K Poulose , Punit Agrawal , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Pramod Kumar Subject: [PATCH 4/6] dt: Add Shared MDIO Controller node for NS2 Date: Thu, 21 Apr 2016 14:48:41 +0530 Message-Id: <1461230323-27891-5-git-send-email-pramod.kumar@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461230323-27891-1-git-send-email-pramod.kumar@broadcom.com> References: <1461230323-27891-1-git-send-email-pramod.kumar@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1531 Lines: 55 Add NS2 Shared MDIO Controller DT node having eth phy as child. This node represents the NS2 AMAC eth phy. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 15 +++++++++++++++ arch/arm64/boot/dts/broadcom/ns2.dtsi | 8 ++++++++ 2 files changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2-svk.dts b/arch/arm64/boot/dts/broadcom/ns2-svk.dts index ce0ab84..2944418 100644 --- a/arch/arm64/boot/dts/broadcom/ns2-svk.dts +++ b/arch/arm64/boot/dts/broadcom/ns2-svk.dts @@ -87,3 +87,18 @@ #size-cells = <1>; }; }; + +&iproc_shared_mdio { + eth-master@0 { + compatible = "brcm,iproc-mdio-master-eth"; + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + status = "ok"; + + gphy0: eth-phy@10 { + reg = <0x10>; + phy-mode = "mii"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64/boot/dts/broadcom/ns2.dtsi index 6f81c9d..5b98c81 100644 --- a/arch/arm64/boot/dts/broadcom/ns2.dtsi +++ b/arch/arm64/boot/dts/broadcom/ns2.dtsi @@ -330,6 +330,14 @@ <0x65260000 0x1000>; }; + iproc_shared_mdio: iproc_shared_mdio@6602023c { + compatible = "brcm,iproc-shared-mdio"; + reg = <0x6602023c 0x14>; + reg-names = "mdio"; + #address-cells = <1>; + #size-cells = <0>; + }; + timer0: timer@66030000 { compatible = "arm,sp804", "arm,primecell"; reg = <0x66030000 0x1000>; -- 1.9.1