Commit | Line | Data |
---|---|---|
0238aa54 MB |
1 | /* |
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 | ||
c8bf6b52 | 13 | /include/ "mpc5200b.dtsi" |
a2884f37 | 14 | |
fa59f178 GL |
15 | &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 | ||
0238aa54 MB |
26 | / { |
27 | model = "promess,motionpro"; | |
28 | compatible = "promess,motionpro"; | |
0238aa54 MB |
29 | |
30 | soc5200@f0000000 { | |
c8bf6b52 JB |
31 | can@900 { |
32 | status = "disabled"; | |
0238aa54 MB |
33 | }; |
34 | ||
abf1e27f | 35 | psc@2000 { // PSC1 |
24ce6bc4 | 36 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
0238aa54 MB |
37 | }; |
38 | ||
39 | // PSC2 in spi master mode | |
abf1e27f | 40 | psc@2200 { // PSC2 |
24ce6bc4 | 41 | compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi"; |
0238aa54 | 42 | cell-index = <1>; |
0238aa54 MB |
43 | }; |
44 | ||
c8bf6b52 JB |
45 | psc@2400 { // PSC3 |
46 | status = "disabled"; | |
47 | }; | |
48 | ||
49 | psc@2600 { // PSC4 | |
50 | status = "disabled"; | |
51 | }; | |
52 | ||
abf1e27f | 53 | psc@2800 { // PSC5 |
24ce6bc4 | 54 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
c8bf6b52 JB |
55 | }; |
56 | ||
57 | psc@2c00 { // PSC6 | |
58 | status = "disabled"; | |
0238aa54 MB |
59 | }; |
60 | ||
61 | ethernet@3000 { | |
115e1adc BS |
62 | phy-handle = <&phy0>; |
63 | }; | |
64 | ||
65 | mdio@3000 { | |
115e1adc | 66 | phy0: ethernet-phy@2 { |
115e1adc BS |
67 | reg = <2>; |
68 | }; | |
0238aa54 MB |
69 | }; |
70 | ||
c8bf6b52 JB |
71 | i2c@3d00 { |
72 | status = "disabled"; | |
0238aa54 MB |
73 | }; |
74 | ||
75 | i2c@3d40 { | |
115e1adc | 76 | rtc@68 { |
115e1adc | 77 | compatible = "dallas,ds1339"; |
a2884f37 | 78 | reg = <0x68>; |
115e1adc | 79 | }; |
0238aa54 MB |
80 | }; |
81 | ||
82 | sram@8000 { | |
24ce6bc4 | 83 | compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; |
a2884f37 | 84 | reg = <0x8000 0x4000>; |
0238aa54 MB |
85 | }; |
86 | }; | |
87 | ||
c8bf6b52 JB |
88 | pci@f0000d00 { |
89 | status = "disabled"; | |
90 | }; | |
91 | ||
b8842451 | 92 | localbus { |
a2884f37 GL |
93 | ranges = <0 0 0xff000000 0x01000000 |
94 | 1 0 0x50000000 0x00010000 | |
95 | 2 0 0x50010000 0x00010000 | |
96 | 3 0 0x50020000 0x00010000>; | |
0238aa54 MB |
97 | |
98 | // 8-bit DualPort SRAM on LocalPlus Bus CS1 | |
99 | kollmorgen@1,0 { | |
100 | compatible = "promess,motionpro-kollmorgen"; | |
a2884f37 | 101 | reg = <1 0 0x10000>; |
0238aa54 | 102 | interrupts = <1 1 0>; |
0238aa54 MB |
103 | }; |
104 | ||
105 | // 8-bit board CPLD on LocalPlus Bus CS2 | |
106 | cpld@2,0 { | |
107 | compatible = "promess,motionpro-cpld"; | |
a2884f37 | 108 | reg = <2 0 0x10000>; |
0238aa54 MB |
109 | }; |
110 | ||
111 | // 8-bit custom Anybus Module on LocalPlus Bus CS3 | |
112 | anybus@3,0 { | |
113 | compatible = "promess,motionpro-anybus"; | |
a2884f37 | 114 | reg = <3 0 0x10000>; |
0238aa54 MB |
115 | }; |
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"; | |
a2884f37 | 122 | reg = <3 0x800 2>; |
0238aa54 | 123 | }; |
0238aa54 | 124 | |
115e1adc BS |
125 | // 16-bit flash device at LocalPlus Bus CS0 |
126 | flash@0,0 { | |
127 | compatible = "cfi-flash"; | |
a2884f37 | 128 | reg = <0 0 0x01000000>; |
115e1adc BS |
129 | bank-width = <2>; |
130 | device-width = <2>; | |
c8bf6b52 JB |
131 | #size-cells = <1>; |
132 | #address-cells = <1>; | |
115e1adc | 133 | }; |
c8bf6b52 | 134 | |
0238aa54 MB |
135 | }; |
136 | }; |