blob: 6d2cddf64cfdb2cf998bf6d7afb601d2b3670a53 [file] [log] [blame]
Vitaly Borduge02f73e2006-10-02 22:22:36 +04001/*
2 * MPC8272 ADS Device Tree Source
3 *
Kumar Gala998c6102008-04-17 09:40:48 -05004 * Copyright 2005,2008 Freescale Semiconductor Inc.
Vitaly Borduge02f73e2006-10-02 22:22:36 +04005 *
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
Vitaly Borduge02f73e2006-10-02 22:22:36 +040014/ {
Scott Wood4b218e92007-08-21 02:36:19 +100015 model = "MPC8272ADS";
Scott Woode00c5492007-09-14 15:41:56 -050016 compatible = "fsl,mpc8272ads";
Scott Wood4b218e92007-08-21 02:36:19 +100017 #address-cells = <1>;
18 #size-cells = <1>;
Vitaly Borduge02f73e2006-10-02 22:22:36 +040019
Wolfgang Denkc7a7a5b2009-05-12 21:06:14 +020020 aliases {
21 ethernet0 = &eth0;
22 ethernet1 = &eth1;
23 serial0 = &scc1;
24 serial1 = &scc4;
25 };
26
Scott Wood4b218e92007-08-21 02:36:19 +100027 cpus {
28 #address-cells = <1>;
29 #size-cells = <0>;
Vitaly Borduge02f73e2006-10-02 22:22:36 +040030
Scott Wood4b218e92007-08-21 02:36:19 +100031 PowerPC,8272@0 {
32 device_type = "cpu";
Kumar Gala998c6102008-04-17 09:40:48 -050033 reg = <0x0>;
34 d-cache-line-size = <32>;
35 i-cache-line-size = <32>;
36 d-cache-size = <16384>;
37 i-cache-size = <16384>;
Scott Wood4b218e92007-08-21 02:36:19 +100038 timebase-frequency = <0>;
39 bus-frequency = <0>;
40 clock-frequency = <0>;
Scott Wood4b218e92007-08-21 02:36:19 +100041 };
42 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +040043
Scott Wood4b218e92007-08-21 02:36:19 +100044 memory {
45 device_type = "memory";
Kumar Gala998c6102008-04-17 09:40:48 -050046 reg = <0x0 0x0>;
Scott Wood4b218e92007-08-21 02:36:19 +100047 };
48
Scott Woode00c5492007-09-14 15:41:56 -050049 localbus@f0010100 {
50 compatible = "fsl,mpc8272-localbus",
51 "fsl,pq2-localbus";
52 #address-cells = <2>;
53 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -050054 reg = <0xf0010100 0x40>;
Scott Woode00c5492007-09-14 15:41:56 -050055
Wolfgang Denkc7a7a5b2009-05-12 21:06:14 +020056 ranges = <0x0 0x0 0xff800000 0x00800000
Kumar Gala998c6102008-04-17 09:40:48 -050057 0x1 0x0 0xf4500000 0x8000
58 0x3 0x0 0xf8200000 0x8000>;
Scott Woode00c5492007-09-14 15:41:56 -050059
60 flash@0,0 {
61 compatible = "jedec-flash";
Wolfgang Denkc7a7a5b2009-05-12 21:06:14 +020062 reg = <0x0 0x0 0x00800000>;
Scott Woode00c5492007-09-14 15:41:56 -050063 bank-width = <4>;
64 device-width = <1>;
65 };
66
67 board-control@1,0 {
Kumar Gala998c6102008-04-17 09:40:48 -050068 reg = <0x1 0x0 0x20>;
Scott Woode00c5492007-09-14 15:41:56 -050069 compatible = "fsl,mpc8272ads-bcsr";
70 };
71
72 PCI_PIC: interrupt-controller@3,0 {
73 compatible = "fsl,mpc8272ads-pci-pic",
74 "fsl,pq2ads-pci-pic";
75 #interrupt-cells = <1>;
76 interrupt-controller;
Kumar Gala998c6102008-04-17 09:40:48 -050077 reg = <0x3 0x0 0x8>;
Scott Woode00c5492007-09-14 15:41:56 -050078 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -050079 interrupts = <20 8>;
Scott Woode00c5492007-09-14 15:41:56 -050080 };
Scott Wood4b218e92007-08-21 02:36:19 +100081 };
Vitaly Bordug73844ec2007-01-31 02:08:54 +030082
Scott Woode00c5492007-09-14 15:41:56 -050083
84 pci@f0010800 {
85 device_type = "pci";
Kumar Gala998c6102008-04-17 09:40:48 -050086 reg = <0xf0010800 0x10c 0xf00101ac 0x8 0xf00101c4 0x8>;
Scott Woode00c5492007-09-14 15:41:56 -050087 compatible = "fsl,mpc8272-pci", "fsl,pq2-pci";
88 #interrupt-cells = <1>;
89 #size-cells = <2>;
90 #address-cells = <3>;
Kumar Gala998c6102008-04-17 09:40:48 -050091 clock-frequency = <66666666>;
92 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Scott Woode00c5492007-09-14 15:41:56 -050093 interrupt-map = <
94 /* IDSEL 0x16 */
Kumar Gala998c6102008-04-17 09:40:48 -050095 0xb000 0x0 0x0 0x1 &PCI_PIC 0
96 0xb000 0x0 0x0 0x2 &PCI_PIC 1
97 0xb000 0x0 0x0 0x3 &PCI_PIC 2
98 0xb000 0x0 0x0 0x4 &PCI_PIC 3
Scott Woode00c5492007-09-14 15:41:56 -050099
100 /* IDSEL 0x17 */
Kumar Gala998c6102008-04-17 09:40:48 -0500101 0xb800 0x0 0x0 0x1 &PCI_PIC 4
102 0xb800 0x0 0x0 0x2 &PCI_PIC 5
103 0xb800 0x0 0x0 0x3 &PCI_PIC 6
104 0xb800 0x0 0x0 0x4 &PCI_PIC 7
Scott Woode00c5492007-09-14 15:41:56 -0500105
106 /* IDSEL 0x18 */
Kumar Gala998c6102008-04-17 09:40:48 -0500107 0xc000 0x0 0x0 0x1 &PCI_PIC 8
108 0xc000 0x0 0x0 0x2 &PCI_PIC 9
109 0xc000 0x0 0x0 0x3 &PCI_PIC 10
110 0xc000 0x0 0x0 0x4 &PCI_PIC 11>;
Scott Woode00c5492007-09-14 15:41:56 -0500111
112 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500113 interrupts = <18 8>;
114 ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x20000000
115 0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
116 0x1000000 0x0 0x0 0xf6000000 0x0 0x2000000>;
Scott Woode00c5492007-09-14 15:41:56 -0500117 };
118
119 soc@f0000000 {
Scott Wood4b218e92007-08-21 02:36:19 +1000120 #address-cells = <1>;
121 #size-cells = <1>;
Scott Wood4b218e92007-08-21 02:36:19 +1000122 device_type = "soc";
Scott Woode00c5492007-09-14 15:41:56 -0500123 compatible = "fsl,mpc8272", "fsl,pq2-soc";
Kumar Gala998c6102008-04-17 09:40:48 -0500124 ranges = <0x0 0xf0000000 0x53000>;
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400125
Scott Woode00c5492007-09-14 15:41:56 -0500126 // Temporary -- will go away once kernel uses ranges for get_immrbase().
Kumar Gala998c6102008-04-17 09:40:48 -0500127 reg = <0xf0000000 0x53000>;
Scott Wood4b218e92007-08-21 02:36:19 +1000128
Scott Woode00c5492007-09-14 15:41:56 -0500129 cpm@119c0 {
Scott Wood4b218e92007-08-21 02:36:19 +1000130 #address-cells = <1>;
131 #size-cells = <1>;
Scott Woode00c5492007-09-14 15:41:56 -0500132 compatible = "fsl,mpc8272-cpm", "fsl,cpm2";
Kumar Gala998c6102008-04-17 09:40:48 -0500133 reg = <0x119c0 0x30>;
Scott Woode00c5492007-09-14 15:41:56 -0500134 ranges;
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400135
Scott Wood15f8c602007-09-28 14:06:16 -0500136 muram@0 {
137 #address-cells = <1>;
138 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500139 ranges = <0x0 0x0 0x10000>;
Scott Wood15f8c602007-09-28 14:06:16 -0500140
141 data@0 {
142 compatible = "fsl,cpm-muram-data";
Kumar Gala998c6102008-04-17 09:40:48 -0500143 reg = <0x0 0x2000 0x9800 0x800>;
Scott Wood15f8c602007-09-28 14:06:16 -0500144 };
145 };
146
Scott Woode00c5492007-09-14 15:41:56 -0500147 brg@119f0 {
148 compatible = "fsl,mpc8272-brg",
149 "fsl,cpm2-brg",
150 "fsl,cpm-brg";
Kumar Gala998c6102008-04-17 09:40:48 -0500151 reg = <0x119f0 0x10 0x115f0 0x10>;
Scott Wood4b218e92007-08-21 02:36:19 +1000152 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400153
Wolfgang Denkc7a7a5b2009-05-12 21:06:14 +0200154 scc1: serial@11a00 {
Scott Wood4b218e92007-08-21 02:36:19 +1000155 device_type = "serial";
Scott Woode00c5492007-09-14 15:41:56 -0500156 compatible = "fsl,mpc8272-scc-uart",
157 "fsl,cpm2-scc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500158 reg = <0x11a00 0x20 0x8000 0x100>;
159 interrupts = <40 8>;
Scott Woode00c5492007-09-14 15:41:56 -0500160 interrupt-parent = <&PIC>;
161 fsl,cpm-brg = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500162 fsl,cpm-command = <0x800000>;
Scott Woode00c5492007-09-14 15:41:56 -0500163 };
164
Wolfgang Denkc7a7a5b2009-05-12 21:06:14 +0200165 scc4: serial@11a60 {
Scott Woode00c5492007-09-14 15:41:56 -0500166 device_type = "serial";
167 compatible = "fsl,mpc8272-scc-uart",
168 "fsl,cpm2-scc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500169 reg = <0x11a60 0x20 0x8300 0x100>;
170 interrupts = <43 8>;
Scott Woode00c5492007-09-14 15:41:56 -0500171 interrupt-parent = <&PIC>;
172 fsl,cpm-brg = <4>;
Kumar Gala998c6102008-04-17 09:40:48 -0500173 fsl,cpm-command = <0xce00000>;
Scott Woode00c5492007-09-14 15:41:56 -0500174 };
175
Anton Vorontsov818fcac2009-08-19 03:28:17 +0400176 usb@11b60 {
177 compatible = "fsl,mpc8272-cpm-usb";
178 reg = <0x11b60 0x40 0x8b00 0x100>;
179 interrupts = <11 8>;
180 interrupt-parent = <&PIC>;
181 mode = "peripheral";
182 };
183
Scott Woode00c5492007-09-14 15:41:56 -0500184 mdio@10d40 {
Scott Woode00c5492007-09-14 15:41:56 -0500185 compatible = "fsl,mpc8272ads-mdio-bitbang",
186 "fsl,mpc8272-mdio-bitbang",
187 "fsl,cpm2-mdio-bitbang";
Kumar Gala998c6102008-04-17 09:40:48 -0500188 reg = <0x10d40 0x14>;
Scott Woode00c5492007-09-14 15:41:56 -0500189 #address-cells = <1>;
190 #size-cells = <0>;
Kumar Gala998c6102008-04-17 09:40:48 -0500191 fsl,mdio-pin = <18>;
192 fsl,mdc-pin = <19>;
Scott Woode00c5492007-09-14 15:41:56 -0500193
194 PHY0: ethernet-phy@0 {
195 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500196 interrupts = <23 8>;
197 reg = <0x0>;
Scott Woode00c5492007-09-14 15:41:56 -0500198 };
199
200 PHY1: ethernet-phy@1 {
201 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500202 interrupts = <23 8>;
203 reg = <0x3>;
Scott Woode00c5492007-09-14 15:41:56 -0500204 };
205 };
206
Wolfgang Denkc7a7a5b2009-05-12 21:06:14 +0200207 eth0: ethernet@11300 {
Scott Woode00c5492007-09-14 15:41:56 -0500208 device_type = "network";
209 compatible = "fsl,mpc8272-fcc-enet",
210 "fsl,cpm2-fcc-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500211 reg = <0x11300 0x20 0x8400 0x100 0x11390 0x1>;
Scott Woode00c5492007-09-14 15:41:56 -0500212 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala998c6102008-04-17 09:40:48 -0500213 interrupts = <32 8>;
Scott Woode00c5492007-09-14 15:41:56 -0500214 interrupt-parent = <&PIC>;
215 phy-handle = <&PHY0>;
216 linux,network-index = <0>;
Kumar Gala998c6102008-04-17 09:40:48 -0500217 fsl,cpm-command = <0x12000300>;
Scott Woode00c5492007-09-14 15:41:56 -0500218 };
219
Wolfgang Denkc7a7a5b2009-05-12 21:06:14 +0200220 eth1: ethernet@11320 {
Scott Woode00c5492007-09-14 15:41:56 -0500221 device_type = "network";
222 compatible = "fsl,mpc8272-fcc-enet",
223 "fsl,cpm2-fcc-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500224 reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>;
Scott Woode00c5492007-09-14 15:41:56 -0500225 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala998c6102008-04-17 09:40:48 -0500226 interrupts = <33 8>;
Scott Woode00c5492007-09-14 15:41:56 -0500227 interrupt-parent = <&PIC>;
228 phy-handle = <&PHY1>;
229 linux,network-index = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500230 fsl,cpm-command = <0x16200300>;
Scott Wood4b218e92007-08-21 02:36:19 +1000231 };
Jochen Friedricha5d28c82008-07-02 18:06:13 +0200232
233 i2c@11860 {
234 compatible = "fsl,mpc8272-i2c",
235 "fsl,cpm2-i2c";
236 reg = <0x11860 0x20 0x8afc 0x2>;
237 interrupts = <1 8>;
238 interrupt-parent = <&PIC>;
239 fsl,cpm-command = <0x29600000>;
240 #address-cells = <1>;
241 #size-cells = <0>;
242 };
Scott Wood4b218e92007-08-21 02:36:19 +1000243 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400244
Scott Woode00c5492007-09-14 15:41:56 -0500245 PIC: interrupt-controller@10c00 {
Scott Wood4b218e92007-08-21 02:36:19 +1000246 #interrupt-cells = <2>;
247 interrupt-controller;
Kumar Gala998c6102008-04-17 09:40:48 -0500248 reg = <0x10c00 0x80>;
Scott Woode00c5492007-09-14 15:41:56 -0500249 compatible = "fsl,mpc8272-pic", "fsl,cpm2-pic";
Scott Wood4b218e92007-08-21 02:36:19 +1000250 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400251
Scott Wood4b218e92007-08-21 02:36:19 +1000252 crypto@30000 {
Kim Phillips3fd44732008-07-08 19:13:33 -0500253 compatible = "fsl,sec1.0";
254 reg = <0x40000 0x13000>;
255 interrupts = <47 0x8>;
Scott Woode00c5492007-09-14 15:41:56 -0500256 interrupt-parent = <&PIC>;
Kim Phillips3fd44732008-07-08 19:13:33 -0500257 fsl,num-channels = <4>;
258 fsl,channel-fifo-len = <24>;
259 fsl,exec-units-mask = <0x7e>;
260 fsl,descriptor-types-mask = <0x1010415>;
Scott Wood4b218e92007-08-21 02:36:19 +1000261 };
262 };
Scott Woode00c5492007-09-14 15:41:56 -0500263
264 chosen {
265 linux,stdout-path = "/soc/cpm/serial@11a00";
266 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400267};