and changed files
[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 = <0>;       // from bootloader
31                         clock-frequency = <0>;          // from bootloader
32                 };
33         };
34
35         memory {
36                 device_type = "memory";
37                 reg =   <00000000 00000000>;            // from bootloader
38         };
39
40         soc8245@fc000000 {
41                 device_type = "soc";
42                 ranges = <80000000 80000000 70000000    // pci mem space
43                           fc000000 fc000000 00100000    // EUMB
44                           fe000000 fe000000 00c00000    // pci i/o space
45                           fec00000 fec00000 00300000    // pci cfg regs
46                           fef00000 fef00000 00100000    // pci iack
47                           ff080000 ff080000 00000040>;  // UARTs
48                 reg = <fc000000 00100000>;
49                 #address-cells = <1>;
50                 #size-cells = <1>;
51                 #interrupt-cells = <2>;
52
53                 i2c@fc003000 {
54                         device_type = "i2c";
55                         compatible = "fsl-i2c";
56                         clock-frequency = <0>;
57                         reg = <fc003000 1000>;
58                         interrupts = <32 0>;
59                         interrupt-parent = <40000>;
60                         #address-cells = <1>;
61                         #size-cells = <1>;
62                         #interrupt-cells = <1>;
63                 };
64
65                 pic@fc040000 {
66                         device_type = "open-pic";
67                         compatible = "chrp,open-pic";
68                         interrupt-controller;
69                         reg = <fc040000 40000>;
70                         clock-frequency = <0>;
71                         serial-mode = <1>;
72                         built-in;
73                         linux,phandle = <40000>;
74                         #interrupt-cells = <2>;
75                         #address-cells = <0>;
76                 };
77
78                 pci@fec00000 {
79                         device_type = "pci";
80                         compatible = "8245";
81                         reg = <fec00000 00400000>;
82                         ranges = <01000000 0        0 fe000000 0 00c00000
83                                   02000000 0 80000000 80000000 0 70000000>;
84                         bus-range = <0 ff>;
85                         interrupt-parent = <40000>;
86                         interrupt-map-mask = <f800 0 0 7>;
87                         interrupt-map = <
88                                 // IDSEL 16
89                                 8000 0 0 1 40000 0 1
90                                 8000 0 0 2 40000 1 1
91                                 8000 0 0 3 40000 2 1
92                                 8000 0 0 4 40000 3 1
93                                 // IDSEL 17
94                                 8800 0 0 1 40000 1 1
95                                 8800 0 0 2 40000 2 1
96                                 8800 0 0 3 40000 3 1
97                                 8800 0 0 4 40000 4 1
98                                 // IDSEL 18
99                                 9000 0 0 1 40000 2 1
100                                 9000 0 0 2 40000 3 1
101                                 9000 0 0 3 40000 4 1
102                                 9000 0 0 4 40000 0 1
103                                 // IDSEL 19
104                                 9800 0 0 1 40000 3 1
105                                 9800 0 0 2 40000 4 1
106                                 9800 0 0 3 40000 0 1
107                                 9800 0 0 4 40000 1 1
108                                 // IDSEL 20
109                                 a000 0 0 1 40000 4 1
110                                 a000 0 0 2 40000 0 1
111                                 a000 0 0 3 40000 1 1
112                                 a000 0 0 4 40000 2 1
113                         >;
114                         #address-cells = <3>;
115                         #size-cells = <2>;
116                         #interrupt-cells = <1>;
117                 };
118
119                 serial@ff080000 {
120                         device_type = "serial";
121                         compatible = "ns16550";
122                         reg = <ff080000 8>;
123                         clock-frequency = <e10000>;
124                         current-speed = <1c200>;
125                         interrupts = <5 1>;
126                         interrupt-parent = <40000>;
127                 };
128
129                 serial@ff080010 {
130                         device_type = "serial";
131                         compatible = "ns16550";
132                         reg = <ff080010 8>;
133                         clock-frequency = <e10000>;
134                         current-speed = <1c200>;
135                         interrupts = <5 1>;
136                         interrupt-parent = <40000>;
137                 };
138
139                 serial@ff080020 {
140                         device_type = "serial";
141                         compatible = "ns16550";
142                         reg = <ff080020 8>;
143                         clock-frequency = <e10000>;
144                         current-speed = <1c200>;
145                         interrupts = <5 1>;
146                         interrupt-parent = <40000>;
147                 };
148
149                 serial@ff080030 {
150                         device_type = "serial";
151                         compatible = "ns16550";
152                         reg = <ff080030 8>;
153                         clock-frequency = <e10000>;
154                         current-speed = <1c200>;
155                         interrupts = <5 1>;
156                         interrupt-parent = <40000>;
157                 };
158         };
159
160         nvram@ff000000 {
161                 device_type = "nvram";
162                 reg = <ff000000 7fff0>;
163         };
164
165         rtc@ff07fff8 {
166                 device_type = "rtc";
167                 reg = <ff07fff8 8>;
168         };
169 };