[PATCH 2/5] Add legacy devices to mpc8641_hpcn.dts
Wade Farnsworth
wfarnsworth at mvista.com
Thu May 17 06:17:33 EST 2007
On Wed, 2007-05-16 at 21:55 +0200, Segher Boessenkool wrote:
> >> + isa at f0 {
>
> isa at 1e
>
> >> + 8042 at 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 at 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
More information about the Linuxppc-dev
mailing list