From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gateway-1237.mvista.com (gateway-1237.mvista.com [63.81.120.158]) by ozlabs.org (Postfix) with ESMTP id BFDE6DDEEE for ; Thu, 17 May 2007 06:17:34 +1000 (EST) Subject: Re: [PATCH 2/5] Add legacy devices to mpc8641_hpcn.dts From: Wade Farnsworth To: Segher Boessenkool In-Reply-To: References: <1179245829.8132.100.camel@rhino> <1179246470.8132.112.camel@rhino> <1179333421.7018.17.camel@ld0161-tx32> Content-Type: text/plain Date: Wed, 16 May 2007 13:17:33 -0700 Message-Id: <1179346653.8132.223.camel@rhino> Mime-Version: 1.0 Cc: linuxppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2007-05-16 at 21:55 +0200, Segher Boessenkool wrote: > >> + isa@f0 { > > isa@1e > > >> + 8042@60 { > >> + device_type = "8042"; > > Drop the device_type. A number as a name isn't > all that great, either. Currently in order for the i8042 devices to be initialized, check_legacy_ioport() must find a node with device_type "8042". > > >> + rtc@70 { > >> + device_type = "rtc"; > >> + reg = <1 70 2>; > >> + }; > > > > Is "rtc" a standard OF device, > > Yes, it is defined in the "Device Support Extensions" > recommended practice. > > > And is the plan to somehow use this entry in the future? > > The platform code can use it to find the device. If it > would have a proper "compatible" property, the generic > code could do that work, instead. Is there a recommended "compatible" property for a standard PC-like CMOS RTC? --Wade