From patchwork Mon Jan 28 13:47:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2056091 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by patchwork2.kernel.org (Postfix) with ESMTP id 75D20E00C6 for ; Mon, 28 Jan 2013 13:53:40 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0SDndSh013254; Mon, 28 Jan 2013 07:49:39 -0600 Received: from DLEE74.ent.ti.com (dlee74.ent.ti.com [157.170.170.8]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0SDndBK014548; Mon, 28 Jan 2013 07:49:39 -0600 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DLEE74.ent.ti.com (157.170.170.8) with Microsoft SMTP Server id 14.1.323.3; Mon, 28 Jan 2013 07:49:39 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0SDncTP022383; Mon, 28 Jan 2013 07:49:38 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 649948062A; Mon, 28 Jan 2013 07:49:38 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id 3A3168062B for ; Mon, 28 Jan 2013 07:48:44 -0600 (CST) Received: from white.ext.ti.com (white.ext.ti.com [192.94.93.38]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id r0SDmhHE008366 for ; Mon, 28 Jan 2013 07:48:43 -0600 (CST) Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by white.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0SDmhoq013941 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 28 Jan 2013 07:48:43 -0600 Received: from [216.82.242.147:58049] by server-15.bemta-8.messagelabs.com id F1/97-10463-BB186015; Mon, 28 Jan 2013 13:48:43 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-14.tower-95.messagelabs.com!1359380921!30034569!1 X-Originating-IP: [209.85.220.42] X-SpamReason: No, hits=0.0 required=7.0 tests=ML_RADAR_SPEW_LINKS_14, spamassassin: X-StarScan-Received: X-StarScan-Version: 6.7; banners=-,-,- X-VirusChecked: Checked Received: (qmail 13004 invoked from network); 28 Jan 2013 13:48:42 -0000 Received: from mail-pa0-f42.google.com (HELO mail-pa0-f42.google.com) (209.85.220.42) by server-14.tower-95.messagelabs.com with RC4-SHA encrypted SMTP; 28 Jan 2013 13:48:42 -0000 Received: by mail-pa0-f42.google.com with SMTP id rl6so1538244pac.15 for ; Mon, 28 Jan 2013 05:48:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=Tp3gPJKJNyRo/XmjEYnnOsWqPeHJbL9kSNbVcXEZmpI=; b=D+pmb+5VCb4OlswQhuNjCnndkbIZ/36sCyecqS+fNc+cJuCr27TV6l8hdJ4CAIUykW xZOg0ksfWNj4MM8XEkK+6XBUF9HmhyBonCLc96o+rlssr7lPzDlZABmrYeycgJtuhH8N gQbB8jNIM3mAudtlfN+MS/5+GsjG/yzNEMG73XI93GtHJXnskoPen3gZmn1OcLCyF6rC MpoVQAqB95racVn+gByHLvwWyCSRjkCIs2kJ4flwJ+gSz3e5wlA227xleXBFXQJLWXWc 7zvRM22DrQl7lK7h3KH8+yKelyQrFiZpAi96dwzTjUIgqZ/dN65mvcei43cJu4teVMWZ UMSg== X-Received: by 10.68.196.133 with SMTP id im5mr38209273pbc.16.1359380921426; Mon, 28 Jan 2013 05:48:41 -0800 (PST) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPS id nm2sm6355934pbc.43.2013.01.28.05.48.37 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 28 Jan 2013 05:48:40 -0800 (PST) From: Prabhakar Lad To: Sekhar Nori , , Subject: [PATCH v2 2/6] ARM: davinci: da850: add DT node for mdio device Date: Mon, 28 Jan 2013 19:17:55 +0530 Message-ID: <1359380879-26306-3-git-send-email-prabhakar.lad@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1359380879-26306-1-git-send-email-prabhakar.lad@ti.com> References: <1359380879-26306-1-git-send-email-prabhakar.lad@ti.com> CC: , , Heiko Schocher , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com From: Lad, Prabhakar Add mdio device tree node information to da850 by providing register details and bus frequency of mdio. Signed-off-by: Lad, Prabhakar Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: davinci-linux-open-source@linux.davincidsp.com Cc: netdev@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org Cc: Sekhar Nori Cc: Heiko Schocher --- arch/arm/boot/dts/da850-evm.dts | 3 +++ arch/arm/boot/dts/da850.dtsi | 7 +++++++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 98c1a48..a319491 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -27,6 +27,9 @@ serial2: serial@1d0d000 { status = "okay"; }; + mdio: davinci_mdio@1e24000 { + status = "okay"; + }; }; nand_cs3@62000000 { status = "okay"; diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 7c84822..ba28f2d 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -81,6 +81,13 @@ interrupts = <61>; status = "disabled"; }; + mdio: davinci_mdio@1e24000 { + compatible = "ti,davinci_mdio"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x224000 0x1000>; + bus_freq = <2200000>; + }; }; nand_cs3@62000000 { compatible = "ti,davinci-nand";