xref: /freebsd/sys/contrib/device-tree/src/powerpc/mpc866ads.dts (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * MPC866 ADS Device Tree Source
4 *
5 * Copyright 2006 MontaVista Software, Inc.
6 * Copyright 2008 Freescale Semiconductor, Inc.
7 */
8
9/dts-v1/;
10
11/ {
12	model = "MPC866ADS";
13	compatible = "fsl,mpc866ads";
14	#address-cells = <1>;
15	#size-cells = <1>;
16
17	cpus {
18		#address-cells = <1>;
19		#size-cells = <0>;
20
21		PowerPC,866@0 {
22			device_type = "cpu";
23			reg = <0x0>;
24			d-cache-line-size = <16>;	// 16 bytes
25			i-cache-line-size = <16>;	// 16 bytes
26			d-cache-size = <0x2000>;		// L1, 8K
27			i-cache-size = <0x4000>;		// L1, 16K
28			timebase-frequency = <0>;
29			bus-frequency = <0>;
30			clock-frequency = <0>;
31			interrupts = <15 2>;	// decrementer interrupt
32			interrupt-parent = <&PIC>;
33		};
34	};
35
36	memory {
37		device_type = "memory";
38		reg = <0x0 0x800000>;
39	};
40
41	localbus@ff000100 {
42		compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus";
43		#address-cells = <2>;
44		#size-cells = <1>;
45		reg = <0xff000100 0x40>;
46
47		ranges = <
48			0x1 0x0 0xff080000 0x8000
49			0x5 0x0 0xff0a0000 0x8000
50		>;
51
52		board-control@1,0 {
53			reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
54			compatible = "fsl,mpc866ads-bcsr";
55		};
56	};
57
58	soc@ff000000 {
59		#address-cells = <1>;
60		#size-cells = <1>;
61		device_type = "soc";
62		ranges = <0x0 0xff000000 0x100000>;
63		reg = <0xff000000 0x200>;
64		bus-frequency = <0>;
65
66		mdio@e00 {
67			compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
68			reg = <0xe00 0x188>;
69			#address-cells = <1>;
70			#size-cells = <0>;
71			PHY: ethernet-phy@f {
72				reg = <0xf>;
73			};
74		};
75
76		ethernet@e00 {
77			device_type = "network";
78			compatible = "fsl,mpc866-fec-enet",
79			             "fsl,pq1-fec-enet";
80			reg = <0xe00 0x188>;
81			local-mac-address = [ 00 00 00 00 00 00 ];
82			interrupts = <3 1>;
83			interrupt-parent = <&PIC>;
84			phy-handle = <&PHY>;
85			linux,network-index = <0>;
86		};
87
88		PIC: pic@0 {
89			interrupt-controller;
90			#interrupt-cells = <2>;
91			reg = <0x0 0x24>;
92			compatible = "fsl,mpc866-pic", "fsl,pq1-pic";
93		};
94
95		cpm@9c0 {
96			#address-cells = <1>;
97			#size-cells = <1>;
98			compatible = "fsl,mpc866-cpm", "fsl,cpm1";
99			ranges;
100			reg = <0x9c0 0x40>;
101			brg-frequency = <0>;
102			interrupts = <0 2>;	// cpm error interrupt
103			interrupt-parent = <&CPM_PIC>;
104
105			muram@2000 {
106				#address-cells = <1>;
107				#size-cells = <1>;
108				ranges = <0x0 0x2000 0x2000>;
109
110				data@0 {
111					compatible = "fsl,cpm-muram-data";
112					reg = <0x0 0x1c00>;
113				};
114			};
115
116			brg@9f0 {
117				compatible = "fsl,mpc866-brg",
118					     "fsl,cpm1-brg",
119					     "fsl,cpm-brg";
120				reg = <0x9f0 0x10>;
121				clock-frequency = <0>;
122			};
123
124			CPM_PIC: pic@930 {
125				interrupt-controller;
126				#address-cells = <0>;
127				#interrupt-cells = <1>;
128				interrupts = <5 2 0 2>;
129				interrupt-parent = <&PIC>;
130				reg = <0x930 0x20>;
131				compatible = "fsl,mpc866-cpm-pic",
132				             "fsl,cpm1-pic";
133			};
134
135
136			serial@a80 {
137				device_type = "serial";
138				compatible = "fsl,mpc866-smc-uart",
139				             "fsl,cpm1-smc-uart";
140				reg = <0xa80 0x10 0x3e80 0x40>;
141				interrupts = <4>;
142				interrupt-parent = <&CPM_PIC>;
143				fsl,cpm-brg = <1>;
144				fsl,cpm-command = <0x90>;
145			};
146
147			serial@a90 {
148				device_type = "serial";
149				compatible = "fsl,mpc866-smc-uart",
150				             "fsl,cpm1-smc-uart";
151				reg = <0xa90 0x10 0x3f80 0x40>;
152				interrupts = <3>;
153				interrupt-parent = <&CPM_PIC>;
154				fsl,cpm-brg = <2>;
155				fsl,cpm-command = <0xd0>;
156			};
157
158			ethernet@a00 {
159				device_type = "network";
160				compatible = "fsl,mpc866-scc-enet",
161				             "fsl,cpm1-scc-enet";
162				reg = <0xa00 0x18 0x3c00 0x100>;
163				local-mac-address = [ 00 00 00 00 00 00 ];
164				interrupts = <30>;
165				interrupt-parent = <&CPM_PIC>;
166				fsl,cpm-command = <0000>;
167				linux,network-index = <1>;
168			};
169
170			i2c@860 {
171				compatible = "fsl,mpc866-i2c",
172					     "fsl,cpm1-i2c";
173				reg = <0x860 0x20 0x3c80 0x30>;
174				interrupts = <16>;
175				interrupt-parent = <&CPM_PIC>;
176				fsl,cpm-command = <0x10>;
177				#address-cells = <1>;
178				#size-cells = <0>;
179			};
180		};
181	};
182
183	chosen {
184		stdout-path = "/soc/cpm/serial@a80";
185	};
186};
187