blob: eab680ce10da035003ca19670553e5a1ab900ece [file] [log] [blame]
Jon Loeligerb164b902008-01-23 12:42:29 -06001/*
2 * Device Tree Source for IOMEGA StorCenter
3 *
4 * Copyright 2007 Oyvind Repvik
5 * Copyright 2007 Jon Loeliger
6 *
7 * Based on the Kurobox DTS by G. Liakhovetski <g.liakhovetski@gmx.de>
8 *
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
12 */
13
Jon Loeliger76293152008-01-25 16:36:47 -060014/dts-v1/;
15
Jon Loeligerb164b902008-01-23 12:42:29 -060016/ {
17 model = "StorCenter";
Jon Loeliger0367aad2008-02-02 13:02:51 -060018 compatible = "iomega,storcenter";
Jon Loeligerb164b902008-01-23 12:42:29 -060019 #address-cells = <1>;
20 #size-cells = <1>;
21
22 aliases {
23 serial0 = &serial0;
24 serial1 = &serial1;
25 pci0 = &pci0;
26 };
27
28 cpus {
29 #address-cells = <1>;
30 #size-cells = <0>;
31
32 PowerPC,8241@0 {
33 device_type = "cpu";
34 reg = <0>;
Jon Loeliger76293152008-01-25 16:36:47 -060035 clock-frequency = <200000000>;
36 timebase-frequency = <25000000>;
Jon Loeligerb164b902008-01-23 12:42:29 -060037 bus-frequency = <0>; /* from bootwrapper */
Jon Loeliger76293152008-01-25 16:36:47 -060038 i-cache-line-size = <32>;
39 d-cache-line-size = <32>;
40 i-cache-size = <16384>;
41 d-cache-size = <16384>;
Jon Loeligerb164b902008-01-23 12:42:29 -060042 };
43 };
44
45 memory {
46 device_type = "memory";
Jon Loeliger76293152008-01-25 16:36:47 -060047 reg = <0x00000000 0x04000000>; /* 64MB @ 0x0 */
Jon Loeligerb164b902008-01-23 12:42:29 -060048 };
49
50 soc@fc000000 {
51 #address-cells = <1>;
52 #size-cells = <1>;
53 device_type = "soc";
54 compatible = "fsl,mpc8241", "mpc10x";
55 store-gathering = <0>; /* 0 == off, !0 == on */
Jon Loeliger76293152008-01-25 16:36:47 -060056 ranges = <0x0 0xfc000000 0x100000>;
57 reg = <0xfc000000 0x100000>; /* EUMB */
Jon Loeligerb164b902008-01-23 12:42:29 -060058 bus-frequency = <0>; /* fixed by loader */
59
60 i2c@3000 {
61 #address-cells = <1>;
62 #size-cells = <0>;
63 compatible = "fsl-i2c";
Jon Loeliger76293152008-01-25 16:36:47 -060064 reg = <0x3000 0x100>;
Jon Loeliger0367aad2008-02-02 13:02:51 -060065 interrupts = <17 2>;
Jon Loeligerb164b902008-01-23 12:42:29 -060066 interrupt-parent = <&mpic>;
67
68 rtc@68 {
69 compatible = "dallas,ds1337";
Jon Loeliger0367aad2008-02-02 13:02:51 -060070 reg = <0x68>;
Jon Loeligerb164b902008-01-23 12:42:29 -060071 };
72 };
73
74 serial0: serial@4500 {
75 cell-index = <0>;
76 device_type = "serial";
77 compatible = "ns16550";
Jon Loeliger76293152008-01-25 16:36:47 -060078 reg = <0x4500 0x20>;
79 clock-frequency = <97553800>; /* Hz */
80 current-speed = <115200>;
Jon Loeliger0367aad2008-02-02 13:02:51 -060081 interrupts = <25 2>;
Jon Loeligerb164b902008-01-23 12:42:29 -060082 interrupt-parent = <&mpic>;
83 };
84
85 serial1: serial@4600 {
86 cell-index = <1>;
87 device_type = "serial";
88 compatible = "ns16550";
Jon Loeliger76293152008-01-25 16:36:47 -060089 reg = <0x4600 0x20>;
90 clock-frequency = <97553800>; /* Hz */
91 current-speed = <9600>;
Jon Loeliger0367aad2008-02-02 13:02:51 -060092 interrupts = <26 2>;
Jon Loeligerb164b902008-01-23 12:42:29 -060093 interrupt-parent = <&mpic>;
94 };
95
96 mpic: interrupt-controller@40000 {
97 #interrupt-cells = <2>;
Kumar Galaacd4b712008-05-30 12:12:26 -050098 #address-cells = <0>;
Jon Loeligerb164b902008-01-23 12:42:29 -060099 device_type = "open-pic";
100 compatible = "chrp,open-pic";
101 interrupt-controller;
Jon Loeliger76293152008-01-25 16:36:47 -0600102 reg = <0x40000 0x40000>;
Jon Loeligerb164b902008-01-23 12:42:29 -0600103 };
104
105 };
106
107 pci0: pci@fe800000 {
108 #address-cells = <3>;
109 #size-cells = <2>;
110 #interrupt-cells = <1>;
111 device_type = "pci";
112 compatible = "mpc10x-pci";
Jon Loeliger76293152008-01-25 16:36:47 -0600113 reg = <0xfe800000 0x1000>;
114 ranges = <0x01000000 0x0 0x0 0xfe000000 0x0 0x00c00000
115 0x02000000 0x0 0x80000000 0x80000000 0x0 0x70000000>;
116 bus-range = <0 0xff>;
117 clock-frequency = <97553800>;
Jon Loeligerb164b902008-01-23 12:42:29 -0600118 interrupt-parent = <&mpic>;
Jon Loeliger76293152008-01-25 16:36:47 -0600119 interrupt-map-mask = <0xf800 0 0 7>;
Jon Loeligerb164b902008-01-23 12:42:29 -0600120 interrupt-map = <
121 /* IDSEL 13 - IDE */
Jon Loeliger76293152008-01-25 16:36:47 -0600122 0x6800 0 0 1 &mpic 0 1
123 0x6800 0 0 2 &mpic 0 1
124 0x6800 0 0 3 &mpic 0 1
125 0x6800 0 0 4 &mpic 0 1
Jon Loeligerb164b902008-01-23 12:42:29 -0600126 /* IDSEL 14 - USB */
Jon Loeliger76293152008-01-25 16:36:47 -0600127 0x7000 0 0 1 &mpic 0 1
128 0x7000 0 0 2 &mpic 0 1
129 0x7000 0 0 3 &mpic 0 1
130 0x7000 0 0 4 &mpic 0 1
Jon Loeligerb164b902008-01-23 12:42:29 -0600131 /* IDSEL 15 - ETH */
Jon Loeliger76293152008-01-25 16:36:47 -0600132 0x7800 0 0 1 &mpic 0 1
133 0x7800 0 0 2 &mpic 0 1
134 0x7800 0 0 3 &mpic 0 1
135 0x7800 0 0 4 &mpic 0 1
Jon Loeligerb164b902008-01-23 12:42:29 -0600136 >;
137 };
138
139 chosen {
Jon Loeliger0367aad2008-02-02 13:02:51 -0600140 linux,stdout-path = &serial0;
Jon Loeligerb164b902008-01-23 12:42:29 -0600141 };
142};