RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / arch / powerpc / boot / dts / kuroboxHD.dts
bloba983680c326384d3125ba1d39a65163b7455bada
1 /*
2  * Device Tree Souce for Buffalo KuroboxHD
3  *
4  * Choose CONFIG_LINKSTATION to build a kernel for KuroboxHD, or use
5  * the default configuration linkstation_defconfig.
6  *
7  * Based on sandpoint.dts
8  *
9  * 2006 (c) G. Liakhovetski <g.liakhovetski@gmx.de>
10  *
11  * This file is licensed under
12  * the terms of the GNU General Public License version 2.  This program
13  * is licensed "as is" without any warranty of any kind, whether express
14  * or implied.
16 XXXX add flash parts, rtc, ??
18 build with: "dtc -f -I dts -O dtb -o kuroboxHD.dtb -V 16 kuroboxHD.dts"
21  */
23 / {
24         model = "KuroboxHD";
25         compatible = "linkstation";
26         #address-cells = <1>;
27         #size-cells = <1>;
29         cpus {
30                 #address-cells = <1>;
31                 #size-cells = <0>;
33                 PowerPC,603e { /* Really 8241 */
34                         device_type = "cpu";
35                         reg = <0>;
36                         clock-frequency = <bebc200>;    /* Fixed by bootwrapper */
37                         timebase-frequency = <1743000>; /* Fixed by bootwrapper */
38                         bus-frequency = <0>;            /* From bootloader */
39                         /* Following required by dtc but not used */
40                         i-cache-line-size = <0>;
41                         d-cache-line-size = <0>;
42                         i-cache-size = <4000>;
43                         d-cache-size = <4000>;
44                 };
45         };
47         memory {
48                 device_type = "memory";
49                 reg = <00000000 04000000>;
50         };
52         soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */
53                 #address-cells = <1>;
54                 #size-cells = <1>;
55                 #interrupt-cells = <2>;
56                 device_type = "soc";
57                 compatible = "mpc10x";
58                 store-gathering = <0>; /* 0 == off, !0 == on */
59                 reg = <80000000 00100000>;
60                 ranges = <80000000 80000000 70000000    /* pci mem space */
61                           fc000000 fc000000 00100000    /* EUMB */
62                           fe000000 fe000000 00c00000    /* pci i/o space */
63                           fec00000 fec00000 00300000    /* pci cfg regs */
64                           fef00000 fef00000 00100000>;  /* pci iack */
66                 i2c@80003000 {
67                         device_type = "i2c";
68                         compatible = "fsl-i2c";
69                         reg = <80003000 1000>;
70                         interrupts = <5 2>;
71                         interrupt-parent = <&mpic>;
72                 };
74                 serial@80004500 {
75                         device_type = "serial";
76                         compatible = "ns16550";
77                         reg = <80004500 8>;
78                         clock-frequency = <5d08d88>;
79                         current-speed = <2580>;
80                         interrupts = <9 2>;
81                         interrupt-parent = <&mpic>;
82                 };
84                 serial@80004600 {
85                         device_type = "serial";
86                         compatible = "ns16550";
87                         reg = <80004600 8>;
88                         clock-frequency = <5d08d88>;
89                         current-speed = <e100>;
90                         interrupts = <a 0>;
91                         interrupt-parent = <&mpic>;
92                 };
94                 mpic: pic@80040000 {
95                         #interrupt-cells = <2>;
96                         #address-cells = <0>;
97                         device_type = "open-pic";
98                         compatible = "chrp,open-pic";
99                         interrupt-controller;
100                         reg = <80040000 40000>;
101                         built-in;
102                 };
104                 pci@fec00000 {
105                         #address-cells = <3>;
106                         #size-cells = <2>;
107                         #interrupt-cells = <1>;
108                         device_type = "pci";
109                         compatible = "mpc10x-pci";
110                         reg = <fec00000 400000>;
111                         ranges = <01000000 0        0 fe000000 0 00c00000
112                                   02000000 0 80000000 80000000 0 70000000>;
113                         bus-range = <0 ff>;
114                         clock-frequency = <7f28155>;
115                         interrupt-parent = <&mpic>;
116                         interrupt-map-mask = <f800 0 0 7>;
117                         interrupt-map = <
118                                 /* IDSEL 11 - IRQ0 ETH */
119                                 5800 0 0 1 &mpic 0 1
120                                 5800 0 0 2 &mpic 1 1
121                                 5800 0 0 3 &mpic 2 1
122                                 5800 0 0 4 &mpic 3 1
123                                 /* IDSEL 12 - IRQ1 IDE0 */
124                                 6000 0 0 1 &mpic 1 1
125                                 6000 0 0 2 &mpic 2 1
126                                 6000 0 0 3 &mpic 3 1
127                                 6000 0 0 4 &mpic 0 1
128                                 /* IDSEL 14 - IRQ3 USB2.0 */
129                                 7000 0 0 1 &mpic 3 1
130                                 7000 0 0 2 &mpic 3 1
131                                 7000 0 0 3 &mpic 3 1
132                                 7000 0 0 4 &mpic 3 1
133                         >;
134                 };
135         };