From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C79AC4338F for ; Mon, 2 Aug 2021 12:50:38 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B48460F55 for ; Mon, 2 Aug 2021 12:50:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1B48460F55 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7872882DD5; Mon, 2 Aug 2021 14:50:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id BE0E282BCE; Mon, 2 Aug 2021 14:40:13 +0200 (CEST) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C2B0782C60 for ; Mon, 2 Aug 2021 14:40:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clement.leger@bootlin.com Received: (Authenticated sender: clement.leger@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 06D2824000E; Mon, 2 Aug 2021 12:40:06 +0000 (UTC) From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: u-boot@lists.denx.de, Eugen Hristev Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Wenyou Yang , Nicolas Ferre Subject: [PATCH 3/5] ARM: dts: at91: sama5d2: Add memory node in devicetree Date: Mon, 2 Aug 2021 14:39:50 +0200 Message-Id: <20210802123952.36826-4-clement.leger@bootlin.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802123952.36826-1-clement.leger@bootlin.com> References: <20210802123952.36826-1-clement.leger@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 02 Aug 2021 14:50:24 +0200 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.103.2 at phobos.denx.de X-Virus-Status: Clean sama5d2 support from DRAM will be modified to use device tree instead of hardcoded addresses. In order to prepare that, add the memory node to sama5d2.dtsi file since the boards supported by U-Boot with sama5d2 all contains 512Mb of DDR. Signed-off-by: Clément Léger --- arch/arm/dts/sama5d2.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi index 6fb2cb25f9..299aefc496 100644 --- a/arch/arm/dts/sama5d2.dtsi +++ b/arch/arm/dts/sama5d2.dtsi @@ -4,6 +4,10 @@ model = "Atmel SAMA5D2 family SoC"; compatible = "atmel,sama5d2"; + memory { + reg = <0x20000000 0x20000000>; + }; + aliases { spi0 = &spi0; spi1 = &qspi0; -- 2.32.0