From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lcj0E-00056X-E9 for qemu-devel@nongnu.org; Thu, 26 Feb 2009 11:22:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lcj0D-00054E-0s for qemu-devel@nongnu.org; Thu, 26 Feb 2009 11:22:26 -0500 Received: from [199.232.76.173] (port=46191 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lcj0C-000546-LV for qemu-devel@nongnu.org; Thu, 26 Feb 2009 11:22:24 -0500 Received: from e31.co.us.ibm.com ([32.97.110.149]:41691) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lcj0C-0000dp-Ax for qemu-devel@nongnu.org; Thu, 26 Feb 2009 11:22:24 -0500 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e31.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n1QGJolZ032375 for ; Thu, 26 Feb 2009 09:19:50 -0700 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n1QGM3KO150012 for ; Thu, 26 Feb 2009 09:22:03 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1QGLwNk031058 for ; Thu, 26 Feb 2009 09:21:59 -0700 From: Hollis Blanchard In-Reply-To: <1235644545-20816-6-git-send-email-yu.liu@freescale.com> References: <1235644545-20816-1-git-send-email-yu.liu@freescale.com> <1235644545-20816-2-git-send-email-yu.liu@freescale.com> <1235644545-20816-3-git-send-email-yu.liu@freescale.com> <1235644545-20816-4-git-send-email-yu.liu@freescale.com> <1235644545-20816-5-git-send-email-yu.liu@freescale.com> <1235644545-20816-6-git-send-email-yu.liu@freescale.com> Content-Type: text/plain Date: Thu, 26 Feb 2009 10:21:58 -0600 Message-Id: <1235665318.7706.11.camel@slate.austin.ibm.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 5/5] kvm/powerpc: flat device tree files for MPC8544DS Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Yu Cc: blauwirbel@gmail.com, kvm-ppc@vger.kernel.org, qemu-devel@nongnu.org, aurelien@aurel32.net On Thu, 2009-02-26 at 18:35 +0800, Liu Yu wrote: > mpc8544ds.dts is copied from kerenl. > Non-supported devices has been removed. > > Signed-off-by: Liu Yu > --- > pc-bios/mpc8544ds.dtb | Bin 0 -> 12288 bytes > pc-bios/mpc8544ds.dts | 122 +++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 122 insertions(+), 0 deletions(-) > create mode 100644 pc-bios/mpc8544ds.dtb > create mode 100644 pc-bios/mpc8544ds.dts > > diff --git a/pc-bios/mpc8544ds.dts b/pc-bios/mpc8544ds.dts > new file mode 100644 > index 0000000..872152d > --- /dev/null > +++ b/pc-bios/mpc8544ds.dts > @@ -0,0 +1,122 @@ > +/* > + * MPC8544 DS Device Tree Source > + * > + * Copyright 2007, 2008 Freescale Semiconductor Inc. > + * > + * This program is free software; you can redistribute it and/or modify it > + * under the terms of the GNU General Public License as published by the > + * Free Software Foundation; either version 2 of the License, or (at your > + * option) any later version. > + */ > + > +/dts-v1/; > +/ { > + model = "MPC8544DS"; > + compatible = "MPC8544DS", "MPC85xxDS"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + aliases { > + serial0 = &serial0; > + serial1 = &serial1; > + pci0 = &pci0; > + }; > + > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + PowerPC,8544@0 { > + device_type = "cpu"; > + reg = <0x0>; > + d-cache-line-size = <32>; // 32 bytes > + i-cache-line-size = <32>; // 32 bytes > + d-cache-size = <0x8000>; // L1, 32K > + i-cache-size = <0x8000>; // L1, 32K > + timebase-frequency = <0>; > + bus-frequency = <0>; > + clock-frequency = <0>; It might be helpful to comment that these properties are overwritten at runtime. > + }; > + }; > + > + memory { > + device_type = "memory"; > + reg = <0x0 0x0>; // Filled by U-Boot > + }; "Filled by qemu" > + soc8544@e0000000 { > + #address-cells = <1>; > + #size-cells = <1>; > + device_type = "soc"; > + compatible = "simple-bus"; > + > + ranges = <0x0 0xe0000000 0x100000>; > + reg = <0xe0000000 0x1000>; // CCSRBAR 1M > + bus-frequency = <0>; // Filled out by uboot. Not filled by anybody... Anyways, these are minor cosmetic issues; I'd be happy if the patch were committed in its current form. Acked-by: Hollis Blanchard -- Hollis Blanchard IBM Linux Technology Center