From patchwork Tue Nov 18 12:13:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 5328241 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EB6E29F1E1 for ; Tue, 18 Nov 2014 12:26:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 19CA020179 for ; Tue, 18 Nov 2014 12:26:01 +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 4C35120176 for ; Tue, 18 Nov 2014 12:26:00 +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 1Xqhox-0004yX-V9; Tue, 18 Nov 2014 12:23:47 +0000 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xqhov-0004oB-50 for linux-arm-kernel@lists.infradead.org; Tue, 18 Nov 2014 12:23:46 +0000 Received: by mail-wg0-f42.google.com with SMTP id z12so9399535wgg.15 for ; Tue, 18 Nov 2014 04:23:22 -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=TBLyBbF78w5S2MHhHEFv1LkHovzufG9Gq/+2hxmjcFM=; b=yV3u1qUb+pUGx8jfHI33sBlCZiJ7DoEigI80ENkGUAWcxrLIaCjnsZXPUixcNL44nK fR5HyFhjTTuJUTT/Rz3E/bTk4gzZSh+pW3qboVtVnYODCSNYwAdDNaumNLYstA/4X7i+ OBPdZtSQ6qNMiafbSQ9RxTFp3NwjS/kKtvFD5mG0nuJJb9loAhxOXGkrK+cs+fDZNO4p EZawKLbNONIS25EVYCOC90XBN1pL/hcHXEpVf/XOOagmKBnvATzLQRQZS38gk2Kge/Vu WAEeKeq4Ap8yqJAILIPSDidOkgwz1z/R/KwB9px94qrZu+9Yeb9ZKJHOd3Dgb/xcaacK e7mQ== X-Received: by 10.180.102.135 with SMTP id fo7mr39924183wib.79.1416313402588; Tue, 18 Nov 2014 04:23:22 -0800 (PST) Received: from cizrna.lan (37-48-52-184.tmcz.cz. [37.48.52.184]) by mx.google.com with ESMTPSA id dg7sm7736396wib.24.2014.11.18.04.23.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2014 04:23:21 -0800 (PST) From: Tomeu Vizoso To: linux-tegra@vger.kernel.org Subject: [PATCH v5 08/14] ARM: tegra: Add EMC to Tegra124 device tree Date: Tue, 18 Nov 2014 13:13:10 +0100 Message-Id: <1416312860-4446-9-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1416312860-4446-1-git-send-email-tomeu.vizoso@collabora.com> References: <1416312860-4446-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141118_042345_424461_34885305 X-CRM114-Status: GOOD ( 10.76 ) X-Spam-Score: -0.7 (/) Cc: Mark Rutland , Alexandre Courbot , Russell King , Pawel Moll , Tomeu Vizoso , Ian Campbell , Stephen Warren , linux-kernel@vger.kernel.org, Mikko Perttunen , mikko.perttunen@kapsi.fi, devicetree@vger.kernel.org, Rob Herring , acourbot@nvidia.com, Kumar Gala , Thierry Reding , 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=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, 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 43f71d8..1c8b941 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";