From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932797AbbENJft (ORCPT ); Thu, 14 May 2015 05:35:49 -0400 Received: from smarthost01d.mail.zen.net.uk ([212.23.1.7]:58955 "EHLO smarthost01d.mail.zen.net.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753050AbbENJfr (ORCPT ); Thu, 14 May 2015 05:35:47 -0400 Message-ID: <1431596142.2881.13.camel@linaro.org> Subject: Re: [PATCH 2/5] arm64: Juno: Split juno.dts into juno-base.dtsi and juno.dts. From: "Jon Medhurst (Tixy)" To: Liviu Dudau Cc: Arnd Bergmann , Olof Johansson , Rob Herring , Mark Rutland , Ian Campbell , Marc Zyngier , Catalin Marinas , Will Deacon , Sudeep Holla , devicetree , LAKML , LKML Date: Thu, 14 May 2015 10:35:42 +0100 In-Reply-To: <1431537092-19597-3-git-send-email-Liviu.Dudau@arm.com> References: <1431537092-19597-1-git-send-email-Liviu.Dudau@arm.com> <1431537092-19597-3-git-send-email-Liviu.Dudau@arm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Originating-smarthost01d-IP: [82.69.122.217] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2015-05-13 at 18:11 +0100, Liviu Dudau wrote: > Prepare the device tree for adding more boards based on Juno r0. > > Signed-off-by: Liviu Dudau > --- > arch/arm64/boot/dts/arm/juno-base.dtsi | 125 +++++++++++++++++++++++++++++++++ > arch/arm64/boot/dts/arm/juno.dts | 122 +------------------------------- What criteria were used to select the contents of juno-base.dtsi? >>From what I can see, the stuff left out of base is still the same for r0 and r1 (cpu, pmu, memory, psci!). And so juno-r1.dts could just be ------------------------------------------------------------------------- #include "juno.dts" / { model = "ARM Juno development board (r1)"; }; &memtimer { status = "okay"; }; ------------------------------------------------------------------------- Yes, it's a bit hacky, but avoids duplication of source code. I can only assume there are come non-public differences between r0 and r1? -- Tixy