From: Liu Yu Date: Thu, 22 Jan 2009 10:14:16 +0000 Subject: [PATCH 6/6] kvm/powerpc: flat device tree files for MPC85xx Message-Id: <1232619256-18807-7-git-send-email-yu.liu@freescale.com> List-Id: References: <1232619256-18807-1-git-send-email-yu.liu@freescale.com> <1232619256-18807-2-git-send-email-yu.liu@freescale.com> <1232619256-18807-3-git-send-email-yu.liu@freescale.com> <1232619256-18807-4-git-send-email-yu.liu@freescale.com> <1232619256-18807-5-git-send-email-yu.liu@freescale.com> <1232619256-18807-6-git-send-email-yu.liu@freescale.com> In-Reply-To: <1232619256-18807-6-git-send-email-yu.liu@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: qemu-devel@nongnu.org Cc: Liu Yu , hollisb@us.ibm.com, kvm-ppc@vger.kernel.org Signed-off-by: Liu Yu --- pc-bios/mpc85xx.dtb | Bin 0 -> 12288 bytes pc-bios/mpc85xx.dts | 361 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 361 insertions(+), 0 deletions(-) create mode 100644 pc-bios/mpc85xx.dtb create mode 100644 pc-bios/mpc85xx.dts diff --git a/pc-bios/mpc85xx.dtb b/pc-bios/mpc85xx.dtb new file mode 100644 index 0000000000000000000000000000000000000000..a10e29d5bd0d65add2faed92143= 4ff3ac2d16cdd GIT binary patch literal 12288 zcmeHL&5z_p6)%%8N%#m$L?XV`(sDpBW_xCPHjCiUD3D7O)Dj}6m59e(Gh?mWc5L@D zgAkenLL5Qd(HuB&T5fP!{s1I$=3DG2=3D6!UZW@5RsyU-|tmDce!UaTC&m#B$xDD_3FKP zAHRC#uU9|*?mvtf8?@gW^UMVOmqDKdT>_y+|1#$3AG`7Y)HU+aJc9mX9KZ0=3Di=3D!83 z&t2a;J|@fgPl2{%ZZi4y_l%cf8|cAbw3B%I%sn2*JKi(Q-;*V>GK|e73b>bO-v92jpg4MKjr5Hn|wD;lk~`L zMiA8O7ofk6;erK_v#F08;;|pcKI9{>!!!9aIhkvWFN%|iXzW-M(Z1G0v~fy(z7hA5 zjr?PvnbYG`7vEOV>|ER1lML4}o9{q{=3D0%S&hV@8%iQQK~K}<&D7A!R;e>VtY(t7$Y zV|pI$9xSHAyxdRnc-dxo)@HVG_c@q#c@i(#+eL-j;N*IIxNO6FiK{E#(boHkarAjy zB#Z{K6s;jEZ)AGk-# ze*@!B2mB12$IVm^RR&pWveY!a8E@{R%SOcNaIkliV62w3Qy! z)pl9gB8CSMiM=3DNpJtA?_c-*8@~Um@Bij|);ybH6`ldf1i_x8ShW_ z@UxIBh6v`K^m~$ggm|Qrf+zYvk!!-li0W_%=3DNAU<0ci``>CF#6QCt0t?m>20G)!1#gy8jxZHc1+mg}L4qGmyBR zIdHG;r^firLVUP}R`J~CW2kF%L)kl!;XbzN1Q@7{-&3%0Hr*8M${sXyNTAbaZ~8Sj6P{qucfd<1t*ZStKE>)!4J7^sZ*V#pruJ@vMC zite8K&H#JO?SHh)vz@(X_oibfB%Tj?|DVFfiXgB(NNib?On0o9VO-qr8Rj_Q`QH0G zp1$mxNh7#oU7T9x*a=3DvS=3DKmwIqz_=3D!0X$)^-j^ijRT3gr4s_lPda|z{N0`WOY zQzMYn1^Tn~_|aGWnEGhlx60FCW*6BPwJv|jk5fLj9v(bT?%O5P&lb_scT0cXbZzhb z6WGZ&4DCwX+4b>ccY1A1XK3D^<~}g}nU3sfud$-P!il@m0+D*caupvC|#$;X3sht~&_UN#1pvPM>vI zZ~DNKfhNT!1MS5cJ=3DPlsU zyi9Kfd|{8);94XX>Q8g+%{>Q;de; + #size-cells =3D <1>; + + aliases { + serial0 =3D &serial0; + serial1 =3D &serial1; + pci0 =3D &pci0; + pci1 =3D &pci1; + pci2 =3D &pci2; + pci3 =3D &pci3; + }; + + cpus { + #address-cells =3D <1>; + #size-cells =3D <0>; + + PowerPC,85xx@0 { + device_type =3D "cpu"; + reg =3D <0x0>; + d-cache-line-size =3D <32>; // 32 bytes + i-cache-line-size =3D <32>; // 32 bytes + d-cache-size =3D <0x8000>; // L1, 32K + i-cache-size =3D <0x8000>; // L1, 32K + timebase-frequency =3D <0>; + bus-frequency =3D <0>; + clock-frequency =3D <0>; + next-level-cache =3D <&L2>; + }; + }; + + memory { + device_type =3D "memory"; + reg =3D <0x0 0x0>; // Filled by U-Boot + }; + + soc85xx@e0000000 { + #address-cells =3D <1>; + #size-cells =3D <1>; + device_type =3D "soc"; + compatible =3D "simple-bus"; + + ranges =3D <0x0 0xe0000000 0x100000>; + reg =3D <0xe0000000 0x1000>; // CCSRBAR 1M + bus-frequency =3D <0>; // Filled out by uboot. + + memory-controller@2000 { + compatible =3D "fsl,8544-memory-controller"; + reg =3D <0x2000 0x1000>; + interrupt-parent =3D <&mpic>; + interrupts =3D <18 2>; + }; + + L2: l2-cache-controller@20000 { + compatible =3D "fsl,8544-l2-cache-controller"; + reg =3D <0x20000 0x1000>; + cache-line-size =3D <32>; // 32 bytes + cache-size =3D <0x40000>; // L2, 256K + interrupt-parent =3D <&mpic>; + interrupts =3D <16 2>; + }; + + serial0: serial@4500 { + cell-index =3D <0>; + device_type =3D "serial"; + compatible =3D "ns16550"; + reg =3D <0x4500 0x100>; + clock-frequency =3D <0>; + interrupts =3D <42 2>; + interrupt-parent =3D <&mpic>; + }; + + serial1: serial@4600 { + cell-index =3D <1>; + device_type =3D "serial"; + compatible =3D "ns16550"; + reg =3D <0x4600 0x100>; + clock-frequency =3D <0>; + interrupts =3D <42 2>; + interrupt-parent =3D <&mpic>; + }; + + global-utilities@e0000 { //global utilities block + compatible =3D "fsl,mpc8548-guts"; + reg =3D <0xe0000 0x1000>; + fsl,has-rstcr; + }; + + crypto@30000 { + compatible =3D "fsl,sec2.1", "fsl,sec2.0"; + reg =3D <0x30000 0x10000>; + interrupts =3D <45 2>; + interrupt-parent =3D <&mpic>; + fsl,num-channels =3D <4>; + fsl,channel-fifo-len =3D <24>; + fsl,exec-units-mask =3D <0xfe>; + fsl,descriptor-types-mask =3D <0x12b0ebf>; + }; + + mpic: pic@40000 { + interrupt-controller; + #address-cells =3D <0>; + #interrupt-cells =3D <2>; + reg =3D <0x40000 0x40000>; + compatible =3D "chrp,open-pic"; + device_type =3D "open-pic"; + }; + + msi@41600 { + compatible =3D "fsl,mpc8544-msi", "fsl,mpic-msi"; + reg =3D <0x41600 0x80>; + msi-available-ranges =3D <0 0x100>; + interrupts =3D < + 0xe0 0 + 0xe1 0 + 0xe2 0 + 0xe3 0 + 0xe4 0 + 0xe5 0 + 0xe6 0 + 0xe7 0>; + interrupt-parent =3D <&mpic>; + }; + }; + + pci0: pci@e0008000 { + cell-index =3D <0>; + compatible =3D "fsl,mpc8540-pci"; + device_type =3D "pci"; + interrupt-map-mask =3D <0xf800 0x0 0x0 0x7>; + interrupt-map =3D < + + /* 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 =3D <&mpic>; + interrupts =3D <24 2>; + bus-range =3D <0 255>; + ranges =3D <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000 + 0x1000000 0x0 0x0 0xe1000000 0x0 0x10000>; + clock-frequency =3D <66666666>; + #interrupt-cells =3D <1>; + #size-cells =3D <2>; + #address-cells =3D <3>; + reg =3D <0xe0008000 0x1000>; + }; + + pci1: pcie@e0009000 { + cell-index =3D <1>; + compatible =3D "fsl,mpc8548-pcie"; + device_type =3D "pci"; + #interrupt-cells =3D <1>; + #size-cells =3D <2>; + #address-cells =3D <3>; + reg =3D <0xe0009000 0x1000>; + bus-range =3D <0 255>; + ranges =3D <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000 + 0x1000000 0x0 0x0 0xe1010000 0x0 0x10000>; + clock-frequency =3D <33333333>; + interrupt-parent =3D <&mpic>; + interrupts =3D <26 2>; + interrupt-map-mask =3D <0xf800 0x0 0x0 0x7>; + interrupt-map =3D < + /* IDSEL 0x0 */ + 0000 0x0 0x0 0x1 &mpic 0x4 0x1 + 0000 0x0 0x0 0x2 &mpic 0x5 0x1 + 0000 0x0 0x0 0x3 &mpic 0x6 0x1 + 0000 0x0 0x0 0x4 &mpic 0x7 0x1 + >; + pcie@0 { + reg =3D <0x0 0x0 0x0 0x0 0x0>; + #size-cells =3D <2>; + #address-cells =3D <3>; + device_type =3D "pci"; + ranges =3D <0x2000000 0x0 0x80000000 + 0x2000000 0x0 0x80000000 + 0x0 0x20000000 + + 0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x10000>; + }; + }; + + pci2: pcie@e000a000 { + cell-index =3D <2>; + compatible =3D "fsl,mpc8548-pcie"; + device_type =3D "pci"; + #interrupt-cells =3D <1>; + #size-cells =3D <2>; + #address-cells =3D <3>; + reg =3D <0xe000a000 0x1000>; + bus-range =3D <0 255>; + ranges =3D <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 + 0x1000000 0x0 0x0 0xe1020000 0x0 0x10000>; + clock-frequency =3D <33333333>; + interrupt-parent =3D <&mpic>; + interrupts =3D <25 2>; + interrupt-map-mask =3D <0xf800 0x0 0x0 0x7>; + interrupt-map =3D < + /* IDSEL 0x0 */ + 0000 0x0 0x0 0x1 &mpic 0x0 0x1 + 0000 0x0 0x0 0x2 &mpic 0x1 0x1 + 0000 0x0 0x0 0x3 &mpic 0x2 0x1 + 0000 0x0 0x0 0x4 &mpic 0x3 0x1 + >; + pcie@0 { + reg =3D <0x0 0x0 0x0 0x0 0x0>; + #size-cells =3D <2>; + #address-cells =3D <3>; + device_type =3D "pci"; + ranges =3D <0x2000000 0x0 0xa0000000 + 0x2000000 0x0 0xa0000000 + 0x0 0x10000000 + + 0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x10000>; + }; + }; + + pci3: pcie@e000b000 { + cell-index =3D <3>; + compatible =3D "fsl,mpc8548-pcie"; + device_type =3D "pci"; + #interrupt-cells =3D <1>; + #size-cells =3D <2>; + #address-cells =3D <3>; + reg =3D <0xe000b000 0x1000>; + bus-range =3D <0 255>; + ranges =3D <0x2000000 0x0 0xb0000000 0xb0000000 0x0 0x100000 + 0x1000000 0x0 0x0 0xb0100000 0x0 0x100000>; + clock-frequency =3D <33333333>; + interrupt-parent =3D <&mpic>; + interrupts =3D <27 2>; + interrupt-map-mask =3D <0xff00 0x0 0x0 0x1>; + interrupt-map =3D < + // IDSEL 0x1c USB + 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2 + 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2 + 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2 + 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2 + + // IDSEL 0x1d Audio + 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2 + + // IDSEL 0x1e Legacy + 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2 + 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2 + + // IDSEL 0x1f IDE/SATA + 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2 + 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2 + >; + + pcie@0 { + reg =3D <0x0 0x0 0x0 0x0 0x0>; + #size-cells =3D <2>; + #address-cells =3D <3>; + device_type =3D "pci"; + ranges =3D <0x2000000 0x0 0xb0000000 + 0x2000000 0x0 0xb0000000 + 0x0 0x100000 + + 0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x100000>; + + uli1575@0 { + reg =3D <0x0 0x0 0x0 0x0 0x0>; + #size-cells =3D <2>; + #address-cells =3D <3>; + ranges =3D <0x2000000 0x0 0xb0000000 + 0x2000000 0x0 0xb0000000 + 0x0 0x100000 + + 0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x100000>; + isa@1e { + device_type =3D "isa"; + #interrupt-cells =3D <2>; + #size-cells =3D <1>; + #address-cells =3D <2>; + reg =3D <0xf000 0x0 0x0 0x0 0x0>; + ranges =3D <0x1 0x0 + 0x1000000 0x0 0x0 + 0x1000>; + interrupt-parent =3D <&i8259>; + + i8259: interrupt-controller@20 { + reg =3D <0x1 0x20 0x2 + 0x1 0xa0 0x2 + 0x1 0x4d0 0x2>; + interrupt-controller; + device_type =3D "interrupt-controller"; + #address-cells =3D <0>; + #interrupt-cells =3D <2>; + compatible =3D "chrp,iic"; + interrupts =3D <9 2>; + interrupt-parent =3D <&mpic>; + }; + + i8042@60 { + #size-cells =3D <0>; + #address-cells =3D <1>; + reg =3D <0x1 0x60 0x1 0x1 0x64 0x1>; + interrupts =3D <1 3 12 3>; + interrupt-parent =3D <&i8259>; + + keyboard@0 { + reg =3D <0x0>; + compatible =3D "pnpPNP,303"; + }; + + mouse@1 { + reg =3D <0x1>; + compatible =3D "pnpPNP,f03"; + }; + }; + + rtc@70 { + compatible =3D "pnpPNP,b00"; + reg =3D <0x1 0x70 0x2>; + }; + + gpio@400 { + reg =3D <0x1 0x400 0x80>; + }; + }; + }; + }; + }; + chosen { + linux,stdout-path =3D "/soc85xx@e0000000/serial@4500"; + }; +}; --=20 1.5.4