12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later
2dc37374bSHongtao Jia/*
3dc37374bSHongtao Jia * MPC8544 DS Device Tree Source
4dc37374bSHongtao Jia *
5dc37374bSHongtao Jia * Copyright 2007, 2008 Freescale Semiconductor Inc.
6dc37374bSHongtao Jia */
7dc37374bSHongtao Jia
8dc37374bSHongtao Jia/include/ "mpc8544si-pre.dtsi"
9dc37374bSHongtao Jia
10dc37374bSHongtao Jia/ {
11dc37374bSHongtao Jia	model = "MPC8544DS";
12dc37374bSHongtao Jia	compatible = "MPC8544DS", "MPC85xxDS";
13dc37374bSHongtao Jia
14dc37374bSHongtao Jia	memory {
15dc37374bSHongtao Jia		device_type = "memory";
16dc37374bSHongtao Jia		reg = <0 0 0 0>;	// Filled by U-Boot
17dc37374bSHongtao Jia	};
18dc37374bSHongtao Jia
19dc37374bSHongtao Jia	board_lbc: lbc: localbus@e0005000 {
20dc37374bSHongtao Jia		reg = <0 0xe0005000 0 0x1000>;
21dc37374bSHongtao Jia
22dc37374bSHongtao Jia		ranges = <0x0 0x0 0x0 0xff800000 0x800000>;
23dc37374bSHongtao Jia	};
24dc37374bSHongtao Jia
25dc37374bSHongtao Jia	board_soc: soc: soc8544@e0000000 {
26dc37374bSHongtao Jia		ranges = <0x0 0x0 0xe0000000 0x100000>;
27dc37374bSHongtao Jia	};
28dc37374bSHongtao Jia
29dc37374bSHongtao Jia	pci0: pci@e0008000 {
30dc37374bSHongtao Jia		reg = <0 0xe0008000 0 0x1000>;
31dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
32dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xe1000000 0x0 0x10000>;
33dc37374bSHongtao Jia		clock-frequency = <66666666>;
34dc37374bSHongtao Jia		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
35dc37374bSHongtao Jia		interrupt-map = <
36dc37374bSHongtao Jia
37dc37374bSHongtao Jia			/* IDSEL 0x11 J17 Slot 1 */
38dc37374bSHongtao Jia			0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
39dc37374bSHongtao Jia			0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
40dc37374bSHongtao Jia			0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
41dc37374bSHongtao Jia			0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
42dc37374bSHongtao Jia
43dc37374bSHongtao Jia			/* IDSEL 0x12 J16 Slot 2 */
44dc37374bSHongtao Jia
45dc37374bSHongtao Jia			0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
46dc37374bSHongtao Jia			0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
47dc37374bSHongtao Jia			0x9000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
48dc37374bSHongtao Jia			0x9000 0x0 0x0 0x4 &mpic 0x1 0x1 0 0>;
49dc37374bSHongtao Jia	};
50dc37374bSHongtao Jia
51dc37374bSHongtao Jia	pci1: pcie@e0009000 {
52dc37374bSHongtao Jia		reg = <0x0 0xe0009000 0x0 0x1000>;
53dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
54dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xe1010000 0x0 0x10000>;
55dc37374bSHongtao Jia		pcie@0 {
56dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0x80000000
57dc37374bSHongtao Jia				  0x2000000 0x0 0x80000000
58dc37374bSHongtao Jia				  0x0 0x20000000
59dc37374bSHongtao Jia
60dc37374bSHongtao Jia				  0x1000000 0x0 0x0
61dc37374bSHongtao Jia				  0x1000000 0x0 0x0
62dc37374bSHongtao Jia				  0x0 0x10000>;
63dc37374bSHongtao Jia		};
64dc37374bSHongtao Jia	};
65dc37374bSHongtao Jia
66dc37374bSHongtao Jia	pci2: pcie@e000a000 {
67dc37374bSHongtao Jia		reg = <0x0 0xe000a000 0x0 0x1000>;
68dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x10000000
69dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xe1020000 0x0 0x10000>;
70dc37374bSHongtao Jia		pcie@0 {
71dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0xa0000000
72dc37374bSHongtao Jia				  0x2000000 0x0 0xa0000000
73dc37374bSHongtao Jia				  0x0 0x10000000
74dc37374bSHongtao Jia
75dc37374bSHongtao Jia				  0x1000000 0x0 0x0
76dc37374bSHongtao Jia				  0x1000000 0x0 0x0
77dc37374bSHongtao Jia				  0x0 0x10000>;
78dc37374bSHongtao Jia		};
79dc37374bSHongtao Jia	};
80dc37374bSHongtao Jia
81dc37374bSHongtao Jia	board_pci3: pci3: pcie@e000b000 {
82dc37374bSHongtao Jia		reg = <0x0 0xe000b000 0x0 0x1000>;
83dc37374bSHongtao Jia		ranges = <0x2000000 0x0 0xb0000000 0 0xb0000000 0x0 0x100000
84dc37374bSHongtao Jia			  0x1000000 0x0 0x00000000 0 0xb0100000 0x0 0x100000>;
85dc37374bSHongtao Jia		pcie@0 {
86dc37374bSHongtao Jia			ranges = <0x2000000 0x0 0xb0000000
87dc37374bSHongtao Jia				  0x2000000 0x0 0xb0000000
88dc37374bSHongtao Jia				  0x0 0x100000
89dc37374bSHongtao Jia
90dc37374bSHongtao Jia				  0x1000000 0x0 0x0
91dc37374bSHongtao Jia				  0x1000000 0x0 0x0
92dc37374bSHongtao Jia				  0x0 0x100000>;
93dc37374bSHongtao Jia		};
94dc37374bSHongtao Jia	};
95dc37374bSHongtao Jia};
96dc37374bSHongtao Jia
97dc37374bSHongtao Jia/*
98dc37374bSHongtao Jia * mpc8544ds.dtsi must be last to ensure board_pci3 overrides pci3 settings
99dc37374bSHongtao Jia * for interrupt-map & interrupt-map-mask
100dc37374bSHongtao Jia */
101dc37374bSHongtao Jia
102dc37374bSHongtao Jia/include/ "mpc8544si-post.dtsi"
103dc37374bSHongtao Jia/include/ "mpc8544ds.dtsi"
104