xref: /freebsd/sys/contrib/device-tree/src/powerpc/motionpro.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * Motion-PRO board Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright (C) 2007 Semihalf
6*c66ec88fSEmmanuel Vadot * Marian Balakowicz <m8@semihalf.com>
7*c66ec88fSEmmanuel Vadot */
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot/include/ "mpc5200b.dtsi"
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot&gpt0 { fsl,has-wdt; };
12*c66ec88fSEmmanuel Vadot&gpt6 { // Motion-PRO status LED
13*c66ec88fSEmmanuel Vadot	compatible = "promess,motionpro-led";
14*c66ec88fSEmmanuel Vadot	label = "motionpro-statusled";
15*c66ec88fSEmmanuel Vadot	blink-delay = <100>; // 100 msec
16*c66ec88fSEmmanuel Vadot};
17*c66ec88fSEmmanuel Vadot&gpt7 { // Motion-PRO ready LED
18*c66ec88fSEmmanuel Vadot	compatible = "promess,motionpro-led";
19*c66ec88fSEmmanuel Vadot	label = "motionpro-readyled";
20*c66ec88fSEmmanuel Vadot};
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot/ {
23*c66ec88fSEmmanuel Vadot	model = "promess,motionpro";
24*c66ec88fSEmmanuel Vadot	compatible = "promess,motionpro";
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot	soc5200@f0000000 {
27*c66ec88fSEmmanuel Vadot		can@900 {
28*c66ec88fSEmmanuel Vadot			status = "disabled";
29*c66ec88fSEmmanuel Vadot		};
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot		psc@2000 {		// PSC1
32*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
33*c66ec88fSEmmanuel Vadot		};
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot		// PSC2 in spi master mode
36*c66ec88fSEmmanuel Vadot		psc@2200 {		// PSC2
37*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
38*c66ec88fSEmmanuel Vadot			cell-index = <1>;
39*c66ec88fSEmmanuel Vadot		};
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot		psc@2400 {		// PSC3
42*c66ec88fSEmmanuel Vadot			status = "disabled";
43*c66ec88fSEmmanuel Vadot		};
44*c66ec88fSEmmanuel Vadot
45*c66ec88fSEmmanuel Vadot		psc@2600 {		// PSC4
46*c66ec88fSEmmanuel Vadot			status = "disabled";
47*c66ec88fSEmmanuel Vadot		};
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot		psc@2800 {		// PSC5
50*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
51*c66ec88fSEmmanuel Vadot		};
52*c66ec88fSEmmanuel Vadot
53*c66ec88fSEmmanuel Vadot		psc@2c00 {		// PSC6
54*c66ec88fSEmmanuel Vadot			status = "disabled";
55*c66ec88fSEmmanuel Vadot		};
56*c66ec88fSEmmanuel Vadot
57*c66ec88fSEmmanuel Vadot		ethernet@3000 {
58*c66ec88fSEmmanuel Vadot			phy-handle = <&phy0>;
59*c66ec88fSEmmanuel Vadot		};
60*c66ec88fSEmmanuel Vadot
61*c66ec88fSEmmanuel Vadot		mdio@3000 {
62*c66ec88fSEmmanuel Vadot			phy0: ethernet-phy@2 {
63*c66ec88fSEmmanuel Vadot				reg = <2>;
64*c66ec88fSEmmanuel Vadot			};
65*c66ec88fSEmmanuel Vadot		};
66*c66ec88fSEmmanuel Vadot
67*c66ec88fSEmmanuel Vadot		i2c@3d00 {
68*c66ec88fSEmmanuel Vadot			status = "disabled";
69*c66ec88fSEmmanuel Vadot		};
70*c66ec88fSEmmanuel Vadot
71*c66ec88fSEmmanuel Vadot		i2c@3d40 {
72*c66ec88fSEmmanuel Vadot			rtc@68 {
73*c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1339";
74*c66ec88fSEmmanuel Vadot				reg = <0x68>;
75*c66ec88fSEmmanuel Vadot			};
76*c66ec88fSEmmanuel Vadot		};
77*c66ec88fSEmmanuel Vadot
78*c66ec88fSEmmanuel Vadot		sram@8000 {
79*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
80*c66ec88fSEmmanuel Vadot			reg = <0x8000 0x4000>;
81*c66ec88fSEmmanuel Vadot		};
82*c66ec88fSEmmanuel Vadot	};
83*c66ec88fSEmmanuel Vadot
84*c66ec88fSEmmanuel Vadot	pci@f0000d00 {
85*c66ec88fSEmmanuel Vadot		status = "disabled";
86*c66ec88fSEmmanuel Vadot	};
87*c66ec88fSEmmanuel Vadot
88*c66ec88fSEmmanuel Vadot	localbus {
89*c66ec88fSEmmanuel Vadot		ranges = <0 0 0xff000000 0x01000000
90*c66ec88fSEmmanuel Vadot			  1 0 0x50000000 0x00010000
91*c66ec88fSEmmanuel Vadot			  2 0 0x50010000 0x00010000
92*c66ec88fSEmmanuel Vadot			  3 0 0x50020000 0x00010000>;
93*c66ec88fSEmmanuel Vadot
94*c66ec88fSEmmanuel Vadot		// 8-bit DualPort SRAM on LocalPlus Bus CS1
95*c66ec88fSEmmanuel Vadot		kollmorgen@1,0 {
96*c66ec88fSEmmanuel Vadot			compatible = "promess,motionpro-kollmorgen";
97*c66ec88fSEmmanuel Vadot			reg = <1 0 0x10000>;
98*c66ec88fSEmmanuel Vadot			interrupts = <1 1 0>;
99*c66ec88fSEmmanuel Vadot		};
100*c66ec88fSEmmanuel Vadot
101*c66ec88fSEmmanuel Vadot		// 8-bit board CPLD on LocalPlus Bus CS2
102*c66ec88fSEmmanuel Vadot		cpld@2,0 {
103*c66ec88fSEmmanuel Vadot			compatible = "promess,motionpro-cpld";
104*c66ec88fSEmmanuel Vadot			reg = <2 0 0x10000>;
105*c66ec88fSEmmanuel Vadot		};
106*c66ec88fSEmmanuel Vadot
107*c66ec88fSEmmanuel Vadot		// 8-bit custom Anybus Module on LocalPlus Bus CS3
108*c66ec88fSEmmanuel Vadot		anybus@3,0 {
109*c66ec88fSEmmanuel Vadot			compatible = "promess,motionpro-anybus";
110*c66ec88fSEmmanuel Vadot			reg = <3 0 0x10000>;
111*c66ec88fSEmmanuel Vadot		};
112*c66ec88fSEmmanuel Vadot		pro_module_general@3,0 {
113*c66ec88fSEmmanuel Vadot			compatible = "promess,pro_module_general";
114*c66ec88fSEmmanuel Vadot			reg = <3 0 3>;
115*c66ec88fSEmmanuel Vadot		};
116*c66ec88fSEmmanuel Vadot		pro_module_dio@3,800 {
117*c66ec88fSEmmanuel Vadot			compatible = "promess,pro_module_dio";
118*c66ec88fSEmmanuel Vadot			reg = <3 0x800 2>;
119*c66ec88fSEmmanuel Vadot		};
120*c66ec88fSEmmanuel Vadot
121*c66ec88fSEmmanuel Vadot		// 16-bit flash device at LocalPlus Bus CS0
122*c66ec88fSEmmanuel Vadot		flash@0,0 {
123*c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
124*c66ec88fSEmmanuel Vadot			reg = <0 0 0x01000000>;
125*c66ec88fSEmmanuel Vadot			bank-width = <2>;
126*c66ec88fSEmmanuel Vadot			device-width = <2>;
127*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
128*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
129*c66ec88fSEmmanuel Vadot		};
130*c66ec88fSEmmanuel Vadot
131*c66ec88fSEmmanuel Vadot	};
132*c66ec88fSEmmanuel Vadot};
133