2007-11-09 20:12:49 +03:00
/*
* Motion-PRO board Device Tree Source
*
* Copyright (C) 2007 Semihalf
* Marian Balakowicz <m8@semihalf.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/
2010-11-18 02:28:56 +03:00
/include/ "mpc5200b.dtsi"
2008-04-29 17:19:07 +04:00
2013-02-08 12:02:51 +04:00
&gpt0 { fsl,has-wdt; };
&gpt6 { // Motion-PRO status LED
compatible = "promess,motionpro-led";
label = "motionpro-statusled";
blink-delay = <100>; // 100 msec
};
&gpt7 { // Motion-PRO ready LED
compatible = "promess,motionpro-led";
label = "motionpro-readyled";
};
2007-11-09 20:12:49 +03:00
/ {
model = "promess,motionpro";
compatible = "promess,motionpro";
soc5200@f0000000 {
2010-11-18 02:28:56 +03:00
can@900 {
status = "disabled";
2007-11-09 20:12:49 +03:00
};
2010-11-18 02:28:30 +03:00
psc@2000 { // PSC1
2008-01-25 08:25:31 +03:00
compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
2007-11-09 20:12:49 +03:00
};
// PSC2 in spi master mode
2010-11-18 02:28:30 +03:00
psc@2200 { // PSC2
2008-01-25 08:25:31 +03:00
compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
2007-11-09 20:12:49 +03:00
cell-index = <1>;
};
2010-11-18 02:28:56 +03:00
psc@2400 { // PSC3
status = "disabled";
};
psc@2600 { // PSC4
status = "disabled";
};
2010-11-18 02:28:30 +03:00
psc@2800 { // PSC5
2008-01-25 08:25:31 +03:00
compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
2010-11-18 02:28:56 +03:00
};
psc@2c00 { // PSC6
status = "disabled";
2007-11-09 20:12:49 +03:00
};
ethernet@3000 {
2008-04-02 18:26:02 +04:00
phy-handle = <&phy0>;
};
mdio@3000 {
phy0: ethernet-phy@2 {
reg = <2>;
};
2007-11-09 20:12:49 +03:00
};
2010-11-18 02:28:56 +03:00
i2c@3d00 {
status = "disabled";
2007-11-09 20:12:49 +03:00
};
i2c@3d40 {
2008-04-02 18:26:02 +04:00
rtc@68 {
compatible = "dallas,ds1339";
2008-04-29 17:19:07 +04:00
reg = <0x68>;
2008-04-02 18:26:02 +04:00
};
2007-11-09 20:12:49 +03:00
};
sram@8000 {
2008-01-25 08:25:31 +03:00
compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
2008-04-29 17:19:07 +04:00
reg = <0x8000 0x4000>;
2007-11-09 20:12:49 +03:00
};
};
2010-11-18 02:28:56 +03:00
pci@f0000d00 {
status = "disabled";
};
2009-02-03 22:30:26 +03:00
localbus {
2008-04-29 17:19:07 +04:00
ranges = <0 0 0xff000000 0x01000000
1 0 0x50000000 0x00010000
2 0 0x50010000 0x00010000
3 0 0x50020000 0x00010000>;
2007-11-09 20:12:49 +03:00
// 8-bit DualPort SRAM on LocalPlus Bus CS1
kollmorgen@1,0 {
compatible = "promess,motionpro-kollmorgen";
2008-04-29 17:19:07 +04:00
reg = <1 0 0x10000>;
2007-11-09 20:12:49 +03:00
interrupts = <1 1 0>;
};
// 8-bit board CPLD on LocalPlus Bus CS2
cpld@2,0 {
compatible = "promess,motionpro-cpld";
2008-04-29 17:19:07 +04:00
reg = <2 0 0x10000>;
2007-11-09 20:12:49 +03:00
};
// 8-bit custom Anybus Module on LocalPlus Bus CS3
anybus@3,0 {
compatible = "promess,motionpro-anybus";
2008-04-29 17:19:07 +04:00
reg = <3 0 0x10000>;
2007-11-09 20:12:49 +03:00
};
pro_module_general@3,0 {
compatible = "promess,pro_module_general";
reg = <3 0 3>;
};
pro_module_dio@3,800 {
compatible = "promess,pro_module_dio";
2008-04-29 17:19:07 +04:00
reg = <3 0x800 2>;
2007-11-09 20:12:49 +03:00
};
2008-04-02 18:26:02 +04:00
// 16-bit flash device at LocalPlus Bus CS0
flash@0,0 {
compatible = "cfi-flash";
2008-04-29 17:19:07 +04:00
reg = <0 0 0x01000000>;
2008-04-02 18:26:02 +04:00
bank-width = <2>;
device-width = <2>;
2010-11-18 02:28:56 +03:00
#size-cells = <1>;
#address-cells = <1>;
2008-04-02 18:26:02 +04:00
};
2010-11-18 02:28:56 +03:00
2007-11-09 20:12:49 +03:00
};
};