blob: e6afb1d1e19e512c7be8c0dd9ba972772bd5de0b [file] [log] [blame]
Timur Tabi8c4a0132007-02-09 14:00:36 -06001/*
2 * MPC8349E-mITX-GP Device Tree Source
3 *
4 * Copyright 2007 Freescale Semiconductor Inc.
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 */
Paul Gortmakercda13dd2008-01-28 16:09:36 -050011
12/dts-v1/;
13
Timur Tabi8c4a0132007-02-09 14:00:36 -060014/ {
15 model = "MPC8349EMITXGP";
Kumar Galad71a1dc2007-02-16 09:57:22 -060016 compatible = "MPC8349EMITXGP", "MPC834xMITX", "MPC83xxMITX";
Timur Tabi8c4a0132007-02-09 14:00:36 -060017 #address-cells = <1>;
18 #size-cells = <1>;
19
Kumar Galaea082fa2007-12-12 01:46:12 -060020 aliases {
21 ethernet0 = &enet0;
22 serial0 = &serial0;
23 serial1 = &serial1;
24 pci0 = &pci0;
25 };
26
Timur Tabi8c4a0132007-02-09 14:00:36 -060027 cpus {
Timur Tabi8c4a0132007-02-09 14:00:36 -060028 #address-cells = <1>;
29 #size-cells = <0>;
30
31 PowerPC,8349@0 {
32 device_type = "cpu";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050033 reg = <0x0>;
34 d-cache-line-size = <32>;
35 i-cache-line-size = <32>;
36 d-cache-size = <32768>;
37 i-cache-size = <32768>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060038 timebase-frequency = <0>; // from bootloader
39 bus-frequency = <0>; // from bootloader
40 clock-frequency = <0>; // from bootloader
Timur Tabi8c4a0132007-02-09 14:00:36 -060041 };
42 };
43
44 memory {
45 device_type = "memory";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050046 reg = <0x00000000 0x10000000>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060047 };
48
49 soc8349@e0000000 {
50 #address-cells = <1>;
51 #size-cells = <1>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060052 device_type = "soc";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050053 ranges = <0x0 0xe0000000 0x00100000>;
54 reg = <0xe0000000 0x00000200>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060055 bus-frequency = <0>; // from bootloader
56
57 wdt@200 {
58 device_type = "watchdog";
59 compatible = "mpc83xx_wdt";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050060 reg = <0x200 0x100>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060061 };
62
63 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060064 #address-cells = <1>;
65 #size-cells = <0>;
66 cell-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060067 compatible = "fsl-i2c";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050068 reg = <0x3000 0x100>;
69 interrupts = <14 0x8>;
70 interrupt-parent = <&ipic>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060071 dfsrr;
72 };
73
74 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -060075 #address-cells = <1>;
76 #size-cells = <0>;
77 cell-index = <1>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060078 compatible = "fsl-i2c";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050079 reg = <0x3100 0x100>;
80 interrupts = <15 0x8>;
81 interrupt-parent = <&ipic>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060082 dfsrr;
83 };
84
85 spi@7000 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +030086 cell-index = <0>;
87 compatible = "fsl,spi";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050088 reg = <0x7000 0x1000>;
89 interrupts = <16 0x8>;
90 interrupt-parent = <&ipic>;
Peter Korsgaard33799e32007-10-03 17:44:58 +020091 mode = "cpu";
Timur Tabi8c4a0132007-02-09 14:00:36 -060092 };
93
Kumar Galadee80552008-06-27 13:45:19 -050094 dma@82a8 {
95 #address-cells = <1>;
96 #size-cells = <1>;
97 compatible = "fsl,mpc8349-dma", "fsl,elo-dma";
98 reg = <0x82a8 4>;
99 ranges = <0 0x8100 0x1a8>;
100 interrupt-parent = <&ipic>;
101 interrupts = <71 8>;
102 cell-index = <0>;
103 dma-channel@0 {
104 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
105 reg = <0 0x80>;
106 interrupt-parent = <&ipic>;
107 interrupts = <71 8>;
108 };
109 dma-channel@80 {
110 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
111 reg = <0x80 0x80>;
112 interrupt-parent = <&ipic>;
113 interrupts = <71 8>;
114 };
115 dma-channel@100 {
116 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
117 reg = <0x100 0x80>;
118 interrupt-parent = <&ipic>;
119 interrupts = <71 8>;
120 };
121 dma-channel@180 {
122 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
123 reg = <0x180 0x28>;
124 interrupt-parent = <&ipic>;
125 interrupts = <71 8>;
126 };
127 };
128
Timur Tabi8c4a0132007-02-09 14:00:36 -0600129 usb@23000 {
Timur Tabi8c4a0132007-02-09 14:00:36 -0600130 compatible = "fsl-usb2-dr";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500131 reg = <0x23000 0x1000>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600132 #address-cells = <1>;
133 #size-cells = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500134 interrupt-parent = <&ipic>;
135 interrupts = <38 0x8>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600136 dr_mode = "otg";
137 phy_type = "ulpi";
138 };
139
140 mdio@24520 {
Timur Tabi8c4a0132007-02-09 14:00:36 -0600141 #address-cells = <1>;
142 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600143 compatible = "fsl,gianfar-mdio";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500144 reg = <0x24520 0x20>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600145
146 /* Vitesse 8201 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600147 phy1c: ethernet-phy@1c {
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500148 interrupt-parent = <&ipic>;
149 interrupts = <18 0x8>;
150 reg = <0x1c>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600151 device_type = "ethernet-phy";
152 };
153 };
154
Kumar Galae77b28e2007-12-12 00:28:35 -0600155 enet0: ethernet@24000 {
156 cell-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600157 device_type = "network";
158 model = "TSEC";
159 compatible = "gianfar";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500160 reg = <0x24000 0x1000>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600161 local-mac-address = [ 00 00 00 00 00 00 ];
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500162 interrupts = <32 0x8 33 0x8 34 0x8>;
163 interrupt-parent = <&ipic>;
164 phy-handle = <&phy1c>;
Grant Likelyad25a4c2007-08-31 06:26:24 +1000165 linux,network-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600166 };
167
Kumar Galaea082fa2007-12-12 01:46:12 -0600168 serial0: serial@4500 {
169 cell-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600170 device_type = "serial";
171 compatible = "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500172 reg = <0x4500 0x100>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600173 clock-frequency = <0>; // from bootloader
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500174 interrupts = <9 0x8>;
175 interrupt-parent = <&ipic>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600176 };
177
Kumar Galaea082fa2007-12-12 01:46:12 -0600178 serial1: serial@4600 {
179 cell-index = <1>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600180 device_type = "serial";
181 compatible = "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500182 reg = <0x4600 0x100>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600183 clock-frequency = <0>; // from bootloader
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500184 interrupts = <10 0x8>;
185 interrupt-parent = <&ipic>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600186 };
187
Timur Tabi8c4a0132007-02-09 14:00:36 -0600188 crypto@30000 {
189 device_type = "crypto";
190 model = "SEC2";
191 compatible = "talitos";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500192 reg = <0x30000 0x10000>;
193 interrupts = <11 0x8>;
194 interrupt-parent = <&ipic>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600195 num-channels = <4>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500196 channel-fifo-len = <24>;
197 exec-units-mask = <0x0000007e>;
198 descriptor-types-mask = <0x01010ebf>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600199 };
200
Kumar Galad71a1dc2007-02-16 09:57:22 -0600201 ipic: pic@700 {
Timur Tabi8c4a0132007-02-09 14:00:36 -0600202 interrupt-controller;
203 #address-cells = <0>;
204 #interrupt-cells = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500205 reg = <0x700 0x100>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600206 device_type = "ipic";
207 };
208 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500209
Kumar Galaea082fa2007-12-12 01:46:12 -0600210 pci0: pci@e0008600 {
211 cell-index = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500212 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500213 interrupt-map = <
214 /* IDSEL 0x0F - PCI Slot */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500215 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */
216 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500217 >;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500218 interrupt-parent = <&ipic>;
219 interrupts = <67 0x8>;
220 bus-range = <0x1 0x1>;
221 ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
222 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
223 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>;
224 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500225 #interrupt-cells = <1>;
226 #size-cells = <2>;
227 #address-cells = <3>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500228 reg = <0xe0008600 0x100>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500229 compatible = "fsl,mpc8349-pci";
230 device_type = "pci";
231 };
Timur Tabi8c4a0132007-02-09 14:00:36 -0600232};