From patchwork Mon Jan 21 06:29:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2009291 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by patchwork1.kernel.org (Postfix) with ESMTP id 3CC9B3FDD2 for ; Mon, 21 Jan 2013 06:35:25 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0L6VQpf009934; Mon, 21 Jan 2013 00:31:26 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0L6VQsu003166; Mon, 21 Jan 2013 00:31:26 -0600 Received: from dlelxv23.itg.ti.com (172.17.1.198) by dfle72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.1.323.3; Mon, 21 Jan 2013 00:31:26 -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 r0L6VQJa019522; Mon, 21 Jan 2013 00:31:26 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 1199080627; Mon, 21 Jan 2013 00:31:26 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 0627980627 for ; Mon, 21 Jan 2013 00:30:59 -0600 (CST) Received: from medina.ext.ti.com (medina.ext.ti.com [192.91.81.31]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0L6UwjA007382 for ; Mon, 21 Jan 2013 00:30:58 -0600 (CST) Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by medina.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0L6Uvfv010135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 21 Jan 2013 00:30:58 -0600 Received: from [216.82.242.131:3225] by server-9.bemta-8.messagelabs.com id 8A/24-21701-1A0ECF05; Mon, 21 Jan 2013 06:30:57 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-14.tower-76.messagelabs.com!1358749853!27685825!1 X-Originating-IP: [209.85.210.50] 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 987 invoked from network); 21 Jan 2013 06:30:54 -0000 Received: from mail-da0-f50.google.com (HELO mail-da0-f50.google.com) (209.85.210.50) by server-14.tower-76.messagelabs.com with RC4-SHA encrypted SMTP; 21 Jan 2013 06:30:54 -0000 Received: by mail-da0-f50.google.com with SMTP id h15so2564745dan.9 for ; Sun, 20 Jan 2013 22:30:53 -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=Hz2moxBqZGd2BA8+cGoV/lejsJDlTPlFmAQ0SZPuw2s=; b=E8zj51LvkJBfVLlPeyc7fHkHoFNbKRrYyMRCiJC54/cyNV1h+htF1kZZIjLZEqWnKf au1Tm8adOIT8NlWmxMbvUuaa4qaISScDtyWBKMREiJ1TcFadyBohEUqv1aKaH8W9IaiB kIxikm0K5NG4VNhT4hOpAtqxrxdU/yVBsKqctE1SK+ZLSK+wXbmhrYkroXV5bjNXxN6u 6+JL2ei18SI9zaPFwEsPiLkJjloXJhYldASHw0JG4AK0rgea6F0CFMh3wYjSvQX0L6su EbDI5RQliahA3etfb92gEwIBQAv7BDm7Ek5+iXkz+v/L5khSyvjzLzMGgRPsSZ017R+j hdqg== X-Received: by 10.66.80.202 with SMTP id t10mr44429491pax.81.1358749853756; Sun, 20 Jan 2013 22:30:53 -0800 (PST) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPS id uk9sm8087888pbc.63.2013.01.20.22.30.49 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 20 Jan 2013 22:30:52 -0800 (PST) From: Prabhakar Lad To: LAK , DLOS Subject: [PATCH 1/2] ARM: davinci: da850: add DT node for eth0. Date: Mon, 21 Jan 2013 11:59:18 +0530 Message-ID: <1358749759-20517-2-git-send-email-prabhakar.lad@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1358749759-20517-1-git-send-email-prabhakar.lad@ti.com> References: <1358749759-20517-1-git-send-email-prabhakar.lad@ti.com> CC: , , LKML , 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 eth0 device tree node information to da850 by providing interrupt details and local mac address of eth0. 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 | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 37dc5a3..a1d6e3e 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -24,5 +24,8 @@ serial2: serial@1d0d000 { status = "okay"; }; + eth0: emac@1e20000 { + status = "okay"; + }; }; }; diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 640ab75..309cc99 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -56,5 +56,20 @@ interrupt-parent = <&intc>; status = "disabled"; }; + eth0: emac@1e20000 { + compatible = "ti,davinci-dm6467-emac"; + reg = <0x220000 0x4000>; + ti,davinci-ctrl-reg-offset = <0x3000>; + ti,davinci-ctrl-mod-reg-offset = <0x2000>; + ti,davinci-ctrl-ram-offset = <0>; + ti,davinci-ctrl-ram-size = <0x2000>; + local-mac-address = [ 00 00 00 00 00 00 ]; + interrupts = <33 + 34 + 35 + 36 + >; + interrupt-parent = <&intc>; + }; }; };