From patchwork Thu May 14 16:11:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 48515 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 114D021411 for ; Thu, 14 May 2015 16:11:41 +0000 (UTC) Received: by laat2 with SMTP id t2sf21758237laa.2 for ; Thu, 14 May 2015 09:11:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=TkbMqkfQsE/rT1pbKHdH+QIPO2aqgd/cwNLBK1BO+vk=; b=UkXcz44egDQpWeVEiS2fCBcYnfZ2+Lb8XapXBgQ9XIZPp10ALJeE7xBrz8X+qqh62w m9+TyZBpPXuPiJ1VUubbhb3oQqC87adwB8/z7wVV20Yvfty2M+mRRVVGpeS4FMwvLzUm oweMV5OVBmLI3ZvPNUbxB9Dd2cdTdyp0pzvTo/NqOjN1RmLfVYbVZiUf/ytqw3X5GW82 nJXX/rItRrJ+5xqYgF9nod2/d+sSabyEUhxlBF9VjrxpcetIT8QG2FzUQw1m+3hf/roh 7RBGye6vDXGfFyImNSGx+lWa6tL9+WE0cIj/khpwFnyQbREfuE8aqe5rWpkEpesOGG0H ijIQ== X-Gm-Message-State: ALoCoQl8cacnPOLreVJuFIrrjRQEw2tUSWGB3m1/VZ0A5RBxPZvASE/1zS/9D1/1NYGIEZYUJsP+ X-Received: by 10.112.122.39 with SMTP id lp7mr3525786lbb.5.1431619900071; Thu, 14 May 2015 09:11:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.73 with SMTP id i9ls431620lai.100.gmail; Thu, 14 May 2015 09:11:39 -0700 (PDT) X-Received: by 10.152.36.227 with SMTP id t3mr3950622laj.12.1431619899932; Thu, 14 May 2015 09:11:39 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id b2si14852821lbd.52.2015.05.14.09.11.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 09:11:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by labbd9 with SMTP id bd9so74968105lab.2 for ; Thu, 14 May 2015 09:11:39 -0700 (PDT) X-Received: by 10.152.87.204 with SMTP id ba12mr3869836lab.35.1431619899839; Thu, 14 May 2015 09:11:39 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1375831lbb; Thu, 14 May 2015 09:11:38 -0700 (PDT) X-Received: by 10.68.87.35 with SMTP id u3mr9413586pbz.127.1431619894964; Thu, 14 May 2015 09:11:34 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1si33041366pbs.72.2015.05.14.09.11.34; Thu, 14 May 2015 09:11:34 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932679AbbENQL2 (ORCPT + 7 others); Thu, 14 May 2015 12:11:28 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:35708 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965138AbbENQL1 (ORCPT ); Thu, 14 May 2015 12:11:27 -0400 Received: by labbd9 with SMTP id bd9so74958159lab.2 for ; Thu, 14 May 2015 09:11:25 -0700 (PDT) X-Received: by 10.112.13.98 with SMTP id g2mr3894290lbc.102.1431619885571; Thu, 14 May 2015 09:11:25 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ew6sm6259045lbc.40.2015.05.14.09.11.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 09:11:24 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Linus Walleij Subject: [PATCH 4/4] ARM: ux500: define the backupram in the device tree Date: Thu, 14 May 2015 18:11:07 +0200 Message-Id: <1431619867-14700-5-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1431619867-14700-1-git-send-email-linus.walleij@linaro.org> References: <1431619867-14700-1-git-send-email-linus.walleij@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The Ux500 SOCs have a special backup RAM that needs to be defined in the device tree. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-dbx5x0.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi index f024a1c0de8b..853684ad7773 100644 --- a/arch/arm/boot/dts/ste-dbx5x0.dtsi +++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi @@ -190,6 +190,15 @@ reg = <0xa0410000 0x100>; }; + /* + * The backup RAM is used for retention during sleep + * and various things like spin tables + */ + backupram@80150000 { + compatible = "ste,dbx500-backupram"; + reg = <0x80150000 0x2000>; + }; + L2: l2-cache { compatible = "arm,pl310-cache"; reg = <0xa0412000 0x1000>;