111c146ccSScott Wood/*
211c146ccSScott Wood * EP88xC Device Tree Source
311c146ccSScott Wood *
411c146ccSScott Wood * Copyright 2006 MontaVista Software, Inc.
5998c6103SKumar Gala * Copyright 2007,2008 Freescale Semiconductor, Inc.
611c146ccSScott Wood *
711c146ccSScott Wood * This program is free software; you can redistribute  it and/or modify it
811c146ccSScott Wood * under  the terms of  the GNU General  Public License as published by the
911c146ccSScott Wood * Free Software Foundation;  either version 2 of the  License, or (at your
1011c146ccSScott Wood * option) any later version.
1111c146ccSScott Wood */
1211c146ccSScott Wood
13998c6103SKumar Gala/dts-v1/;
1411c146ccSScott Wood
1511c146ccSScott Wood/ {
1611c146ccSScott Wood	model = "EP88xC";
1711c146ccSScott Wood	compatible = "fsl,ep88xc";
1811c146ccSScott Wood	#address-cells = <1>;
1911c146ccSScott Wood	#size-cells = <1>;
2011c146ccSScott Wood
2111c146ccSScott Wood	cpus {
2211c146ccSScott Wood		#address-cells = <1>;
2311c146ccSScott Wood		#size-cells = <0>;
2411c146ccSScott Wood
2511c146ccSScott Wood		PowerPC,885@0 {
2611c146ccSScott Wood			device_type = "cpu";
27998c6103SKumar Gala			reg = <0x0>;
28998c6103SKumar Gala			d-cache-line-size = <16>;
29998c6103SKumar Gala			i-cache-line-size = <16>;
30998c6103SKumar Gala			d-cache-size = <8192>;
31998c6103SKumar Gala			i-cache-size = <8192>;
3211c146ccSScott Wood			timebase-frequency = <0>;
3311c146ccSScott Wood			bus-frequency = <0>;
3411c146ccSScott Wood			clock-frequency = <0>;
35998c6103SKumar Gala			interrupts = <15 2>;	// decrementer interrupt
3611c146ccSScott Wood			interrupt-parent = <&PIC>;
3711c146ccSScott Wood		};
3811c146ccSScott Wood	};
3911c146ccSScott Wood
4011c146ccSScott Wood	memory {
4111c146ccSScott Wood		device_type = "memory";
42998c6103SKumar Gala		reg = <0x0 0x0>;
4311c146ccSScott Wood	};
4411c146ccSScott Wood
4511c146ccSScott Wood	localbus@fa200100 {
4611c146ccSScott Wood		compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
4711c146ccSScott Wood		#address-cells = <2>;
4811c146ccSScott Wood		#size-cells = <1>;
49998c6103SKumar Gala		reg = <0xfa200100 0x40>;
5011c146ccSScott Wood
5111c146ccSScott Wood		ranges = <
52998c6103SKumar Gala			0x0 0x0 0xfc000000 0x4000000
53998c6103SKumar Gala			0x3 0x0 0xfa000000 0x1000000
5411c146ccSScott Wood		>;
5511c146ccSScott Wood
5611c146ccSScott Wood		flash@0,2000000 {
5711c146ccSScott Wood			compatible = "cfi-flash";
58998c6103SKumar Gala			reg = <0x0 0x2000000 0x2000000>;
5911c146ccSScott Wood			bank-width = <4>;
6011c146ccSScott Wood			device-width = <2>;
6111c146ccSScott Wood		};
6211c146ccSScott Wood
6311c146ccSScott Wood		board-control@3,400000 {
64998c6103SKumar Gala			reg = <0x3 0x400000 0x10>;
6511c146ccSScott Wood			compatible = "fsl,ep88xc-bcsr";
6611c146ccSScott Wood		};
6711c146ccSScott Wood	};
6811c146ccSScott Wood
6911c146ccSScott Wood	soc@fa200000 {
7011c146ccSScott Wood		compatible = "fsl,mpc885", "fsl,pq1-soc";
7111c146ccSScott Wood		#address-cells = <1>;
7211c146ccSScott Wood		#size-cells = <1>;
7311c146ccSScott Wood		device_type = "soc";
74998c6103SKumar Gala		ranges = <0x0 0xfa200000 0x4000>;
7511c146ccSScott Wood		bus-frequency = <0>;
7611c146ccSScott Wood
7711c146ccSScott Wood		// Temporary -- will go away once kernel uses ranges for get_immrbase().
78998c6103SKumar Gala		reg = <0xfa200000 0x4000>;
7911c146ccSScott Wood
8011c146ccSScott Wood		mdio@e00 {
8111c146ccSScott Wood			compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
82998c6103SKumar Gala			reg = <0xe00 0x188>;
8311c146ccSScott Wood			#address-cells = <1>;
8411c146ccSScott Wood			#size-cells = <0>;
8511c146ccSScott Wood
8611c146ccSScott Wood			PHY0: ethernet-phy@0 {
87998c6103SKumar Gala				reg = <0x0>;
8811c146ccSScott Wood				device_type = "ethernet-phy";
8911c146ccSScott Wood			};
9011c146ccSScott Wood
9111c146ccSScott Wood			PHY1: ethernet-phy@1 {
92998c6103SKumar Gala				reg = <0x1>;
9311c146ccSScott Wood				device_type = "ethernet-phy";
9411c146ccSScott Wood			};
9511c146ccSScott Wood		};
9611c146ccSScott Wood
9711c146ccSScott Wood		ethernet@e00 {
9811c146ccSScott Wood			device_type = "network";
9911c146ccSScott Wood			compatible = "fsl,mpc885-fec-enet",
10011c146ccSScott Wood			             "fsl,pq1-fec-enet";
101998c6103SKumar Gala			reg = <0xe00 0x188>;
10211c146ccSScott Wood			local-mac-address = [ 00 00 00 00 00 00 ];
10311c146ccSScott Wood			interrupts = <3 1>;
10411c146ccSScott Wood			interrupt-parent = <&PIC>;
10511c146ccSScott Wood			phy-handle = <&PHY0>;
10611c146ccSScott Wood			linux,network-index = <0>;
10711c146ccSScott Wood		};
10811c146ccSScott Wood
10911c146ccSScott Wood		ethernet@1e00 {
11011c146ccSScott Wood			device_type = "network";
11111c146ccSScott Wood			compatible = "fsl,mpc885-fec-enet",
11211c146ccSScott Wood			             "fsl,pq1-fec-enet";
113998c6103SKumar Gala			reg = <0x1e00 0x188>;
11411c146ccSScott Wood			local-mac-address = [ 00 00 00 00 00 00 ];
11511c146ccSScott Wood			interrupts = <7 1>;
11611c146ccSScott Wood			interrupt-parent = <&PIC>;
11711c146ccSScott Wood			phy-handle = <&PHY1>;
11811c146ccSScott Wood			linux,network-index = <1>;
11911c146ccSScott Wood		};
12011c146ccSScott Wood
12111c146ccSScott Wood		PIC: interrupt-controller@0 {
12211c146ccSScott Wood			interrupt-controller;
12311c146ccSScott Wood			#interrupt-cells = <2>;
124998c6103SKumar Gala			reg = <0x0 0x24>;
12511c146ccSScott Wood			compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
12611c146ccSScott Wood		};
12711c146ccSScott Wood
12811c146ccSScott Wood		pcmcia@80 {
12911c146ccSScott Wood			#address-cells = <3>;
13011c146ccSScott Wood			#interrupt-cells = <1>;
13111c146ccSScott Wood			#size-cells = <2>;
13211c146ccSScott Wood			compatible = "fsl,pq-pcmcia";
13311c146ccSScott Wood			device_type = "pcmcia";
134998c6103SKumar Gala			reg = <0x80 0x80>;
13511c146ccSScott Wood			interrupt-parent = <&PIC>;
136998c6103SKumar Gala			interrupts = <13 1>;
13711c146ccSScott Wood		};
13811c146ccSScott Wood
13911c146ccSScott Wood		cpm@9c0 {
14011c146ccSScott Wood			#address-cells = <1>;
14111c146ccSScott Wood			#size-cells = <1>;
14211c146ccSScott Wood			compatible = "fsl,mpc885-cpm", "fsl,cpm1";
143998c6103SKumar Gala			command-proc = <0x9c0>;
14411c146ccSScott Wood			interrupts = <0>;	// cpm error interrupt
14511c146ccSScott Wood			interrupt-parent = <&CPM_PIC>;
146998c6103SKumar Gala			reg = <0x9c0 0x40>;
14711c146ccSScott Wood			ranges;
14811c146ccSScott Wood
14915f8c604SScott Wood			muram@2000 {
15015f8c604SScott Wood				#address-cells = <1>;
15115f8c604SScott Wood				#size-cells = <1>;
152998c6103SKumar Gala				ranges = <0x0 0x2000 0x2000>;
15315f8c604SScott Wood
15415f8c604SScott Wood				data@0 {
15515f8c604SScott Wood					compatible = "fsl,cpm-muram-data";
156998c6103SKumar Gala					reg = <0x0 0x1c00>;
15715f8c604SScott Wood				};
15815f8c604SScott Wood			};
15915f8c604SScott Wood
16011c146ccSScott Wood			brg@9f0 {
16111c146ccSScott Wood				compatible = "fsl,mpc885-brg",
16211c146ccSScott Wood				             "fsl,cpm1-brg",
16311c146ccSScott Wood				             "fsl,cpm-brg";
164998c6103SKumar Gala				reg = <0x9f0 0x10>;
16511c146ccSScott Wood			};
16611c146ccSScott Wood
16711c146ccSScott Wood			CPM_PIC: interrupt-controller@930 {
16811c146ccSScott Wood				interrupt-controller;
16911c146ccSScott Wood				#interrupt-cells = <1>;
17011c146ccSScott Wood				interrupts = <5 2 0 2>;
17111c146ccSScott Wood				interrupt-parent = <&PIC>;
172998c6103SKumar Gala				reg = <0x930 0x20>;
17311c146ccSScott Wood				compatible = "fsl,mpc885-cpm-pic",
17411c146ccSScott Wood				             "fsl,cpm1-pic";
17511c146ccSScott Wood			};
17611c146ccSScott Wood
17711c146ccSScott Wood			// MON-1
17811c146ccSScott Wood			serial@a80 {
17911c146ccSScott Wood				device_type = "serial";
18011c146ccSScott Wood				compatible = "fsl,mpc885-smc-uart",
18111c146ccSScott Wood				             "fsl,cpm1-smc-uart";
182998c6103SKumar Gala				reg = <0xa80 0x10 0x3e80 0x40>;
18311c146ccSScott Wood				interrupts = <4>;
18411c146ccSScott Wood				interrupt-parent = <&CPM_PIC>;
18511c146ccSScott Wood				fsl,cpm-brg = <1>;
186998c6103SKumar Gala				fsl,cpm-command = <0x90>;
18711c146ccSScott Wood				linux,planetcore-label = "SMC1";
18811c146ccSScott Wood			};
18911c146ccSScott Wood
19011c146ccSScott Wood			// SER-1
19111c146ccSScott Wood			serial@a20 {
19211c146ccSScott Wood				device_type = "serial";
19311c146ccSScott Wood				compatible = "fsl,mpc885-scc-uart",
19411c146ccSScott Wood				             "fsl,cpm1-scc-uart";
195998c6103SKumar Gala				reg = <0xa20 0x20 0x3d00 0x80>;
196998c6103SKumar Gala				interrupts = <29>;
19711c146ccSScott Wood				interrupt-parent = <&CPM_PIC>;
19811c146ccSScott Wood				fsl,cpm-brg = <2>;
199998c6103SKumar Gala				fsl,cpm-command = <0x40>;
20011c146ccSScott Wood				linux,planetcore-label = "SCC2";
20111c146ccSScott Wood			};
20211c146ccSScott Wood
20311c146ccSScott Wood			usb@a00 {
20411c146ccSScott Wood				#address-cells = <1>;
20511c146ccSScott Wood				#size-cells = <0>;
20611c146ccSScott Wood				compatible = "fsl,mpc885-usb",
20711c146ccSScott Wood				             "fsl,cpm1-usb";
208998c6103SKumar Gala				reg = <0xa00 0x18 0x1c00 0x80>;
20911c146ccSScott Wood				interrupt-parent = <&CPM_PIC>;
210998c6103SKumar Gala				interrupts = <30>;
21111c146ccSScott Wood				fsl,cpm-command = <0000>;
21211c146ccSScott Wood			};
21311c146ccSScott Wood		};
21411c146ccSScott Wood	};
21511c146ccSScott Wood};
216