blob: 2e5a1a1812b6343fa2e82f806a3b99527c9354b7 [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>
Kumar Gala998c6102008-04-17 09:40:48 -050010 * Copyright 2008 Freescale Semiconductor, Inc.
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010011 *
12 * This file is licensed under
13 * the terms of the GNU General Public License version 2. This program
14 * is licensed "as is" without any warranty of any kind, whether express
15 * or implied.
16
17XXXX add flash parts, rtc, ??
18
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010019 */
20
Kumar Gala998c6102008-04-17 09:40:48 -050021/dts-v1/;
22
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010023/ {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010024 model = "KuroboxHD";
25 compatible = "linkstation";
26 #address-cells = <1>;
27 #size-cells = <1>;
28
Kumar Galaea082fa2007-12-12 01:46:12 -060029 aliases {
30 serial0 = &serial0;
31 serial1 = &serial1;
32 pci0 = &pci0;
33 };
34
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010035 cpus {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010036 #address-cells = <1>;
37 #size-cells = <0>;
38
39 PowerPC,603e { /* Really 8241 */
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010040 device_type = "cpu";
Kumar Gala998c6102008-04-17 09:40:48 -050041 reg = <0x0>;
42 clock-frequency = <200000000>; /* Fixed by bootloader */
43 timebase-frequency = <24391680>; /* Fixed by bootloader */
Guennadi Liakhovetskif2d32db2007-07-22 08:43:11 +100044 bus-frequency = <0>; /* Fixed by bootloader */
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010045 /* Following required by dtc but not used */
Kumar Gala998c6102008-04-17 09:40:48 -050046 i-cache-size = <0x4000>;
47 d-cache-size = <0x4000>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010048 };
49 };
50
51 memory {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010052 device_type = "memory";
Kumar Gala998c6102008-04-17 09:40:48 -050053 reg = <0x0 0x4000000>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010054 };
55
56 soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010057 #address-cells = <1>;
58 #size-cells = <1>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010059 device_type = "soc";
60 compatible = "mpc10x";
61 store-gathering = <0>; /* 0 == off, !0 == on */
Kumar Gala998c6102008-04-17 09:40:48 -050062 reg = <0x80000000 0x100000>;
63 ranges = <0x80000000 0x80000000 0x70000000 /* pci mem space */
64 0xfc000000 0xfc000000 0x100000 /* EUMB */
65 0xfe000000 0xfe000000 0xc00000 /* pci i/o space */
66 0xfec00000 0xfec00000 0x300000 /* pci cfg regs */
67 0xfef00000 0xfef00000 0x100000>; /* pci iack */
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010068
69 i2c@80003000 {
Guennadi Liakhovetskif2d32db2007-07-22 08:43:11 +100070 #address-cells = <1>;
71 #size-cells = <0>;
Kumar Galaec9686c2007-12-11 23:17:24 -060072 cell-index = <0>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010073 compatible = "fsl-i2c";
Kumar Gala998c6102008-04-17 09:40:48 -050074 reg = <0x80003000 0x1000>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010075 interrupts = <5 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050076 interrupt-parent = <&mpic>;
Guennadi Liakhovetskif2d32db2007-07-22 08:43:11 +100077
78 rtc@32 {
79 device_type = "rtc";
Guennadi Liakhovetski7f2862c2007-08-26 00:08:11 +020080 compatible = "ricoh,rs5c372a";
Kumar Gala998c6102008-04-17 09:40:48 -050081 reg = <0x32>;
Guennadi Liakhovetskif2d32db2007-07-22 08:43:11 +100082 };
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010083 };
84
Kumar Galaea082fa2007-12-12 01:46:12 -060085 serial0: serial@80004500 {
86 cell-index = <0>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010087 device_type = "serial";
88 compatible = "ns16550";
Kumar Gala998c6102008-04-17 09:40:48 -050089 reg = <0x80004500 0x8>;
90 clock-frequency = <97553800>;
91 current-speed = <9600>;
Guennadi Liakhovetski7f2862c2007-08-26 00:08:11 +020092 interrupts = <9 0>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050093 interrupt-parent = <&mpic>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010094 };
95
Kumar Galaea082fa2007-12-12 01:46:12 -060096 serial1: serial@80004600 {
97 cell-index = <1>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +010098 device_type = "serial";
99 compatible = "ns16550";
Kumar Gala998c6102008-04-17 09:40:48 -0500100 reg = <0x80004600 0x8>;
101 clock-frequency = <97553800>;
102 current-speed = <57600>;
103 interrupts = <10 0>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500104 interrupt-parent = <&mpic>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100105 };
106
Guennadi Liakhovetskif2d32db2007-07-22 08:43:11 +1000107 mpic: interrupt-controller@80040000 {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100108 #interrupt-cells = <2>;
109 #address-cells = <0>;
110 device_type = "open-pic";
111 compatible = "chrp,open-pic";
112 interrupt-controller;
Kumar Gala998c6102008-04-17 09:40:48 -0500113 reg = <0x80040000 0x40000>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100114 };
115
Kumar Galaea082fa2007-12-12 01:46:12 -0600116 pci0: pci@fec00000 {
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100117 #address-cells = <3>;
118 #size-cells = <2>;
119 #interrupt-cells = <1>;
120 device_type = "pci";
121 compatible = "mpc10x-pci";
Kumar Gala998c6102008-04-17 09:40:48 -0500122 reg = <0xfec00000 0x400000>;
123 ranges = <0x1000000 0x0 0x0 0xfe000000 0x0 0xc00000
124 0x2000000 0x0 0x80000000 0x80000000 0x0 0x70000000>;
125 bus-range = <0 255>;
126 clock-frequency = <133333333>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500127 interrupt-parent = <&mpic>;
Kumar Gala998c6102008-04-17 09:40:48 -0500128 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100129 interrupt-map = <
Grant Likelye3f64782007-04-22 07:24:04 +1000130 /* IDSEL 11 - IRQ0 ETH */
Kumar Gala998c6102008-04-17 09:40:48 -0500131 0x5800 0x0 0x0 0x1 &mpic 0x0 0x1
132 0x5800 0x0 0x0 0x2 &mpic 0x1 0x1
133 0x5800 0x0 0x0 0x3 &mpic 0x2 0x1
134 0x5800 0x0 0x0 0x4 &mpic 0x3 0x1
Grant Likelye3f64782007-04-22 07:24:04 +1000135 /* IDSEL 12 - IRQ1 IDE0 */
Kumar Gala998c6102008-04-17 09:40:48 -0500136 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1
137 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1
138 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
139 0x6000 0x0 0x0 0x4 &mpic 0x0 0x1
Grant Likelye3f64782007-04-22 07:24:04 +1000140 /* IDSEL 14 - IRQ3 USB2.0 */
Kumar Gala998c6102008-04-17 09:40:48 -0500141 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1
142 0x7000 0x0 0x0 0x2 &mpic 0x3 0x1
143 0x7000 0x0 0x0 0x3 &mpic 0x3 0x1
144 0x7000 0x0 0x0 0x4 &mpic 0x3 0x1
Guennadi Liakhovetski8500adc2007-01-28 23:31:08 +0100145 >;
146 };
147 };
148};