diff options
Diffstat (limited to 'arch/powerpc/boot/dts/digsy_mtc.dts')
-rw-r--r-- | arch/powerpc/boot/dts/digsy_mtc.dts | 173 |
1 files changed, 23 insertions, 150 deletions
diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts index 3147b9894205..27bd267d631c 100644 --- a/arch/powerpc/boot/dts/digsy_mtc.dts +++ b/arch/powerpc/boot/dts/digsy_mtc.dts | |||
@@ -11,195 +11,68 @@ | |||
11 | * option) any later version. | 11 | * option) any later version. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /dts-v1/; | 14 | /include/ "mpc5200b.dtsi" |
15 | 15 | ||
16 | / { | 16 | / { |
17 | model = "intercontrol,digsy-mtc"; | 17 | model = "intercontrol,digsy-mtc"; |
18 | compatible = "intercontrol,digsy-mtc"; | 18 | compatible = "intercontrol,digsy-mtc"; |
19 | #address-cells = <1>; | ||
20 | #size-cells = <1>; | ||
21 | interrupt-parent = <&mpc5200_pic>; | ||
22 | |||
23 | cpus { | ||
24 | #address-cells = <1>; | ||
25 | #size-cells = <0>; | ||
26 | |||
27 | PowerPC,5200@0 { | ||
28 | device_type = "cpu"; | ||
29 | reg = <0>; | ||
30 | d-cache-line-size = <32>; | ||
31 | i-cache-line-size = <32>; | ||
32 | d-cache-size = <0x4000>; // L1, 16K | ||
33 | i-cache-size = <0x4000>; // L1, 16K | ||
34 | timebase-frequency = <0>; // from bootloader | ||
35 | bus-frequency = <0>; // from bootloader | ||
36 | clock-frequency = <0>; // from bootloader | ||
37 | }; | ||
38 | }; | ||
39 | 19 | ||
40 | memory { | 20 | memory { |
41 | device_type = "memory"; | ||
42 | reg = <0x00000000 0x02000000>; // 32MB | 21 | reg = <0x00000000 0x02000000>; // 32MB |
43 | }; | 22 | }; |
44 | 23 | ||
45 | soc5200@f0000000 { | 24 | soc5200@f0000000 { |
46 | #address-cells = <1>; | ||
47 | #size-cells = <1>; | ||
48 | compatible = "fsl,mpc5200b-immr"; | ||
49 | ranges = <0 0xf0000000 0x0000c000>; | ||
50 | reg = <0xf0000000 0x00000100>; | ||
51 | bus-frequency = <0>; // from bootloader | ||
52 | system-frequency = <0>; // from bootloader | ||
53 | |||
54 | cdm@200 { | ||
55 | compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; | ||
56 | reg = <0x200 0x38>; | ||
57 | }; | ||
58 | |||
59 | mpc5200_pic: interrupt-controller@500 { | ||
60 | // 5200 interrupts are encoded into two levels; | ||
61 | interrupt-controller; | ||
62 | #interrupt-cells = <3>; | ||
63 | compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; | ||
64 | reg = <0x500 0x80>; | ||
65 | }; | ||
66 | |||
67 | timer@600 { // General Purpose Timer | 25 | timer@600 { // General Purpose Timer |
68 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
69 | reg = <0x600 0x10>; | ||
70 | interrupts = <1 9 0>; | ||
71 | fsl,has-wdt; | 26 | fsl,has-wdt; |
72 | }; | 27 | }; |
73 | 28 | ||
74 | timer@610 { // General Purpose Timer | 29 | rtc@800 { |
75 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | 30 | status = "disabled"; |
76 | reg = <0x610 0x10>; | ||
77 | interrupts = <1 10 0>; | ||
78 | }; | ||
79 | |||
80 | timer@620 { // General Purpose Timer | ||
81 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
82 | reg = <0x620 0x10>; | ||
83 | interrupts = <1 11 0>; | ||
84 | }; | ||
85 | |||
86 | timer@630 { // General Purpose Timer | ||
87 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
88 | reg = <0x630 0x10>; | ||
89 | interrupts = <1 12 0>; | ||
90 | }; | ||
91 | |||
92 | timer@640 { // General Purpose Timer | ||
93 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
94 | reg = <0x640 0x10>; | ||
95 | interrupts = <1 13 0>; | ||
96 | }; | ||
97 | |||
98 | timer@650 { // General Purpose Timer | ||
99 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
100 | reg = <0x650 0x10>; | ||
101 | interrupts = <1 14 0>; | ||
102 | }; | ||
103 | |||
104 | timer@660 { // General Purpose Timer | ||
105 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
106 | reg = <0x660 0x10>; | ||
107 | interrupts = <1 15 0>; | ||
108 | }; | ||
109 | |||
110 | timer@670 { // General Purpose Timer | ||
111 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
112 | reg = <0x670 0x10>; | ||
113 | interrupts = <1 16 0>; | ||
114 | }; | ||
115 | |||
116 | gpio_simple: gpio@b00 { | ||
117 | compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; | ||
118 | reg = <0xb00 0x40>; | ||
119 | interrupts = <1 7 0>; | ||
120 | gpio-controller; | ||
121 | #gpio-cells = <2>; | ||
122 | }; | 31 | }; |
123 | 32 | ||
124 | gpio_wkup: gpio@c00 { | 33 | can@900 { |
125 | compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; | 34 | status = "disabled"; |
126 | reg = <0xc00 0x40>; | ||
127 | interrupts = <1 8 0 0 3 0>; | ||
128 | gpio-controller; | ||
129 | #gpio-cells = <2>; | ||
130 | }; | 35 | }; |
131 | 36 | ||
132 | spi@f00 { | 37 | can@980 { |
133 | compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; | 38 | status = "disabled"; |
134 | reg = <0xf00 0x20>; | ||
135 | interrupts = <2 13 0 2 14 0>; | ||
136 | }; | 39 | }; |
137 | 40 | ||
138 | usb@1000 { | 41 | psc@2000 { // PSC1 |
139 | compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be"; | 42 | status = "disabled"; |
140 | reg = <0x1000 0xff>; | ||
141 | interrupts = <2 6 0>; | ||
142 | }; | 43 | }; |
143 | 44 | ||
144 | dma-controller@1200 { | 45 | psc@2200 { // PSC2 |
145 | compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; | 46 | status = "disabled"; |
146 | reg = <0x1200 0x80>; | ||
147 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 | ||
148 | 3 4 0 3 5 0 3 6 0 3 7 0 | ||
149 | 3 8 0 3 9 0 3 10 0 3 11 0 | ||
150 | 3 12 0 3 13 0 3 14 0 3 15 0>; | ||
151 | }; | 47 | }; |
152 | 48 | ||
153 | xlb@1f00 { | 49 | psc@2400 { // PSC3 |
154 | compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; | 50 | status = "disabled"; |
155 | reg = <0x1f00 0x100>; | ||
156 | }; | 51 | }; |
157 | 52 | ||
158 | psc@2600 { // PSC4 | 53 | psc@2600 { // PSC4 |
159 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | 54 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
160 | reg = <0x2600 0x100>; | ||
161 | interrupts = <2 11 0>; | ||
162 | }; | 55 | }; |
163 | 56 | ||
164 | psc@2800 { // PSC5 | 57 | psc@2800 { // PSC5 |
165 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | 58 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
166 | reg = <0x2800 0x100>; | 59 | }; |
167 | interrupts = <2 12 0>; | 60 | |
61 | psc@2c00 { // PSC6 | ||
62 | status = "disabled"; | ||
168 | }; | 63 | }; |
169 | 64 | ||
170 | ethernet@3000 { | 65 | ethernet@3000 { |
171 | compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; | ||
172 | reg = <0x3000 0x400>; | ||
173 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
174 | interrupts = <2 5 0>; | ||
175 | phy-handle = <&phy0>; | 66 | phy-handle = <&phy0>; |
176 | }; | 67 | }; |
177 | 68 | ||
178 | mdio@3000 { | 69 | mdio@3000 { |
179 | #address-cells = <1>; | ||
180 | #size-cells = <0>; | ||
181 | compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; | ||
182 | reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts | ||
183 | interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. | ||
184 | |||
185 | phy0: ethernet-phy@0 { | 70 | phy0: ethernet-phy@0 { |
186 | reg = <0>; | 71 | reg = <0>; |
187 | }; | 72 | }; |
188 | }; | 73 | }; |
189 | 74 | ||
190 | ata@3a00 { | ||
191 | compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata"; | ||
192 | reg = <0x3a00 0x100>; | ||
193 | interrupts = <2 7 0>; | ||
194 | }; | ||
195 | |||
196 | i2c@3d00 { | 75 | i2c@3d00 { |
197 | #address-cells = <1>; | ||
198 | #size-cells = <0>; | ||
199 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | ||
200 | reg = <0x3d00 0x40>; | ||
201 | interrupts = <2 15 0>; | ||
202 | |||
203 | rtc@50 { | 76 | rtc@50 { |
204 | compatible = "at,24c08"; | 77 | compatible = "at,24c08"; |
205 | reg = <0x50>; | 78 | reg = <0x50>; |
@@ -211,16 +84,16 @@ | |||
211 | }; | 84 | }; |
212 | }; | 85 | }; |
213 | 86 | ||
214 | sram@8000 { | 87 | i2c@3d40 { |
215 | compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; | 88 | status = "disabled"; |
216 | reg = <0x8000 0x4000>; | ||
217 | }; | 89 | }; |
218 | }; | 90 | }; |
219 | 91 | ||
92 | pci@f0000d00 { | ||
93 | status = "disabled"; | ||
94 | }; | ||
95 | |||
220 | localbus { | 96 | localbus { |
221 | compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus"; | ||
222 | #address-cells = <2>; | ||
223 | #size-cells = <1>; | ||
224 | ranges = <0 0 0xff000000 0x1000000>; | 97 | ranges = <0 0 0xff000000 0x1000000>; |
225 | 98 | ||
226 | // 16-bit flash device at LocalPlus Bus CS0 | 99 | // 16-bit flash device at LocalPlus Bus CS0 |