111c146ccSScott Wood/*
211c146ccSScott Wood * EP88xC Device Tree Source
311c146ccSScott Wood *
411c146ccSScott Wood * Copyright 2006 MontaVista Software, Inc.
511c146ccSScott Wood * Copyright 2007 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
1311c146ccSScott Wood
1411c146ccSScott Wood/ {
1511c146ccSScott Wood	model = "EP88xC";
1611c146ccSScott Wood	compatible = "fsl,ep88xc";
1711c146ccSScott Wood	#address-cells = <1>;
1811c146ccSScott Wood	#size-cells = <1>;
1911c146ccSScott Wood
2011c146ccSScott Wood	cpus {
2111c146ccSScott Wood		#address-cells = <1>;
2211c146ccSScott Wood		#size-cells = <0>;
2311c146ccSScott Wood
2411c146ccSScott Wood		PowerPC,885@0 {
2511c146ccSScott Wood			device_type = "cpu";
2611c146ccSScott Wood			reg = <0>;
2711c146ccSScott Wood			d-cache-line-size = <d#16>;
2811c146ccSScott Wood			i-cache-line-size = <d#16>;
2911c146ccSScott Wood			d-cache-size = <d#8192>;
3011c146ccSScott Wood			i-cache-size = <d#8192>;
3111c146ccSScott Wood			timebase-frequency = <0>;
3211c146ccSScott Wood			bus-frequency = <0>;
3311c146ccSScott Wood			clock-frequency = <0>;
3411c146ccSScott Wood			interrupts = <f 2>;	// decrementer interrupt
3511c146ccSScott Wood			interrupt-parent = <&PIC>;
3611c146ccSScott Wood		};
3711c146ccSScott Wood	};
3811c146ccSScott Wood
3911c146ccSScott Wood	memory {
4011c146ccSScott Wood		device_type = "memory";
4111c146ccSScott Wood		reg = <0 0>;
4211c146ccSScott Wood	};
4311c146ccSScott Wood
4411c146ccSScott Wood	localbus@fa200100 {
4511c146ccSScott Wood		compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
4611c146ccSScott Wood		#address-cells = <2>;
4711c146ccSScott Wood		#size-cells = <1>;
4811c146ccSScott Wood		reg = <fa200100 40>;
4911c146ccSScott Wood
5011c146ccSScott Wood		ranges = <
5111c146ccSScott Wood			0 0 fc000000 04000000
5211c146ccSScott Wood			3 0 fa000000 01000000
5311c146ccSScott Wood		>;
5411c146ccSScott Wood
5511c146ccSScott Wood		flash@0,2000000 {
5611c146ccSScott Wood			compatible = "cfi-flash";
5711c146ccSScott Wood			reg = <0 2000000 2000000>;
5811c146ccSScott Wood			bank-width = <4>;
5911c146ccSScott Wood			device-width = <2>;
6011c146ccSScott Wood		};
6111c146ccSScott Wood
6211c146ccSScott Wood		board-control@3,400000 {
6311c146ccSScott Wood			reg = <3 400000 10>;
6411c146ccSScott Wood			compatible = "fsl,ep88xc-bcsr";
6511c146ccSScott Wood		};
6611c146ccSScott Wood	};
6711c146ccSScott Wood
6811c146ccSScott Wood	soc@fa200000 {
6911c146ccSScott Wood		compatible = "fsl,mpc885", "fsl,pq1-soc";
7011c146ccSScott Wood		#address-cells = <1>;
7111c146ccSScott Wood		#size-cells = <1>;
7211c146ccSScott Wood		device_type = "soc";
7311c146ccSScott Wood		ranges = <0 fa200000 00004000>;
7411c146ccSScott Wood		bus-frequency = <0>;
7511c146ccSScott Wood
7611c146ccSScott Wood		// Temporary -- will go away once kernel uses ranges for get_immrbase().
7711c146ccSScott Wood		reg = <fa200000 4000>;
7811c146ccSScott Wood
7911c146ccSScott Wood		mdio@e00 {
8011c146ccSScott Wood			compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
8111c146ccSScott Wood			reg = <e00 188>;
8211c146ccSScott Wood			#address-cells = <1>;
8311c146ccSScott Wood			#size-cells = <0>;
8411c146ccSScott Wood
8511c146ccSScott Wood			PHY0: ethernet-phy@0 {
8611c146ccSScott Wood				reg = <0>;
8711c146ccSScott Wood				device_type = "ethernet-phy";
8811c146ccSScott Wood			};
8911c146ccSScott Wood
9011c146ccSScott Wood			PHY1: ethernet-phy@1 {
9111c146ccSScott Wood				reg = <1>;
9211c146ccSScott Wood				device_type = "ethernet-phy";
9311c146ccSScott Wood			};
9411c146ccSScott Wood		};
9511c146ccSScott Wood
9611c146ccSScott Wood		ethernet@e00 {
9711c146ccSScott Wood			device_type = "network";
9811c146ccSScott Wood			compatible = "fsl,mpc885-fec-enet",
9911c146ccSScott Wood			             "fsl,pq1-fec-enet";
10011c146ccSScott Wood			reg = <e00 188>;
10111c146ccSScott Wood			local-mac-address = [ 00 00 00 00 00 00 ];
10211c146ccSScott Wood			interrupts = <3 1>;
10311c146ccSScott Wood			interrupt-parent = <&PIC>;
10411c146ccSScott Wood			phy-handle = <&PHY0>;
10511c146ccSScott Wood			linux,network-index = <0>;
10611c146ccSScott Wood		};
10711c146ccSScott Wood
10811c146ccSScott Wood		ethernet@1e00 {
10911c146ccSScott Wood			device_type = "network";
11011c146ccSScott Wood			compatible = "fsl,mpc885-fec-enet",
11111c146ccSScott Wood			             "fsl,pq1-fec-enet";
11211c146ccSScott Wood			reg = <1e00 188>;
11311c146ccSScott Wood			local-mac-address = [ 00 00 00 00 00 00 ];
11411c146ccSScott Wood			interrupts = <7 1>;
11511c146ccSScott Wood			interrupt-parent = <&PIC>;
11611c146ccSScott Wood			phy-handle = <&PHY1>;
11711c146ccSScott Wood			linux,network-index = <1>;
11811c146ccSScott Wood		};
11911c146ccSScott Wood
12011c146ccSScott Wood		PIC: interrupt-controller@0 {
12111c146ccSScott Wood			interrupt-controller;
12211c146ccSScott Wood			#interrupt-cells = <2>;
12311c146ccSScott Wood			reg = <0 24>;
12411c146ccSScott Wood			compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
12511c146ccSScott Wood		};
12611c146ccSScott Wood
12711c146ccSScott Wood		pcmcia@80 {
12811c146ccSScott Wood			#address-cells = <3>;
12911c146ccSScott Wood			#interrupt-cells = <1>;
13011c146ccSScott Wood			#size-cells = <2>;
13111c146ccSScott Wood			compatible = "fsl,pq-pcmcia";
13211c146ccSScott Wood			device_type = "pcmcia";
13311c146ccSScott Wood			reg = <80 80>;
13411c146ccSScott Wood			interrupt-parent = <&PIC>;
13511c146ccSScott Wood			interrupts = <d 1>;
13611c146ccSScott Wood		};
13711c146ccSScott Wood
13811c146ccSScott Wood		cpm@9c0 {
13911c146ccSScott Wood			#address-cells = <1>;
14011c146ccSScott Wood			#size-cells = <1>;
14111c146ccSScott Wood			compatible = "fsl,mpc885-cpm", "fsl,cpm1";
14211c146ccSScott Wood			command-proc = <9c0>;
14311c146ccSScott Wood			interrupts = <0>;	// cpm error interrupt
14411c146ccSScott Wood			interrupt-parent = <&CPM_PIC>;
14515f8c604SScott Wood			reg = <9c0 40>;
14611c146ccSScott Wood			ranges;
14711c146ccSScott Wood
14815f8c604SScott Wood			muram@2000 {
14915f8c604SScott Wood				#address-cells = <1>;
15015f8c604SScott Wood				#size-cells = <1>;
15115f8c604SScott Wood				ranges = <0 2000 2000>;
15215f8c604SScott Wood
15315f8c604SScott Wood				data@0 {
15415f8c604SScott Wood					compatible = "fsl,cpm-muram-data";
15515f8c604SScott Wood					reg = <0 1c00>;
15615f8c604SScott Wood				};
15715f8c604SScott Wood			};
15815f8c604SScott Wood
15911c146ccSScott Wood			brg@9f0 {
16011c146ccSScott Wood				compatible = "fsl,mpc885-brg",
16111c146ccSScott Wood				             "fsl,cpm1-brg",
16211c146ccSScott Wood				             "fsl,cpm-brg";
16311c146ccSScott Wood				reg = <9f0 10>;
16411c146ccSScott Wood			};
16511c146ccSScott Wood
16611c146ccSScott Wood			CPM_PIC: interrupt-controller@930 {
16711c146ccSScott Wood				interrupt-controller;
16811c146ccSScott Wood				#interrupt-cells = <1>;
16911c146ccSScott Wood				interrupts = <5 2 0 2>;
17011c146ccSScott Wood				interrupt-parent = <&PIC>;
17111c146ccSScott Wood				reg = <930 20>;
17211c146ccSScott Wood				compatible = "fsl,mpc885-cpm-pic",
17311c146ccSScott Wood				             "fsl,cpm1-pic";
17411c146ccSScott Wood			};
17511c146ccSScott Wood
17611c146ccSScott Wood			// MON-1
17711c146ccSScott Wood			serial@a80 {
17811c146ccSScott Wood				device_type = "serial";
17911c146ccSScott Wood				compatible = "fsl,mpc885-smc-uart",
18011c146ccSScott Wood				             "fsl,cpm1-smc-uart";
18111c146ccSScott Wood				reg = <a80 10 3e80 40>;
18211c146ccSScott Wood				interrupts = <4>;
18311c146ccSScott Wood				interrupt-parent = <&CPM_PIC>;
18411c146ccSScott Wood				fsl,cpm-brg = <1>;
18511c146ccSScott Wood				fsl,cpm-command = <0090>;
18611c146ccSScott Wood				linux,planetcore-label = "SMC1";
18711c146ccSScott Wood			};
18811c146ccSScott Wood
18911c146ccSScott Wood			// SER-1
19011c146ccSScott Wood			serial@a20 {
19111c146ccSScott Wood				device_type = "serial";
19211c146ccSScott Wood				compatible = "fsl,mpc885-scc-uart",
19311c146ccSScott Wood				             "fsl,cpm1-scc-uart";
19411c146ccSScott Wood				reg = <a20 20 3d00 80>;
19511c146ccSScott Wood				interrupts = <1d>;
19611c146ccSScott Wood				interrupt-parent = <&CPM_PIC>;
19711c146ccSScott Wood				fsl,cpm-brg = <2>;
19811c146ccSScott Wood				fsl,cpm-command = <0040>;
19911c146ccSScott Wood				linux,planetcore-label = "SCC2";
20011c146ccSScott Wood			};
20111c146ccSScott Wood
20211c146ccSScott Wood			usb@a00 {
20311c146ccSScott Wood				#address-cells = <1>;
20411c146ccSScott Wood				#size-cells = <0>;
20511c146ccSScott Wood				compatible = "fsl,mpc885-usb",
20611c146ccSScott Wood				             "fsl,cpm1-usb";
20711c146ccSScott Wood				reg = <a00 18 1c00 80>;
20811c146ccSScott Wood				interrupt-parent = <&CPM_PIC>;
20911c146ccSScott Wood				interrupts = <1e>;
21011c146ccSScott Wood				fsl,cpm-command = <0000>;
21111c146ccSScott Wood			};
21211c146ccSScott Wood		};
21311c146ccSScott Wood	};
21411c146ccSScott Wood};
215