1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * base MPC5200b Device Tree Source
5 * Copyright (C) 2010 SecretLab
6 * Grant Likely <grant@secretlab.ca>
7 * John Bonesio <bones@secretlab.ca>
13 model = "fsl,mpc5200b";
14 compatible = "fsl,mpc5200b";
17 interrupt-parent = <&mpc5200_pic>;
23 powerpc: PowerPC,5200@0 {
26 d-cache-line-size = <32>;
27 i-cache-line-size = <32>;
28 d-cache-size = <0x4000>; // L1, 16K
29 i-cache-size = <0x4000>; // L1, 16K
30 timebase-frequency = <0>; // from bootloader
31 bus-frequency = <0>; // from bootloader
32 clock-frequency = <0>; // from bootloader
37 device_type = "memory";
38 reg = <0x00000000 0x04000000>; // 64MB
41 soc: soc5200@f0000000 {
44 compatible = "fsl,mpc5200b-immr";
45 ranges = <0 0xf0000000 0x0000c000>;
46 reg = <0xf0000000 0x00000100>;
47 bus-frequency = <0>; // from bootloader
48 system-frequency = <0>; // from bootloader
51 compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
55 mpc5200_pic: interrupt-controller@500 {
56 // 5200 interrupts are encoded into two levels;
58 #interrupt-cells = <3>;
59 compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
63 gpt0: timer@600 { // General Purpose Timer
64 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
65 #gpio-cells = <2>; // Add 'gpio-controller;' to enable gpio mode
68 // add 'fsl,has-wdt' to enable watchdog
71 gpt1: timer@610 { // General Purpose Timer
72 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
73 #gpio-cells = <2>; // Add 'gpio-controller;' to enable gpio mode
75 interrupts = <1 10 0>;
78 gpt2: timer@620 { // General Purpose Timer
79 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
80 #gpio-cells = <2>; // Add 'gpio-controller;' to enable gpio mode
82 interrupts = <1 11 0>;
85 gpt3: timer@630 { // General Purpose Timer
86 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
87 #gpio-cells = <2>; // Add 'gpio-controller;' to enable gpio mode
89 interrupts = <1 12 0>;
92 gpt4: timer@640 { // General Purpose Timer
93 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
94 #gpio-cells = <2>; // Add 'gpio-controller;' to enable gpio mode
96 interrupts = <1 13 0>;
99 gpt5: timer@650 { // General Purpose Timer
100 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
101 #gpio-cells = <2>; // Add 'gpio-controller;' to enable gpio mode
103 interrupts = <1 14 0>;
106 gpt6: timer@660 { // General Purpose Timer
107 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
108 #gpio-cells = <2>; // Add 'gpio-controller;' to enable gpio mode
110 interrupts = <1 15 0>;
113 gpt7: timer@670 { // General Purpose Timer
114 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
115 #gpio-cells = <2>; // Add 'gpio-controller;' to enable gpio mode
117 interrupts = <1 16 0>;
120 rtc@800 { // Real time clock
121 compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
123 interrupts = <1 5 0 1 6 0>;
127 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
128 interrupts = <2 17 0>;
133 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
134 interrupts = <2 18 0>;
138 gpio_simple: gpio@b00 {
139 compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
141 interrupts = <1 7 0>;
146 gpio_wkup: gpio@c00 {
147 compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
149 interrupts = <1 8 0 0 3 0>;
155 #address-cells = <1>;
157 compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
159 interrupts = <2 13 0 2 14 0>;
163 compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
165 interrupts = <2 6 0>;
168 dma-controller@1200 {
169 compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
171 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
172 3 4 0 3 5 0 3 6 0 3 7 0
173 3 8 0 3 9 0 3 10 0 3 11 0
174 3 12 0 3 13 0 3 14 0 3 15 0>;
178 compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
179 reg = <0x1f00 0x100>;
182 psc1: psc@2000 { // PSC1
183 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
184 reg = <0x2000 0x100>;
185 interrupts = <2 1 0>;
188 psc2: psc@2200 { // PSC2
189 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
190 reg = <0x2200 0x100>;
191 interrupts = <2 2 0>;
194 psc3: psc@2400 { // PSC3
195 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
196 reg = <0x2400 0x100>;
197 interrupts = <2 3 0>;
200 psc4: psc@2600 { // PSC4
201 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
202 reg = <0x2600 0x100>;
203 interrupts = <2 11 0>;
206 psc5: psc@2800 { // PSC5
207 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
208 reg = <0x2800 0x100>;
209 interrupts = <2 12 0>;
212 psc6: psc@2c00 { // PSC6
213 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
214 reg = <0x2c00 0x100>;
215 interrupts = <2 4 0>;
218 eth0: ethernet@3000 {
219 compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
220 reg = <0x3000 0x400>;
221 local-mac-address = [ 00 00 00 00 00 00 ];
222 interrupts = <2 5 0>;
226 #address-cells = <1>;
228 compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
229 reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
230 interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
234 compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
235 reg = <0x3a00 0x100>;
236 interrupts = <2 7 0>;
240 compatible = "fsl,mpc5200-lpbfifo";
242 interrupts = <2 23 0>;
246 #address-cells = <1>;
248 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
250 interrupts = <2 15 0>;
254 #address-cells = <1>;
256 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
258 interrupts = <2 16 0>;
262 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
263 reg = <0x8000 0x4000>;
268 #interrupt-cells = <1>;
270 #address-cells = <3>;
272 compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci";
273 reg = <0xf0000d00 0x100>;
274 // interrupt-map-mask = need to add
275 // interrupt-map = need to add
276 clock-frequency = <0>; // From boot loader
277 interrupts = <2 8 0 2 9 0 2 10 0>;
279 // ranges = need to add
283 compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus";
284 #address-cells = <2>;
286 ranges = <0 0 0xfc000000 0x2000000>;