177e03a22SKumar Gala/*
277e03a22SKumar Gala * STX GP3 - 8560 ADS Device Tree Source
377e03a22SKumar Gala *
477e03a22SKumar Gala * Copyright 2008 Freescale Semiconductor Inc.
577e03a22SKumar Gala *
677e03a22SKumar Gala * This program is free software; you can redistribute  it and/or modify it
777e03a22SKumar Gala * under  the terms of  the GNU General  Public License as published by the
877e03a22SKumar Gala * Free Software Foundation;  either version 2 of the  License, or (at your
977e03a22SKumar Gala * option) any later version.
1077e03a22SKumar Gala */
1177e03a22SKumar Gala
1277e03a22SKumar Gala/dts-v1/;
1377e03a22SKumar Gala
1477e03a22SKumar Gala/ {
1577e03a22SKumar Gala	model = "stx,gp3";
1677e03a22SKumar Gala	compatible = "stx,gp3-8560", "stx,gp3";
1777e03a22SKumar Gala	#address-cells = <1>;
1877e03a22SKumar Gala	#size-cells = <1>;
1977e03a22SKumar Gala
2077e03a22SKumar Gala	aliases {
2177e03a22SKumar Gala		ethernet0 = &enet0;
2277e03a22SKumar Gala		ethernet1 = &enet1;
2377e03a22SKumar Gala		serial0 = &serial0;
2477e03a22SKumar Gala		pci0 = &pci0;
2577e03a22SKumar Gala	};
2677e03a22SKumar Gala
2777e03a22SKumar Gala	cpus {
2877e03a22SKumar Gala		#address-cells = <1>;
2977e03a22SKumar Gala		#size-cells = <0>;
3077e03a22SKumar Gala
3177e03a22SKumar Gala		PowerPC,8560@0 {
3277e03a22SKumar Gala			device_type = "cpu";
3377e03a22SKumar Gala			reg = <0>;
3477e03a22SKumar Gala			d-cache-line-size = <32>;
3577e03a22SKumar Gala			i-cache-line-size = <32>;
3677e03a22SKumar Gala			d-cache-size = <32768>;
3777e03a22SKumar Gala			i-cache-size = <32768>;
3877e03a22SKumar Gala			timebase-frequency = <0>;
3977e03a22SKumar Gala			bus-frequency = <0>;
4077e03a22SKumar Gala			clock-frequency = <0>;
41c054065bSKumar Gala			next-level-cache = <&L2>;
4277e03a22SKumar Gala		};
4377e03a22SKumar Gala	};
4477e03a22SKumar Gala
4577e03a22SKumar Gala	memory {
4677e03a22SKumar Gala		device_type = "memory";
4777e03a22SKumar Gala		reg = <0x00000000 0x10000000>;
4877e03a22SKumar Gala	};
4977e03a22SKumar Gala
50f67be814SKumar Gala	soc@fdf00000 {
5177e03a22SKumar Gala		#address-cells = <1>;
5277e03a22SKumar Gala		#size-cells = <1>;
5377e03a22SKumar Gala		device_type = "soc";
5477e03a22SKumar Gala		ranges = <0 0xfdf00000 0x100000>;
5577e03a22SKumar Gala		reg = <0xfdf00000 0x1000>;
5677e03a22SKumar Gala		bus-frequency = <0>;
5777e03a22SKumar Gala		compatible = "fsl,mpc8560-immr", "simple-bus";
5877e03a22SKumar Gala
5977e03a22SKumar Gala		memory-controller@2000 {
60fe671772SKumar Gala			compatible = "fsl,mpc8540-memory-controller";
6177e03a22SKumar Gala			reg = <0x2000 0x1000>;
6277e03a22SKumar Gala			interrupt-parent = <&mpic>;
6377e03a22SKumar Gala			interrupts = <18 2>;
6477e03a22SKumar Gala		};
6577e03a22SKumar Gala
66c054065bSKumar Gala		L2: l2-cache-controller@20000 {
67fe671772SKumar Gala			compatible = "fsl,mpc8540-l2-cache-controller";
6877e03a22SKumar Gala			reg = <0x20000 0x1000>;
6977e03a22SKumar Gala			cache-line-size = <32>;
7077e03a22SKumar Gala			cache-size = <0x40000>;	// L2, 256K
7177e03a22SKumar Gala			interrupt-parent = <&mpic>;
7277e03a22SKumar Gala			interrupts = <16 2>;
7377e03a22SKumar Gala		};
7477e03a22SKumar Gala
7577e03a22SKumar Gala		i2c@3000 {
7677e03a22SKumar Gala			#address-cells = <1>;
7777e03a22SKumar Gala			#size-cells = <0>;
7877e03a22SKumar Gala			cell-index = <0>;
7977e03a22SKumar Gala			compatible = "fsl-i2c";
8077e03a22SKumar Gala			reg = <0x3000 0x100>;
8177e03a22SKumar Gala			interrupts = <43 2>;
8277e03a22SKumar Gala			interrupt-parent = <&mpic>;
8377e03a22SKumar Gala			dfsrr;
8477e03a22SKumar Gala		};
8577e03a22SKumar Gala
86dee80553SKumar Gala		dma@21300 {
87dee80553SKumar Gala			#address-cells = <1>;
88dee80553SKumar Gala			#size-cells = <1>;
89dee80553SKumar Gala			compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
90dee80553SKumar Gala			reg = <0x21300 0x4>;
91dee80553SKumar Gala			ranges = <0x0 0x21100 0x200>;
92dee80553SKumar Gala			cell-index = <0>;
93dee80553SKumar Gala			dma-channel@0 {
94dee80553SKumar Gala				compatible = "fsl,mpc8560-dma-channel",
95dee80553SKumar Gala						"fsl,eloplus-dma-channel";
96dee80553SKumar Gala				reg = <0x0 0x80>;
97dee80553SKumar Gala				cell-index = <0>;
98dee80553SKumar Gala				interrupt-parent = <&mpic>;
99dee80553SKumar Gala				interrupts = <20 2>;
100dee80553SKumar Gala			};
101dee80553SKumar Gala			dma-channel@80 {
102dee80553SKumar Gala				compatible = "fsl,mpc8560-dma-channel",
103dee80553SKumar Gala						"fsl,eloplus-dma-channel";
104dee80553SKumar Gala				reg = <0x80 0x80>;
105dee80553SKumar Gala				cell-index = <1>;
106dee80553SKumar Gala				interrupt-parent = <&mpic>;
107dee80553SKumar Gala				interrupts = <21 2>;
108dee80553SKumar Gala			};
109dee80553SKumar Gala			dma-channel@100 {
110dee80553SKumar Gala				compatible = "fsl,mpc8560-dma-channel",
111dee80553SKumar Gala						"fsl,eloplus-dma-channel";
112dee80553SKumar Gala				reg = <0x100 0x80>;
113dee80553SKumar Gala				cell-index = <2>;
114dee80553SKumar Gala				interrupt-parent = <&mpic>;
115dee80553SKumar Gala				interrupts = <22 2>;
116dee80553SKumar Gala			};
117dee80553SKumar Gala			dma-channel@180 {
118dee80553SKumar Gala				compatible = "fsl,mpc8560-dma-channel",
119dee80553SKumar Gala						"fsl,eloplus-dma-channel";
120dee80553SKumar Gala				reg = <0x180 0x80>;
121dee80553SKumar Gala				cell-index = <3>;
122dee80553SKumar Gala				interrupt-parent = <&mpic>;
123dee80553SKumar Gala				interrupts = <23 2>;
124dee80553SKumar Gala			};
125dee80553SKumar Gala		};
126dee80553SKumar Gala
12784ba4a58SAnton Vorontsov		enet0: ethernet@24000 {
12884ba4a58SAnton Vorontsov			#address-cells = <1>;
12984ba4a58SAnton Vorontsov			#size-cells = <1>;
13084ba4a58SAnton Vorontsov			cell-index = <0>;
13184ba4a58SAnton Vorontsov			device_type = "network";
13284ba4a58SAnton Vorontsov			model = "TSEC";
13384ba4a58SAnton Vorontsov			compatible = "gianfar";
13484ba4a58SAnton Vorontsov			reg = <0x24000 0x1000>;
13584ba4a58SAnton Vorontsov			ranges = <0x0 0x24000 0x1000>;
13684ba4a58SAnton Vorontsov			local-mac-address = [ 00 00 00 00 00 00 ];
13784ba4a58SAnton Vorontsov			interrupts = <29 2 30 2 34 2>;
13884ba4a58SAnton Vorontsov			interrupt-parent = <&mpic>;
13984ba4a58SAnton Vorontsov			tbi-handle = <&tbi0>;
14084ba4a58SAnton Vorontsov			phy-handle = <&phy2>;
14184ba4a58SAnton Vorontsov
14284ba4a58SAnton Vorontsov			mdio@520 {
14377e03a22SKumar Gala				#address-cells = <1>;
14477e03a22SKumar Gala				#size-cells = <0>;
14577e03a22SKumar Gala				compatible = "fsl,gianfar-mdio";
14684ba4a58SAnton Vorontsov				reg = <0x520 0x20>;
14777e03a22SKumar Gala
14877e03a22SKumar Gala				phy2: ethernet-phy@2 {
14977e03a22SKumar Gala					interrupt-parent = <&mpic>;
15077e03a22SKumar Gala					interrupts = <5 4>;
15177e03a22SKumar Gala					reg = <2>;
15277e03a22SKumar Gala					device_type = "ethernet-phy";
15377e03a22SKumar Gala				};
15477e03a22SKumar Gala				phy4: ethernet-phy@4 {
15577e03a22SKumar Gala					interrupt-parent = <&mpic>;
15677e03a22SKumar Gala					interrupts = <5 4>;
15777e03a22SKumar Gala					reg = <4>;
15877e03a22SKumar Gala					device_type = "ethernet-phy";
15977e03a22SKumar Gala				};
160b31a1d8bSAndy Fleming				tbi0: tbi-phy@11 {
161b31a1d8bSAndy Fleming					reg = <0x11>;
162b31a1d8bSAndy Fleming					device_type = "tbi-phy";
163b31a1d8bSAndy Fleming				};
164b31a1d8bSAndy Fleming			};
16584ba4a58SAnton Vorontsov		};
166b31a1d8bSAndy Fleming
16784ba4a58SAnton Vorontsov		enet1: ethernet@25000 {
16884ba4a58SAnton Vorontsov			#address-cells = <1>;
16984ba4a58SAnton Vorontsov			#size-cells = <1>;
17084ba4a58SAnton Vorontsov			cell-index = <1>;
17184ba4a58SAnton Vorontsov			device_type = "network";
17284ba4a58SAnton Vorontsov			model = "TSEC";
17384ba4a58SAnton Vorontsov			compatible = "gianfar";
17484ba4a58SAnton Vorontsov			reg = <0x25000 0x1000>;
17584ba4a58SAnton Vorontsov			ranges = <0x0 0x25000 0x1000>;
17684ba4a58SAnton Vorontsov			local-mac-address = [ 00 00 00 00 00 00 ];
17784ba4a58SAnton Vorontsov			interrupts = <35 2 36 2 40 2>;
17884ba4a58SAnton Vorontsov			interrupt-parent = <&mpic>;
17984ba4a58SAnton Vorontsov			tbi-handle = <&tbi1>;
18084ba4a58SAnton Vorontsov			phy-handle = <&phy4>;
18184ba4a58SAnton Vorontsov
18284ba4a58SAnton Vorontsov			mdio@520 {
183b31a1d8bSAndy Fleming				#address-cells = <1>;
184b31a1d8bSAndy Fleming				#size-cells = <0>;
185b31a1d8bSAndy Fleming				compatible = "fsl,gianfar-tbi";
18684ba4a58SAnton Vorontsov				reg = <0x520 0x20>;
187b31a1d8bSAndy Fleming
188b31a1d8bSAndy Fleming				tbi1: tbi-phy@11 {
189b31a1d8bSAndy Fleming					reg = <0x11>;
190b31a1d8bSAndy Fleming					device_type = "tbi-phy";
191b31a1d8bSAndy Fleming				};
19277e03a22SKumar Gala			};
19377e03a22SKumar Gala		};
19477e03a22SKumar Gala
19577e03a22SKumar Gala		mpic: pic@40000 {
19677e03a22SKumar Gala			interrupt-controller;
19777e03a22SKumar Gala			#address-cells = <0>;
19877e03a22SKumar Gala			#interrupt-cells = <2>;
19977e03a22SKumar Gala			reg = <0x40000 0x40000>;
200acd4b715SKumar Gala			compatible = "chrp,open-pic";
20177e03a22SKumar Gala			device_type = "open-pic";
20277e03a22SKumar Gala		};
20377e03a22SKumar Gala
20477e03a22SKumar Gala		cpm@919c0 {
20577e03a22SKumar Gala			#address-cells = <1>;
20677e03a22SKumar Gala			#size-cells = <1>;
20777e03a22SKumar Gala			compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
20877e03a22SKumar Gala			reg = <0x919c0 0x30>;
20977e03a22SKumar Gala			ranges;
21077e03a22SKumar Gala
21177e03a22SKumar Gala			muram@80000 {
21277e03a22SKumar Gala				#address-cells = <1>;
21377e03a22SKumar Gala				#size-cells = <1>;
21477e03a22SKumar Gala				ranges = <0 0x80000 0x10000>;
21577e03a22SKumar Gala
21677e03a22SKumar Gala				data@0 {
21777e03a22SKumar Gala					compatible = "fsl,cpm-muram-data";
21877e03a22SKumar Gala					reg = <0 0x4000 0x9000 0x2000>;
21977e03a22SKumar Gala				};
22077e03a22SKumar Gala			};
22177e03a22SKumar Gala
22277e03a22SKumar Gala			brg@919f0 {
22377e03a22SKumar Gala				compatible = "fsl,mpc8560-brg",
22477e03a22SKumar Gala				             "fsl,cpm2-brg",
22577e03a22SKumar Gala				             "fsl,cpm-brg";
22677e03a22SKumar Gala				reg = <0x919f0 0x10 0x915f0 0x10>;
22777e03a22SKumar Gala				clock-frequency = <0>;
22877e03a22SKumar Gala			};
22977e03a22SKumar Gala
23077e03a22SKumar Gala			cpmpic: pic@90c00 {
23177e03a22SKumar Gala				interrupt-controller;
23277e03a22SKumar Gala				#address-cells = <0>;
23377e03a22SKumar Gala				#interrupt-cells = <2>;
23477e03a22SKumar Gala				interrupts = <46 2>;
23577e03a22SKumar Gala				interrupt-parent = <&mpic>;
23677e03a22SKumar Gala				reg = <0x90c00 0x80>;
23777e03a22SKumar Gala				compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
23877e03a22SKumar Gala			};
23977e03a22SKumar Gala
24077e03a22SKumar Gala			serial0: serial@91a20 {
24177e03a22SKumar Gala				device_type = "serial";
24277e03a22SKumar Gala				compatible = "fsl,mpc8560-scc-uart",
24377e03a22SKumar Gala				             "fsl,cpm2-scc-uart";
24477e03a22SKumar Gala				reg = <0x91a20 0x20 0x88100 0x100>;
24577e03a22SKumar Gala				fsl,cpm-brg = <2>;
24677e03a22SKumar Gala				fsl,cpm-command = <0x4a00000>;
24777e03a22SKumar Gala				interrupts = <41 8>;
24877e03a22SKumar Gala				interrupt-parent = <&cpmpic>;
24977e03a22SKumar Gala			};
25077e03a22SKumar Gala		};
25177e03a22SKumar Gala	};
25277e03a22SKumar Gala
25377e03a22SKumar Gala	pci0: pci@fdf08000 {
25477e03a22SKumar Gala		cell-index = <0>;
25577e03a22SKumar Gala		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
25677e03a22SKumar Gala		interrupt-map = <
25777e03a22SKumar Gala
25877e03a22SKumar Gala			/* IDSEL 0x0c */
25977e03a22SKumar Gala			0x6000 0 0 1 &mpic 1 1
26077e03a22SKumar Gala			0x6000 0 0 2 &mpic 2 1
26177e03a22SKumar Gala			0x6000 0 0 3 &mpic 3 1
26277e03a22SKumar Gala			0x6000 0 0 4 &mpic 4 1
26377e03a22SKumar Gala
26477e03a22SKumar Gala			/* IDSEL 0x0d */
26577e03a22SKumar Gala			0x6800 0 0 1 &mpic 4 1
26677e03a22SKumar Gala			0x6800 0 0 2 &mpic 1 1
26777e03a22SKumar Gala			0x6800 0 0 3 &mpic 2 1
26877e03a22SKumar Gala			0x6800 0 0 4 &mpic 3 1
26977e03a22SKumar Gala
27077e03a22SKumar Gala			/* IDSEL 0x0e */
27177e03a22SKumar Gala			0x7000 0 0 1 &mpic 3 1
27277e03a22SKumar Gala			0x7000 0 0 2 &mpic 4 1
27377e03a22SKumar Gala			0x7000 0 0 3 &mpic 1 1
27477e03a22SKumar Gala			0x7000 0 0 4 &mpic 2 1
27577e03a22SKumar Gala
27677e03a22SKumar Gala			/* IDSEL 0x0f */
27777e03a22SKumar Gala			0x7800 0 0 1 &mpic 2 1
27877e03a22SKumar Gala			0x7800 0 0 2 &mpic 3 1
27977e03a22SKumar Gala			0x7800 0 0 3 &mpic 4 1
28077e03a22SKumar Gala			0x7800 0 0 4 &mpic 1 1>;
28177e03a22SKumar Gala
28277e03a22SKumar Gala		interrupt-parent = <&mpic>;
28377e03a22SKumar Gala		interrupts = <24 2>;
28477e03a22SKumar Gala		bus-range = <0 0>;
28577e03a22SKumar Gala		ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
28677e03a22SKumar Gala			  0x01000000 0 0x00000000 0xe2000000 0 0x00100000>;
28777e03a22SKumar Gala		clock-frequency = <66666666>;
28877e03a22SKumar Gala		#interrupt-cells = <1>;
28977e03a22SKumar Gala		#size-cells = <2>;
29077e03a22SKumar Gala		#address-cells = <3>;
29177e03a22SKumar Gala		reg = <0xfdf08000 0x1000>;
29277e03a22SKumar Gala		compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
29377e03a22SKumar Gala		device_type = "pci";
29477e03a22SKumar Gala	};
29577e03a22SKumar Gala};
296