From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by ozlabs.org (Postfix) with ESMTP id 5820FDDEEA for ; Tue, 31 Mar 2009 20:35:38 +1100 (EST) Message-ID: <49D1E3E5.3080607@grandegger.com> Date: Tue, 31 Mar 2009 11:35:33 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 To: Grant Likely Subject: Re: powerpc/85xx: Add support for the "socrates" board (MPC8544) References: <49C26434.30302@grandegger.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Grant Likely wrote: > I agree 100% with David's comments, and I have some additional ones below. > > On Thu, Mar 19, 2009 at 9:26 AM, Wolfgang Grandegger wrote: >> + soc8544@e0000000 { >> + #address-cells = <1>; >> + #size-cells = <1>; >> + device_type = "soc"; > > Drop device_type here too. Grrr, I just realized that removing the devices type "soc" has broken fsl_get_sys_freq(). See: http://lxr.linux.no/linux+v2.6.29/arch/powerpc/sysdev/fsl_soc.c#L80 We need a quick fix and we could take the occasion to establish a common function for the MPC52xx as well, but it's not obvious to me how to find the SOC node without the device type property. Wolfgang.