basic modification from way back
[powerpc.git] / arch / powerpc / boot / dts / kvme080.dts
1 /*
2  * Device Tree Souce for kvme080
3  *
4  * Copyright 2007 Sangmoon Kim <dogoil@etinsys.com>.
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 / {
13         model = "kvme080";
14         compatible = "kvme080";
15         #address-cells = <1>;
16         #size-cells = <1>;
17
18         cpus {
19                 #cpus = <1>;
20                 #address-cells = <1>;
21                 #size-cells = <0>;
22
23                 PowerPC,8245@0 {
24                         device_type = "cpu";
25                         reg = <0>;
26                         i-cache-line-size = <20>;
27                         d-cache-line-size = <20>;
28                         i-cache-size = <4000>;
29                         d-cache-size = <4000>;
30                         timebase-frequency = <1A0446>;  // from bootloader
31                         clock-frequency = <140801C>;    // from bootloader
32                 };
33         };
34
35         memory {
36                 device_type = "memory";
37                 reg =   <00000000 02000000>;            // 32M at 0x0
38         };
39
40         soc8245@fc000000 {
41                 device_type = "soc";
42                 compatible = "mpc10x";
43                 store-gathering = <0>; /* 0 == off, !0 == on */
44                 ranges = <80000000 80000000 70000000    // pci mem space
45                           fc000000 fc000000 00c00000    // pci i/o space (EUMB)
46                           fcc00000 fcc00000 00300000    // pci cfg regs
47                           fcf00000 fcf00000 00100000    // pci iack
48                           fc004500 fc004500 00000200>;  // UARTs
49                 reg = <fc000000 00100000>;
50                 #address-cells = <1>;
51                 #size-cells = <1>;
52                 #interrupt-cells = <2>;
53
54                 i2c@fc003000 {
55                         device_type = "i2c";
56                         compatible = "fsl-i2c";
57                         //clock-frequency = <0>;
58                         reg = <fc003000 1000>;
59                         interrupts = <32 0>;
60                         interrupt-parent = <40000>;
61                         #address-cells = <1>;
62                         #size-cells = <1>;
63                         #interrupt-cells = <1>;
64                 };
65
66                 pic@fc040000 {
67                         device_type = "open-pic";
68                         compatible = "chrp,open-pic";
69                         interrupt-controller;
70                         reg = <fc040000 40000>;
71                         clock-frequency = <0>;
72                         serial-mode = <1>;
73                         built-in;
74                         linux,phandle = <40000>;
75                         #interrupt-cells = <2>;
76                         #address-cells = <0>;
77                 };
78
79                 pci@fcc00000 {
80                         device_type = "pci";
81                         //compatible = "8245";
82                         compatible = "mpc10x-pci";
83                         reg = <fcc00000 00400000>;
84                         ranges = <01000000 0        0 fc000000 0 00c00000
85                                   02000000 0 80000000 80000000 0 70000000>;
86                         bus-range = <0 ff>;
87                         interrupt-parent = <40000>;
88                         interrupt-map-mask = <f800 0 0 7>;
89                         interrupt-map = <
90                                 /* IDSEL 11 - IRQ0 ETH */
91                                 5800 0 0 1 4400 0 1
92                                 5800 0 0 2 4400 1 1
93                                 5800 0 0 3 4400 2 1
94                                 5800 0 0 4 4400 3 1
95                                 /* IDSEL 12 - IRQ1 IDE0 */
96                                 6000 0 0 1 4400 1 1
97                                 6000 0 0 2 4400 2 1
98                                 6000 0 0 3 4400 3 1
99                                 6000 0 0 4 4400 0 1
100                                 /* IDSEL 13 - IRQ2 IDE0 */
101                                 6800 0 0 1 4400 2 1
102                                 6800 0 0 2 4400 2 1
103                                 6800 0 0 3 4400 3 1
104                                 6800 0 0 4 4400 0 1
105                                 /* IDSEL 14 - IRQ3 USB2.0 */
106                                 7000 0 0 1 4400 3 1
107                                 7000 0 0 2 4400 3 1
108                                 7000 0 0 3 4400 3 1
109                                 7000 0 0 4 4400 3 1
110                                 /* IDSEL 15 - IRQ3 ADM983 */
111                                 7000 0 0 1 4400 3 1
112                                 7000 0 0 2 4400 3 1
113                                 7000 0 0 3 4400 3 1
114                                 7000 0 0 4 4400 3 1
115                                 // IDSEL 16
116                                 8000 0 0 1 40000 0 1
117                                 8000 0 0 2 40000 1 1
118                                 8000 0 0 3 40000 2 1
119                                 8000 0 0 4 40000 3 1
120                                 // IDSEL 17
121                                 8800 0 0 1 40000 1 1
122                                 8800 0 0 2 40000 2 1
123                                 8800 0 0 3 40000 3 1
124                                 8800 0 0 4 40000 4 1
125                                 // IDSEL 18
126                                 9000 0 0 1 40000 2 1
127                                 9000 0 0 2 40000 3 1
128                                 9000 0 0 3 40000 4 1
129                                 9000 0 0 4 40000 0 1
130                                 // IDSEL 19
131                                 9800 0 0 1 40000 3 1
132                                 9800 0 0 2 40000 4 1
133                                 9800 0 0 3 40000 0 1
134                                 9800 0 0 4 40000 1 1
135                                 // IDSEL 20
136                                 a000 0 0 1 40000 4 1
137                                 a000 0 0 2 40000 0 1
138                                 a000 0 0 3 40000 1 1
139                                 a000 0 0 4 40000 2 1
140                         >;
141                         #address-cells = <3>;
142                         #size-cells = <2>;
143                         #interrupt-cells = <1>;
144                 };
145
146                 serial@fc004500 {
147                         device_type = "serial";
148                         compatible = "ns16550";
149                         reg = <fc004500 8>;
150                         clock-frequency = <0>;          // e10000,5d08d88
151                         current-speed = <1c200>;        // 2580
152                         interrupts = <5 1>;
153                         interrupt-parent = <40000>;
154                 };
155
156                 serial@fc004600 {
157                         device_type = "serial";
158                         compatible = "ns16550";
159                         reg = <fc004600 8>;
160                         clock-frequency = <0>;
161                         current-speed = <1c200>;
162                         interrupts = <5 1>;
163                         interrupt-parent = <40000>;
164                 };
165
166         };
167
168 };