blob: bbabd97492ad3096013760507484c3744b1789c8 [file] [log] [blame]
Marian Balakowicz0238aa52007-11-10 04:12:49 +11001/*
2 * Motion-PRO board Device Tree Source
3 *
4 * Copyright (C) 2007 Semihalf
5 * Marian Balakowicz <m8@semihalf.com>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
11 */
12
John Bonesioc8bf6b52010-11-17 15:28:56 -080013/include/ "mpc5200b.dtsi"
Grant Likelya2884f32008-04-29 07:19:07 -060014
Grant Likelyfa59f172013-02-08 08:02:51 +000015&gpt0 { fsl,has-wdt; };
16&gpt6 { // Motion-PRO status LED
17 compatible = "promess,motionpro-led";
18 label = "motionpro-statusled";
19 blink-delay = <100>; // 100 msec
20};
21&gpt7 { // Motion-PRO ready LED
22 compatible = "promess,motionpro-led";
23 label = "motionpro-readyled";
24};
25
Marian Balakowicz0238aa52007-11-10 04:12:49 +110026/ {
27 model = "promess,motionpro";
28 compatible = "promess,motionpro";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110029
30 soc5200@f0000000 {
John Bonesioc8bf6b52010-11-17 15:28:56 -080031 can@900 {
32 status = "disabled";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110033 };
34
John Bonesioabf1e272010-11-17 15:28:30 -080035 psc@2000 { // PSC1
Grant Likely24ce6bc2008-01-24 22:25:31 -070036 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110037 };
38
39 // PSC2 in spi master mode
John Bonesioabf1e272010-11-17 15:28:30 -080040 psc@2200 { // PSC2
Grant Likely24ce6bc2008-01-24 22:25:31 -070041 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110042 cell-index = <1>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +110043 };
44
John Bonesioc8bf6b52010-11-17 15:28:56 -080045 psc@2400 { // PSC3
46 status = "disabled";
47 };
48
49 psc@2600 { // PSC4
50 status = "disabled";
51 };
52
John Bonesioabf1e272010-11-17 15:28:30 -080053 psc@2800 { // PSC5
Grant Likely24ce6bc2008-01-24 22:25:31 -070054 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
John Bonesioc8bf6b52010-11-17 15:28:56 -080055 };
56
57 psc@2c00 { // PSC6
58 status = "disabled";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110059 };
60
61 ethernet@3000 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110062 phy-handle = <&phy0>;
63 };
64
65 mdio@3000 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110066 phy0: ethernet-phy@2 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110067 reg = <2>;
68 };
Marian Balakowicz0238aa52007-11-10 04:12:49 +110069 };
70
John Bonesioc8bf6b52010-11-17 15:28:56 -080071 i2c@3d00 {
72 status = "disabled";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110073 };
74
75 i2c@3d40 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110076 rtc@68 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110077 compatible = "dallas,ds1339";
Grant Likelya2884f32008-04-29 07:19:07 -060078 reg = <0x68>;
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110079 };
Marian Balakowicz0238aa52007-11-10 04:12:49 +110080 };
81
82 sram@8000 {
Grant Likely24ce6bc2008-01-24 22:25:31 -070083 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
Grant Likelya2884f32008-04-29 07:19:07 -060084 reg = <0x8000 0x4000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +110085 };
86 };
87
John Bonesioc8bf6b52010-11-17 15:28:56 -080088 pci@f0000d00 {
89 status = "disabled";
90 };
91
Grant Likelyb8842452009-02-03 12:30:26 -070092 localbus {
Grant Likelya2884f32008-04-29 07:19:07 -060093 ranges = <0 0 0xff000000 0x01000000
94 1 0 0x50000000 0x00010000
95 2 0 0x50010000 0x00010000
96 3 0 0x50020000 0x00010000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +110097
98 // 8-bit DualPort SRAM on LocalPlus Bus CS1
99 kollmorgen@1,0 {
100 compatible = "promess,motionpro-kollmorgen";
Grant Likelya2884f32008-04-29 07:19:07 -0600101 reg = <1 0 0x10000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100102 interrupts = <1 1 0>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100103 };
104
105 // 8-bit board CPLD on LocalPlus Bus CS2
106 cpld@2,0 {
107 compatible = "promess,motionpro-cpld";
Grant Likelya2884f32008-04-29 07:19:07 -0600108 reg = <2 0 0x10000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100109 };
110
111 // 8-bit custom Anybus Module on LocalPlus Bus CS3
112 anybus@3,0 {
113 compatible = "promess,motionpro-anybus";
Grant Likelya2884f32008-04-29 07:19:07 -0600114 reg = <3 0 0x10000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100115 };
116 pro_module_general@3,0 {
117 compatible = "promess,pro_module_general";
118 reg = <3 0 3>;
119 };
120 pro_module_dio@3,800 {
121 compatible = "promess,pro_module_dio";
Grant Likelya2884f32008-04-29 07:19:07 -0600122 reg = <3 0x800 2>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100123 };
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100124
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +1100125 // 16-bit flash device at LocalPlus Bus CS0
126 flash@0,0 {
127 compatible = "cfi-flash";
Grant Likelya2884f32008-04-29 07:19:07 -0600128 reg = <0 0 0x01000000>;
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +1100129 bank-width = <2>;
130 device-width = <2>;
John Bonesioc8bf6b52010-11-17 15:28:56 -0800131 #size-cells = <1>;
132 #address-cells = <1>;
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +1100133 };
John Bonesioc8bf6b52010-11-17 15:28:56 -0800134
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100135 };
136};