Received: from eggs.gnu.org ([140.186.70.92]:44094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSYFK-0007wk-Aw for qemu-devel@nongnu.org; Fri, 03 Jun 2011 13:33:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSYFI-0004oW-IR for qemu-devel@nongnu.org; Fri, 03 Jun 2011 13:33:18 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45622 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSYFI-0004oR-7V for qemu-devel@nongnu.org; Fri, 03 Jun 2011 13:33:16 -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:33:13 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <1746CE26-25F1-41BC-BF6D-F786CCF7A4D2@suse.de> 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. Do you have any pointers to what the guts is? > 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. What's the difference between the two revisions? Ideally, we should try = to emulate real hardware, so implementing the real deal would certainly = be the better option. Alex