From bd5e6632e46801df66190a4ef8b6e858d4df4cac Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 2 Mar 2009 16:42:49 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6664 c046a42c-6fe2-441c-8c8c-71466251a162 --- pc-bios/mpc8544ds.dtb | Bin 0 -> 12288 bytes pc-bios/mpc8544ds.dts | 122 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 pc-bios/mpc8544ds.dtb create mode 100644 pc-bios/mpc8544ds.dts diff --git a/pc-bios/mpc8544ds.dtb b/pc-bios/mpc8544ds.dtb new file mode 100644 index 0000000000000000000000000000000000000000..3299546696bf21f53f8ce2c9eba7fcb740c547da GIT binary patch literal 12288 zcmcb>`|m9Sg8>5r1H%pm2KEvL1_liV1_nU}1_l9;AOizqJOcyU9te9-k&IB+Ff%YP zaDmvq0nQetCMGVyAPxfqNL+-0fq@Mn4rWzUKvaO_S)hIenFZr3FfcHH_>74;nTf@z z#URr_a&im|3_AM7`N<$l98wJ+K)*P(C^Ip~!Nk-69EuQoL26BKt2IMb%g4aLV547< zoC!A5!T=`61ae1mK`Gb)3=ng1xfkR{#(@0t)S>`q9kBZ#jsdwFq{lJ2pcJGA#`gtr zkjxBZU|<0G8z!HO#xG@HXaH$}$v2_#`$3XO<}E_wZ-DYaega{}+|=CsqDrtR$V_$y z1_nnoF%AX>2ADfR3c>o&gC8V;WG^V)g5nNjCdl6)KOyrSi}OKV1E&pcP}(TY%q_@C z)lGtiGDsf}0|UbWkhu>)1SA)L#KG0w9GTF_2xba0Kx|`YtgrFlaF_Fo41aBnDD*7pe&) z26q!Q#lh5o+yo0365ZqmH69#>Ap1ymQ$c33g9#}2fP4l?*C5tAXc&Ra1jQpr4C-D+ z5DoGVhz9xFmjR>-gdzGtd5A4Jqo_b9zaTYFw;&T7%MdwEP})KjhPj;)R6c;h0c17^ zGh${#m|6xEr#W^~;1)$=~6y*@VCTHXqr{;ky0{csjfq~H%cUcdw7eID^FlTOlN@@;6a(-?> zVo7FFPAY?PVoFL;YH_h{a%xUaF@th(W>qSb4Jj)O7$CGELqT$;0Yge^S!Qx-d`V?N zDnn6fIzx(Xa$<5us%}nZUaBrgGeahZ2uux%G?-J8nVXuFSe&YxR+L&;nwpnf$&gf9 zjKoXM$xqHk;uj_6rKc7%fE=rvnU|7U!H}6(l3G+$T2NAqVCohm7NzEuAPFSr=am%Y z=j5aoF(|`zK>eAMnO9n&Q;?CEmy(l;q$fAAKsPtBI2%<6>_D(H7$6#pOH%SnOLPko zOESRmGD?hwz-S1JhQMeDjE2By2#kinXb6mkz-S1JhQMeDjE2By2#kinXb6mkz-S1J zhQMeDjE2By2#kinXb6mkz-S1JhQMeDjE2By2#kinXb6mkz-S1JhQMeDjE2Cl4gmnn CJ`#BV literal 0 HcmV?d00001 diff --git a/pc-bios/mpc8544ds.dts b/pc-bios/mpc8544ds.dts new file mode 100644 index 0000000000..872152df93 --- /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>; + }; + }; + + 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"; + }; +};