blob: 46e2da30c3dd2b895e5e9c9a575855a736359086 [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
Scott Wood4b218e92007-08-21 02:36:19 +100020 cpus {
21 #address-cells = <1>;
22 #size-cells = <0>;
Vitaly Borduge02f73e2006-10-02 22:22:36 +040023
Scott Wood4b218e92007-08-21 02:36:19 +100024 PowerPC,8272@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 Wood4b218e92007-08-21 02:36:19 +100031 timebase-frequency = <0>;
32 bus-frequency = <0>;
33 clock-frequency = <0>;
Scott Wood4b218e92007-08-21 02:36:19 +100034 };
35 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +040036
Scott Wood4b218e92007-08-21 02:36:19 +100037 memory {
38 device_type = "memory";
Kumar Gala998c6102008-04-17 09:40:48 -050039 reg = <0x0 0x0>;
Scott Wood4b218e92007-08-21 02:36:19 +100040 };
41
Scott Woode00c5492007-09-14 15:41:56 -050042 localbus@f0010100 {
43 compatible = "fsl,mpc8272-localbus",
44 "fsl,pq2-localbus";
45 #address-cells = <2>;
46 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -050047 reg = <0xf0010100 0x40>;
Scott Woode00c5492007-09-14 15:41:56 -050048
Kumar Gala998c6102008-04-17 09:40:48 -050049 ranges = <0x0 0x0 0xfe000000 0x2000000
50 0x1 0x0 0xf4500000 0x8000
51 0x3 0x0 0xf8200000 0x8000>;
Scott Woode00c5492007-09-14 15:41:56 -050052
53 flash@0,0 {
54 compatible = "jedec-flash";
Kumar Gala998c6102008-04-17 09:40:48 -050055 reg = <0x0 0x0 0x2000000>;
Scott Woode00c5492007-09-14 15:41:56 -050056 bank-width = <4>;
57 device-width = <1>;
58 };
59
60 board-control@1,0 {
Kumar Gala998c6102008-04-17 09:40:48 -050061 reg = <0x1 0x0 0x20>;
Scott Woode00c5492007-09-14 15:41:56 -050062 compatible = "fsl,mpc8272ads-bcsr";
63 };
64
65 PCI_PIC: interrupt-controller@3,0 {
66 compatible = "fsl,mpc8272ads-pci-pic",
67 "fsl,pq2ads-pci-pic";
68 #interrupt-cells = <1>;
69 interrupt-controller;
Kumar Gala998c6102008-04-17 09:40:48 -050070 reg = <0x3 0x0 0x8>;
Scott Woode00c5492007-09-14 15:41:56 -050071 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -050072 interrupts = <20 8>;
Scott Woode00c5492007-09-14 15:41:56 -050073 };
Scott Wood4b218e92007-08-21 02:36:19 +100074 };
Vitaly Bordug73844ec2007-01-31 02:08:54 +030075
Scott Woode00c5492007-09-14 15:41:56 -050076
77 pci@f0010800 {
78 device_type = "pci";
Kumar Gala998c6102008-04-17 09:40:48 -050079 reg = <0xf0010800 0x10c 0xf00101ac 0x8 0xf00101c4 0x8>;
Scott Woode00c5492007-09-14 15:41:56 -050080 compatible = "fsl,mpc8272-pci", "fsl,pq2-pci";
81 #interrupt-cells = <1>;
82 #size-cells = <2>;
83 #address-cells = <3>;
Kumar Gala998c6102008-04-17 09:40:48 -050084 clock-frequency = <66666666>;
85 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Scott Woode00c5492007-09-14 15:41:56 -050086 interrupt-map = <
87 /* IDSEL 0x16 */
Kumar Gala998c6102008-04-17 09:40:48 -050088 0xb000 0x0 0x0 0x1 &PCI_PIC 0
89 0xb000 0x0 0x0 0x2 &PCI_PIC 1
90 0xb000 0x0 0x0 0x3 &PCI_PIC 2
91 0xb000 0x0 0x0 0x4 &PCI_PIC 3
Scott Woode00c5492007-09-14 15:41:56 -050092
93 /* IDSEL 0x17 */
Kumar Gala998c6102008-04-17 09:40:48 -050094 0xb800 0x0 0x0 0x1 &PCI_PIC 4
95 0xb800 0x0 0x0 0x2 &PCI_PIC 5
96 0xb800 0x0 0x0 0x3 &PCI_PIC 6
97 0xb800 0x0 0x0 0x4 &PCI_PIC 7
Scott Woode00c5492007-09-14 15:41:56 -050098
99 /* IDSEL 0x18 */
Kumar Gala998c6102008-04-17 09:40:48 -0500100 0xc000 0x0 0x0 0x1 &PCI_PIC 8
101 0xc000 0x0 0x0 0x2 &PCI_PIC 9
102 0xc000 0x0 0x0 0x3 &PCI_PIC 10
103 0xc000 0x0 0x0 0x4 &PCI_PIC 11>;
Scott Woode00c5492007-09-14 15:41:56 -0500104
105 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500106 interrupts = <18 8>;
107 ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x20000000
108 0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
109 0x1000000 0x0 0x0 0xf6000000 0x0 0x2000000>;
Scott Woode00c5492007-09-14 15:41:56 -0500110 };
111
112 soc@f0000000 {
Scott Wood4b218e92007-08-21 02:36:19 +1000113 #address-cells = <1>;
114 #size-cells = <1>;
Scott Wood4b218e92007-08-21 02:36:19 +1000115 device_type = "soc";
Scott Woode00c5492007-09-14 15:41:56 -0500116 compatible = "fsl,mpc8272", "fsl,pq2-soc";
Kumar Gala998c6102008-04-17 09:40:48 -0500117 ranges = <0x0 0xf0000000 0x53000>;
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400118
Scott Woode00c5492007-09-14 15:41:56 -0500119 // Temporary -- will go away once kernel uses ranges for get_immrbase().
Kumar Gala998c6102008-04-17 09:40:48 -0500120 reg = <0xf0000000 0x53000>;
Scott Wood4b218e92007-08-21 02:36:19 +1000121
Scott Woode00c5492007-09-14 15:41:56 -0500122 cpm@119c0 {
Scott Wood4b218e92007-08-21 02:36:19 +1000123 #address-cells = <1>;
124 #size-cells = <1>;
Scott Woode00c5492007-09-14 15:41:56 -0500125 compatible = "fsl,mpc8272-cpm", "fsl,cpm2";
Kumar Gala998c6102008-04-17 09:40:48 -0500126 reg = <0x119c0 0x30>;
Scott Woode00c5492007-09-14 15:41:56 -0500127 ranges;
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400128
Scott Wood15f8c602007-09-28 14:06:16 -0500129 muram@0 {
130 #address-cells = <1>;
131 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500132 ranges = <0x0 0x0 0x10000>;
Scott Wood15f8c602007-09-28 14:06:16 -0500133
134 data@0 {
135 compatible = "fsl,cpm-muram-data";
Kumar Gala998c6102008-04-17 09:40:48 -0500136 reg = <0x0 0x2000 0x9800 0x800>;
Scott Wood15f8c602007-09-28 14:06:16 -0500137 };
138 };
139
Scott Woode00c5492007-09-14 15:41:56 -0500140 brg@119f0 {
141 compatible = "fsl,mpc8272-brg",
142 "fsl,cpm2-brg",
143 "fsl,cpm-brg";
Kumar Gala998c6102008-04-17 09:40:48 -0500144 reg = <0x119f0 0x10 0x115f0 0x10>;
Scott Wood4b218e92007-08-21 02:36:19 +1000145 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400146
Scott Woode00c5492007-09-14 15:41:56 -0500147 serial@11a00 {
Scott Wood4b218e92007-08-21 02:36:19 +1000148 device_type = "serial";
Scott Woode00c5492007-09-14 15:41:56 -0500149 compatible = "fsl,mpc8272-scc-uart",
150 "fsl,cpm2-scc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500151 reg = <0x11a00 0x20 0x8000 0x100>;
152 interrupts = <40 8>;
Scott Woode00c5492007-09-14 15:41:56 -0500153 interrupt-parent = <&PIC>;
154 fsl,cpm-brg = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500155 fsl,cpm-command = <0x800000>;
Scott Woode00c5492007-09-14 15:41:56 -0500156 };
157
158 serial@11a60 {
159 device_type = "serial";
160 compatible = "fsl,mpc8272-scc-uart",
161 "fsl,cpm2-scc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500162 reg = <0x11a60 0x20 0x8300 0x100>;
163 interrupts = <43 8>;
Scott Woode00c5492007-09-14 15:41:56 -0500164 interrupt-parent = <&PIC>;
165 fsl,cpm-brg = <4>;
Kumar Gala998c6102008-04-17 09:40:48 -0500166 fsl,cpm-command = <0xce00000>;
Scott Woode00c5492007-09-14 15:41:56 -0500167 };
168
169 mdio@10d40 {
170 device_type = "mdio";
171 compatible = "fsl,mpc8272ads-mdio-bitbang",
172 "fsl,mpc8272-mdio-bitbang",
173 "fsl,cpm2-mdio-bitbang";
Kumar Gala998c6102008-04-17 09:40:48 -0500174 reg = <0x10d40 0x14>;
Scott Woode00c5492007-09-14 15:41:56 -0500175 #address-cells = <1>;
176 #size-cells = <0>;
Kumar Gala998c6102008-04-17 09:40:48 -0500177 fsl,mdio-pin = <18>;
178 fsl,mdc-pin = <19>;
Scott Woode00c5492007-09-14 15:41:56 -0500179
180 PHY0: ethernet-phy@0 {
181 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500182 interrupts = <23 8>;
183 reg = <0x0>;
Scott Woode00c5492007-09-14 15:41:56 -0500184 device_type = "ethernet-phy";
185 };
186
187 PHY1: ethernet-phy@1 {
188 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500189 interrupts = <23 8>;
190 reg = <0x3>;
Scott Woode00c5492007-09-14 15:41:56 -0500191 device_type = "ethernet-phy";
192 };
193 };
194
195 ethernet@11300 {
196 device_type = "network";
197 compatible = "fsl,mpc8272-fcc-enet",
198 "fsl,cpm2-fcc-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500199 reg = <0x11300 0x20 0x8400 0x100 0x11390 0x1>;
Scott Woode00c5492007-09-14 15:41:56 -0500200 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala998c6102008-04-17 09:40:48 -0500201 interrupts = <32 8>;
Scott Woode00c5492007-09-14 15:41:56 -0500202 interrupt-parent = <&PIC>;
203 phy-handle = <&PHY0>;
204 linux,network-index = <0>;
Kumar Gala998c6102008-04-17 09:40:48 -0500205 fsl,cpm-command = <0x12000300>;
Scott Woode00c5492007-09-14 15:41:56 -0500206 };
207
208 ethernet@11320 {
209 device_type = "network";
210 compatible = "fsl,mpc8272-fcc-enet",
211 "fsl,cpm2-fcc-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500212 reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>;
Scott Woode00c5492007-09-14 15:41:56 -0500213 local-mac-address = [ 00 00 00 00 00 00 ];
Kumar Gala998c6102008-04-17 09:40:48 -0500214 interrupts = <33 8>;
Scott Woode00c5492007-09-14 15:41:56 -0500215 interrupt-parent = <&PIC>;
216 phy-handle = <&PHY1>;
217 linux,network-index = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500218 fsl,cpm-command = <0x16200300>;
Scott Wood4b218e92007-08-21 02:36:19 +1000219 };
220 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400221
Scott Woode00c5492007-09-14 15:41:56 -0500222 PIC: interrupt-controller@10c00 {
Scott Wood4b218e92007-08-21 02:36:19 +1000223 #interrupt-cells = <2>;
224 interrupt-controller;
Kumar Gala998c6102008-04-17 09:40:48 -0500225 reg = <0x10c00 0x80>;
Scott Woode00c5492007-09-14 15:41:56 -0500226 compatible = "fsl,mpc8272-pic", "fsl,cpm2-pic";
Scott Wood4b218e92007-08-21 02:36:19 +1000227 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400228
229/* May need to remove if on a part without crypto engine */
Scott Wood4b218e92007-08-21 02:36:19 +1000230 crypto@30000 {
231 device_type = "crypto";
232 model = "SEC2";
Scott Woode00c5492007-09-14 15:41:56 -0500233 compatible = "fsl,mpc8272-talitos-sec2",
234 "fsl,talitos-sec2",
235 "fsl,talitos",
236 "talitos";
Kumar Gala998c6102008-04-17 09:40:48 -0500237 reg = <0x30000 0x10000>;
238 interrupts = <11 8>;
Scott Woode00c5492007-09-14 15:41:56 -0500239 interrupt-parent = <&PIC>;
Scott Wood4b218e92007-08-21 02:36:19 +1000240 num-channels = <4>;
Kumar Gala998c6102008-04-17 09:40:48 -0500241 channel-fifo-len = <24>;
242 exec-units-mask = <0x7e>;
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400243/* desc mask is for rev1.x, we need runtime fixup for >=2.x */
Kumar Gala998c6102008-04-17 09:40:48 -0500244 descriptor-types-mask = <0x1010ebf>;
Scott Wood4b218e92007-08-21 02:36:19 +1000245 };
246 };
Scott Woode00c5492007-09-14 15:41:56 -0500247
248 chosen {
249 linux,stdout-path = "/soc/cpm/serial@11a00";
250 };
Vitaly Borduge02f73e2006-10-02 22:22:36 +0400251};