From patchwork Mon May 4 11:44:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 1282482 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=OlF2x3g0; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49G1JY5lrmz9sP7 for ; Mon, 4 May 2020 21:45:49 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3C3D481F8E; Mon, 4 May 2020 13:45:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.b="OlF2x3g0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ED83581F86; Mon, 4 May 2020 13:45:16 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DF29181F9B for ; Mon, 4 May 2020 13:45:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rayagonda.kokatanur@broadcom.com Received: by mail-pj1-x1041.google.com with SMTP id ms17so3582671pjb.0 for ; Mon, 04 May 2020 04:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Alo+aqg6Zaj4DY9N1r8fJYCIAPOzsqi9tsUtcq5AZGE=; b=OlF2x3g0jjnPcuG49EosxjWRZq27T4Ivu8Z2B5Uq0Boxuk/9tk8q1rzQWhphGXOLEt ctPeqTP6OZ1z2PFXZUIvbEuQ/w33V398rY91DdsliXXsuQ/EdOOSdErKQq3wUpK0WMHJ DSMF8O0X2HFd+cEZ4hlCK+HntiqttVCpVmLyY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Alo+aqg6Zaj4DY9N1r8fJYCIAPOzsqi9tsUtcq5AZGE=; b=ML+nUXQLQjB2XVBB1jiED8gCvAOGccDVSQxso3XXqGiUhG/Q2TKTjgpX0jgmBKnONs wcyKKx8XEDB1BXvc2h1WmKK0wXptJujd6yus1Zaxsgm9uDKtHpxaYyc90hnyT/6vc1/c u0gew4BhMOd/ew6vnbW0TzYGSXHzYFE3Zl7vjJTJPY3tRkhFC3W2EDnpx+Ouu4br+kmb mRQq+iiMMEY9X1lJHMRZlmQ7xP9LMgktMRS2S68aaAf4sXSxb6Hj0ji0/s9oBeXfbEeq +z0Qb8HhOLSa5J3FcY7P2SSnSpqiBOy3z0HdSLuPMxOh3lZrO4xKKqaE+zvt2Jka8yXa VUwQ== X-Gm-Message-State: AGi0Pua+kTxnWT6fPt/etUjcZkJysJIvVSkw61SpJFSmTRIpoBuw3N7r nqvQotO7pmm6AyL3kankqR7Lga4VEhST4utvgT28WHSyTltLtOcPtTknxq6o5MRZBzhk9lx0sfl 2AB2Y+gS4jv+g7HnjoRnINqo+W7Sfw9Y6kRv8QnUvmfwlAtfjDjHXbB+8K+XUdHnZ3fgG8VJGgS SFotxhKw== X-Google-Smtp-Source: APiQypLvYdVyr07PSvhGFjQ2/OHz63RRp3/RFo8Ok4PzzMLK5MVB4ZayinrnpluS/zaaFlaFSXmTCQ== X-Received: by 2002:a17:902:598e:: with SMTP id p14mr11101713pli.30.1588592711801; Mon, 04 May 2020 04:45:11 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id t20sm6712962pjo.13.2020.05.04.04.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 04:45:11 -0700 (PDT) From: Rayagonda Kokatanur To: u-boot@lists.denx.de, Simon Glass , Marek Vasut , Bharat Kumar Reddy Gooty Cc: Rayagonda Kokatanur Subject: [PATCH v2 05/16] dt-bindings: memory: ns3: add memory definitions Date: Mon, 4 May 2020 17:14:21 +0530 Message-Id: <20200504114432.10886-6-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200504114432.10886-1-rayagonda.kokatanur@broadcom.com> References: <20200504114432.10886-1-rayagonda.kokatanur@broadcom.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Add NS3 memory definitions. Signed-off-by: Rayagonda Kokatanur --- include/dt-bindings/memory/bcm-ns3-mc.h | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 include/dt-bindings/memory/bcm-ns3-mc.h diff --git a/include/dt-bindings/memory/bcm-ns3-mc.h b/include/dt-bindings/memory/bcm-ns3-mc.h new file mode 100644 index 0000000000..b4f78584a5 --- /dev/null +++ b/include/dt-bindings/memory/bcm-ns3-mc.h @@ -0,0 +1,34 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2020 Broadcom + */ + +#ifndef DT_BINDINGS_BCM_NS3_MC_H +#define DT_BINDINGS_BCM_NS3_MC_H + +/* + * Reserved Memory Map : SHMEM & TZDRAM. + * +--------+----------+ 0x8D000000 + * | SHMEM (NS) | 16 MB + * +-------------------+ 0x8E000000 + * | | TEE_RAM(S)| 4MB + * + TZDRAM +----------+ 0x8E400000 + * | | TA_RAM(S) | 12MB + * +--------+----------+ 0x8F000000 + * | BL31 + TMON + LPM | + * | memory | 1MB + * +-------------------+ 0x8F100000 + */ + +#define BCM_NS3_MEM_SHARE_START 0x8D000000 +#define BCM_NS3_MEM_SHARE_LEN 0x020FFFFF + +/* ATF/U-boot/Linux error logs */ +#define BCM_NS3_MEM_ELOG_START 0x8F113000 +#define BCM_NS3_MEM_ELOG_LEN 0x00100000 + +/* CRMU Page table memroy */ +#define BCM_NS3_MEM_CRMU_PT_START 0x880000000 +#define BCM_NS3_MEM_CRMU_PT_LEN 0x200000 + +#endif