qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6664] kvm/powerpc: flat device tree files for MPC8544DS


From: Aurelien Jarno
Subject: [Qemu-devel] [6664] kvm/powerpc: flat device tree files for MPC8544DS
Date: Mon, 02 Mar 2009 16:42:50 +0000

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 <address@hidden>
Acked-by: Hollis Blanchard <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

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,/address@hidden/address@hidden/address@hidden/address@hidden</address@hidden
 PowerPC,address@hidden c address@hidden 
Asocsimple-bus
address@hidden@address@hidden,open-pic        
address@hidden,mpc8540-pciApci"\xF8\xE05\x88\x88\x88\x88\x90\x90\x90\x90\xDD\xD2C\xFF0\xC0\xC0\xC0
 address@hidden 
M\xE0\x80chosenM/address@hidden/address@hidden
     
modelcompatible#address-cells#size-cellsserial0serial1pci0device_typeregd-cache-line-sizei-cache-line-sized-cache-sizei-cache-sizetimebase-frequencybus-frequencyclock-frequencyrangescell-indexinterruptsinterrupt-parentinterrupt-controller#interrupt-cellslinux,phandleinterrupt-map-maskinterrupt-mapbus-rangelinux,stdout-path
\ No newline at end of file

Added: trunk/pc-bios/mpc8544ds.dts
===================================================================
--- trunk/pc-bios/mpc8544ds.dts                         (rev 0)
+++ trunk/pc-bios/mpc8544ds.dts 2009-03-02 16:42:49 UTC (rev 6664)
@@ -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,address@hidden {
+                       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
+       };
+
+       address@hidden {
+               #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: address@hidden {
+                       cell-index = <0>;
+                       device_type = "serial";
+                       compatible = "ns16550";
+                       reg = <0x4500 0x100>;
+                       clock-frequency = <0>;
+                       interrupts = <42 2>;
+                       interrupt-parent = <&mpic>;
+               };
+
+               serial1: address@hidden {
+                       cell-index = <1>;
+                       device_type = "serial";
+                       compatible = "ns16550";
+                       reg = <0x4600 0x100>;
+                       clock-frequency = <0>;
+                       interrupts = <42 2>;
+                       interrupt-parent = <&mpic>;
+               };
+
+               mpic: address@hidden {
+                       interrupt-controller;
+                       #address-cells = <0>;
+                       #interrupt-cells = <2>;
+                       reg = <0x40000 0x40000>;
+                       compatible = "chrp,open-pic";
+                       device_type = "open-pic";
+               };
+       };
+
+       pci0: address@hidden {
+               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 = "/address@hidden/address@hidden";
+       };
+};





reply via email to

[Prev in Thread] Current Thread [Next in Thread]