]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/powerpc/boot/dts/mpc8272ads.dts
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
[mirror_ubuntu-jammy-kernel.git] / arch / powerpc / boot / dts / mpc8272ads.dts
CommitLineData
e02f73e9
VB
1/*
2 * MPC8272 ADS Device Tree Source
3 *
998c6103 4 * Copyright 2005,2008 Freescale Semiconductor Inc.
e02f73e9
VB
5 *
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
998c6103
KG
12/dts-v1/;
13
e02f73e9 14/ {
4b218e9b 15 model = "MPC8272ADS";
e00c5498 16 compatible = "fsl,mpc8272ads";
4b218e9b
SW
17 #address-cells = <1>;
18 #size-cells = <1>;
19
c7a7a5b9
WD
20 aliases {
21 ethernet0 = &eth0;
22 ethernet1 = &eth1;
23 serial0 = &scc1;
24 serial1 = &scc4;
25 };
26
4b218e9b
SW
27 cpus {
28 #address-cells = <1>;
29 #size-cells = <0>;
30
31 PowerPC,8272@0 {
32 device_type = "cpu";
998c6103
KG
33 reg = <0x0>;
34 d-cache-line-size = <32>;
35 i-cache-line-size = <32>;
36 d-cache-size = <16384>;
37 i-cache-size = <16384>;
4b218e9b
SW
38 timebase-frequency = <0>;
39 bus-frequency = <0>;
40 clock-frequency = <0>;
4b218e9b
SW
41 };
42 };
43
4b218e9b
SW
44 memory {
45 device_type = "memory";
998c6103 46 reg = <0x0 0x0>;
4b218e9b
SW
47 };
48
e00c5498
SW
49 localbus@f0010100 {
50 compatible = "fsl,mpc8272-localbus",
51 "fsl,pq2-localbus";
52 #address-cells = <2>;
4b218e9b 53 #size-cells = <1>;
998c6103 54 reg = <0xf0010100 0x40>;
4b218e9b 55
c7a7a5b9 56 ranges = <0x0 0x0 0xff800000 0x00800000
998c6103
KG
57 0x1 0x0 0xf4500000 0x8000
58 0x3 0x0 0xf8200000 0x8000>;
4b218e9b 59
e00c5498
SW
60 flash@0,0 {
61 compatible = "jedec-flash";
c7a7a5b9 62 reg = <0x0 0x0 0x00800000>;
e00c5498
SW
63 bank-width = <4>;
64 device-width = <1>;
4b218e9b
SW
65 };
66
e00c5498 67 board-control@1,0 {
998c6103 68 reg = <0x1 0x0 0x20>;
e00c5498 69 compatible = "fsl,mpc8272ads-bcsr";
4b218e9b
SW
70 };
71
e00c5498
SW
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;
998c6103 77 reg = <0x3 0x0 0x8>;
e00c5498 78 interrupt-parent = <&PIC>;
998c6103 79 interrupts = <20 8>;
4b218e9b 80 };
e00c5498
SW
81 };
82
83
84 pci@f0010800 {
85 device_type = "pci";
998c6103 86 reg = <0xf0010800 0x10c 0xf00101ac 0x8 0xf00101c4 0x8>;
e00c5498
SW
87 compatible = "fsl,mpc8272-pci", "fsl,pq2-pci";
88 #interrupt-cells = <1>;
89 #size-cells = <2>;
90 #address-cells = <3>;
998c6103
KG
91 clock-frequency = <66666666>;
92 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
e00c5498
SW
93 interrupt-map = <
94 /* IDSEL 0x16 */
998c6103
KG
95 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
e00c5498
SW
99
100 /* IDSEL 0x17 */
998c6103
KG
101 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
e00c5498
SW
105
106 /* IDSEL 0x18 */
998c6103
KG
107 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>;
e00c5498
SW
111
112 interrupt-parent = <&PIC>;
998c6103
KG
113 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>;
e00c5498
SW
117 };
118
119 soc@f0000000 {
120 #address-cells = <1>;
121 #size-cells = <1>;
122 device_type = "soc";
123 compatible = "fsl,mpc8272", "fsl,pq2-soc";
998c6103 124 ranges = <0x0 0xf0000000 0x53000>;
e00c5498
SW
125
126 // Temporary -- will go away once kernel uses ranges for get_immrbase().
998c6103 127 reg = <0xf0000000 0x53000>;
4b218e9b 128
e00c5498 129 cpm@119c0 {
4b218e9b
SW
130 #address-cells = <1>;
131 #size-cells = <1>;
e00c5498 132 compatible = "fsl,mpc8272-cpm", "fsl,cpm2";
998c6103 133 reg = <0x119c0 0x30>;
e00c5498
SW
134 ranges;
135
15f8c604
SW
136 muram@0 {
137 #address-cells = <1>;
138 #size-cells = <1>;
998c6103 139 ranges = <0x0 0x0 0x10000>;
15f8c604
SW
140
141 data@0 {
142 compatible = "fsl,cpm-muram-data";
998c6103 143 reg = <0x0 0x2000 0x9800 0x800>;
15f8c604
SW
144 };
145 };
146
e00c5498
SW
147 brg@119f0 {
148 compatible = "fsl,mpc8272-brg",
149 "fsl,cpm2-brg",
150 "fsl,cpm-brg";
998c6103 151 reg = <0x119f0 0x10 0x115f0 0x10>;
e00c5498
SW
152 };
153
c7a7a5b9 154 scc1: serial@11a00 {
4b218e9b 155 device_type = "serial";
e00c5498
SW
156 compatible = "fsl,mpc8272-scc-uart",
157 "fsl,cpm2-scc-uart";
998c6103
KG
158 reg = <0x11a00 0x20 0x8000 0x100>;
159 interrupts = <40 8>;
e00c5498
SW
160 interrupt-parent = <&PIC>;
161 fsl,cpm-brg = <1>;
998c6103 162 fsl,cpm-command = <0x800000>;
4b218e9b
SW
163 };
164
c7a7a5b9 165 scc4: serial@11a60 {
4b218e9b 166 device_type = "serial";
e00c5498
SW
167 compatible = "fsl,mpc8272-scc-uart",
168 "fsl,cpm2-scc-uart";
998c6103
KG
169 reg = <0x11a60 0x20 0x8300 0x100>;
170 interrupts = <43 8>;
e00c5498
SW
171 interrupt-parent = <&PIC>;
172 fsl,cpm-brg = <4>;
998c6103 173 fsl,cpm-command = <0xce00000>;
e00c5498
SW
174 };
175
818fcac5
AV
176 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
e00c5498 184 mdio@10d40 {
e00c5498
SW
185 compatible = "fsl,mpc8272ads-mdio-bitbang",
186 "fsl,mpc8272-mdio-bitbang",
187 "fsl,cpm2-mdio-bitbang";
998c6103 188 reg = <0x10d40 0x14>;
e00c5498
SW
189 #address-cells = <1>;
190 #size-cells = <0>;
998c6103
KG
191 fsl,mdio-pin = <18>;
192 fsl,mdc-pin = <19>;
e00c5498
SW
193
194 PHY0: ethernet-phy@0 {
195 interrupt-parent = <&PIC>;
998c6103
KG
196 interrupts = <23 8>;
197 reg = <0x0>;
e00c5498
SW
198 };
199
200 PHY1: ethernet-phy@1 {
201 interrupt-parent = <&PIC>;
998c6103
KG
202 interrupts = <23 8>;
203 reg = <0x3>;
e00c5498
SW
204 };
205 };
206
c7a7a5b9 207 eth0: ethernet@11300 {
e00c5498
SW
208 device_type = "network";
209 compatible = "fsl,mpc8272-fcc-enet",
210 "fsl,cpm2-fcc-enet";
998c6103 211 reg = <0x11300 0x20 0x8400 0x100 0x11390 0x1>;
e00c5498 212 local-mac-address = [ 00 00 00 00 00 00 ];
998c6103 213 interrupts = <32 8>;
e00c5498
SW
214 interrupt-parent = <&PIC>;
215 phy-handle = <&PHY0>;
216 linux,network-index = <0>;
998c6103 217 fsl,cpm-command = <0x12000300>;
e00c5498
SW
218 };
219
c7a7a5b9 220 eth1: ethernet@11320 {
e00c5498
SW
221 device_type = "network";
222 compatible = "fsl,mpc8272-fcc-enet",
223 "fsl,cpm2-fcc-enet";
998c6103 224 reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>;
e00c5498 225 local-mac-address = [ 00 00 00 00 00 00 ];
998c6103 226 interrupts = <33 8>;
e00c5498
SW
227 interrupt-parent = <&PIC>;
228 phy-handle = <&PHY1>;
229 linux,network-index = <1>;
998c6103 230 fsl,cpm-command = <0x16200300>;
4b218e9b 231 };
a5d28c8e
JF
232
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 };
4b218e9b
SW
243 };
244
e00c5498 245 PIC: interrupt-controller@10c00 {
4b218e9b
SW
246 #interrupt-cells = <2>;
247 interrupt-controller;
998c6103 248 reg = <0x10c00 0x80>;
e00c5498 249 compatible = "fsl,mpc8272-pic", "fsl,cpm2-pic";
4b218e9b 250 };
e02f73e9 251
4b218e9b 252 crypto@30000 {
3fd44736
KP
253 compatible = "fsl,sec1.0";
254 reg = <0x40000 0x13000>;
255 interrupts = <47 0x8>;
e00c5498 256 interrupt-parent = <&PIC>;
3fd44736
KP
257 fsl,num-channels = <4>;
258 fsl,channel-fifo-len = <24>;
259 fsl,exec-units-mask = <0x7e>;
260 fsl,descriptor-types-mask = <0x1010415>;
4b218e9b
SW
261 };
262 };
e00c5498
SW
263
264 chosen {
265 linux,stdout-path = "/soc/cpm/serial@11a00";
266 };
e02f73e9 267};