Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Motion-PRO board Device Tree Source
0004  *
0005  * Copyright (C) 2007 Semihalf
0006  * Marian Balakowicz <m8@semihalf.com>
0007  */
0008 
0009 /include/ "mpc5200b.dtsi"
0010 
0011 &gpt0 { fsl,has-wdt; };
0012 &gpt6 { // Motion-PRO status LED
0013         compatible = "promess,motionpro-led";
0014         label = "motionpro-statusled";
0015         blink-delay = <100>; // 100 msec
0016 };
0017 &gpt7 { // Motion-PRO ready LED
0018         compatible = "promess,motionpro-led";
0019         label = "motionpro-readyled";
0020 };
0021 
0022 / {
0023         model = "promess,motionpro";
0024         compatible = "promess,motionpro";
0025 
0026         soc5200@f0000000 {
0027                 can@900 {
0028                         status = "disabled";
0029                 };
0030 
0031                 psc@2000 {              // PSC1
0032                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
0033                 };
0034 
0035                 // PSC2 in spi master mode 
0036                 psc@2200 {              // PSC2
0037                         compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
0038                         cell-index = <1>;
0039                 };
0040 
0041                 psc@2400 {              // PSC3
0042                         status = "disabled";
0043                 };
0044 
0045                 psc@2600 {              // PSC4
0046                         status = "disabled";
0047                 };
0048 
0049                 psc@2800 {              // PSC5
0050                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
0051                 };
0052 
0053                 psc@2c00 {              // PSC6
0054                         status = "disabled";
0055                 };
0056 
0057                 ethernet@3000 {
0058                         phy-handle = <&phy0>;
0059                 };
0060 
0061                 mdio@3000 {
0062                         phy0: ethernet-phy@2 {
0063                                 reg = <2>;
0064                         };
0065                 };
0066 
0067                 i2c@3d00 {
0068                         status = "disabled";
0069                 };
0070 
0071                 i2c@3d40 {
0072                         rtc@68 {
0073                                 compatible = "dallas,ds1339";
0074                                 reg = <0x68>;
0075                         };
0076                 };
0077 
0078                 sram@8000 {
0079                         compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
0080                         reg = <0x8000 0x4000>;
0081                 };
0082         };
0083 
0084         pci@f0000d00 {
0085                 status = "disabled";
0086         };
0087 
0088         localbus {
0089                 ranges = <0 0 0xff000000 0x01000000
0090                           1 0 0x50000000 0x00010000
0091                           2 0 0x50010000 0x00010000
0092                           3 0 0x50020000 0x00010000>;
0093 
0094                 // 8-bit DualPort SRAM on LocalPlus Bus CS1
0095                 kollmorgen@1,0 {
0096                         compatible = "promess,motionpro-kollmorgen";
0097                         reg = <1 0 0x10000>;
0098                         interrupts = <1 1 0>;
0099                 };
0100 
0101                 // 8-bit board CPLD on LocalPlus Bus CS2
0102                 cpld@2,0 {
0103                         compatible = "promess,motionpro-cpld";
0104                         reg = <2 0 0x10000>;
0105                 };
0106 
0107                 // 8-bit custom Anybus Module on LocalPlus Bus CS3
0108                 anybus@3,0 {
0109                         compatible = "promess,motionpro-anybus";
0110                         reg = <3 0 0x10000>;
0111                 };
0112                 pro_module_general@3,0 {
0113                         compatible = "promess,pro_module_general";
0114                         reg = <3 0 3>;
0115                 };
0116                 pro_module_dio@3,800 {
0117                         compatible = "promess,pro_module_dio";
0118                         reg = <3 0x800 2>;
0119                 };
0120 
0121                 // 16-bit flash device at LocalPlus Bus CS0
0122                 flash@0,0 {
0123                         compatible = "cfi-flash";
0124                         reg = <0 0 0x01000000>;
0125                         bank-width = <2>;
0126                         device-width = <2>;
0127                         #size-cells = <1>;
0128                         #address-cells = <1>;
0129                 };
0130 
0131         };
0132 };