Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 1 | /* |
2 | * Lite5200 board Device Tree Source | ||||
3 | * | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 4 | * Copyright 2006-2007 Secret Lab Technologies Ltd. |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 5 | * Grant Likely <grant.likely@secretlab.ca> |
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 | |||||
Grant Likely | 121361f | 2007-01-19 00:00:14 -0700 | [diff] [blame] | 13 | /* |
14 | * WARNING: Do not depend on this tree layout remaining static just yet. | ||||
15 | * The MPC5200 device tree conventions are still in flux | ||||
16 | * Keep an eye on the linuxppc-dev mailing list for more details | ||||
17 | */ | ||||
18 | |||||
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 19 | / { |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 20 | model = "fsl,lite5200"; |
21 | // revision = "1.0"; | ||||
22 | compatible = "fsl,lite5200\0generic-mpc5200"; | ||||
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 23 | #address-cells = <1>; |
24 | #size-cells = <1>; | ||||
25 | |||||
26 | cpus { | ||||
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 27 | #address-cells = <1>; |
28 | #size-cells = <0>; | ||||
29 | |||||
30 | PowerPC,5200@0 { | ||||
31 | device_type = "cpu"; | ||||
32 | reg = <0>; | ||||
33 | d-cache-line-size = <20>; | ||||
34 | i-cache-line-size = <20>; | ||||
35 | d-cache-size = <4000>; // L1, 16K | ||||
36 | i-cache-size = <4000>; // L1, 16K | ||||
37 | timebase-frequency = <0>; // from bootloader | ||||
38 | bus-frequency = <0>; // from bootloader | ||||
39 | clock-frequency = <0>; // from bootloader | ||||
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 40 | }; |
41 | }; | ||||
42 | |||||
43 | memory { | ||||
44 | device_type = "memory"; | ||||
45 | reg = <00000000 04000000>; // 64MB | ||||
46 | }; | ||||
47 | |||||
48 | soc5200@f0000000 { | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 49 | model = "fsl,mpc5200"; |
Domen Puncer | 0d0f4bc | 2007-05-07 01:38:48 +1000 | [diff] [blame] | 50 | compatible = "mpc5200"; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 51 | revision = ""; // from bootloader |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 52 | device_type = "soc"; |
Kumar Gala | f0c8ac8 | 2007-09-12 11:52:31 -0500 | [diff] [blame^] | 53 | ranges = <0 f0000000 0000c000>; |
54 | reg = <f0000000 00000100>; | ||||
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 55 | bus-frequency = <0>; // from bootloader |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 56 | system-frequency = <0>; // from bootloader |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 57 | |
58 | cdm@200 { | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 59 | compatible = "mpc5200-cdm"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 60 | reg = <200 38>; |
61 | }; | ||||
62 | |||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 63 | mpc5200_pic: pic@500 { |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 64 | // 5200 interrupts are encoded into two levels; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 65 | interrupt-controller; |
66 | #interrupt-cells = <3>; | ||||
67 | device_type = "interrupt-controller"; | ||||
Domen Puncer | f2fb9eb | 2007-05-21 08:56:00 +0200 | [diff] [blame] | 68 | compatible = "mpc5200-pic"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 69 | reg = <500 80>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 70 | }; |
71 | |||||
72 | gpt@600 { // General Purpose Timer | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 73 | compatible = "mpc5200-gpt"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 74 | device_type = "gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 75 | cell-index = <0>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 76 | reg = <600 10>; |
77 | interrupts = <1 9 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 78 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 79 | has-wdt; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 80 | }; |
81 | |||||
82 | gpt@610 { // General Purpose Timer | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 83 | compatible = "mpc5200-gpt"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 84 | device_type = "gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 85 | cell-index = <1>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 86 | reg = <610 10>; |
87 | interrupts = <1 a 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 88 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 89 | }; |
90 | |||||
91 | gpt@620 { // General Purpose Timer | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 92 | compatible = "mpc5200-gpt"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 93 | device_type = "gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 94 | cell-index = <2>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 95 | reg = <620 10>; |
96 | interrupts = <1 b 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 97 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 98 | }; |
99 | |||||
100 | gpt@630 { // General Purpose Timer | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 101 | compatible = "mpc5200-gpt"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 102 | device_type = "gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 103 | cell-index = <3>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 104 | reg = <630 10>; |
105 | interrupts = <1 c 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 106 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 107 | }; |
108 | |||||
109 | gpt@640 { // General Purpose Timer | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 110 | compatible = "mpc5200-gpt"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 111 | device_type = "gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 112 | cell-index = <4>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 113 | reg = <640 10>; |
114 | interrupts = <1 d 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 115 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 116 | }; |
117 | |||||
118 | gpt@650 { // General Purpose Timer | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 119 | compatible = "mpc5200-gpt"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 120 | device_type = "gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 121 | cell-index = <5>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 122 | reg = <650 10>; |
123 | interrupts = <1 e 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 124 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 125 | }; |
126 | |||||
127 | gpt@660 { // General Purpose Timer | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 128 | compatible = "mpc5200-gpt"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 129 | device_type = "gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 130 | cell-index = <6>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 131 | reg = <660 10>; |
132 | interrupts = <1 f 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 133 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 134 | }; |
135 | |||||
136 | gpt@670 { // General Purpose Timer | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 137 | compatible = "mpc5200-gpt"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 138 | device_type = "gpt"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 139 | cell-index = <7>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 140 | reg = <670 10>; |
141 | interrupts = <1 10 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 142 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 143 | }; |
144 | |||||
145 | rtc@800 { // Real time clock | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 146 | compatible = "mpc5200-rtc"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 147 | device_type = "rtc"; |
148 | reg = <800 100>; | ||||
149 | interrupts = <1 5 0 1 6 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 150 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 151 | }; |
152 | |||||
153 | mscan@900 { | ||||
154 | device_type = "mscan"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 155 | compatible = "mpc5200-mscan"; |
156 | cell-index = <0>; | ||||
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 157 | interrupts = <2 11 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 158 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 159 | reg = <900 80>; |
160 | }; | ||||
161 | |||||
162 | mscan@980 { | ||||
163 | device_type = "mscan"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 164 | compatible = "mpc5200-mscan"; |
165 | cell-index = <1>; | ||||
Domen Puncer | 0d0f4bc | 2007-05-07 01:38:48 +1000 | [diff] [blame] | 166 | interrupts = <2 12 0>; |
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 167 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 168 | reg = <980 80>; |
169 | }; | ||||
170 | |||||
171 | gpio@b00 { | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 172 | compatible = "mpc5200-gpio"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 173 | reg = <b00 40>; |
174 | interrupts = <1 7 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 175 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 176 | }; |
177 | |||||
Domen Puncer | 0d0f4bc | 2007-05-07 01:38:48 +1000 | [diff] [blame] | 178 | gpio-wkup@c00 { |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 179 | compatible = "mpc5200-gpio-wkup"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 180 | reg = <c00 40>; |
181 | interrupts = <1 8 0 0 3 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 182 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 183 | }; |
184 | |||||
185 | pci@0d00 { | ||||
186 | #interrupt-cells = <1>; | ||||
187 | #size-cells = <2>; | ||||
188 | #address-cells = <3>; | ||||
189 | device_type = "pci"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 190 | compatible = "mpc5200-pci"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 191 | reg = <d00 100>; |
192 | interrupt-map-mask = <f800 0 0 7>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 193 | interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3 |
194 | c000 0 0 2 &mpc5200_pic 0 0 3 | ||||
195 | c000 0 0 3 &mpc5200_pic 0 0 3 | ||||
196 | c000 0 0 4 &mpc5200_pic 0 0 3>; | ||||
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 197 | clock-frequency = <0>; // From boot loader |
198 | interrupts = <2 8 0 2 9 0 2 a 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 199 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 200 | bus-range = <0 0>; |
201 | ranges = <42000000 0 80000000 80000000 0 20000000 | ||||
202 | 02000000 0 a0000000 a0000000 0 10000000 | ||||
203 | 01000000 0 00000000 b0000000 0 01000000>; | ||||
204 | }; | ||||
205 | |||||
206 | spi@f00 { | ||||
207 | device_type = "spi"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 208 | compatible = "mpc5200-spi"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 209 | reg = <f00 20>; |
210 | interrupts = <2 d 0 2 e 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 211 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 212 | }; |
213 | |||||
214 | usb@1000 { | ||||
215 | device_type = "usb-ohci-be"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 216 | compatible = "mpc5200-ohci\0ohci-be"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 217 | reg = <1000 ff>; |
218 | interrupts = <2 6 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 219 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 220 | }; |
221 | |||||
222 | bestcomm@1200 { | ||||
223 | device_type = "dma-controller"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 224 | compatible = "mpc5200-bestcomm"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 225 | reg = <1200 80>; |
226 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 | ||||
227 | 3 4 0 3 5 0 3 6 0 3 7 0 | ||||
228 | 3 8 0 3 9 0 3 a 0 3 b 0 | ||||
229 | 3 c 0 3 d 0 3 e 0 3 f 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 230 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 231 | }; |
232 | |||||
233 | xlb@1f00 { | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 234 | compatible = "mpc5200-xlb"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 235 | reg = <1f00 100>; |
236 | }; | ||||
237 | |||||
238 | serial@2000 { // PSC1 | ||||
239 | device_type = "serial"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 240 | compatible = "mpc5200-psc-uart"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 241 | port-number = <0>; // Logical port assignment |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 242 | cell-index = <0>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 243 | reg = <2000 100>; |
244 | interrupts = <2 1 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 245 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 246 | }; |
247 | |||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 248 | // PSC2 in ac97 mode example |
249 | //ac97@2200 { // PSC2 | ||||
250 | // device_type = "sound"; | ||||
251 | // compatible = "mpc5200-psc-ac97"; | ||||
252 | // cell-index = <1>; | ||||
253 | // reg = <2200 100>; | ||||
254 | // interrupts = <2 2 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 255 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 256 | //}; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 257 | |
258 | // PSC3 in CODEC mode example | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 259 | //i2s@2400 { // PSC3 |
260 | // device_type = "sound"; | ||||
261 | // compatible = "mpc5200-psc-i2s"; | ||||
262 | // cell-index = <2>; | ||||
263 | // reg = <2400 100>; | ||||
264 | // interrupts = <2 3 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 265 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 266 | //}; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 267 | |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 268 | // PSC4 in uart mode example |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 269 | //serial@2600 { // PSC4 |
270 | // device_type = "serial"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 271 | // compatible = "mpc5200-psc-uart"; |
272 | // cell-index = <3>; | ||||
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 273 | // reg = <2600 100>; |
274 | // interrupts = <2 b 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 275 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 276 | //}; |
277 | |||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 278 | // PSC5 in uart mode example |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 279 | //serial@2800 { // PSC5 |
280 | // device_type = "serial"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 281 | // compatible = "mpc5200-psc-uart"; |
282 | // cell-index = <4>; | ||||
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 283 | // reg = <2800 100>; |
284 | // interrupts = <2 c 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 285 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 286 | //}; |
287 | |||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 288 | // PSC6 in spi mode example |
289 | //spi@2c00 { // PSC6 | ||||
290 | // device_type = "spi"; | ||||
291 | // compatible = "mpc5200-psc-spi"; | ||||
292 | // cell-index = <5>; | ||||
293 | // reg = <2c00 100>; | ||||
294 | // interrupts = <2 4 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 295 | // interrupt-parent = <&mpc5200_pic>; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 296 | //}; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 297 | |
298 | ethernet@3000 { | ||||
299 | device_type = "network"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 300 | compatible = "mpc5200-fec"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 301 | reg = <3000 800>; |
302 | mac-address = [ 02 03 04 05 06 07 ]; // Bad! | ||||
303 | interrupts = <2 5 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 304 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 305 | }; |
306 | |||||
307 | ata@3a00 { | ||||
308 | device_type = "ata"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 309 | compatible = "mpc5200-ata"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 310 | reg = <3a00 100>; |
311 | interrupts = <2 7 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 312 | interrupt-parent = <&mpc5200_pic>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 313 | }; |
314 | |||||
315 | i2c@3d00 { | ||||
316 | device_type = "i2c"; | ||||
Domen Puncer | 5cae84c | 2007-05-07 01:38:49 +1000 | [diff] [blame] | 317 | compatible = "mpc5200-i2c\0fsl-i2c"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 318 | cell-index = <0>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 319 | reg = <3d00 40>; |
320 | interrupts = <2 f 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 321 | interrupt-parent = <&mpc5200_pic>; |
Domen Puncer | 5cae84c | 2007-05-07 01:38:49 +1000 | [diff] [blame] | 322 | fsl5200-clocking; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 323 | }; |
324 | |||||
325 | i2c@3d40 { | ||||
326 | device_type = "i2c"; | ||||
Domen Puncer | 5cae84c | 2007-05-07 01:38:49 +1000 | [diff] [blame] | 327 | compatible = "mpc5200-i2c\0fsl-i2c"; |
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 328 | cell-index = <1>; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 329 | reg = <3d40 40>; |
330 | interrupts = <2 10 0>; | ||||
Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 331 | interrupt-parent = <&mpc5200_pic>; |
Domen Puncer | 5cae84c | 2007-05-07 01:38:49 +1000 | [diff] [blame] | 332 | fsl5200-clocking; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 333 | }; |
334 | sram@8000 { | ||||
335 | device_type = "sram"; | ||||
Grant Likely | 05cbbc6 | 2007-02-12 13:36:54 -0700 | [diff] [blame] | 336 | compatible = "mpc5200-sram\0sram"; |
Grant Likely | c6d4d65 | 2006-11-27 14:16:29 -0700 | [diff] [blame] | 337 | reg = <8000 4000>; |
338 | }; | ||||
339 | }; | ||||
340 | }; |