From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759530AbcHaKf5 (ORCPT ); Wed, 31 Aug 2016 06:35:57 -0400 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:48638 "EHLO s-opensource.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759421AbcHaKfx (ORCPT ); Wed, 31 Aug 2016 06:35:53 -0400 From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Mark Rutland , Rob Herring , Tony Lindgren , linux-omap@vger.kernel.org, Javier Martinez Canillas , Enric Balletbo i Serra Subject: [PATCH 01/23] ARM: am335x: Add missing memory node in sl50 board Date: Wed, 31 Aug 2016 12:35:15 +0200 Message-Id: <1472639737-17586-2-git-send-email-javier@osg.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472639737-17586-1-git-send-email-javier@osg.samsung.com> References: <1472639737-17586-1-git-send-email-javier@osg.samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The skeleton.dtsi file was removed in ARM64 for different reasons as explained in commit ("3ebee5a2e141 arm64: dts: kill skeleton.dtsi"). These also applies to ARM and it will also allow to get rid of the following DTC warnings in the future: "Node /memory has a reg or ranges property, but no unit name" But the sl50 board doesn't have a, so removing the skeleton.dtsi inclusion from am33xx.dtsi will cause a change in the compiled DTB. The board has 512 MiB of RAM and its starting address is 0x80000000, so add a proper memory device node in the DTS. Signed-off-by: Javier Martinez Canillas --- arch/arm/boot/dts/am335x-sl50.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts index f802adb23ff9..e3be7a6bf8f1 100644 --- a/arch/arm/boot/dts/am335x-sl50.dts +++ b/arch/arm/boot/dts/am335x-sl50.dts @@ -19,6 +19,11 @@ }; }; + memory { + device_type = "memory"; + reg = <0x80000000 0x20000000>; /* 512 MB */ + }; + chosen { stdout-path = &uart0; }; -- 2.7.4