blob: b2d61091b36daca5c5ee20959051faba9420fe51 [file] [log] [blame]
Scott Wood3611f2a2007-09-05 14:00:54 -05001/*
2 * Device Tree for the PQ2FADS-ZU board with an MPC8280 chip.
3 *
Kumar Gala998c6102008-04-17 09:40:48 -05004 * Copyright 2007,2008 Freescale Semiconductor Inc.
Scott Wood3611f2a2007-09-05 14:00:54 -05005 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11
Kumar Gala998c6102008-04-17 09:40:48 -050012/dts-v1/;
13
Scott Wood3611f2a2007-09-05 14:00:54 -050014/ {
15 model = "pq2fads";
16 compatible = "fsl,pq2fads";
17 #address-cells = <1>;
18 #size-cells = <1>;
19
20 cpus {
21 #address-cells = <1>;
22 #size-cells = <0>;
23
24 cpu@0 {
25 device_type = "cpu";
Kumar Gala998c6102008-04-17 09:40:48 -050026 reg = <0x0>;
27 d-cache-line-size = <32>;
28 i-cache-line-size = <32>;
29 d-cache-size = <16384>;
30 i-cache-size = <16384>;
Scott Wood3611f2a2007-09-05 14:00:54 -050031 timebase-frequency = <0>;
32 clock-frequency = <0>;
33 };
34 };
35
36 memory {
37 device_type = "memory";
Kumar Gala998c6102008-04-17 09:40:48 -050038 reg = <0x0 0x0>;
Scott Wood3611f2a2007-09-05 14:00:54 -050039 };
40
41 localbus@f0010100 {
42 compatible = "fsl,mpc8280-localbus",
43 "fsl,pq2-localbus";
44 #address-cells = <2>;
45 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -050046 reg = <0xf0010100 0x60>;
Scott Wood3611f2a2007-09-05 14:00:54 -050047
Kumar Gala998c6102008-04-17 09:40:48 -050048 ranges = <0x0 0x0 0xfe000000 0x800000
49 0x1 0x0 0xf4500000 0x8000
50 0x8 0x0 0xf8200000 0x8000>;
Scott Wood3611f2a2007-09-05 14:00:54 -050051
52 flash@0,0 {
53 compatible = "jedec-flash";
Kumar Gala998c6102008-04-17 09:40:48 -050054 reg = <0x0 0x0 0x800000>;
Scott Wood3611f2a2007-09-05 14:00:54 -050055 bank-width = <4>;
56 device-width = <1>;
57 };
58
59 bcsr@1,0 {
Kumar Gala998c6102008-04-17 09:40:48 -050060 reg = <0x1 0x0 0x20>;
Scott Wood3611f2a2007-09-05 14:00:54 -050061 compatible = "fsl,pq2fads-bcsr";
62 };
63
64 PCI_PIC: pic@8,0 {
65 #interrupt-cells = <1>;
66 interrupt-controller;
Kumar Gala998c6102008-04-17 09:40:48 -050067 reg = <0x8 0x0 0x8>;
Scott Wood3611f2a2007-09-05 14:00:54 -050068 compatible = "fsl,pq2ads-pci-pic";
69 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -050070 interrupts = <24 8>;
Scott Wood3611f2a2007-09-05 14:00:54 -050071 };
72 };
73
74 pci@f0010800 {
75 device_type = "pci";
Kumar Gala998c6102008-04-17 09:40:48 -050076 reg = <0xf0010800 0x10c 0xf00101ac 0x8 0xf00101c4 0x8>;
Scott Wood3611f2a2007-09-05 14:00:54 -050077 compatible = "fsl,mpc8280-pci", "fsl,pq2-pci";
78 #interrupt-cells = <1>;
79 #size-cells = <2>;
80 #address-cells = <3>;
Kumar Gala998c6102008-04-17 09:40:48 -050081 clock-frequency = <66000000>;
82 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Scott Wood3611f2a2007-09-05 14:00:54 -050083 interrupt-map = <
84 /* IDSEL 0x16 */
Kumar Gala998c6102008-04-17 09:40:48 -050085 0xb000 0x0 0x0 0x1 &PCI_PIC 0
86 0xb000 0x0 0x0 0x2 &PCI_PIC 1
87 0xb000 0x0 0x0 0x3 &PCI_PIC 2
88 0xb000 0x0 0x0 0x4 &PCI_PIC 3
Scott Wood3611f2a2007-09-05 14:00:54 -050089
90 /* IDSEL 0x17 */
Kumar Gala998c6102008-04-17 09:40:48 -050091 0xb800 0x0 0x0 0x1 &PCI_PIC 4
92 0xb800 0x0 0x0 0x2 &PCI_PIC 5
93 0xb800 0x0 0x0 0x3 &PCI_PIC 6
94 0xb800 0x0 0x0 0x4 &PCI_PIC 7
Scott Wood3611f2a2007-09-05 14:00:54 -050095
96 /* IDSEL 0x18 */
Kumar Gala998c6102008-04-17 09:40:48 -050097 0xc000 0x0 0x0 0x1 &PCI_PIC 8
98 0xc000 0x0 0x0 0x2 &PCI_PIC 9
99 0xc000 0x0 0x0 0x3 &PCI_PIC 10
100 0xc000 0x0 0x0 0x4 &PCI_PIC 11>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500101
102 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500103 interrupts = <18 8>;
104 ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x20000000
105 0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
106 0x1000000 0x0 0x0 0xf6000000 0x0 0x2000000>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500107 };
108
109 soc@f0000000 {
110 #address-cells = <1>;
111 #size-cells = <1>;
112 device_type = "soc";
113 compatible = "fsl,mpc8280", "fsl,pq2-soc";
Kumar Gala998c6102008-04-17 09:40:48 -0500114 ranges = <0x0 0xf0000000 0x53000>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500115
116 // Temporary -- will go away once kernel uses ranges for get_immrbase().
Kumar Gala998c6102008-04-17 09:40:48 -0500117 reg = <0xf0000000 0x53000>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500118
119 cpm@119c0 {
120 #address-cells = <1>;
121 #size-cells = <1>;
122 #interrupt-cells = <2>;
123 compatible = "fsl,mpc8280-cpm", "fsl,cpm2";
Kumar Gala998c6102008-04-17 09:40:48 -0500124 reg = <0x119c0 0x30>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500125 ranges;
126
Scott Wood15f8c602007-09-28 14:06:16 -0500127 muram@0 {
128 #address-cells = <1>;
129 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500130 ranges = <0x0 0x0 0x10000>;
Scott Wood15f8c602007-09-28 14:06:16 -0500131
132 data@0 {
133 compatible = "fsl,cpm-muram-data";
Kumar Gala998c6102008-04-17 09:40:48 -0500134 reg = <0x0 0x2000 0x9800 0x800>;
Scott Wood15f8c602007-09-28 14:06:16 -0500135 };
136 };
137
Scott Wood3611f2a2007-09-05 14:00:54 -0500138 brg@119f0 {
139 compatible = "fsl,mpc8280-brg",
140 "fsl,cpm2-brg",
141 "fsl,cpm-brg";
Kumar Gala998c6102008-04-17 09:40:48 -0500142 reg = <0x119f0 0x10 0x115f0 0x10>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500143 };
144
145 serial@11a00 {
146 device_type = "serial";
147 compatible = "fsl,mpc8280-scc-uart",
148 "fsl,cpm2-scc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500149 reg = <0x11a00 0x20 0x8000 0x100>;
150 interrupts = <40 8>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500151 interrupt-parent = <&PIC>;
152 fsl,cpm-brg = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500153 fsl,cpm-command = <0x800000>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500154 };
155
156 serial@11a20 {
157 device_type = "serial";
158 compatible = "fsl,mpc8280-scc-uart",
159 "fsl,cpm2-scc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500160 reg = <0x11a20 0x20 0x8100 0x100>;
161 interrupts = <41 8>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500162 interrupt-parent = <&PIC>;
163 fsl,cpm-brg = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -0500164 fsl,cpm-command = <0x4a00000>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500165 };
166
167 ethernet@11320 {
168 device_type = "network";
169 compatible = "fsl,mpc8280-fcc-enet",
170 "fsl,cpm2-fcc-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500171 reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>;
172 interrupts = <33 8>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500173 interrupt-parent = <&PIC>;
174 phy-handle = <&PHY0>;
175 linux,network-index = <0>;
Kumar Gala998c6102008-04-17 09:40:48 -0500176 fsl,cpm-command = <0x16200300>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500177 };
178
179 ethernet@11340 {
180 device_type = "network";
181 compatible = "fsl,mpc8280-fcc-enet",
182 "fsl,cpm2-fcc-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500183 reg = <0x11340 0x20 0x8600 0x100 0x113d0 0x1>;
184 interrupts = <34 8>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500185 interrupt-parent = <&PIC>;
186 phy-handle = <&PHY1>;
187 linux,network-index = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500188 fsl,cpm-command = <0x1a400300>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500189 local-mac-address = [00 e0 0c 00 79 01];
190 };
191
192 mdio@10d40 {
193 device_type = "mdio";
194 compatible = "fsl,pq2fads-mdio-bitbang",
195 "fsl,mpc8280-mdio-bitbang",
196 "fsl,cpm2-mdio-bitbang";
197 #address-cells = <1>;
198 #size-cells = <0>;
Kumar Gala998c6102008-04-17 09:40:48 -0500199 reg = <0x10d40 0x14>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500200 fsl,mdio-pin = <9>;
Kumar Gala998c6102008-04-17 09:40:48 -0500201 fsl,mdc-pin = <10>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500202
203 PHY0: ethernet-phy@0 {
204 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500205 interrupts = <25 2>;
206 reg = <0x0>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500207 device_type = "ethernet-phy";
208 };
209
210 PHY1: ethernet-phy@1 {
211 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500212 interrupts = <25 2>;
213 reg = <0x3>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500214 device_type = "ethernet-phy";
215 };
216 };
217
218 usb@11b60 {
219 #address-cells = <1>;
220 #size-cells = <0>;
221 compatible = "fsl,mpc8280-usb",
222 "fsl,cpm2-usb";
Kumar Gala998c6102008-04-17 09:40:48 -0500223 reg = <0x11b60 0x18 0x8b00 0x100>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500224 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500225 interrupts = <11 8>;
226 fsl,cpm-command = <0x2e600000>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500227 };
228 };
229
230 PIC: interrupt-controller@10c00 {
231 #interrupt-cells = <2>;
232 interrupt-controller;
Kumar Gala998c6102008-04-17 09:40:48 -0500233 reg = <0x10c00 0x80>;
Scott Wood3611f2a2007-09-05 14:00:54 -0500234 compatible = "fsl,mpc8280-pic", "fsl,cpm2-pic";
235 };
236
237 };
238
239 chosen {
240 linux,stdout-path = "/soc/cpm/serial@11a00";
241 };
242};