From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeBEK-00010o-MH for qemu-devel@nongnu.org; Mon, 02 Mar 2009 11:43:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeBEJ-0000zw-RC for qemu-devel@nongnu.org; Mon, 02 Mar 2009 11:43:00 -0500 Received: from [199.232.76.173] (port=54252 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeBEJ-0000zk-IJ for qemu-devel@nongnu.org; Mon, 02 Mar 2009 11:42:59 -0500 Received: from savannah.gnu.org ([199.232.41.3]:56468 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeBEI-00045E-0k for qemu-devel@nongnu.org; Mon, 02 Mar 2009 11:42:59 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LeBEA-0003xw-DQ for qemu-devel@nongnu.org; Mon, 02 Mar 2009 16:42:50 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LeBEA-0003xs-49 for qemu-devel@nongnu.org; Mon, 02 Mar 2009 16:42:50 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Mon, 02 Mar 2009 16:42:50 +0000 Subject: [Qemu-devel] [6664] 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: qemu-devel@nongnu.org Revision: 6664 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6664 Author: aurel32 Date: 2009-03-02 16:42:49 +0000 (Mon, 02 Mar 2009) Log Message: ----------- kvm/powerpc: flat device tree files for MPC8544DS mpc8544ds.dts is copied from kerenl. Non-supported devices has been removed. Signed-off-by: Liu Yu Acked-by: Hollis Blanchard Signed-off-by: Aurelien Jarno Added Paths: ----------- trunk/pc-bios/mpc8544ds.dtb trunk/pc-bios/mpc8544ds.dts Added: trunk/pc-bios/mpc8544ds.dtb =================================================================== --- trunk/pc-bios/mpc8544ds.dtb (rev 0) +++ trunk/pc-bios/mpc8544ds.dtb 2009-03-02 16:42:49 UTC (rev 6664) @@ -0,0 +1,3 @@ +\xD0 +\xFE\xED0\xB8t(_\xBC +MPC8544DSMPC8544DSMPC85xxDS aliases ,/soc8544@e0000000/serial@4500 4/soc8544@e0000000/serial@4600; + #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>; + }; + }; + + memory { + device_type = "memory"; + reg = <0x0 0x0>; // Filled by U-Boot + }; + + 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. + + serial0: serial@4500 { + cell-index = <0>; + device_type = "serial"; + compatible = "ns16550"; + reg = <0x4500 0x100>; + clock-frequency = <0>; + interrupts = <42 2>; + interrupt-parent = <&mpic>; + }; + + serial1: serial@4600 { + cell-index = <1>; + device_type = "serial"; + compatible = "ns16550"; + reg = <0x4600 0x100>; + clock-frequency = <0>; + interrupts = <42 2>; + interrupt-parent = <&mpic>; + }; + + mpic: pic@40000 { + interrupt-controller; + #address-cells = <0>; + #interrupt-cells = <2>; + reg = <0x40000 0x40000>; + compatible = "chrp,open-pic"; + device_type = "open-pic"; + }; + }; + + pci0: pci@e0008000 { + cell-index = <0>; + compatible = "fsl,mpc8540-pci"; + device_type = "pci"; + interrupt-map-mask = <0xf800 0x0 0x0 0x7>; + interrupt-map = < + + /* IDSEL 0x11 J17 Slot 1 */ + 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 + 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 + 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 + 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 + + /* IDSEL 0x12 J16 Slot 2 */ + + 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 + 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 + 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1 + 0x9000 0x0 0x0 0x4 &mpic 0x1 0x1>; + + interrupt-parent = <&mpic>; + interrupts = <24 2>; + bus-range = <0 255>; + ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000 + 0x1000000 0x0 0x0 0xe1000000 0x0 0x10000>; + clock-frequency = <66666666>; + #interrupt-cells = <1>; + #size-cells = <2>; + #address-cells = <3>; + reg = <0xe0008000 0x1000>; + }; + + chosen { + linux,stdout-path = "/soc8544@e0000000/serial@4500"; + }; +};