From patchwork Mon Oct 31 17:08:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 9406069 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3B77F60721 for ; Mon, 31 Oct 2016 17:08:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 285EF28DF6 for ; Mon, 31 Oct 2016 17:08:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D3C429330; Mon, 31 Oct 2016 17:08:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 334B629274 for ; Mon, 31 Oct 2016 17:08:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S944928AbcJaRIj (ORCPT ); Mon, 31 Oct 2016 13:08:39 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:53537 "EHLO albert.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S944929AbcJaRIX (ORCPT ); Mon, 31 Oct 2016 13:08:23 -0400 Received: from ayla.of.borg ([84.193.137.253]) by albert.telenet-ops.be with bizsmtp id 2H8L1u00i5UCtCs06H8LZw; Mon, 31 Oct 2016 18:08:21 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1c1G4K-0005SX-Pv; Mon, 31 Oct 2016 18:08:20 +0100 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1c1G4R-0003VF-Am; Mon, 31 Oct 2016 18:08:27 +0100 From: Geert Uytterhoeven To: Magnus Damm , Simon Horman , Laurent Pinchart , =?UTF-8?q?Niklas=20S=C3=B6derlund?= Cc: linux-renesas-soc@vger.kernel.org, Takeshi Kihara , Geert Uytterhoeven Subject: [PATCH/RFC 1/5] arm64: dts: r8a7796: salvator-x: Update memory node to 4 GiB map Date: Mon, 31 Oct 2016 18:08:18 +0100 Message-Id: <1477933702-13423-2-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477933702-13423-1-git-send-email-geert+renesas@glider.be> References: <1477933702-13423-1-git-send-email-geert+renesas@glider.be> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Takeshi Kihara This patch updates memory region: - After changes, the new map of the Salvator-X board on R8A7796 SoC Bank0: 2GiB RAM : 0x000048000000 -> 0x000bfffffff Bank1: 2GiB RAM : 0x000600000000 -> 0x0067fffffff - Before changes, the old map looked like this: Bank0: 2GiB RAM : 0x000048000000 -> 0x000bfffffff Signed-off-by: Takeshi Kihara [geert: Correct size of old map] Signed-off-by: Geert Uytterhoeven --- Note: Depending on firmware version, this patch may not make a difference at all! Indeed, U-Boot may already add the second memory region to the "reg" property of the first memory node in DT, regardless of the presence of a second memory node. Fortunately Linux handles duplicate memory regions just fine... --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts index f7c0ec47af7660b1..2fe75b06288c608e 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts @@ -32,6 +32,11 @@ reg = <0x0 0x48000000 0x0 0x78000000>; }; + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x80000000>; + }; + reg_1p8v: regulator0 { compatible = "regulator-fixed"; regulator-name = "fixed-1.8V";