From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932389AbbGUOe4 (ORCPT ); Tue, 21 Jul 2015 10:34:56 -0400 Received: from foss.arm.com ([217.140.101.70]:60175 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932231AbbGUOex (ORCPT ); Tue, 21 Jul 2015 10:34:53 -0400 Date: Tue, 21 Jul 2015 15:34:26 +0100 From: Mark Rutland To: Jisheng Zhang Cc: Catalin Marinas , Will Deacon , "khilman@linaro.org" , "arnd@arndb.de" , "olof@lixom.net" , "robh+dt@kernel.org" , "galak@codeaurora.org" , Pawel Moll , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , marc.zyngier@arm.com Subject: Re: [PATCH 1/2] arm64: dts: Add dts files for Marvell Berlin4CT SoC Message-ID: <20150721143426.GC10595@leverpostej> References: <1437488279-2088-1-git-send-email-jszhang@marvell.com> <1437488279-2088-2-git-send-email-jszhang@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437488279-2088-2-git-send-email-jszhang@marvell.com> Thread-Topic: [PATCH 1/2] arm64: dts: Add dts files for Marvell Berlin4CT SoC Accept-Language: en-GB, en-US Content-Language: en-US User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > +/dts-v1/; > + > +/memreserve/ 0x00000000 0x01000000; What's this reservation for? Given you're using PSCI I can't see why we'd expect the kernel to map but not use some memory. > + > +#include "berlin4ct.dtsi" > + > +/ { > + model = "MARVELL BG4CT DMP BOARD"; > + compatible = "marvell,berlin4ct-dmp", "marvell,berlin4ct", "marvell,berlin"; > + > + chosen { > + bootargs = "earlyprintk"; > + stdout-path = "serial0:115200n8"; > + }; You shouldn't need those bootargs; "earlyprintk" does nothing on arm64. [...] > + gic: interrupt-controller@901000 { > + compatible = "arm,gic-400"; > + #interrupt-cells = <3>; > + interrupt-controller; > + reg = <0x901000 0x1000>, > + <0x902000 0x1000>, > + <0x904000 0x2000>, > + <0x906000 0x2000>; > + interrupts = ; > + }; > + I believe the size of the cpu interface (the second reg entry) should be 0x2000, as GICC_DIR is at offset 0x1000. Otherwise this looks fine. Thanks, Mark.