blob: 0b78e89ac69bedf2a9d7462ba22e47ba21a0e01d [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
Marian Balakowicz0238aa52007-11-10 04:12:49 +110015/ {
16 model = "promess,motionpro";
17 compatible = "promess,motionpro";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110018
19 soc5200@f0000000 {
Grant Likely24ce6bc2008-01-24 22:25:31 -070020 timer@600 { // General Purpose Timer
Marian Balakowicz0238aa52007-11-10 04:12:49 +110021 fsl,has-wdt;
22 };
23
John Bonesioabf1e272010-11-17 15:28:30 -080024 timer@660 { // Motion-PRO status LED
Marian Balakowicz0238aa52007-11-10 04:12:49 +110025 compatible = "promess,motionpro-led";
26 label = "motionpro-statusled";
Grant Likelya2884f32008-04-29 07:19:07 -060027 blink-delay = <100>; // 100 msec
Marian Balakowicz0238aa52007-11-10 04:12:49 +110028 };
29
John Bonesioabf1e272010-11-17 15:28:30 -080030 timer@670 { // Motion-PRO ready LED
Marian Balakowicz0238aa52007-11-10 04:12:49 +110031 compatible = "promess,motionpro-led";
32 label = "motionpro-readyled";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110033 };
34
John Bonesioc8bf6b52010-11-17 15:28:56 -080035 can@900 {
36 status = "disabled";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110037 };
38
John Bonesioabf1e272010-11-17 15:28:30 -080039 psc@2000 { // PSC1
Grant Likely24ce6bc2008-01-24 22:25:31 -070040 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110041 };
42
43 // PSC2 in spi master mode
John Bonesioabf1e272010-11-17 15:28:30 -080044 psc@2200 { // PSC2
Grant Likely24ce6bc2008-01-24 22:25:31 -070045 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110046 cell-index = <1>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +110047 };
48
John Bonesioc8bf6b52010-11-17 15:28:56 -080049 psc@2400 { // PSC3
50 status = "disabled";
51 };
52
53 psc@2600 { // PSC4
54 status = "disabled";
55 };
56
John Bonesioabf1e272010-11-17 15:28:30 -080057 psc@2800 { // PSC5
Grant Likely24ce6bc2008-01-24 22:25:31 -070058 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
John Bonesioc8bf6b52010-11-17 15:28:56 -080059 };
60
61 psc@2c00 { // PSC6
62 status = "disabled";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110063 };
64
65 ethernet@3000 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110066 phy-handle = <&phy0>;
67 };
68
69 mdio@3000 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110070 phy0: ethernet-phy@2 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110071 reg = <2>;
72 };
Marian Balakowicz0238aa52007-11-10 04:12:49 +110073 };
74
John Bonesioc8bf6b52010-11-17 15:28:56 -080075 i2c@3d00 {
76 status = "disabled";
Marian Balakowicz0238aa52007-11-10 04:12:49 +110077 };
78
79 i2c@3d40 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110080 rtc@68 {
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110081 compatible = "dallas,ds1339";
Grant Likelya2884f32008-04-29 07:19:07 -060082 reg = <0x68>;
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +110083 };
Marian Balakowicz0238aa52007-11-10 04:12:49 +110084 };
85
86 sram@8000 {
Grant Likely24ce6bc2008-01-24 22:25:31 -070087 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
Grant Likelya2884f32008-04-29 07:19:07 -060088 reg = <0x8000 0x4000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +110089 };
90 };
91
John Bonesioc8bf6b52010-11-17 15:28:56 -080092 pci@f0000d00 {
93 status = "disabled";
94 };
95
Grant Likelyb8842452009-02-03 12:30:26 -070096 localbus {
Grant Likelya2884f32008-04-29 07:19:07 -060097 ranges = <0 0 0xff000000 0x01000000
98 1 0 0x50000000 0x00010000
99 2 0 0x50010000 0x00010000
100 3 0 0x50020000 0x00010000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100101
102 // 8-bit DualPort SRAM on LocalPlus Bus CS1
103 kollmorgen@1,0 {
104 compatible = "promess,motionpro-kollmorgen";
Grant Likelya2884f32008-04-29 07:19:07 -0600105 reg = <1 0 0x10000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100106 interrupts = <1 1 0>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100107 };
108
109 // 8-bit board CPLD on LocalPlus Bus CS2
110 cpld@2,0 {
111 compatible = "promess,motionpro-cpld";
Grant Likelya2884f32008-04-29 07:19:07 -0600112 reg = <2 0 0x10000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100113 };
114
115 // 8-bit custom Anybus Module on LocalPlus Bus CS3
116 anybus@3,0 {
117 compatible = "promess,motionpro-anybus";
Grant Likelya2884f32008-04-29 07:19:07 -0600118 reg = <3 0 0x10000>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100119 };
120 pro_module_general@3,0 {
121 compatible = "promess,pro_module_general";
122 reg = <3 0 3>;
123 };
124 pro_module_dio@3,800 {
125 compatible = "promess,pro_module_dio";
Grant Likelya2884f32008-04-29 07:19:07 -0600126 reg = <3 0x800 2>;
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100127 };
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100128
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +1100129 // 16-bit flash device at LocalPlus Bus CS0
130 flash@0,0 {
131 compatible = "cfi-flash";
Grant Likelya2884f32008-04-29 07:19:07 -0600132 reg = <0 0 0x01000000>;
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +1100133 bank-width = <2>;
134 device-width = <2>;
John Bonesioc8bf6b52010-11-17 15:28:56 -0800135 #size-cells = <1>;
136 #address-cells = <1>;
Bartlomiej Sieka115e1ad2008-04-03 01:26:02 +1100137 };
John Bonesioc8bf6b52010-11-17 15:28:56 -0800138
Marian Balakowicz0238aa52007-11-10 04:12:49 +1100139 };
140};