From patchwork Fri Jan 11 09:44:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 155315 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp367719jaa; Fri, 11 Jan 2019 01:44:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN7DubLzcNXB6enYNhg5+emM/+5iRdglEOXziNBdeKhZFEyVr+c2YDM3noMCO67HSkXlaJ3l X-Received: by 2002:a17:902:1008:: with SMTP id b8mr13506602pla.252.1547199867212; Fri, 11 Jan 2019 01:44:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547199867; cv=none; d=google.com; s=arc-20160816; b=OTMs++eLGPDYCSvcMHG7a9z2u8SpiZIAtga20fKHIq4M6Jfv0om78+CNwu9c5TifZK 4J3BEKa4+lD/YnNILSTUvrJy5H7KJnaur/hUj0HNrJVo/j8XoKdN1f3j6VhDtIspsS+I eLjyJ//jKeuaWoekvestJPsWJd1hVO0ueb/ki5CcqjVMnBaoX2atkMIUbpSoYIpCHVBa RylkzfD+cUttqjGGcGZ3Sdc998utuAXu9AZ5RkzEXJ+pNp7JOE+culBciBISdpkXLQh0 n35FL5L9T+bnqNQ3JaG69mzxUAWnL7J65NB4tQV4LET1B4TvsiyeyDygZ/YJvdJhc3sG 2hug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=jjlzOJt5TI/L0CwU/rkL4QQzI28WicnsDdolF5jwo3Y=; b=R908NLK4n6huCAWJcBE2I6iiwj2Lh3qAassPQaEcHftaALWUIQn4ww2el7C87p5yNO eWHgdXCx88mZlXCzuBUt5jAirtrJxo8CBHQNzNqFrcnOxXFNGbJN56+3ElqtX5vxD0h9 FsAuQXOwDqp5lqxHg6Jf8xQlkdC9aScE6pyN/n7gwA9y9HRzir6moNanNJtA/JZlBmYA htdJyMp4vQlSWaF4oC4I/44I04+m+IKu0BwRoAUeMYT+JyEHOQqeOrDmTdPm5cdhSbGe gOBCC5MBMO3FbOeOuL0uwaRMCUJLrOuBf8/I5rGbt5wQ4XMBmWaKgjICzSjiglbLCFLh Lp8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cQSeB4Ez; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p66si43200574pfp.144.2019.01.11.01.44.27; Fri, 11 Jan 2019 01:44:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cQSeB4Ez; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730794AbfAKJo0 (ORCPT + 7 others); Fri, 11 Jan 2019 04:44:26 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:47232 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730790AbfAKJo0 (ORCPT ); Fri, 11 Jan 2019 04:44:26 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0B9iL1A050899; Fri, 11 Jan 2019 03:44:21 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547199861; bh=jjlzOJt5TI/L0CwU/rkL4QQzI28WicnsDdolF5jwo3Y=; h=From:To:CC:Subject:Date; b=cQSeB4Ezick6lszefHE0F8iCU66crJrlbhXjiU2eCFh0Hz/BjQ8Wtx0M5AKelg7aw aHtH+Z7qh9ZXjMUJx13g+Ia0uN/00mgpbNnpmlX68t0GHHmYXaj+AtHP+07G45/TWg Lzi9zgtn5pzGTECLJepMPxGt0fnFS9dfPFeGvSIk= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0B9iLpc033435 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Jan 2019 03:44:21 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 11 Jan 2019 03:44:20 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 11 Jan 2019 03:44:20 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0B9iIJp010493; Fri, 11 Jan 2019 03:44:18 -0600 From: Roger Quadros To: CC: , , , , Roger Quadros , Nishanth Menon , Lokesh Vutla , "Andrew F . Davis" Subject: [PATCH] arm64: dts: ti: k3-am65: Add MSMC RAM node Date: Fri, 11 Jan 2019 11:44:15 +0200 Message-ID: <1547199855-16374-1-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The AM65 SoC has 2MB MSMC RAM. Add this as a mmio-sram node so drivers can use it via genpool API. Following areas are marked reserved: - Lower 128KB for ATF - 64KB@0xf0000 for SYSFW - Upper 1MB for cache The reserved locations are subject to change at runtime by the bootloader. Cc: Nishanth Menon Cc: Lokesh Vutla Cc: Andrew F. Davis Signed-off-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 272cf8f..5a18150 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -6,6 +6,26 @@ */ &cbass_main { + msmc_ram: sram@70000000 { + compatible = "mmio-sram"; + reg = <0x0 0x70000000 0x0 0x200000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x70000000 0x200000>; + + atf-sram@0 { + reg = <0x0 0x20000>; + }; + + sysfw-sram@f0000 { + reg = <0xf0000 0x10000>; + }; + + l3cache-sram@100000 { + reg = <0x100000 0x100000>; + }; + }; + gic500: interrupt-controller@1800000 { compatible = "arm,gic-v3"; #address-cells = <2>;