ARM: shmobile: r8a7790: Add CMT devices to DT
[deliverable/linux.git] / arch / powerpc / boot / dts / mpc885ads.dts
CommitLineData
df34403d
VB
1/*
2 * MPC885 ADS Device Tree Source
3 *
4 * Copyright 2006 MontaVista Software, Inc.
998c6103 5 * Copyright 2007,2008 Freescale Semiconductor, Inc.
df34403d
VB
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
998c6103 13/dts-v1/;
df34403d
VB
14
15/ {
16 model = "MPC885ADS";
20906ece 17 compatible = "fsl,mpc885ads";
df34403d
VB
18 #address-cells = <1>;
19 #size-cells = <1>;
df34403d
VB
20
21 cpus {
df34403d
VB
22 #address-cells = <1>;
23 #size-cells = <0>;
df34403d
VB
24
25 PowerPC,885@0 {
26 device_type = "cpu";
998c6103
KG
27 reg = <0x0>;
28 d-cache-line-size = <16>;
29 i-cache-line-size = <16>;
30 d-cache-size = <8192>;
31 i-cache-size = <8192>;
df34403d
VB
32 timebase-frequency = <0>;
33 bus-frequency = <0>;
34 clock-frequency = <0>;
998c6103 35 interrupts = <15 2>; // decrementer interrupt
20906ece 36 interrupt-parent = <&PIC>;
df34403d
VB
37 };
38 };
39
40 memory {
41 device_type = "memory";
998c6103 42 reg = <0x0 0x0>;
df34403d
VB
43 };
44
20906ece
SW
45 localbus@ff000100 {
46 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
47 #address-cells = <2>;
48 #size-cells = <1>;
998c6103 49 reg = <0xff000100 0x40>;
20906ece
SW
50
51 ranges = <
998c6103
KG
52 0x0 0x0 0xfe000000 0x800000
53 0x1 0x0 0xff080000 0x8000
54 0x5 0x0 0xff0a0000 0x8000
20906ece
SW
55 >;
56
57 flash@0,0 {
58 compatible = "jedec-flash";
998c6103 59 reg = <0x0 0x0 0x800000>;
20906ece
SW
60 bank-width = <4>;
61 device-width = <1>;
62 };
63
64 board-control@1,0 {
998c6103 65 reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
20906ece
SW
66 compatible = "fsl,mpc885ads-bcsr";
67 };
68 };
69
70 soc@ff000000 {
71 compatible = "fsl,mpc885", "fsl,pq1-soc";
df34403d
VB
72 #address-cells = <1>;
73 #size-cells = <1>;
df34403d 74 device_type = "soc";
998c6103 75 ranges = <0x0 0xff000000 0x4000>;
df34403d 76 bus-frequency = <0>;
20906ece
SW
77
78 // Temporary -- will go away once kernel uses ranges for get_immrbase().
998c6103 79 reg = <0xff000000 0x4000>;
20906ece
SW
80
81 mdio@e00 {
82 compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
998c6103 83 reg = <0xe00 0x188>;
df34403d
VB
84 #address-cells = <1>;
85 #size-cells = <0>;
20906ece
SW
86
87 PHY0: ethernet-phy@0 {
998c6103 88 reg = <0x0>;
df34403d 89 };
20906ece
SW
90
91 PHY1: ethernet-phy@1 {
998c6103 92 reg = <0x1>;
df34403d 93 };
20906ece
SW
94
95 PHY2: ethernet-phy@2 {
998c6103 96 reg = <0x2>;
df34403d
VB
97 };
98 };
99
20906ece 100 ethernet@e00 {
df34403d 101 device_type = "network";
20906ece
SW
102 compatible = "fsl,mpc885-fec-enet",
103 "fsl,pq1-fec-enet";
998c6103 104 reg = <0xe00 0x188>;
20906ece 105 local-mac-address = [ 00 00 00 00 00 00 ];
df34403d 106 interrupts = <3 1>;
20906ece
SW
107 interrupt-parent = <&PIC>;
108 phy-handle = <&PHY0>;
109 linux,network-index = <0>;
df34403d
VB
110 };
111
20906ece 112 ethernet@1e00 {
df34403d 113 device_type = "network";
20906ece
SW
114 compatible = "fsl,mpc885-fec-enet",
115 "fsl,pq1-fec-enet";
998c6103 116 reg = <0x1e00 0x188>;
20906ece 117 local-mac-address = [ 00 00 00 00 00 00 ];
df34403d 118 interrupts = <7 1>;
20906ece
SW
119 interrupt-parent = <&PIC>;
120 phy-handle = <&PHY1>;
121 linux,network-index = <1>;
df34403d
VB
122 };
123
20906ece 124 PIC: interrupt-controller@0 {
df34403d 125 interrupt-controller;
df34403d 126 #interrupt-cells = <2>;
998c6103 127 reg = <0x0 0x24>;
20906ece 128 compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
df34403d
VB
129 };
130
20906ece 131 pcmcia@80 {
80128ff7
VB
132 #address-cells = <3>;
133 #interrupt-cells = <1>;
134 #size-cells = <2>;
135 compatible = "fsl,pq-pcmcia";
136 device_type = "pcmcia";
998c6103 137 reg = <0x80 0x80>;
20906ece 138 interrupt-parent = <&PIC>;
998c6103 139 interrupts = <13 1>;
80128ff7
VB
140 };
141
20906ece 142 cpm@9c0 {
df34403d
VB
143 #address-cells = <1>;
144 #size-cells = <1>;
20906ece 145 compatible = "fsl,mpc885-cpm", "fsl,cpm1";
998c6103 146 command-proc = <0x9c0>;
20906ece
SW
147 interrupts = <0>; // cpm error interrupt
148 interrupt-parent = <&CPM_PIC>;
998c6103 149 reg = <0x9c0 0x40>;
20906ece 150 ranges;
df34403d 151
15f8c604
SW
152 muram@2000 {
153 #address-cells = <1>;
154 #size-cells = <1>;
998c6103 155 ranges = <0x0 0x2000 0x2000>;
15f8c604
SW
156
157 data@0 {
158 compatible = "fsl,cpm-muram-data";
998c6103 159 reg = <0x0 0x1c00>;
15f8c604
SW
160 };
161 };
162
20906ece
SW
163 brg@9f0 {
164 compatible = "fsl,mpc885-brg",
165 "fsl,cpm1-brg",
166 "fsl,cpm-brg";
03bbfe8b 167 clock-frequency = <0>;
998c6103 168 reg = <0x9f0 0x10>;
20906ece
SW
169 };
170
171 CPM_PIC: interrupt-controller@930 {
df34403d 172 interrupt-controller;
20906ece 173 #interrupt-cells = <1>;
df34403d 174 interrupts = <5 2 0 2>;
20906ece 175 interrupt-parent = <&PIC>;
998c6103 176 reg = <0x930 0x20>;
20906ece
SW
177 compatible = "fsl,mpc885-cpm-pic",
178 "fsl,cpm1-pic";
df34403d
VB
179 };
180
20906ece 181 serial@a80 {
df34403d 182 device_type = "serial";
20906ece
SW
183 compatible = "fsl,mpc885-smc-uart",
184 "fsl,cpm1-smc-uart";
998c6103 185 reg = <0xa80 0x10 0x3e80 0x40>;
20906ece
SW
186 interrupts = <4>;
187 interrupt-parent = <&CPM_PIC>;
188 fsl,cpm-brg = <1>;
998c6103 189 fsl,cpm-command = <0x90>;
df34403d
VB
190 };
191
20906ece 192 serial@a90 {
df34403d 193 device_type = "serial";
20906ece
SW
194 compatible = "fsl,mpc885-smc-uart",
195 "fsl,cpm1-smc-uart";
998c6103 196 reg = <0xa90 0x10 0x3f80 0x40>;
20906ece
SW
197 interrupts = <3>;
198 interrupt-parent = <&CPM_PIC>;
199 fsl,cpm-brg = <2>;
998c6103 200 fsl,cpm-command = <0xd0>;
df34403d
VB
201 };
202
20906ece 203 ethernet@a40 {
df34403d 204 device_type = "network";
20906ece
SW
205 compatible = "fsl,mpc885-scc-enet",
206 "fsl,cpm1-scc-enet";
998c6103 207 reg = <0xa40 0x18 0x3e00 0x100>;
20906ece 208 local-mac-address = [ 00 00 00 00 00 00 ];
998c6103 209 interrupts = <28>;
20906ece
SW
210 interrupt-parent = <&CPM_PIC>;
211 phy-handle = <&PHY2>;
998c6103 212 fsl,cpm-command = <0x80>;
20906ece 213 linux,network-index = <2>;
df34403d 214 };
a5d28c8e
JF
215
216 i2c@860 {
217 compatible = "fsl,mpc885-i2c",
218 "fsl,cpm1-i2c";
219 reg = <0x860 0x20 0x3c80 0x30>;
220 interrupts = <16>;
221 interrupt-parent = <&CPM_PIC>;
222 fsl,cpm-command = <0x10>;
223 #address-cells = <1>;
224 #size-cells = <0>;
225 };
df34403d
VB
226 };
227 };
20906ece
SW
228
229 chosen {
230 linux,stdout-path = "/soc/cpm/serial@a80";
231 };
df34403d 232};
This page took 0.528195 seconds and 5 git commands to generate.