blob: eb732115f01604efa1a839a6daf3b108e9c83ea9 [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";
Kim Phillipscf0d19f2008-07-29 15:29:24 -050053 compatible = "simple-bus";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050054 ranges = <0x0 0xe0000000 0x00100000>;
55 reg = <0xe0000000 0x00000200>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060056 bus-frequency = <0>; // from bootloader
57
58 wdt@200 {
59 device_type = "watchdog";
60 compatible = "mpc83xx_wdt";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050061 reg = <0x200 0x100>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060062 };
63
64 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060065 #address-cells = <1>;
66 #size-cells = <0>;
67 cell-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060068 compatible = "fsl-i2c";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050069 reg = <0x3000 0x100>;
70 interrupts = <14 0x8>;
71 interrupt-parent = <&ipic>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060072 dfsrr;
73 };
74
75 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -060076 #address-cells = <1>;
77 #size-cells = <0>;
78 cell-index = <1>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060079 compatible = "fsl-i2c";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050080 reg = <0x3100 0x100>;
81 interrupts = <15 0x8>;
82 interrupt-parent = <&ipic>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060083 dfsrr;
Anton Vorontsov672e8062008-10-17 22:56:59 +040084
85 rtc@68 {
Anton Vorontsov672e8062008-10-17 22:56:59 +040086 compatible = "dallas,ds1339";
87 reg = <0x68>;
88 interrupts = <18 0x8>;
89 interrupt-parent = <&ipic>;
90 };
Timur Tabi8c4a0132007-02-09 14:00:36 -060091 };
92
93 spi@7000 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +030094 cell-index = <0>;
95 compatible = "fsl,spi";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050096 reg = <0x7000 0x1000>;
97 interrupts = <16 0x8>;
98 interrupt-parent = <&ipic>;
Peter Korsgaard33799e32007-10-03 17:44:58 +020099 mode = "cpu";
Timur Tabi8c4a0132007-02-09 14:00:36 -0600100 };
101
Kumar Galadee80552008-06-27 13:45:19 -0500102 dma@82a8 {
103 #address-cells = <1>;
104 #size-cells = <1>;
105 compatible = "fsl,mpc8349-dma", "fsl,elo-dma";
106 reg = <0x82a8 4>;
107 ranges = <0 0x8100 0x1a8>;
108 interrupt-parent = <&ipic>;
109 interrupts = <71 8>;
110 cell-index = <0>;
111 dma-channel@0 {
112 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
113 reg = <0 0x80>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500114 cell-index = <0>;
Kumar Galadee80552008-06-27 13:45:19 -0500115 interrupt-parent = <&ipic>;
116 interrupts = <71 8>;
117 };
118 dma-channel@80 {
119 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
120 reg = <0x80 0x80>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500121 cell-index = <1>;
Kumar Galadee80552008-06-27 13:45:19 -0500122 interrupt-parent = <&ipic>;
123 interrupts = <71 8>;
124 };
125 dma-channel@100 {
126 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
127 reg = <0x100 0x80>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500128 cell-index = <2>;
Kumar Galadee80552008-06-27 13:45:19 -0500129 interrupt-parent = <&ipic>;
130 interrupts = <71 8>;
131 };
132 dma-channel@180 {
133 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
134 reg = <0x180 0x28>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500135 cell-index = <3>;
Kumar Galadee80552008-06-27 13:45:19 -0500136 interrupt-parent = <&ipic>;
137 interrupts = <71 8>;
138 };
139 };
140
Timur Tabi8c4a0132007-02-09 14:00:36 -0600141 usb@23000 {
Timur Tabi8c4a0132007-02-09 14:00:36 -0600142 compatible = "fsl-usb2-dr";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500143 reg = <0x23000 0x1000>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600144 #address-cells = <1>;
145 #size-cells = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500146 interrupt-parent = <&ipic>;
147 interrupts = <38 0x8>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600148 dr_mode = "otg";
149 phy_type = "ulpi";
150 };
151
Kumar Galae77b28e2007-12-12 00:28:35 -0600152 enet0: ethernet@24000 {
Anton Vorontsov70b3adb2009-03-19 21:01:45 +0300153 #address-cells = <1>;
154 #size-cells = <1>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600155 cell-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600156 device_type = "network";
157 model = "TSEC";
158 compatible = "gianfar";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500159 reg = <0x24000 0x1000>;
Anton Vorontsov70b3adb2009-03-19 21:01:45 +0300160 ranges = <0x0 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>;
Andy Flemingb31a1d82008-12-16 15:29:15 -0800164 tbi-handle = <&tbi0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500165 phy-handle = <&phy1c>;
Grant Likelyad25a4c2007-08-31 06:26:24 +1000166 linux,network-index = <0>;
Anton Vorontsov70b3adb2009-03-19 21:01:45 +0300167
168 mdio@520 {
169 #address-cells = <1>;
170 #size-cells = <0>;
171 compatible = "fsl,gianfar-mdio";
172 reg = <0x520 0x20>;
173
174 /* Vitesse 8201 */
175 phy1c: ethernet-phy@1c {
176 interrupt-parent = <&ipic>;
177 interrupts = <18 0x8>;
178 reg = <0x1c>;
179 device_type = "ethernet-phy";
180 };
181
182 tbi0: tbi-phy@11 {
183 reg = <0x11>;
184 device_type = "tbi-phy";
185 };
186 };
Timur Tabi8c4a0132007-02-09 14:00:36 -0600187 };
188
Kumar Galaea082fa2007-12-12 01:46:12 -0600189 serial0: serial@4500 {
190 cell-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600191 device_type = "serial";
192 compatible = "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500193 reg = <0x4500 0x100>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600194 clock-frequency = <0>; // from bootloader
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500195 interrupts = <9 0x8>;
196 interrupt-parent = <&ipic>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600197 };
198
Kumar Galaea082fa2007-12-12 01:46:12 -0600199 serial1: serial@4600 {
200 cell-index = <1>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600201 device_type = "serial";
202 compatible = "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500203 reg = <0x4600 0x100>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600204 clock-frequency = <0>; // from bootloader
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500205 interrupts = <10 0x8>;
206 interrupt-parent = <&ipic>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600207 };
208
Timur Tabi8c4a0132007-02-09 14:00:36 -0600209 crypto@30000 {
Kim Phillips3fd44732008-07-08 19:13:33 -0500210 compatible = "fsl,sec2.0";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500211 reg = <0x30000 0x10000>;
212 interrupts = <11 0x8>;
213 interrupt-parent = <&ipic>;
Kim Phillips3fd44732008-07-08 19:13:33 -0500214 fsl,num-channels = <4>;
215 fsl,channel-fifo-len = <24>;
216 fsl,exec-units-mask = <0x7e>;
217 fsl,descriptor-types-mask = <0x01010ebf>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600218 };
219
Kumar Galad71a1dc2007-02-16 09:57:22 -0600220 ipic: pic@700 {
Timur Tabi8c4a0132007-02-09 14:00:36 -0600221 interrupt-controller;
222 #address-cells = <0>;
223 #interrupt-cells = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500224 reg = <0x700 0x100>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600225 device_type = "ipic";
226 };
227 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500228
Kumar Galaea082fa2007-12-12 01:46:12 -0600229 pci0: pci@e0008600 {
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500230 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500231 interrupt-map = <
232 /* IDSEL 0x0F - PCI Slot */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500233 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */
234 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500235 >;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500236 interrupt-parent = <&ipic>;
237 interrupts = <67 0x8>;
238 bus-range = <0x1 0x1>;
239 ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
240 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
241 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>;
242 clock-frequency = <66666666>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500243 #interrupt-cells = <1>;
244 #size-cells = <2>;
245 #address-cells = <3>;
John Rigby5b70a092008-10-07 13:00:18 -0600246 reg = <0xe0008600 0x100 /* internal registers */
247 0xe0008380 0x8>; /* config space access registers */
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500248 compatible = "fsl,mpc8349-pci";
249 device_type = "pci";
250 };
Timur Tabi8c4a0132007-02-09 14:00:36 -0600251};