]> git.proxmox.com Git - qemu.git/blob - pc-bios/mpc8544ds.dts
01b53baa680404a35a99cb4a8ee8d44f7953b361
[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 aliases {
15 serial0 = &serial0;
16 serial1 = &serial1;
17 pci0 = &pci0;
18 };
19
20 soc8544@e0000000 {
21 serial0: serial@4500 {
22 cell-index = <0>;
23 device_type = "serial";
24 compatible = "ns16550";
25 reg = <0x4500 0x100>;
26 clock-frequency = <0>;
27 interrupts = <42 2>;
28 interrupt-parent = <&mpic>;
29 };
30
31 serial1: serial@4600 {
32 cell-index = <1>;
33 device_type = "serial";
34 compatible = "ns16550";
35 reg = <0x4600 0x100>;
36 clock-frequency = <0>;
37 interrupts = <42 2>;
38 interrupt-parent = <&mpic>;
39 };
40
41 mpic: pic@40000 {
42 interrupt-controller;
43 #address-cells = <0>;
44 #interrupt-cells = <2>;
45 reg = <0x40000 0x40000>;
46 compatible = "chrp,open-pic";
47 device_type = "open-pic";
48 };
49
50 global-utilities@e0000 { //global utilities block
51 compatible = "fsl,mpc8544-guts";
52 reg = <0xe0000 0x1000>;
53 fsl,has-rstcr;
54 };
55 };
56
57 pci0: pci@e0008000 {
58 cell-index = <0>;
59 compatible = "fsl,mpc8540-pci";
60 device_type = "pci";
61 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
62 interrupt-map = <
63
64 /* IDSEL 0x11 J17 Slot 1 */
65 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
66 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
67 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
68 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
69
70 /* IDSEL 0x12 J16 Slot 2 */
71
72 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
73 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
74 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
75 0x9000 0x0 0x0 0x4 &mpic 0x1 0x1>;
76
77 interrupt-parent = <&mpic>;
78 interrupts = <24 2>;
79 bus-range = <0 255>;
80 ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000
81 0x1000000 0x0 0x0 0xe1000000 0x0 0x10000>;
82 clock-frequency = <66666666>;
83 #interrupt-cells = <1>;
84 #size-cells = <2>;
85 #address-cells = <3>;
86 reg = <0xe0008000 0x1000>;
87 };
88
89 chosen {
90 linux,stdout-path = "/soc8544@e0000000/serial@4500";
91 };
92 };