]> git.proxmox.com Git - qemu.git/blob - pc-bios/mpc8544ds.dts
PPC: e500: dt: create /cpus node dynamically
[qemu.git] / pc-bios / mpc8544ds.dts
1 /*
2 * MPC8544 DS Device Tree Source
3 *
4 * Copyright 2007, 2008 Freescale Semiconductor Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11
12 /dts-v1/;
13 / {
14 model = "MPC8544DS";
15 compatible = "MPC8544DS", "MPC85xxDS";
16 #address-cells = <1>;
17 #size-cells = <1>;
18
19 aliases {
20 serial0 = &serial0;
21 serial1 = &serial1;
22 pci0 = &pci0;
23 };
24
25 soc8544@e0000000 {
26 #address-cells = <1>;
27 #size-cells = <1>;
28 device_type = "soc";
29 compatible = "simple-bus";
30
31 ranges = <0x0 0xe0000000 0x100000>;
32 reg = <0xe0000000 0x1000>; // CCSRBAR 1M
33 bus-frequency = <0>; // Filled out by uboot.
34
35 serial0: serial@4500 {
36 cell-index = <0>;
37 device_type = "serial";
38 compatible = "ns16550";
39 reg = <0x4500 0x100>;
40 clock-frequency = <0>;
41 interrupts = <42 2>;
42 interrupt-parent = <&mpic>;
43 };
44
45 serial1: serial@4600 {
46 cell-index = <1>;
47 device_type = "serial";
48 compatible = "ns16550";
49 reg = <0x4600 0x100>;
50 clock-frequency = <0>;
51 interrupts = <42 2>;
52 interrupt-parent = <&mpic>;
53 };
54
55 mpic: pic@40000 {
56 interrupt-controller;
57 #address-cells = <0>;
58 #interrupt-cells = <2>;
59 reg = <0x40000 0x40000>;
60 compatible = "chrp,open-pic";
61 device_type = "open-pic";
62 };
63
64 global-utilities@e0000 { //global utilities block
65 compatible = "fsl,mpc8544-guts";
66 reg = <0xe0000 0x1000>;
67 fsl,has-rstcr;
68 };
69 };
70
71 pci0: pci@e0008000 {
72 cell-index = <0>;
73 compatible = "fsl,mpc8540-pci";
74 device_type = "pci";
75 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
76 interrupt-map = <
77
78 /* IDSEL 0x11 J17 Slot 1 */
79 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
80 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
81 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
82 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
83
84 /* IDSEL 0x12 J16 Slot 2 */
85
86 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
87 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
88 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
89 0x9000 0x0 0x0 0x4 &mpic 0x1 0x1>;
90
91 interrupt-parent = <&mpic>;
92 interrupts = <24 2>;
93 bus-range = <0 255>;
94 ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000
95 0x1000000 0x0 0x0 0xe1000000 0x0 0x10000>;
96 clock-frequency = <66666666>;
97 #interrupt-cells = <1>;
98 #size-cells = <2>;
99 #address-cells = <3>;
100 reg = <0xe0008000 0x1000>;
101 };
102
103 chosen {
104 linux,stdout-path = "/soc8544@e0000000/serial@4500";
105 };
106
107 hypervisor {
108 };
109 };