From patchwork Tue Feb 22 11:39:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Prasath Gujulan Elango X-Patchwork-Id: 12754928 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12F28C433EF for ; Tue, 22 Feb 2022 11:41:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EXi9oVNnVDThcX/McLCjxSJYhhyTAz8Dvsk1bWgF/P0=; b=338B+UoGTEbzxs a1LW+nOOvWPS9gBGbmMONh6pmAK0l5L86oh9+g/A/DJITNP9KrbZnAY5hbkoMgTN3cKcLM6TY5APu /m+YKWBedE+1/jGPDZPEL4oYgf3MxgIRP8HFFHoWtTbumgOIck60Ol7VRUcv6UwqUzSYr1Y8+GFmi Il4x9kMVUKFAOecvrjA4/WRwb4PpwR4mpgeTzidoZz0VksCCkyfzkYCF3S1q4BOk6KxbgvBMZE+e4 kGr2rYcUz2ab9xfpXtewbte1IT60iSROue09a3Wtyy5MhBgkNHzhBiL1qzGR88vfQkSLfs7U1HM25 d3E8W+0PMA7zfXsc71cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMTW8-009Qnw-8T; Tue, 22 Feb 2022 11:39:40 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMTW5-009QnI-2E for linux-arm-kernel@lists.infradead.org; Tue, 22 Feb 2022 11:39:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1645529976; x=1677065976; h=from:to:cc:subject:date:message-id:mime-version; bh=wXHTBZ92PZCysruxwhPT9aZU/PmkGIz0L/maxcsvFX8=; b=mYmShLxPJxd8CLTn4KgH5dzi0mxaHt4zoB237utZsvUqxI9X5C8nEppf PKTmEfOahzbbZbAs/gBx0dgTOQE7lknjJ/DUhqz6bwmmvwm3nuB4bofNM NOkFoqFV+NZ3p0aaX4aeHdXUOzLeVo1rBASgs1cCxmL8An1YkfFPs3ZiC hLOJfgcgWIqSR+XgLtsAAAcdl0MzKiTFX2G9+tRafEDhTnI5oasinJ8JY o5l/p4yMHgtoHgeSLLjuC4V10bRneQcnCzO9sm1/0zzoUrdbWZGpldXZ+ RrZxRy+QbsKKOyt3qUw9YZtRQbIlwRLgXvXeSAQCXmKOppslEWScyIstf A==; X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="149554549" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Feb 2022 04:39:33 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 22 Feb 2022 04:39:33 -0700 Received: from hari-laptop.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Tue, 22 Feb 2022 04:39:28 -0700 From: Hari Prasath To: , , , , , , , , , CC: Subject: [PATCH] 1/3] ARM: dts: at91: sama7g5: Restrict ns_sram Date: Tue, 22 Feb 2022 17:09:22 +0530 Message-ID: <20220222113924.25799-1-Hari.PrasathGE@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220222_033937_231293_BBA8E94F X-CRM114-Status: GOOD ( 10.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Limit the size of SRAM available for the rest of kernel via genalloc API's to 13k. The rest of the SRAM is used by CAN controllers and hence this restriction. Signed-off-by: Hari Prasath Acked-by: Nicolas Ferre --- arch/arm/boot/dts/sama7g5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index eddcfbf4d223..6c7012f74b10 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -65,7 +65,7 @@ compatible = "mmio-sram"; #address-cells = <1>; #size-cells = <1>; - reg = <0x100000 0x20000>; + reg = <0x100000 0x3400>; ranges; };