From patchwork Thu Feb 12 14:06:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 5819951 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 B5CF29F336 for ; Thu, 12 Feb 2015 14:11:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DF14A2025A for ; Thu, 12 Feb 2015 14:11:32 +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 282B920259 for ; Thu, 12 Feb 2015 14:11:32 +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 1YLuSE-0003uj-0s; Thu, 12 Feb 2015 14:09:18 +0000 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLuS4-0003YC-HQ for linux-arm-kernel@lists.infradead.org; Thu, 12 Feb 2015 14:09:09 +0000 Received: by mail-wi0-f175.google.com with SMTP id r20so4557986wiv.2 for ; Thu, 12 Feb 2015 06:08:45 -0800 (PST) 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=oGPiw+wLKL/Ed0lbQO/cLbAtS95yslDxOuA6CPf/Bks=; b=ffDUwE/7NM5fyxy174ilqFDz83A5ESOdauVDUiBACs6HoBe+xN81fi8yZp84nN899s GwkEgamYUwaGp5EOXyktXZOLMj30iGtodphCT2S3t0KJOli8vnkJThHXROdOgZJ99FFf 2YM5bGQmHewxkEzivEON/pid6MTejp+o2WLYJ9CFSIeCqw96g1R1CWGjvEf400aHX36v 1tter2xlgjvA/DwBuUtr0VbRfx4nyBEzZEd4fM6/jN7JUtmWgi8m10O51ibMSqVJJYii yTcgC6STTUBAtX7PCW5lAwGlr5rUSzEXEBWy+W/oCfA7KkAHNtwzbbLJDUfFtwz3SadJ w5kQ== X-Received: by 10.180.12.233 with SMTP id b9mr6318720wic.49.1423750125340; Thu, 12 Feb 2015 06:08:45 -0800 (PST) Received: from cizrna.lan (37-48-47-45.tmcz.cz. [37.48.47.45]) by mx.google.com with ESMTPSA id df8sm2711911wib.2.2015.02.12.06.08.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Feb 2015 06:08:44 -0800 (PST) From: Tomeu Vizoso To: linux-tegra@vger.kernel.org Subject: [PATCH v6 08/15] ARM: tegra: Add EMC to Tegra124 device tree Date: Thu, 12 Feb 2015 15:06:24 +0100 Message-Id: <1423750042-6535-9-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1423750042-6535-1-git-send-email-tomeu.vizoso@collabora.com> References: <1423750042-6535-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150212_060908_747116_74EC7AC2 X-CRM114-Status: UNSURE ( 9.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.5 (/) 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 , Javier Martinez Canillas , 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";