qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] PPC: E500: Implement reboot controller


From: Scott Wood
Subject: Re: [Qemu-devel] [PATCH] PPC: E500: Implement reboot controller
Date: Fri, 3 Jun 2011 12:00:36 -0500

On Thu, 2 Jun 2011 13:57:50 +0200
Alexander Graf <address@hidden> wrote:

> diff --git a/pc-bios/mpc8544ds.dts b/pc-bios/mpc8544ds.dts
> index 872152d..9b95bfd 100644
> --- a/pc-bios/mpc8544ds.dts
> +++ b/pc-bios/mpc8544ds.dts
> @@ -82,6 +82,12 @@
>                       compatible = "chrp,open-pic";
>                       device_type = "open-pic";
>               };
> +
> +                address@hidden {        //global utilities block
> +                        compatible = "fsl,mpc8548-guts";
> +                        reg = <0xe0000 0x1000>;
> +                        fsl,has-rstcr;
> +                };
>       };

We're not providing a full mpc8548 (or mpc8544) guts, only the rstcr
register.

Currently Linux looks for a node with the name "global-utilities" and a
property "fsl,has-rstcr", so there's no compatibility reason for a
misleading compatible, either.

I'd go with compatible = "fsl,guts-rstcr" (what we've been using
internally, and would be a nicer thing to bind against than what the
kernel currently does).  Or if the goal is to provide more guts registers
later, use "fsl,mpc8544-guts" and have qemu log a warning if other accesses
are made.

-Scott




reply via email to

[Prev in Thread] Current Thread [Next in Thread]