Received: from eggs.gnu.org ([140.186.70.92]:44369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSYHW-0008RT-HR for qemu-devel@nongnu.org; Fri, 03 Jun 2011 13:35:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSYHU-00059I-Cb for qemu-devel@nongnu.org; Fri, 03 Jun 2011 13:35:34 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45650 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSYHT-00059C-UB for qemu-devel@nongnu.org; Fri, 03 Jun 2011 13:35:32 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <20110603120036.3408086a@schlenkerla.am.freescale.net> Date: Fri, 3 Jun 2011 19:35:29 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1307015870-22191-1-git-send-email-agraf@suse.de> <20110603120036.3408086a@schlenkerla.am.freescale.net> Subject: Re: [Qemu-devel] [PATCH] PPC: E500: Implement reboot controller List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Scott Wood Cc: "qemu-devel@nongnu.org Developers" On 03.06.2011, at 19:00, Scott Wood wrote: > On Thu, 2 Jun 2011 13:57:50 +0200 > Alexander Graf wrote: >=20 >> 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 =3D "chrp,open-pic"; >> device_type =3D "open-pic"; >> }; >> + >> + global-utilities@e0000 { //global utilities = block >> + compatible =3D "fsl,mpc8548-guts"; >> + reg =3D <0xe0000 0x1000>; >> + fsl,has-rstcr; >> + }; >> }; >=20 > We're not providing a full mpc8548 (or mpc8544) guts, only the rstcr > register. >=20 > 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. >=20 > I'd go with compatible =3D "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. Ugh - 8544 is the SoC we're emulating - sorry, it's evening already :). = So yes, implementing an mpc8544-guts is certainly what we want! Alex