Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751503AbcLECBF (ORCPT ); Sun, 4 Dec 2016 21:01:05 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34050 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751070AbcLECA7 (ORCPT ); Sun, 4 Dec 2016 21:00:59 -0500 From: Milo Kim To: Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Milo Kim Subject: [PATCH 2/2] ARM: dts: sun8i: Specify memblock for Nano Pi Neo Date: Mon, 5 Dec 2016 11:00:32 +0900 Message-Id: <20161205020032.26586-2-woogyom.kim@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161205020032.26586-1-woogyom.kim@gmail.com> References: <20161205020032.26586-1-woogyom.kim@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 24 The board has DDR3 256MB. This patch helps scanning the memory and adding memblock through the DT. Signed-off-by: Milo Kim --- arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts index 8d2cc6e..433f55d 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts @@ -45,4 +45,9 @@ / { model = "FriendlyARM NanoPi NEO"; compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3"; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x10000000>; + }; }; -- 2.9.3