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