From patchwork Wed Jul 15 17:18:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 1329708 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=85.214.62.61; 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=ZAWy3Ata; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4B6PKN1ZP4z9sTM for ; Thu, 16 Jul 2020 03:20:24 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 626C181BAC; Wed, 15 Jul 2020 19:19:51 +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="ZAWy3Ata"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BECED81B97; Wed, 15 Jul 2020 19:19:44 +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-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (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 6EB8181BA2 for ; Wed, 15 Jul 2020 19:19:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=rayagonda.kokatanur@broadcom.com Received: by mail-wm1-x342.google.com with SMTP id c80so6326218wme.0 for ; Wed, 15 Jul 2020 10:19:41 -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=XCgc2P9AWSx6xgVjYpXNLx7R0CjuqR/spAWy9BFlQPA=; b=ZAWy3AtadAjyDN9ViZQVPvEPlkYH2zpghPWCj27MbV4xOjk3cfcxOLY8wbczPJlEXS ZlIpDS1N0hoHkQqbZHnj1DbvwdArQknSk5XIRmIocx0EFwQk6Ae2PCGWnk+g9Bx9eGgL eiS6KqDn0b2JWd/iki8KoErVxS4Gyve0z73Kg= 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=XCgc2P9AWSx6xgVjYpXNLx7R0CjuqR/spAWy9BFlQPA=; b=ZicadoSz4KAL6T66zgHEmMIoSu5OGEnsFe4yNn4NH7cViT+xlFmm4PadQHmHHB6/0x ijUd7uBOCLXSTtehqIj4yqkvaHMylskaM5ELY8SUVbfBMXyf7OYzg/PZJxMQvyCY6RZ0 kRuRY4CJTfLti/2fTxJWV8Fa2fHS/O0FR0yzaIPnQiNkzi30TS+T991AoJ8vZfqnLfNY /0OYM1sq3Pqlzq9EdDlC/yyPY5Pw1OCbvVIxx5WLvdekUN96CVAamd17zeEhrmem3ph6 1ZLCJWMOlBY7+QSzPzo+TbDH62s7XfTYKNQQU+5m33YnzzjxOueZt7rVK29dpiZmItgt KpLA== X-Gm-Message-State: AOAM530fzGD+wMnSXcimbUNB9f6P687yGIOzTxBfz4ks8nHlj+Enm/tJ MLc+gyKLmvuEaS4ivClM8pEHobegvIU1l+Pfaecf4hemegVbYd9UmO+pzBl1vTwcZraDjWDihk3 z5TFiCdT8aYFYB0yadpDMxQPhZCtpLGG16vQlZ/RshUYszdpkdGheaxTlEDRQjOdeGt/eAPM+YA 01Pg0= X-Google-Smtp-Source: ABdhPJxmbB46oK39rMD0WvZp4uPWYso0IryisdSYSR7BTjAe5P3qW1A0nTQApxNenWGKmsZonDDhbA== X-Received: by 2002:a7b:c38f:: with SMTP id s15mr439893wmj.152.1594833580536; Wed, 15 Jul 2020 10:19:40 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id y6sm4328870wrr.74.2020.07.15.10.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 10:19:39 -0700 (PDT) From: Rayagonda Kokatanur To: u-boot@lists.denx.de, Simon Glass , Marek Vasut , Bharat Gooty , Thomas Fitzsimmons Cc: Rayagonda Kokatanur Subject: [PATCH v5 04/15] dt-bindings: memory: ns3: add memory definitions Date: Wed, 15 Jul 2020 22:48:58 +0530 Message-Id: <20200715171909.25868-5-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200715171909.25868-1-rayagonda.kokatanur@broadcom.com> References: <20200715171909.25868-1-rayagonda.kokatanur@broadcom.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.3 at phobos.denx.de X-Virus-Status: Clean Add NS3 memory definitions. Signed-off-by: Rayagonda Kokatanur Reviewed-by: Simon Glass --- Changes from v4: -Address self review comments, Correction u-boot to U-Boot. 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..fe669e2f87 --- /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