blob: e934987e882b89bbc5db0be268ba32792e981cad [file] [log] [blame]
Jon Loeligerd93daf82007-03-20 11:19:10 -05001/*
2 * MPC8544 DS Device Tree Source
3 *
Kumar Gala32f960e2008-04-17 01:28:15 -05004 * Copyright 2007, 2008 Freescale Semiconductor Inc.
Jon Loeligerd93daf82007-03-20 11:19:10 -05005 *
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
Kumar Galab7f81752011-11-03 23:24:12 -050012/include/ "fsl/mpc8544si-pre.dtsi"
13
Jon Loeligerd93daf82007-03-20 11:19:10 -050014/ {
15 model = "MPC8544DS";
16 compatible = "MPC8544DS", "MPC85xxDS";
Jon Loeligerd93daf82007-03-20 11:19:10 -050017
18 memory {
19 device_type = "memory";
Kumar Galab7f81752011-11-03 23:24:12 -050020 reg = <0 0 0 0>; // Filled by U-Boot
Jon Loeligerd93daf82007-03-20 11:19:10 -050021 };
22
Kumar Galab7f81752011-11-03 23:24:12 -050023 lbc: localbus@e0005000 {
24 reg = <0 0xe0005000 0 0x1000>;
25 };
Kumar Galab66510c2007-08-16 23:55:55 -050026
Kumar Galab7f81752011-11-03 23:24:12 -050027 board_soc: soc: soc8544@e0000000 {
28 ranges = <0x0 0x0 0xe0000000 0x100000>;
Jon Loeligerd93daf82007-03-20 11:19:10 -050029 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050030
Kumar Galaea082fa2007-12-12 01:46:12 -060031 pci0: pci@e0008000 {
Kumar Galab7f81752011-11-03 23:24:12 -050032 reg = <0 0xe0008000 0 0x1000>;
33 ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
34 0x1000000 0x0 0x00000000 0 0xe1000000 0x0 0x10000>;
35 clock-frequency = <66666666>;
Kumar Gala32f960e2008-04-17 01:28:15 -050036 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050037 interrupt-map = <
38
39 /* IDSEL 0x11 J17 Slot 1 */
Kumar Galab7f81752011-11-03 23:24:12 -050040 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
41 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
42 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
43 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050044
45 /* IDSEL 0x12 J16 Slot 2 */
46
Kumar Galab7f81752011-11-03 23:24:12 -050047 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
48 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
49 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
50 0x9000 0x0 0x0 0x4 &mpic 0x1 0x1 0 0>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050051 };
52
Kumar Galaea082fa2007-12-12 01:46:12 -060053 pci1: pcie@e0009000 {
Kumar Galab7f81752011-11-03 23:24:12 -050054 reg = <0x0 0xe0009000 0x0 0x1000>;
55 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
56 0x1000000 0x0 0x00000000 0 0xe1010000 0x0 0x10000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050057 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -050058 ranges = <0x2000000 0x0 0x80000000
59 0x2000000 0x0 0x80000000
60 0x0 0x20000000
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050061
Kumar Gala32f960e2008-04-17 01:28:15 -050062 0x1000000 0x0 0x0
63 0x1000000 0x0 0x0
64 0x0 0x10000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050065 };
66 };
67
Kumar Galaea082fa2007-12-12 01:46:12 -060068 pci2: pcie@e000a000 {
Kumar Galab7f81752011-11-03 23:24:12 -050069 reg = <0x0 0xe000a000 0x0 0x1000>;
70 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x10000000
71 0x1000000 0x0 0x00000000 0 0xe1020000 0x0 0x10000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050072 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -050073 ranges = <0x2000000 0x0 0xa0000000
74 0x2000000 0x0 0xa0000000
75 0x0 0x10000000
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050076
Kumar Gala32f960e2008-04-17 01:28:15 -050077 0x1000000 0x0 0x0
78 0x1000000 0x0 0x0
79 0x0 0x10000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050080 };
81 };
82
Kumar Galab7f81752011-11-03 23:24:12 -050083 board_pci3: pci3: pcie@e000b000 {
84 reg = <0x0 0xe000b000 0x0 0x1000>;
85 ranges = <0x2000000 0x0 0xb0000000 0 0xb0000000 0x0 0x100000
86 0x1000000 0x0 0x00000000 0 0xb0100000 0x0 0x100000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050087 pcie@0 {
Kumar Gala32f960e2008-04-17 01:28:15 -050088 ranges = <0x2000000 0x0 0xb0000000
89 0x2000000 0x0 0xb0000000
90 0x0 0x100000
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050091
Kumar Gala32f960e2008-04-17 01:28:15 -050092 0x1000000 0x0 0x0
93 0x1000000 0x0 0x0
94 0x0 0x100000>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050095 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -050096 };
Jon Loeligerd93daf82007-03-20 11:19:10 -050097};
Kumar Galab7f81752011-11-03 23:24:12 -050098
99/*
100 * mpc8544ds.dtsi must be last to ensure board_pci3 overrides pci3 settings
101 * for interrupt-map & interrupt-map-mask
102 */
103
104/include/ "fsl/mpc8544si-post.dtsi"
105/include/ "mpc8544ds.dtsi"