From patchwork Wed Mar 11 10:34:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 5983291 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 6A8AF9F2A9 for ; Wed, 11 Mar 2015 10:39:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B62E2037F for ; Wed, 11 Mar 2015 10:39:39 +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 B578F20375 for ; Wed, 11 Mar 2015 10:39:38 +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 1YVe19-0000FW-Je; Wed, 11 Mar 2015 10:37:35 +0000 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YVe14-000077-8B for linux-arm-kernel@lists.infradead.org; Wed, 11 Mar 2015 10:37:31 +0000 Received: by wivr20 with SMTP id r20so37727666wiv.5 for ; Wed, 11 Mar 2015 03:37:08 -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=VVtBWXIpjo9PWam/IatPdtSN6uUERvVI6syki9I7y/fejTaUVb1/lhDu+1jzoKcVeN sIVtUIElajRqu+PLh2AT7Sgsn0XPpWpgVKePcvXMQKHL5jL3m7mikYNGkGp/VoPPs9Py J8+uGXu7BxQS93a4zsJyyiC7mGaigHx1KawyOKZhmi1A8Isep2mwsqJZqdR6TpPMAvy2 7yYV1Qt6zuDJH/wG8Z6sGjhGmj4sObkhDQUtDz36nHPG1p9lafmaqait9jOy8l4guFti SDk3/Qp2VbR6yyQUl43N3Ffc4G7O14TQiqcsvoRbvrWetH8S8RTe+yn29YOzTLtFI0LU 84gg== X-Received: by 10.195.13.168 with SMTP id ez8mr75714016wjd.30.1426070228277; Wed, 11 Mar 2015 03:37:08 -0700 (PDT) Received: from cizrna.lan ([109.72.12.53]) by mx.google.com with ESMTPSA id lj13sm5528244wic.9.2015.03.11.03.37.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Mar 2015 03:37:07 -0700 (PDT) From: Tomeu Vizoso To: linux-tegra@vger.kernel.org Subject: [PATCH v7 08/18] ARM: tegra: Add EMC to Tegra124 device tree Date: Wed, 11 Mar 2015 11:34:21 +0100 Message-Id: <1426070126-26910-9-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426070126-26910-1-git-send-email-tomeu.vizoso@collabora.com> References: <1426070126-26910-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150311_033730_482903_4BA04D44 X-CRM114-Status: GOOD ( 10.16 ) 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 , 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";