12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later
211c146ccSScott Wood/*
311c146ccSScott Wood * EP88xC Device Tree Source
411c146ccSScott Wood *
511c146ccSScott Wood * Copyright 2006 MontaVista Software, Inc.
6998c6103SKumar Gala * Copyright 2007,2008 Freescale Semiconductor, Inc.
711c146ccSScott Wood */
811c146ccSScott Wood
9998c6103SKumar Gala/dts-v1/;
1011c146ccSScott Wood
1111c146ccSScott Wood/ {
1211c146ccSScott Wood	model = "EP88xC";
1311c146ccSScott Wood	compatible = "fsl,ep88xc";
1411c146ccSScott Wood	#address-cells = <1>;
1511c146ccSScott Wood	#size-cells = <1>;
1611c146ccSScott Wood
1711c146ccSScott Wood	cpus {
1811c146ccSScott Wood		#address-cells = <1>;
1911c146ccSScott Wood		#size-cells = <0>;
2011c146ccSScott Wood
2111c146ccSScott Wood		PowerPC,885@0 {
2211c146ccSScott Wood			device_type = "cpu";
23998c6103SKumar Gala			reg = <0x0>;
24998c6103SKumar Gala			d-cache-line-size = <16>;
25998c6103SKumar Gala			i-cache-line-size = <16>;
26998c6103SKumar Gala			d-cache-size = <8192>;
27998c6103SKumar Gala			i-cache-size = <8192>;
2811c146ccSScott Wood			timebase-frequency = <0>;
2911c146ccSScott Wood			bus-frequency = <0>;
3011c146ccSScott Wood			clock-frequency = <0>;
31998c6103SKumar Gala			interrupts = <15 2>;	// decrementer interrupt
3211c146ccSScott Wood			interrupt-parent = <&PIC>;
3311c146ccSScott Wood		};
3411c146ccSScott Wood	};
3511c146ccSScott Wood
3611c146ccSScott Wood	memory {
3711c146ccSScott Wood		device_type = "memory";
38998c6103SKumar Gala		reg = <0x0 0x0>;
3911c146ccSScott Wood	};
4011c146ccSScott Wood
4111c146ccSScott Wood	localbus@fa200100 {
4211c146ccSScott Wood		compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
4311c146ccSScott Wood		#address-cells = <2>;
4411c146ccSScott Wood		#size-cells = <1>;
45998c6103SKumar Gala		reg = <0xfa200100 0x40>;
4611c146ccSScott Wood
4711c146ccSScott Wood		ranges = <
48998c6103SKumar Gala			0x0 0x0 0xfc000000 0x4000000
49998c6103SKumar Gala			0x3 0x0 0xfa000000 0x1000000
5011c146ccSScott Wood		>;
5111c146ccSScott Wood
5211c146ccSScott Wood		flash@0,2000000 {
5311c146ccSScott Wood			compatible = "cfi-flash";
54998c6103SKumar Gala			reg = <0x0 0x2000000 0x2000000>;
5511c146ccSScott Wood			bank-width = <4>;
5611c146ccSScott Wood			device-width = <2>;
5711c146ccSScott Wood		};
5811c146ccSScott Wood
5911c146ccSScott Wood		board-control@3,400000 {
60998c6103SKumar Gala			reg = <0x3 0x400000 0x10>;
6111c146ccSScott Wood			compatible = "fsl,ep88xc-bcsr";
6211c146ccSScott Wood		};
6311c146ccSScott Wood	};
6411c146ccSScott Wood
6511c146ccSScott Wood	soc@fa200000 {
6611c146ccSScott Wood		compatible = "fsl,mpc885", "fsl,pq1-soc";
6711c146ccSScott Wood		#address-cells = <1>;
6811c146ccSScott Wood		#size-cells = <1>;
6911c146ccSScott Wood		device_type = "soc";
70998c6103SKumar Gala		ranges = <0x0 0xfa200000 0x4000>;
7111c146ccSScott Wood		bus-frequency = <0>;
7211c146ccSScott Wood
7311c146ccSScott Wood		// Temporary -- will go away once kernel uses ranges for get_immrbase().
74998c6103SKumar Gala		reg = <0xfa200000 0x4000>;
7511c146ccSScott Wood
7611c146ccSScott Wood		mdio@e00 {
7711c146ccSScott Wood			compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
78998c6103SKumar Gala			reg = <0xe00 0x188>;
7911c146ccSScott Wood			#address-cells = <1>;
8011c146ccSScott Wood			#size-cells = <0>;
8111c146ccSScott Wood
8211c146ccSScott Wood			PHY0: ethernet-phy@0 {
83998c6103SKumar Gala				reg = <0x0>;
8411c146ccSScott Wood			};
8511c146ccSScott Wood
8611c146ccSScott Wood			PHY1: ethernet-phy@1 {
87998c6103SKumar Gala				reg = <0x1>;
8811c146ccSScott Wood			};
8911c146ccSScott Wood		};
9011c146ccSScott Wood
9111c146ccSScott Wood		ethernet@e00 {
9211c146ccSScott Wood			device_type = "network";
9311c146ccSScott Wood			compatible = "fsl,mpc885-fec-enet",
9411c146ccSScott Wood			             "fsl,pq1-fec-enet";
95998c6103SKumar Gala			reg = <0xe00 0x188>;
9611c146ccSScott Wood			local-mac-address = [ 00 00 00 00 00 00 ];
9711c146ccSScott Wood			interrupts = <3 1>;
9811c146ccSScott Wood			interrupt-parent = <&PIC>;
9911c146ccSScott Wood			phy-handle = <&PHY0>;
10011c146ccSScott Wood			linux,network-index = <0>;
10111c146ccSScott Wood		};
10211c146ccSScott Wood
10311c146ccSScott Wood		ethernet@1e00 {
10411c146ccSScott Wood			device_type = "network";
10511c146ccSScott Wood			compatible = "fsl,mpc885-fec-enet",
10611c146ccSScott Wood			             "fsl,pq1-fec-enet";
107998c6103SKumar Gala			reg = <0x1e00 0x188>;
10811c146ccSScott Wood			local-mac-address = [ 00 00 00 00 00 00 ];
10911c146ccSScott Wood			interrupts = <7 1>;
11011c146ccSScott Wood			interrupt-parent = <&PIC>;
11111c146ccSScott Wood			phy-handle = <&PHY1>;
11211c146ccSScott Wood			linux,network-index = <1>;
11311c146ccSScott Wood		};
11411c146ccSScott Wood
11511c146ccSScott Wood		PIC: interrupt-controller@0 {
11611c146ccSScott Wood			interrupt-controller;
11711c146ccSScott Wood			#interrupt-cells = <2>;
118998c6103SKumar Gala			reg = <0x0 0x24>;
11911c146ccSScott Wood			compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
12011c146ccSScott Wood		};
12111c146ccSScott Wood
12211c146ccSScott Wood		pcmcia@80 {
12311c146ccSScott Wood			#address-cells = <3>;
12411c146ccSScott Wood			#interrupt-cells = <1>;
12511c146ccSScott Wood			#size-cells = <2>;
12611c146ccSScott Wood			compatible = "fsl,pq-pcmcia";
12711c146ccSScott Wood			device_type = "pcmcia";
128998c6103SKumar Gala			reg = <0x80 0x80>;
12911c146ccSScott Wood			interrupt-parent = <&PIC>;
130998c6103SKumar Gala			interrupts = <13 1>;
13111c146ccSScott Wood		};
13211c146ccSScott Wood
13311c146ccSScott Wood		cpm@9c0 {
13411c146ccSScott Wood			#address-cells = <1>;
13511c146ccSScott Wood			#size-cells = <1>;
13611c146ccSScott Wood			compatible = "fsl,mpc885-cpm", "fsl,cpm1";
137998c6103SKumar Gala			command-proc = <0x9c0>;
13811c146ccSScott Wood			interrupts = <0>;	// cpm error interrupt
13911c146ccSScott Wood			interrupt-parent = <&CPM_PIC>;
140998c6103SKumar Gala			reg = <0x9c0 0x40>;
14111c146ccSScott Wood			ranges;
14211c146ccSScott Wood
14315f8c604SScott Wood			muram@2000 {
14415f8c604SScott Wood				#address-cells = <1>;
14515f8c604SScott Wood				#size-cells = <1>;
146998c6103SKumar Gala				ranges = <0x0 0x2000 0x2000>;
14715f8c604SScott Wood
14815f8c604SScott Wood				data@0 {
14915f8c604SScott Wood					compatible = "fsl,cpm-muram-data";
150998c6103SKumar Gala					reg = <0x0 0x1c00>;
15115f8c604SScott Wood				};
15215f8c604SScott Wood			};
15315f8c604SScott Wood
15411c146ccSScott Wood			brg@9f0 {
15511c146ccSScott Wood				compatible = "fsl,mpc885-brg",
15611c146ccSScott Wood				             "fsl,cpm1-brg",
15711c146ccSScott Wood				             "fsl,cpm-brg";
158998c6103SKumar Gala				reg = <0x9f0 0x10>;
15911c146ccSScott Wood			};
16011c146ccSScott Wood
16111c146ccSScott Wood			CPM_PIC: interrupt-controller@930 {
16211c146ccSScott Wood				interrupt-controller;
16311c146ccSScott Wood				#interrupt-cells = <1>;
16411c146ccSScott Wood				interrupts = <5 2 0 2>;
16511c146ccSScott Wood				interrupt-parent = <&PIC>;
166998c6103SKumar Gala				reg = <0x930 0x20>;
16711c146ccSScott Wood				compatible = "fsl,mpc885-cpm-pic",
16811c146ccSScott Wood				             "fsl,cpm1-pic";
16911c146ccSScott Wood			};
17011c146ccSScott Wood
17111c146ccSScott Wood			// MON-1
17211c146ccSScott Wood			serial@a80 {
17311c146ccSScott Wood				device_type = "serial";
17411c146ccSScott Wood				compatible = "fsl,mpc885-smc-uart",
17511c146ccSScott Wood				             "fsl,cpm1-smc-uart";
176998c6103SKumar Gala				reg = <0xa80 0x10 0x3e80 0x40>;
17711c146ccSScott Wood				interrupts = <4>;
17811c146ccSScott Wood				interrupt-parent = <&CPM_PIC>;
17911c146ccSScott Wood				fsl,cpm-brg = <1>;
180998c6103SKumar Gala				fsl,cpm-command = <0x90>;
18111c146ccSScott Wood				linux,planetcore-label = "SMC1";
18211c146ccSScott Wood			};
18311c146ccSScott Wood
18411c146ccSScott Wood			// SER-1
18511c146ccSScott Wood			serial@a20 {
18611c146ccSScott Wood				device_type = "serial";
18711c146ccSScott Wood				compatible = "fsl,mpc885-scc-uart",
18811c146ccSScott Wood				             "fsl,cpm1-scc-uart";
189998c6103SKumar Gala				reg = <0xa20 0x20 0x3d00 0x80>;
190998c6103SKumar Gala				interrupts = <29>;
19111c146ccSScott Wood				interrupt-parent = <&CPM_PIC>;
19211c146ccSScott Wood				fsl,cpm-brg = <2>;
193998c6103SKumar Gala				fsl,cpm-command = <0x40>;
19411c146ccSScott Wood				linux,planetcore-label = "SCC2";
19511c146ccSScott Wood			};
19611c146ccSScott Wood
19711c146ccSScott Wood			usb@a00 {
19811c146ccSScott Wood				#address-cells = <1>;
19911c146ccSScott Wood				#size-cells = <0>;
20011c146ccSScott Wood				compatible = "fsl,mpc885-usb",
20111c146ccSScott Wood				             "fsl,cpm1-usb";
202998c6103SKumar Gala				reg = <0xa00 0x18 0x1c00 0x80>;
20311c146ccSScott Wood				interrupt-parent = <&CPM_PIC>;
204998c6103SKumar Gala				interrupts = <30>;
20511c146ccSScott Wood				fsl,cpm-command = <0000>;
20611c146ccSScott Wood			};
20711c146ccSScott Wood		};
20811c146ccSScott Wood	};
20911c146ccSScott Wood};
210