From patchwork Mon May 9 21:49:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 9050191 Return-Path: X-Original-To: patchwork-linux-omap@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 DFF319F372 for ; Mon, 9 May 2016 21:50:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0649C200F3 for ; Mon, 9 May 2016 21:50:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 11D7720142 for ; Mon, 9 May 2016 21:50:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753188AbcEIVuJ (ORCPT ); Mon, 9 May 2016 17:50:09 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:50817 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752895AbcEIVuH (ORCPT ); Mon, 9 May 2016 17:50:07 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id u49Lnj5P020767; Mon, 9 May 2016 16:49:45 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u49LnjZf020127; Mon, 9 May 2016 16:49:45 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Mon, 9 May 2016 16:49:45 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id u49Lnj7O032279; Mon, 9 May 2016 16:49:45 -0500 Received: from localhost (uda0274052.am.dhcp.ti.com [128.247.83.19]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id u49Lnj305072; Mon, 9 May 2016 16:49:45 -0500 (CDT) From: Dave Gerlach To: , CC: Tony Lindgren , Dave Gerlach Subject: [PATCH 2/6] ARM: dts: omap3: Add ocmcram node Date: Mon, 9 May 2016 16:49:22 -0500 Message-ID: <1462830566-28708-3-git-send-email-d-gerlach@ti.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1462830566-28708-1-git-send-email-d-gerlach@ti.com> References: <1462830566-28708-1-git-send-email-d-gerlach@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Add an ocmcram node to omap3 dtsi using the mmio-sram driver to represent the 64kb of SRAM available on omap3 and it's derivatives. Signed-off-by: Dave Gerlach --- arch/arm/boot/dts/omap3.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index b41d07e8e765..a267616c3c68 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -59,6 +59,7 @@ mpu { compatible = "ti,omap3-mpu"; ti,hwmods = "mpu"; + sram = <&ocmcram>; }; iva: iva { @@ -153,6 +154,16 @@ }; }; + ocmcram: ocmcram@40200000 { + compatible = "mmio-sram"; + reg = <0x40200000 0x10000>; /* 64k */ + memory-exec-nocache; + ranges = <0x0 0x40200000 0x10000>; + + #address-cells = <1>; + #size-cells = <1>; + }; + aes: aes@480c5000 { compatible = "ti,omap3-aes"; ti,hwmods = "aes";