blob: 2aa5bf5596459830f30ef95bd84089a47d423b1f [file] [log] [blame]
Scott Wood11c146c2007-09-14 14:58:25 -05001/*
2 * EP88xC Device Tree Source
3 *
4 * Copyright 2006 MontaVista Software, Inc.
Kumar Gala998c6102008-04-17 09:40:48 -05005 * Copyright 2007,2008 Freescale Semiconductor, Inc.
Scott Wood11c146c2007-09-14 14:58:25 -05006 *
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
Kumar Gala998c6102008-04-17 09:40:48 -050013/dts-v1/;
Scott Wood11c146c2007-09-14 14:58:25 -050014
15/ {
16 model = "EP88xC";
17 compatible = "fsl,ep88xc";
18 #address-cells = <1>;
19 #size-cells = <1>;
20
21 cpus {
22 #address-cells = <1>;
23 #size-cells = <0>;
24
25 PowerPC,885@0 {
26 device_type = "cpu";
Kumar Gala998c6102008-04-17 09:40:48 -050027 reg = <0x0>;
28 d-cache-line-size = <16>;
29 i-cache-line-size = <16>;
30 d-cache-size = <8192>;
31 i-cache-size = <8192>;
Scott Wood11c146c2007-09-14 14:58:25 -050032 timebase-frequency = <0>;
33 bus-frequency = <0>;
34 clock-frequency = <0>;
Kumar Gala998c6102008-04-17 09:40:48 -050035 interrupts = <15 2>; // decrementer interrupt
Scott Wood11c146c2007-09-14 14:58:25 -050036 interrupt-parent = <&PIC>;
37 };
38 };
39
40 memory {
41 device_type = "memory";
Kumar Gala998c6102008-04-17 09:40:48 -050042 reg = <0x0 0x0>;
Scott Wood11c146c2007-09-14 14:58:25 -050043 };
44
45 localbus@fa200100 {
46 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
47 #address-cells = <2>;
48 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -050049 reg = <0xfa200100 0x40>;
Scott Wood11c146c2007-09-14 14:58:25 -050050
51 ranges = <
Kumar Gala998c6102008-04-17 09:40:48 -050052 0x0 0x0 0xfc000000 0x4000000
53 0x3 0x0 0xfa000000 0x1000000
Scott Wood11c146c2007-09-14 14:58:25 -050054 >;
55
56 flash@0,2000000 {
57 compatible = "cfi-flash";
Kumar Gala998c6102008-04-17 09:40:48 -050058 reg = <0x0 0x2000000 0x2000000>;
Scott Wood11c146c2007-09-14 14:58:25 -050059 bank-width = <4>;
60 device-width = <2>;
61 };
62
63 board-control@3,400000 {
Kumar Gala998c6102008-04-17 09:40:48 -050064 reg = <0x3 0x400000 0x10>;
Scott Wood11c146c2007-09-14 14:58:25 -050065 compatible = "fsl,ep88xc-bcsr";
66 };
67 };
68
69 soc@fa200000 {
70 compatible = "fsl,mpc885", "fsl,pq1-soc";
71 #address-cells = <1>;
72 #size-cells = <1>;
73 device_type = "soc";
Kumar Gala998c6102008-04-17 09:40:48 -050074 ranges = <0x0 0xfa200000 0x4000>;
Scott Wood11c146c2007-09-14 14:58:25 -050075 bus-frequency = <0>;
76
77 // Temporary -- will go away once kernel uses ranges for get_immrbase().
Kumar Gala998c6102008-04-17 09:40:48 -050078 reg = <0xfa200000 0x4000>;
Scott Wood11c146c2007-09-14 14:58:25 -050079
80 mdio@e00 {
81 compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
Kumar Gala998c6102008-04-17 09:40:48 -050082 reg = <0xe00 0x188>;
Scott Wood11c146c2007-09-14 14:58:25 -050083 #address-cells = <1>;
84 #size-cells = <0>;
85
86 PHY0: ethernet-phy@0 {
Kumar Gala998c6102008-04-17 09:40:48 -050087 reg = <0x0>;
Scott Wood11c146c2007-09-14 14:58:25 -050088 };
89
90 PHY1: ethernet-phy@1 {
Kumar Gala998c6102008-04-17 09:40:48 -050091 reg = <0x1>;
Scott Wood11c146c2007-09-14 14:58:25 -050092 };
93 };
94
95 ethernet@e00 {
96 device_type = "network";
97 compatible = "fsl,mpc885-fec-enet",
98 "fsl,pq1-fec-enet";
Kumar Gala998c6102008-04-17 09:40:48 -050099 reg = <0xe00 0x188>;
Scott Wood11c146c2007-09-14 14:58:25 -0500100 local-mac-address = [ 00 00 00 00 00 00 ];
101 interrupts = <3 1>;
102 interrupt-parent = <&PIC>;
103 phy-handle = <&PHY0>;
104 linux,network-index = <0>;
105 };
106
107 ethernet@1e00 {
108 device_type = "network";
109 compatible = "fsl,mpc885-fec-enet",
110 "fsl,pq1-fec-enet";
Kumar Gala998c6102008-04-17 09:40:48 -0500111 reg = <0x1e00 0x188>;
Scott Wood11c146c2007-09-14 14:58:25 -0500112 local-mac-address = [ 00 00 00 00 00 00 ];
113 interrupts = <7 1>;
114 interrupt-parent = <&PIC>;
115 phy-handle = <&PHY1>;
116 linux,network-index = <1>;
117 };
118
119 PIC: interrupt-controller@0 {
120 interrupt-controller;
121 #interrupt-cells = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -0500122 reg = <0x0 0x24>;
Scott Wood11c146c2007-09-14 14:58:25 -0500123 compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
124 };
125
126 pcmcia@80 {
127 #address-cells = <3>;
128 #interrupt-cells = <1>;
129 #size-cells = <2>;
130 compatible = "fsl,pq-pcmcia";
131 device_type = "pcmcia";
Kumar Gala998c6102008-04-17 09:40:48 -0500132 reg = <0x80 0x80>;
Scott Wood11c146c2007-09-14 14:58:25 -0500133 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500134 interrupts = <13 1>;
Scott Wood11c146c2007-09-14 14:58:25 -0500135 };
136
137 cpm@9c0 {
138 #address-cells = <1>;
139 #size-cells = <1>;
140 compatible = "fsl,mpc885-cpm", "fsl,cpm1";
Kumar Gala998c6102008-04-17 09:40:48 -0500141 command-proc = <0x9c0>;
Scott Wood11c146c2007-09-14 14:58:25 -0500142 interrupts = <0>; // cpm error interrupt
143 interrupt-parent = <&CPM_PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500144 reg = <0x9c0 0x40>;
Scott Wood11c146c2007-09-14 14:58:25 -0500145 ranges;
146
Scott Wood15f8c602007-09-28 14:06:16 -0500147 muram@2000 {
148 #address-cells = <1>;
149 #size-cells = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500150 ranges = <0x0 0x2000 0x2000>;
Scott Wood15f8c602007-09-28 14:06:16 -0500151
152 data@0 {
153 compatible = "fsl,cpm-muram-data";
Kumar Gala998c6102008-04-17 09:40:48 -0500154 reg = <0x0 0x1c00>;
Scott Wood15f8c602007-09-28 14:06:16 -0500155 };
156 };
157
Scott Wood11c146c2007-09-14 14:58:25 -0500158 brg@9f0 {
159 compatible = "fsl,mpc885-brg",
160 "fsl,cpm1-brg",
161 "fsl,cpm-brg";
Kumar Gala998c6102008-04-17 09:40:48 -0500162 reg = <0x9f0 0x10>;
Scott Wood11c146c2007-09-14 14:58:25 -0500163 };
164
165 CPM_PIC: interrupt-controller@930 {
166 interrupt-controller;
167 #interrupt-cells = <1>;
168 interrupts = <5 2 0 2>;
169 interrupt-parent = <&PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500170 reg = <0x930 0x20>;
Scott Wood11c146c2007-09-14 14:58:25 -0500171 compatible = "fsl,mpc885-cpm-pic",
172 "fsl,cpm1-pic";
173 };
174
175 // MON-1
176 serial@a80 {
177 device_type = "serial";
178 compatible = "fsl,mpc885-smc-uart",
179 "fsl,cpm1-smc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500180 reg = <0xa80 0x10 0x3e80 0x40>;
Scott Wood11c146c2007-09-14 14:58:25 -0500181 interrupts = <4>;
182 interrupt-parent = <&CPM_PIC>;
183 fsl,cpm-brg = <1>;
Kumar Gala998c6102008-04-17 09:40:48 -0500184 fsl,cpm-command = <0x90>;
Scott Wood11c146c2007-09-14 14:58:25 -0500185 linux,planetcore-label = "SMC1";
186 };
187
188 // SER-1
189 serial@a20 {
190 device_type = "serial";
191 compatible = "fsl,mpc885-scc-uart",
192 "fsl,cpm1-scc-uart";
Kumar Gala998c6102008-04-17 09:40:48 -0500193 reg = <0xa20 0x20 0x3d00 0x80>;
194 interrupts = <29>;
Scott Wood11c146c2007-09-14 14:58:25 -0500195 interrupt-parent = <&CPM_PIC>;
196 fsl,cpm-brg = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -0500197 fsl,cpm-command = <0x40>;
Scott Wood11c146c2007-09-14 14:58:25 -0500198 linux,planetcore-label = "SCC2";
199 };
200
201 usb@a00 {
202 #address-cells = <1>;
203 #size-cells = <0>;
204 compatible = "fsl,mpc885-usb",
205 "fsl,cpm1-usb";
Kumar Gala998c6102008-04-17 09:40:48 -0500206 reg = <0xa00 0x18 0x1c00 0x80>;
Scott Wood11c146c2007-09-14 14:58:25 -0500207 interrupt-parent = <&CPM_PIC>;
Kumar Gala998c6102008-04-17 09:40:48 -0500208 interrupts = <30>;
Scott Wood11c146c2007-09-14 14:58:25 -0500209 fsl,cpm-command = <0000>;
210 };
211 };
212 };
213};