From patchwork Thu Mar 12 14:48:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 5995791 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B43129F2A9 for ; Thu, 12 Mar 2015 14:53:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A0656203A1 for ; Thu, 12 Mar 2015 14:53:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D76762037E for ; Thu, 12 Mar 2015 14:53:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YW4RT-0002St-N2; Thu, 12 Mar 2015 14:50:31 +0000 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YW4RP-0001dm-Ma for linux-arm-kernel@lists.infradead.org; Thu, 12 Mar 2015 14:50:28 +0000 Received: by wghl18 with SMTP id l18so16881449wgh.5 for ; Thu, 12 Mar 2015 07:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=sKnNfbLyYro8uLB3LSVCp/Ewf24k2/mk0X1yZ/Jdows=; b=J4kNsECZUF00nyk0KgTLFz9ZvUJQgimoHMDFjJHWGLKPSrMeEzFRR70844WPDtkg+j VR5t0Bb9o+IBamQVXFyft9Ht3zKUwdJbOWGypLAjnvtSwm4oQ3Q59NszCU91dLnM1ZgC Hy9QJuPyFxji8N78dAYGM9VDAcs1Zs1Quo6VgDKx2ZvTfZgx7sPisV59Y3sNEKs0xUE4 Pu4tZ7Y2MPkbntR3rcc2j5E6I8/1hv7GPAB1Tzd3e+s3y2Si/549kndkyXc5OteEoWAW d6TNimHQxtbTLjtDgJqmt0NTtYoo7xSfjtzIKQltpqU/cWaOY90iFzOXVBFrevmErLBV 8RLQ== X-Received: by 10.180.12.194 with SMTP id a2mr64693848wic.55.1426171805574; Thu, 12 Mar 2015 07:50:05 -0700 (PDT) Received: from cizrna.lan ([109.72.12.88]) by mx.google.com with ESMTPSA id y14sm10349439wjr.39.2015.03.12.07.50.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2015 07:50:04 -0700 (PDT) From: Tomeu Vizoso To: linux-tegra@vger.kernel.org Subject: [PATCH v8 08/18] ARM: tegra: Add EMC to Tegra124 device tree Date: Thu, 12 Mar 2015 15:48:00 +0100 Message-Id: <1426171746-26864-9-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426171746-26864-1-git-send-email-tomeu.vizoso@collabora.com> References: <1426171746-26864-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150312_075027_913129_AE4B0901 X-CRM114-Status: GOOD ( 10.28 ) X-Spam-Score: -0.4 (/) Cc: Mark Rutland , Alexandre Courbot , Russell King , Tomeu Vizoso , Pawel Moll , Ian Campbell , Stephen Warren , linux-kernel@vger.kernel.org, Mikko Perttunen , Mikko Perttunen , devicetree@vger.kernel.org, Rob Herring , Thierry Reding , Kumar Gala , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mikko Perttunen This adds a node for the EMC memory controller. It is always enabled, but only provides read-only functionality without board-specific timing tables. Signed-off-by: Mikko Perttunen Signed-off-by: Tomeu Vizoso --- v5: Add a phandle to the CAR node that points to the EMC node --- arch/arm/boot/dts/tegra124.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 4be06c6..0fff4fb 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -207,6 +207,7 @@ reg = <0x0 0x60006000 0x0 0x1000>; #clock-cells = <1>; #reset-cells = <1>; + nvidia,external-memory-controller = <&emc>; }; flow-controller@0,60007000 { @@ -569,6 +570,13 @@ #iommu-cells = <1>; }; + emc: emc@0,7001b000 { + compatible = "nvidia,tegra124-emc"; + reg = <0x0 0x7001b000 0x0 0x1000>; + + nvidia,memory-controller = <&mc>; + }; + sata@0,70020000 { compatible = "nvidia,tegra124-ahci";