xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/sbc8641d.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * SBC8641D Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright 2008 Wind River Systems Inc.
6*c66ec88fSEmmanuel Vadot *
7*c66ec88fSEmmanuel Vadot * Paul Gortmaker (see MAINTAINERS for contact information)
8*c66ec88fSEmmanuel Vadot *
9*c66ec88fSEmmanuel Vadot * Based largely on the mpc8641_hpcn.dts by Freescale Semiconductor Inc.
10*c66ec88fSEmmanuel Vadot */
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot/include/ "mpc8641si-pre.dtsi"
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot/ {
15*c66ec88fSEmmanuel Vadot	model = "SBC8641D";
16*c66ec88fSEmmanuel Vadot	compatible = "wind,sbc8641";
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot	memory {
19*c66ec88fSEmmanuel Vadot		device_type = "memory";
20*c66ec88fSEmmanuel Vadot		reg = <0x00000000 0x20000000>;	// 512M at 0x0
21*c66ec88fSEmmanuel Vadot	};
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot	lbc: localbus@f8005000 {
24*c66ec88fSEmmanuel Vadot		reg = <0xf8005000 0x1000>;
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot		ranges = <0 0 0xff000000 0x01000000	// 16MB Boot flash
27*c66ec88fSEmmanuel Vadot			  1 0 0xf0000000 0x00010000	// 64KB EEPROM
28*c66ec88fSEmmanuel Vadot			  2 0 0xf1000000 0x00100000	// EPLD (1MB)
29*c66ec88fSEmmanuel Vadot			  3 0 0xe0000000 0x04000000	// 64MB LB SDRAM (CS3)
30*c66ec88fSEmmanuel Vadot			  4 0 0xe4000000 0x04000000	// 64MB LB SDRAM (CS4)
31*c66ec88fSEmmanuel Vadot			  6 0 0xf4000000 0x00100000	// LCD display (1MB)
32*c66ec88fSEmmanuel Vadot			  7 0 0xe8000000 0x04000000>;	// 64MB OneNAND
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot		flash@0,0 {
35*c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
36*c66ec88fSEmmanuel Vadot			reg = <0 0 0x01000000>;
37*c66ec88fSEmmanuel Vadot			bank-width = <2>;
38*c66ec88fSEmmanuel Vadot			device-width = <2>;
39*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
40*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
41*c66ec88fSEmmanuel Vadot			partition@0 {
42*c66ec88fSEmmanuel Vadot				label = "dtb";
43*c66ec88fSEmmanuel Vadot				reg = <0x00000000 0x00100000>;
44*c66ec88fSEmmanuel Vadot				read-only;
45*c66ec88fSEmmanuel Vadot			};
46*c66ec88fSEmmanuel Vadot			partition@300000 {
47*c66ec88fSEmmanuel Vadot				label = "kernel";
48*c66ec88fSEmmanuel Vadot				reg = <0x00100000 0x00400000>;
49*c66ec88fSEmmanuel Vadot				read-only;
50*c66ec88fSEmmanuel Vadot			};
51*c66ec88fSEmmanuel Vadot			partition@400000 {
52*c66ec88fSEmmanuel Vadot				label = "fs";
53*c66ec88fSEmmanuel Vadot				reg = <0x00500000 0x00a00000>;
54*c66ec88fSEmmanuel Vadot			};
55*c66ec88fSEmmanuel Vadot			partition@700000 {
56*c66ec88fSEmmanuel Vadot				label = "firmware";
57*c66ec88fSEmmanuel Vadot				reg = <0x00f00000 0x00100000>;
58*c66ec88fSEmmanuel Vadot				read-only;
59*c66ec88fSEmmanuel Vadot			};
60*c66ec88fSEmmanuel Vadot		};
61*c66ec88fSEmmanuel Vadot
62*c66ec88fSEmmanuel Vadot		epld@2,0 {
63*c66ec88fSEmmanuel Vadot			compatible = "wrs,epld-localbus";
64*c66ec88fSEmmanuel Vadot			#address-cells = <2>;
65*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
66*c66ec88fSEmmanuel Vadot			reg = <2 0 0x100000>;
67*c66ec88fSEmmanuel Vadot			ranges = <0 0 5 0 1	// User switches
68*c66ec88fSEmmanuel Vadot				  1 0 5 1 1	// Board ID/Rev
69*c66ec88fSEmmanuel Vadot				  3 0 5 3 1>;	// LEDs
70*c66ec88fSEmmanuel Vadot		};
71*c66ec88fSEmmanuel Vadot	};
72*c66ec88fSEmmanuel Vadot
73*c66ec88fSEmmanuel Vadot	soc: soc@f8000000 {
74*c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0xf8000000 0x00100000>;
75*c66ec88fSEmmanuel Vadot
76*c66ec88fSEmmanuel Vadot		enet0: ethernet@24000 {
77*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi0>;
78*c66ec88fSEmmanuel Vadot			phy-handle = <&phy0>;
79*c66ec88fSEmmanuel Vadot			phy-connection-type = "rgmii-id";
80*c66ec88fSEmmanuel Vadot		};
81*c66ec88fSEmmanuel Vadot
82*c66ec88fSEmmanuel Vadot		mdio@24520 {
83*c66ec88fSEmmanuel Vadot			phy0: ethernet-phy@1f {
84*c66ec88fSEmmanuel Vadot				reg = <0x1f>;
85*c66ec88fSEmmanuel Vadot			};
86*c66ec88fSEmmanuel Vadot			phy1: ethernet-phy@0 {
87*c66ec88fSEmmanuel Vadot				reg = <0>;
88*c66ec88fSEmmanuel Vadot			};
89*c66ec88fSEmmanuel Vadot			phy2: ethernet-phy@1 {
90*c66ec88fSEmmanuel Vadot				reg = <1>;
91*c66ec88fSEmmanuel Vadot			};
92*c66ec88fSEmmanuel Vadot			phy3: ethernet-phy@2 {
93*c66ec88fSEmmanuel Vadot				reg = <2>;
94*c66ec88fSEmmanuel Vadot			};
95*c66ec88fSEmmanuel Vadot			tbi0: tbi-phy@11 {
96*c66ec88fSEmmanuel Vadot				reg = <0x11>;
97*c66ec88fSEmmanuel Vadot				device_type = "tbi-phy";
98*c66ec88fSEmmanuel Vadot			};
99*c66ec88fSEmmanuel Vadot		};
100*c66ec88fSEmmanuel Vadot
101*c66ec88fSEmmanuel Vadot		enet1: ethernet@25000 {
102*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi1>;
103*c66ec88fSEmmanuel Vadot			phy-handle = <&phy1>;
104*c66ec88fSEmmanuel Vadot			phy-connection-type = "rgmii-id";
105*c66ec88fSEmmanuel Vadot		};
106*c66ec88fSEmmanuel Vadot
107*c66ec88fSEmmanuel Vadot		mdio@25520 {
108*c66ec88fSEmmanuel Vadot			tbi1: tbi-phy@11 {
109*c66ec88fSEmmanuel Vadot				reg = <0x11>;
110*c66ec88fSEmmanuel Vadot				device_type = "tbi-phy";
111*c66ec88fSEmmanuel Vadot			};
112*c66ec88fSEmmanuel Vadot		};
113*c66ec88fSEmmanuel Vadot
114*c66ec88fSEmmanuel Vadot		enet2: ethernet@26000 {
115*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi2>;
116*c66ec88fSEmmanuel Vadot			phy-handle = <&phy2>;
117*c66ec88fSEmmanuel Vadot			phy-connection-type = "rgmii-id";
118*c66ec88fSEmmanuel Vadot		};
119*c66ec88fSEmmanuel Vadot
120*c66ec88fSEmmanuel Vadot		mdio@26520 {
121*c66ec88fSEmmanuel Vadot			tbi2: tbi-phy@11 {
122*c66ec88fSEmmanuel Vadot				reg = <0x11>;
123*c66ec88fSEmmanuel Vadot				device_type = "tbi-phy";
124*c66ec88fSEmmanuel Vadot			};
125*c66ec88fSEmmanuel Vadot		};
126*c66ec88fSEmmanuel Vadot
127*c66ec88fSEmmanuel Vadot		enet3: ethernet@27000 {
128*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi3>;
129*c66ec88fSEmmanuel Vadot			phy-handle = <&phy3>;
130*c66ec88fSEmmanuel Vadot			phy-connection-type = "rgmii-id";
131*c66ec88fSEmmanuel Vadot		};
132*c66ec88fSEmmanuel Vadot
133*c66ec88fSEmmanuel Vadot		mdio@27520 {
134*c66ec88fSEmmanuel Vadot			tbi3: tbi-phy@11 {
135*c66ec88fSEmmanuel Vadot				reg = <0x11>;
136*c66ec88fSEmmanuel Vadot				device_type = "tbi-phy";
137*c66ec88fSEmmanuel Vadot			};
138*c66ec88fSEmmanuel Vadot		};
139*c66ec88fSEmmanuel Vadot	};
140*c66ec88fSEmmanuel Vadot
141*c66ec88fSEmmanuel Vadot	pci0: pcie@f8008000 {
142*c66ec88fSEmmanuel Vadot		reg = <0xf8008000 0x1000>;
143*c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
144*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
145*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xff00 0 0 7>;
146*c66ec88fSEmmanuel Vadot
147*c66ec88fSEmmanuel Vadot		pcie@0 {
148*c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0x0 0x80000000
149*c66ec88fSEmmanuel Vadot				  0x02000000 0x0 0x80000000
150*c66ec88fSEmmanuel Vadot				  0x0 0x20000000
151*c66ec88fSEmmanuel Vadot
152*c66ec88fSEmmanuel Vadot				  0x01000000 0x0 0x00000000
153*c66ec88fSEmmanuel Vadot				  0x01000000 0x0 0x00000000
154*c66ec88fSEmmanuel Vadot				  0x0 0x00100000>;
155*c66ec88fSEmmanuel Vadot		};
156*c66ec88fSEmmanuel Vadot
157*c66ec88fSEmmanuel Vadot	};
158*c66ec88fSEmmanuel Vadot
159*c66ec88fSEmmanuel Vadot	pci1: pcie@f8009000 {
160*c66ec88fSEmmanuel Vadot		reg = <0xf8009000 0x1000>;
161*c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
162*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xe3000000 0x0 0x00100000>;
163*c66ec88fSEmmanuel Vadot
164*c66ec88fSEmmanuel Vadot		pcie@0 {
165*c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0x0 0xa0000000
166*c66ec88fSEmmanuel Vadot				  0x02000000 0x0 0xa0000000
167*c66ec88fSEmmanuel Vadot				  0x0 0x20000000
168*c66ec88fSEmmanuel Vadot
169*c66ec88fSEmmanuel Vadot				  0x01000000 0x0 0x00000000
170*c66ec88fSEmmanuel Vadot				  0x01000000 0x0 0x00000000
171*c66ec88fSEmmanuel Vadot				  0x0 0x00100000>;
172*c66ec88fSEmmanuel Vadot		};
173*c66ec88fSEmmanuel Vadot	};
174*c66ec88fSEmmanuel Vadot};
175*c66ec88fSEmmanuel Vadot
176*c66ec88fSEmmanuel Vadot/include/ "mpc8641si-post.dtsi"
177