1*c66ec88fSEmmanuel Vadot/*
2*c66ec88fSEmmanuel Vadot * Device Tree Source for IOMEGA StorCenter
3*c66ec88fSEmmanuel Vadot *
4*c66ec88fSEmmanuel Vadot * Copyright 2007 Oyvind Repvik
5*c66ec88fSEmmanuel Vadot * Copyright 2007 Jon Loeliger
6*c66ec88fSEmmanuel Vadot *
7*c66ec88fSEmmanuel Vadot * Based on the Kurobox DTS by G. Liakhovetski <g.liakhovetski@gmx.de>
8*c66ec88fSEmmanuel Vadot *
9*c66ec88fSEmmanuel Vadot * This file is licensed under the terms of the GNU General Public
10*c66ec88fSEmmanuel Vadot * License version 2.  This program is licensed "as is" without any
11*c66ec88fSEmmanuel Vadot * warranty of any kind, whether express or implied.
12*c66ec88fSEmmanuel Vadot */
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot/dts-v1/;
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot/ {
17*c66ec88fSEmmanuel Vadot	model = "StorCenter";
18*c66ec88fSEmmanuel Vadot	compatible = "iomega,storcenter";
19*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
20*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot	aliases {
23*c66ec88fSEmmanuel Vadot		serial0 = &serial0;
24*c66ec88fSEmmanuel Vadot		serial1 = &serial1;
25*c66ec88fSEmmanuel Vadot		pci0 = &pci0;
26*c66ec88fSEmmanuel Vadot	};
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot	cpus {
29*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
30*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot		PowerPC,8241@0 {
33*c66ec88fSEmmanuel Vadot			device_type = "cpu";
34*c66ec88fSEmmanuel Vadot			reg = <0>;
35*c66ec88fSEmmanuel Vadot			clock-frequency = <200000000>;
36*c66ec88fSEmmanuel Vadot			timebase-frequency = <25000000>;
37*c66ec88fSEmmanuel Vadot			bus-frequency = <0>;	/* from bootwrapper */
38*c66ec88fSEmmanuel Vadot			i-cache-line-size = <32>;
39*c66ec88fSEmmanuel Vadot			d-cache-line-size = <32>;
40*c66ec88fSEmmanuel Vadot			i-cache-size = <16384>;
41*c66ec88fSEmmanuel Vadot			d-cache-size = <16384>;
42*c66ec88fSEmmanuel Vadot		};
43*c66ec88fSEmmanuel Vadot	};
44*c66ec88fSEmmanuel Vadot
45*c66ec88fSEmmanuel Vadot	memory {
46*c66ec88fSEmmanuel Vadot		device_type = "memory";
47*c66ec88fSEmmanuel Vadot		reg = <0x00000000 0x04000000>;	/* 64MB @ 0x0 */
48*c66ec88fSEmmanuel Vadot	};
49*c66ec88fSEmmanuel Vadot
50*c66ec88fSEmmanuel Vadot	soc@fc000000 {
51*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
52*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
53*c66ec88fSEmmanuel Vadot		device_type = "soc";
54*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8241", "mpc10x";
55*c66ec88fSEmmanuel Vadot		store-gathering = <0>; /* 0 == off, !0 == on */
56*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xfc000000 0x100000>;
57*c66ec88fSEmmanuel Vadot		reg = <0xfc000000 0x100000>;	/* EUMB */
58*c66ec88fSEmmanuel Vadot		bus-frequency = <0>;		/* fixed by loader */
59*c66ec88fSEmmanuel Vadot
60*c66ec88fSEmmanuel Vadot		i2c@3000 {
61*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
62*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
63*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
64*c66ec88fSEmmanuel Vadot			reg = <0x3000 0x100>;
65*c66ec88fSEmmanuel Vadot			interrupts = <17 2>;
66*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
67*c66ec88fSEmmanuel Vadot
68*c66ec88fSEmmanuel Vadot			rtc@68 {
69*c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1337";
70*c66ec88fSEmmanuel Vadot				reg = <0x68>;
71*c66ec88fSEmmanuel Vadot			};
72*c66ec88fSEmmanuel Vadot		};
73*c66ec88fSEmmanuel Vadot
74*c66ec88fSEmmanuel Vadot		serial0: serial@4500 {
75*c66ec88fSEmmanuel Vadot			cell-index = <0>;
76*c66ec88fSEmmanuel Vadot			device_type = "serial";
77*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
78*c66ec88fSEmmanuel Vadot			reg = <0x4500 0x20>;
79*c66ec88fSEmmanuel Vadot			clock-frequency = <97553800>; /* Hz */
80*c66ec88fSEmmanuel Vadot			current-speed = <115200>;
81*c66ec88fSEmmanuel Vadot			interrupts = <25 2>;
82*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
83*c66ec88fSEmmanuel Vadot		};
84*c66ec88fSEmmanuel Vadot
85*c66ec88fSEmmanuel Vadot		serial1: serial@4600 {
86*c66ec88fSEmmanuel Vadot			cell-index = <1>;
87*c66ec88fSEmmanuel Vadot			device_type = "serial";
88*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
89*c66ec88fSEmmanuel Vadot			reg = <0x4600 0x20>;
90*c66ec88fSEmmanuel Vadot			clock-frequency = <97553800>; /* Hz */
91*c66ec88fSEmmanuel Vadot			current-speed = <9600>;
92*c66ec88fSEmmanuel Vadot			interrupts = <26 2>;
93*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
94*c66ec88fSEmmanuel Vadot		};
95*c66ec88fSEmmanuel Vadot
96*c66ec88fSEmmanuel Vadot		mpic: interrupt-controller@40000 {
97*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
98*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
99*c66ec88fSEmmanuel Vadot			device_type = "open-pic";
100*c66ec88fSEmmanuel Vadot			compatible = "chrp,open-pic";
101*c66ec88fSEmmanuel Vadot			interrupt-controller;
102*c66ec88fSEmmanuel Vadot			reg = <0x40000 0x40000>;
103*c66ec88fSEmmanuel Vadot		};
104*c66ec88fSEmmanuel Vadot
105*c66ec88fSEmmanuel Vadot	};
106*c66ec88fSEmmanuel Vadot
107*c66ec88fSEmmanuel Vadot	pci0: pci@fe800000 {
108*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
109*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
110*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
111*c66ec88fSEmmanuel Vadot		device_type = "pci";
112*c66ec88fSEmmanuel Vadot		compatible = "mpc10x-pci";
113*c66ec88fSEmmanuel Vadot		reg = <0xfe800000 0x1000>;
114*c66ec88fSEmmanuel Vadot		ranges = <0x01000000 0x0        0x0 0xfe000000 0x0 0x00c00000
115*c66ec88fSEmmanuel Vadot			  0x02000000 0x0 0x80000000 0x80000000 0x0 0x70000000>;
116*c66ec88fSEmmanuel Vadot		bus-range = <0 0xff>;
117*c66ec88fSEmmanuel Vadot		clock-frequency = <97553800>;
118*c66ec88fSEmmanuel Vadot		interrupt-parent = <&mpic>;
119*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0 0 7>;
120*c66ec88fSEmmanuel Vadot		interrupt-map = <
121*c66ec88fSEmmanuel Vadot			/* IDSEL 13 - IDE */
122*c66ec88fSEmmanuel Vadot			0x6800 0 0 1 &mpic 0 1
123*c66ec88fSEmmanuel Vadot			0x6800 0 0 2 &mpic 0 1
124*c66ec88fSEmmanuel Vadot			0x6800 0 0 3 &mpic 0 1
125*c66ec88fSEmmanuel Vadot			0x6800 0 0 4 &mpic 0 1
126*c66ec88fSEmmanuel Vadot			/* IDSEL 14 - USB */
127*c66ec88fSEmmanuel Vadot			0x7000 0 0 1 &mpic 0 1
128*c66ec88fSEmmanuel Vadot			0x7000 0 0 2 &mpic 0 1
129*c66ec88fSEmmanuel Vadot			0x7000 0 0 3 &mpic 0 1
130*c66ec88fSEmmanuel Vadot			0x7000 0 0 4 &mpic 0 1
131*c66ec88fSEmmanuel Vadot			/* IDSEL 15 - ETH */
132*c66ec88fSEmmanuel Vadot			0x7800 0 0 1 &mpic 0 1
133*c66ec88fSEmmanuel Vadot			0x7800 0 0 2 &mpic 0 1
134*c66ec88fSEmmanuel Vadot			0x7800 0 0 3 &mpic 0 1
135*c66ec88fSEmmanuel Vadot			0x7800 0 0 4 &mpic 0 1
136*c66ec88fSEmmanuel Vadot		>;
137*c66ec88fSEmmanuel Vadot	};
138*c66ec88fSEmmanuel Vadot
139*c66ec88fSEmmanuel Vadot	chosen {
140*c66ec88fSEmmanuel Vadot		stdout-path = &serial0;
141*c66ec88fSEmmanuel Vadot	};
142*c66ec88fSEmmanuel Vadot};
143