12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later
277e03a22SKumar Gala/*
377e03a22SKumar Gala * STX GP3 - 8560 ADS Device Tree Source
477e03a22SKumar Gala *
577e03a22SKumar Gala * Copyright 2008 Freescale Semiconductor Inc.
677e03a22SKumar Gala */
777e03a22SKumar Gala
877e03a22SKumar Gala/dts-v1/;
977e03a22SKumar Gala
10*c1024320SPali Rohár/include/ "fsl/e500v1_power_isa.dtsi"
11*c1024320SPali Rohár
1277e03a22SKumar Gala/ {
1377e03a22SKumar Gala	model = "stx,gp3";
1477e03a22SKumar Gala	compatible = "stx,gp3-8560", "stx,gp3";
1577e03a22SKumar Gala	#address-cells = <1>;
1677e03a22SKumar Gala	#size-cells = <1>;
1777e03a22SKumar Gala
1877e03a22SKumar Gala	aliases {
1977e03a22SKumar Gala		ethernet0 = &enet0;
2077e03a22SKumar Gala		ethernet1 = &enet1;
2177e03a22SKumar Gala		serial0 = &serial0;
2277e03a22SKumar Gala		pci0 = &pci0;
2377e03a22SKumar Gala	};
2477e03a22SKumar Gala
2577e03a22SKumar Gala	cpus {
2677e03a22SKumar Gala		#address-cells = <1>;
2777e03a22SKumar Gala		#size-cells = <0>;
2877e03a22SKumar Gala
2977e03a22SKumar Gala		PowerPC,8560@0 {
3077e03a22SKumar Gala			device_type = "cpu";
3177e03a22SKumar Gala			reg = <0>;
3277e03a22SKumar Gala			d-cache-line-size = <32>;
3377e03a22SKumar Gala			i-cache-line-size = <32>;
3477e03a22SKumar Gala			d-cache-size = <32768>;
3577e03a22SKumar Gala			i-cache-size = <32768>;
3677e03a22SKumar Gala			timebase-frequency = <0>;
3777e03a22SKumar Gala			bus-frequency = <0>;
3877e03a22SKumar Gala			clock-frequency = <0>;
39c054065bSKumar Gala			next-level-cache = <&L2>;
4077e03a22SKumar Gala		};
4177e03a22SKumar Gala	};
4277e03a22SKumar Gala
4377e03a22SKumar Gala	memory {
4477e03a22SKumar Gala		device_type = "memory";
4577e03a22SKumar Gala		reg = <0x00000000 0x10000000>;
4677e03a22SKumar Gala	};
4777e03a22SKumar Gala
48f67be814SKumar Gala	soc@fdf00000 {
4977e03a22SKumar Gala		#address-cells = <1>;
5077e03a22SKumar Gala		#size-cells = <1>;
5177e03a22SKumar Gala		device_type = "soc";
5277e03a22SKumar Gala		ranges = <0 0xfdf00000 0x100000>;
5377e03a22SKumar Gala		bus-frequency = <0>;
5477e03a22SKumar Gala		compatible = "fsl,mpc8560-immr", "simple-bus";
5577e03a22SKumar Gala
56e1a22897SKumar Gala		ecm-law@0 {
57e1a22897SKumar Gala			compatible = "fsl,ecm-law";
58e1a22897SKumar Gala			reg = <0x0 0x1000>;
59e1a22897SKumar Gala			fsl,num-laws = <8>;
60e1a22897SKumar Gala		};
61e1a22897SKumar Gala
62e1a22897SKumar Gala		ecm@1000 {
63e1a22897SKumar Gala			compatible = "fsl,mpc8560-ecm", "fsl,ecm";
64e1a22897SKumar Gala			reg = <0x1000 0x1000>;
65e1a22897SKumar Gala			interrupts = <17 2>;
66e1a22897SKumar Gala			interrupt-parent = <&mpic>;
67e1a22897SKumar Gala		};
68e1a22897SKumar Gala
6977e03a22SKumar Gala		memory-controller@2000 {
70fe671772SKumar Gala			compatible = "fsl,mpc8540-memory-controller";
7177e03a22SKumar Gala			reg = <0x2000 0x1000>;
7277e03a22SKumar Gala			interrupt-parent = <&mpic>;
7377e03a22SKumar Gala			interrupts = <18 2>;
7477e03a22SKumar Gala		};
7577e03a22SKumar Gala
76c054065bSKumar Gala		L2: l2-cache-controller@20000 {
77fe671772SKumar Gala			compatible = "fsl,mpc8540-l2-cache-controller";
7877e03a22SKumar Gala			reg = <0x20000 0x1000>;
7977e03a22SKumar Gala			cache-line-size = <32>;
8077e03a22SKumar Gala			cache-size = <0x40000>;	// L2, 256K
8177e03a22SKumar Gala			interrupt-parent = <&mpic>;
8277e03a22SKumar Gala			interrupts = <16 2>;
8377e03a22SKumar Gala		};
8477e03a22SKumar Gala
8577e03a22SKumar Gala		i2c@3000 {
8677e03a22SKumar Gala			#address-cells = <1>;
8777e03a22SKumar Gala			#size-cells = <0>;
8877e03a22SKumar Gala			cell-index = <0>;
8977e03a22SKumar Gala			compatible = "fsl-i2c";
9077e03a22SKumar Gala			reg = <0x3000 0x100>;
9177e03a22SKumar Gala			interrupts = <43 2>;
9277e03a22SKumar Gala			interrupt-parent = <&mpic>;
9377e03a22SKumar Gala			dfsrr;
9477e03a22SKumar Gala		};
9577e03a22SKumar Gala
96dee80553SKumar Gala		dma@21300 {
97dee80553SKumar Gala			#address-cells = <1>;
98dee80553SKumar Gala			#size-cells = <1>;
99dee80553SKumar Gala			compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
100dee80553SKumar Gala			reg = <0x21300 0x4>;
101dee80553SKumar Gala			ranges = <0x0 0x21100 0x200>;
102dee80553SKumar Gala			cell-index = <0>;
103dee80553SKumar Gala			dma-channel@0 {
104dee80553SKumar Gala				compatible = "fsl,mpc8560-dma-channel",
105dee80553SKumar Gala						"fsl,eloplus-dma-channel";
106dee80553SKumar Gala				reg = <0x0 0x80>;
107dee80553SKumar Gala				cell-index = <0>;
108dee80553SKumar Gala				interrupt-parent = <&mpic>;
109dee80553SKumar Gala				interrupts = <20 2>;
110dee80553SKumar Gala			};
111dee80553SKumar Gala			dma-channel@80 {
112dee80553SKumar Gala				compatible = "fsl,mpc8560-dma-channel",
113dee80553SKumar Gala						"fsl,eloplus-dma-channel";
114dee80553SKumar Gala				reg = <0x80 0x80>;
115dee80553SKumar Gala				cell-index = <1>;
116dee80553SKumar Gala				interrupt-parent = <&mpic>;
117dee80553SKumar Gala				interrupts = <21 2>;
118dee80553SKumar Gala			};
119dee80553SKumar Gala			dma-channel@100 {
120dee80553SKumar Gala				compatible = "fsl,mpc8560-dma-channel",
121dee80553SKumar Gala						"fsl,eloplus-dma-channel";
122dee80553SKumar Gala				reg = <0x100 0x80>;
123dee80553SKumar Gala				cell-index = <2>;
124dee80553SKumar Gala				interrupt-parent = <&mpic>;
125dee80553SKumar Gala				interrupts = <22 2>;
126dee80553SKumar Gala			};
127dee80553SKumar Gala			dma-channel@180 {
128dee80553SKumar Gala				compatible = "fsl,mpc8560-dma-channel",
129dee80553SKumar Gala						"fsl,eloplus-dma-channel";
130dee80553SKumar Gala				reg = <0x180 0x80>;
131dee80553SKumar Gala				cell-index = <3>;
132dee80553SKumar Gala				interrupt-parent = <&mpic>;
133dee80553SKumar Gala				interrupts = <23 2>;
134dee80553SKumar Gala			};
135dee80553SKumar Gala		};
136dee80553SKumar Gala
13784ba4a58SAnton Vorontsov		enet0: ethernet@24000 {
13884ba4a58SAnton Vorontsov			#address-cells = <1>;
13984ba4a58SAnton Vorontsov			#size-cells = <1>;
14084ba4a58SAnton Vorontsov			cell-index = <0>;
14184ba4a58SAnton Vorontsov			device_type = "network";
14284ba4a58SAnton Vorontsov			model = "TSEC";
14384ba4a58SAnton Vorontsov			compatible = "gianfar";
14484ba4a58SAnton Vorontsov			reg = <0x24000 0x1000>;
14584ba4a58SAnton Vorontsov			ranges = <0x0 0x24000 0x1000>;
14684ba4a58SAnton Vorontsov			local-mac-address = [ 00 00 00 00 00 00 ];
14784ba4a58SAnton Vorontsov			interrupts = <29 2 30 2 34 2>;
14884ba4a58SAnton Vorontsov			interrupt-parent = <&mpic>;
14984ba4a58SAnton Vorontsov			tbi-handle = <&tbi0>;
15084ba4a58SAnton Vorontsov			phy-handle = <&phy2>;
15184ba4a58SAnton Vorontsov
15284ba4a58SAnton Vorontsov			mdio@520 {
15377e03a22SKumar Gala				#address-cells = <1>;
15477e03a22SKumar Gala				#size-cells = <0>;
15577e03a22SKumar Gala				compatible = "fsl,gianfar-mdio";
15684ba4a58SAnton Vorontsov				reg = <0x520 0x20>;
15777e03a22SKumar Gala
15877e03a22SKumar Gala				phy2: ethernet-phy@2 {
15977e03a22SKumar Gala					interrupt-parent = <&mpic>;
16077e03a22SKumar Gala					interrupts = <5 4>;
16177e03a22SKumar Gala					reg = <2>;
16277e03a22SKumar Gala				};
16377e03a22SKumar Gala				phy4: ethernet-phy@4 {
16477e03a22SKumar Gala					interrupt-parent = <&mpic>;
16577e03a22SKumar Gala					interrupts = <5 4>;
16677e03a22SKumar Gala					reg = <4>;
16777e03a22SKumar Gala				};
168b31a1d8bSAndy Fleming				tbi0: tbi-phy@11 {
169b31a1d8bSAndy Fleming					reg = <0x11>;
170b31a1d8bSAndy Fleming					device_type = "tbi-phy";
171b31a1d8bSAndy Fleming				};
172b31a1d8bSAndy Fleming			};
17384ba4a58SAnton Vorontsov		};
174b31a1d8bSAndy Fleming
17584ba4a58SAnton Vorontsov		enet1: ethernet@25000 {
17684ba4a58SAnton Vorontsov			#address-cells = <1>;
17784ba4a58SAnton Vorontsov			#size-cells = <1>;
17884ba4a58SAnton Vorontsov			cell-index = <1>;
17984ba4a58SAnton Vorontsov			device_type = "network";
18084ba4a58SAnton Vorontsov			model = "TSEC";
18184ba4a58SAnton Vorontsov			compatible = "gianfar";
18284ba4a58SAnton Vorontsov			reg = <0x25000 0x1000>;
18384ba4a58SAnton Vorontsov			ranges = <0x0 0x25000 0x1000>;
18484ba4a58SAnton Vorontsov			local-mac-address = [ 00 00 00 00 00 00 ];
18584ba4a58SAnton Vorontsov			interrupts = <35 2 36 2 40 2>;
18684ba4a58SAnton Vorontsov			interrupt-parent = <&mpic>;
18784ba4a58SAnton Vorontsov			tbi-handle = <&tbi1>;
18884ba4a58SAnton Vorontsov			phy-handle = <&phy4>;
18984ba4a58SAnton Vorontsov
19084ba4a58SAnton Vorontsov			mdio@520 {
191b31a1d8bSAndy Fleming				#address-cells = <1>;
192b31a1d8bSAndy Fleming				#size-cells = <0>;
193b31a1d8bSAndy Fleming				compatible = "fsl,gianfar-tbi";
19484ba4a58SAnton Vorontsov				reg = <0x520 0x20>;
195b31a1d8bSAndy Fleming
196b31a1d8bSAndy Fleming				tbi1: tbi-phy@11 {
197b31a1d8bSAndy Fleming					reg = <0x11>;
198b31a1d8bSAndy Fleming					device_type = "tbi-phy";
199b31a1d8bSAndy Fleming				};
20077e03a22SKumar Gala			};
20177e03a22SKumar Gala		};
20277e03a22SKumar Gala
20377e03a22SKumar Gala		mpic: pic@40000 {
20477e03a22SKumar Gala			interrupt-controller;
20577e03a22SKumar Gala			#address-cells = <0>;
20677e03a22SKumar Gala			#interrupt-cells = <2>;
20777e03a22SKumar Gala			reg = <0x40000 0x40000>;
208acd4b715SKumar Gala			compatible = "chrp,open-pic";
20977e03a22SKumar Gala			device_type = "open-pic";
21077e03a22SKumar Gala		};
21177e03a22SKumar Gala
21277e03a22SKumar Gala		cpm@919c0 {
21377e03a22SKumar Gala			#address-cells = <1>;
21477e03a22SKumar Gala			#size-cells = <1>;
21577e03a22SKumar Gala			compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
21677e03a22SKumar Gala			reg = <0x919c0 0x30>;
21777e03a22SKumar Gala			ranges;
21877e03a22SKumar Gala
21977e03a22SKumar Gala			muram@80000 {
22077e03a22SKumar Gala				#address-cells = <1>;
22177e03a22SKumar Gala				#size-cells = <1>;
22277e03a22SKumar Gala				ranges = <0 0x80000 0x10000>;
22377e03a22SKumar Gala
22477e03a22SKumar Gala				data@0 {
22577e03a22SKumar Gala					compatible = "fsl,cpm-muram-data";
22677e03a22SKumar Gala					reg = <0 0x4000 0x9000 0x2000>;
22777e03a22SKumar Gala				};
22877e03a22SKumar Gala			};
22977e03a22SKumar Gala
23077e03a22SKumar Gala			brg@919f0 {
23177e03a22SKumar Gala				compatible = "fsl,mpc8560-brg",
23277e03a22SKumar Gala				             "fsl,cpm2-brg",
23377e03a22SKumar Gala				             "fsl,cpm-brg";
23477e03a22SKumar Gala				reg = <0x919f0 0x10 0x915f0 0x10>;
23577e03a22SKumar Gala				clock-frequency = <0>;
23677e03a22SKumar Gala			};
23777e03a22SKumar Gala
23877e03a22SKumar Gala			cpmpic: pic@90c00 {
23977e03a22SKumar Gala				interrupt-controller;
24077e03a22SKumar Gala				#address-cells = <0>;
24177e03a22SKumar Gala				#interrupt-cells = <2>;
24277e03a22SKumar Gala				interrupts = <46 2>;
24377e03a22SKumar Gala				interrupt-parent = <&mpic>;
24477e03a22SKumar Gala				reg = <0x90c00 0x80>;
24577e03a22SKumar Gala				compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
24677e03a22SKumar Gala			};
24777e03a22SKumar Gala
24877e03a22SKumar Gala			serial0: serial@91a20 {
24977e03a22SKumar Gala				device_type = "serial";
25077e03a22SKumar Gala				compatible = "fsl,mpc8560-scc-uart",
25177e03a22SKumar Gala				             "fsl,cpm2-scc-uart";
25277e03a22SKumar Gala				reg = <0x91a20 0x20 0x88100 0x100>;
25377e03a22SKumar Gala				fsl,cpm-brg = <2>;
25477e03a22SKumar Gala				fsl,cpm-command = <0x4a00000>;
25577e03a22SKumar Gala				interrupts = <41 8>;
25677e03a22SKumar Gala				interrupt-parent = <&cpmpic>;
25777e03a22SKumar Gala			};
25877e03a22SKumar Gala		};
25977e03a22SKumar Gala	};
26077e03a22SKumar Gala
26177e03a22SKumar Gala	pci0: pci@fdf08000 {
26277e03a22SKumar Gala		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
26377e03a22SKumar Gala		interrupt-map = <
26477e03a22SKumar Gala
26577e03a22SKumar Gala			/* IDSEL 0x0c */
26677e03a22SKumar Gala			0x6000 0 0 1 &mpic 1 1
26777e03a22SKumar Gala			0x6000 0 0 2 &mpic 2 1
26877e03a22SKumar Gala			0x6000 0 0 3 &mpic 3 1
26977e03a22SKumar Gala			0x6000 0 0 4 &mpic 4 1
27077e03a22SKumar Gala
27177e03a22SKumar Gala			/* IDSEL 0x0d */
27277e03a22SKumar Gala			0x6800 0 0 1 &mpic 4 1
27377e03a22SKumar Gala			0x6800 0 0 2 &mpic 1 1
27477e03a22SKumar Gala			0x6800 0 0 3 &mpic 2 1
27577e03a22SKumar Gala			0x6800 0 0 4 &mpic 3 1
27677e03a22SKumar Gala
27777e03a22SKumar Gala			/* IDSEL 0x0e */
27877e03a22SKumar Gala			0x7000 0 0 1 &mpic 3 1
27977e03a22SKumar Gala			0x7000 0 0 2 &mpic 4 1
28077e03a22SKumar Gala			0x7000 0 0 3 &mpic 1 1
28177e03a22SKumar Gala			0x7000 0 0 4 &mpic 2 1
28277e03a22SKumar Gala
28377e03a22SKumar Gala			/* IDSEL 0x0f */
28477e03a22SKumar Gala			0x7800 0 0 1 &mpic 2 1
28577e03a22SKumar Gala			0x7800 0 0 2 &mpic 3 1
28677e03a22SKumar Gala			0x7800 0 0 3 &mpic 4 1
28777e03a22SKumar Gala			0x7800 0 0 4 &mpic 1 1>;
28877e03a22SKumar Gala
28977e03a22SKumar Gala		interrupt-parent = <&mpic>;
29077e03a22SKumar Gala		interrupts = <24 2>;
29177e03a22SKumar Gala		bus-range = <0 0>;
29277e03a22SKumar Gala		ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
29377e03a22SKumar Gala			  0x01000000 0 0x00000000 0xe2000000 0 0x00100000>;
29477e03a22SKumar Gala		clock-frequency = <66666666>;
29577e03a22SKumar Gala		#interrupt-cells = <1>;
29677e03a22SKumar Gala		#size-cells = <2>;
29777e03a22SKumar Gala		#address-cells = <3>;
29877e03a22SKumar Gala		reg = <0xfdf08000 0x1000>;
29977e03a22SKumar Gala		compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
30077e03a22SKumar Gala		device_type = "pci";
30177e03a22SKumar Gala	};
30277e03a22SKumar Gala};
303