blob: 122537419d9f75d9f99cde8fb25c9ff35f69bc0b [file] [log] [blame]
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +01001/*
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.
15
16XXXX add flash parts, rtc, ??
17
18build with: "dtc -f -I dts -O dtb -o kuroboxHD.dtb -V 16 kuroboxHD.dts"
19
20
21 */
22
23/ {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010024 model = "KuroboxHD";
25 compatible = "linkstation";
26 #address-cells = <1>;
27 #size-cells = <1>;
28
29 cpus {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010030 #address-cells = <1>;
31 #size-cells = <0>;
32
33 PowerPC,603e { /* Really 8241 */
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010034 device_type = "cpu";
35 reg = <0>;
Guennadi Liakhovetskif2d32db2007-07-22 08:43:11 +100036 clock-frequency = <bebc200>; /* Fixed by bootloader */
37 timebase-frequency = <1743000>; /* Fixed by bootloader */
38 bus-frequency = <0>; /* Fixed by bootloader */
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010039 /* Following required by dtc but not used */
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010040 i-cache-size = <4000>;
41 d-cache-size = <4000>;
42 };
43 };
44
45 memory {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010046 device_type = "memory";
47 reg = <00000000 04000000>;
48 };
49
50 soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010051 #address-cells = <1>;
52 #size-cells = <1>;
53 #interrupt-cells = <2>;
54 device_type = "soc";
55 compatible = "mpc10x";
56 store-gathering = <0>; /* 0 == off, !0 == on */
57 reg = <80000000 00100000>;
58 ranges = <80000000 80000000 70000000 /* pci mem space */
59 fc000000 fc000000 00100000 /* EUMB */
60 fe000000 fe000000 00c00000 /* pci i/o space */
61 fec00000 fec00000 00300000 /* pci cfg regs */
62 fef00000 fef00000 00100000>; /* pci iack */
63
64 i2c@80003000 {
Guennadi Liakhovetskif2d32db2007-07-22 08:43:11 +100065 #address-cells = <1>;
66 #size-cells = <0>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010067 device_type = "i2c";
68 compatible = "fsl-i2c";
69 reg = <80003000 1000>;
70 interrupts = <5 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050071 interrupt-parent = <&mpic>;
Guennadi Liakhovetskif2d32db2007-07-22 08:43:11 +100072
73 rtc@32 {
74 device_type = "rtc";
75 compatible = "ricoh,rs5c372b";
76 reg = <32>;
77 };
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010078 };
79
80 serial@80004500 {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010081 device_type = "serial";
82 compatible = "ns16550";
83 reg = <80004500 8>;
84 clock-frequency = <5d08d88>;
85 current-speed = <2580>;
86 interrupts = <9 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050087 interrupt-parent = <&mpic>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010088 };
89
90 serial@80004600 {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010091 device_type = "serial";
92 compatible = "ns16550";
93 reg = <80004600 8>;
94 clock-frequency = <5d08d88>;
95 current-speed = <e100>;
96 interrupts = <a 0>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050097 interrupt-parent = <&mpic>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010098 };
99
Guennadi Liakhovetskif2d32db2007-07-22 08:43:11 +1000100 mpic: interrupt-controller@80040000 {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100101 #interrupt-cells = <2>;
102 #address-cells = <0>;
103 device_type = "open-pic";
104 compatible = "chrp,open-pic";
105 interrupt-controller;
106 reg = <80040000 40000>;
107 built-in;
108 };
109
110 pci@fec00000 {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100111 #address-cells = <3>;
112 #size-cells = <2>;
113 #interrupt-cells = <1>;
114 device_type = "pci";
115 compatible = "mpc10x-pci";
116 reg = <fec00000 400000>;
117 ranges = <01000000 0 0 fe000000 0 00c00000
118 02000000 0 80000000 80000000 0 70000000>;
119 bus-range = <0 ff>;
120 clock-frequency = <7f28155>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500121 interrupt-parent = <&mpic>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100122 interrupt-map-mask = <f800 0 0 7>;
123 interrupt-map = <
Grant Likelye3f64782007-04-22 07:24:04 +1000124 /* IDSEL 11 - IRQ0 ETH */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500125 5800 0 0 1 &mpic 0 1
126 5800 0 0 2 &mpic 1 1
127 5800 0 0 3 &mpic 2 1
128 5800 0 0 4 &mpic 3 1
Grant Likelye3f64782007-04-22 07:24:04 +1000129 /* IDSEL 12 - IRQ1 IDE0 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500130 6000 0 0 1 &mpic 1 1
131 6000 0 0 2 &mpic 2 1
132 6000 0 0 3 &mpic 3 1
133 6000 0 0 4 &mpic 0 1
Grant Likelye3f64782007-04-22 07:24:04 +1000134 /* IDSEL 14 - IRQ3 USB2.0 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500135 7000 0 0 1 &mpic 3 1
136 7000 0 0 2 &mpic 3 1
137 7000 0 0 3 &mpic 3 1
138 7000 0 0 4 &mpic 3 1
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100139 >;
140 };
141 };
142};