blob: 79983d74eee486be90ec8db6464e7b22c0cfb38b [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 */
11/ {
12 model = "MPC8349EMITXGP";
Kumar Galad71a1dc2007-02-16 09:57:22 -060013 compatible = "MPC8349EMITXGP", "MPC834xMITX", "MPC83xxMITX";
Timur Tabi8c4a0132007-02-09 14:00:36 -060014 #address-cells = <1>;
15 #size-cells = <1>;
16
Kumar Galaea082fa2007-12-12 01:46:12 -060017 aliases {
18 ethernet0 = &enet0;
19 serial0 = &serial0;
20 serial1 = &serial1;
21 pci0 = &pci0;
22 };
23
Timur Tabi8c4a0132007-02-09 14:00:36 -060024 cpus {
Timur Tabi8c4a0132007-02-09 14:00:36 -060025 #address-cells = <1>;
26 #size-cells = <0>;
27
28 PowerPC,8349@0 {
29 device_type = "cpu";
30 reg = <0>;
31 d-cache-line-size = <20>;
32 i-cache-line-size = <20>;
33 d-cache-size = <8000>;
34 i-cache-size = <8000>;
35 timebase-frequency = <0>; // from bootloader
36 bus-frequency = <0>; // from bootloader
37 clock-frequency = <0>; // from bootloader
Timur Tabi8c4a0132007-02-09 14:00:36 -060038 };
39 };
40
41 memory {
42 device_type = "memory";
43 reg = <00000000 10000000>;
44 };
45
46 soc8349@e0000000 {
47 #address-cells = <1>;
48 #size-cells = <1>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060049 device_type = "soc";
50 ranges = <0 e0000000 00100000>;
51 reg = <e0000000 00000200>;
52 bus-frequency = <0>; // from bootloader
53
54 wdt@200 {
55 device_type = "watchdog";
56 compatible = "mpc83xx_wdt";
57 reg = <200 100>;
58 };
59
60 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060061 #address-cells = <1>;
62 #size-cells = <0>;
63 cell-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060064 compatible = "fsl-i2c";
65 reg = <3000 100>;
66 interrupts = <e 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060067 interrupt-parent = < &ipic >;
Timur Tabi8c4a0132007-02-09 14:00:36 -060068 dfsrr;
69 };
70
71 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -060072 #address-cells = <1>;
73 #size-cells = <0>;
74 cell-index = <1>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060075 compatible = "fsl-i2c";
76 reg = <3100 100>;
77 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060078 interrupt-parent = < &ipic >;
Timur Tabi8c4a0132007-02-09 14:00:36 -060079 dfsrr;
80 };
81
82 spi@7000 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +030083 cell-index = <0>;
84 compatible = "fsl,spi";
Timur Tabi8c4a0132007-02-09 14:00:36 -060085 reg = <7000 1000>;
86 interrupts = <10 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060087 interrupt-parent = < &ipic >;
Peter Korsgaard33799e32007-10-03 17:44:58 +020088 mode = "cpu";
Timur Tabi8c4a0132007-02-09 14:00:36 -060089 };
90
91 usb@23000 {
Timur Tabi8c4a0132007-02-09 14:00:36 -060092 compatible = "fsl-usb2-dr";
93 reg = <23000 1000>;
94 #address-cells = <1>;
95 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060096 interrupt-parent = < &ipic >;
97 interrupts = <26 8>;
Timur Tabi8c4a0132007-02-09 14:00:36 -060098 dr_mode = "otg";
99 phy_type = "ulpi";
100 };
101
102 mdio@24520 {
Timur Tabi8c4a0132007-02-09 14:00:36 -0600103 #address-cells = <1>;
104 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600105 compatible = "fsl,gianfar-mdio";
106 reg = <24520 20>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600107
108 /* Vitesse 8201 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600109 phy1c: ethernet-phy@1c {
110 interrupt-parent = < &ipic >;
111 interrupts = <12 8>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600112 reg = <1c>;
113 device_type = "ethernet-phy";
114 };
115 };
116
Kumar Galae77b28e2007-12-12 00:28:35 -0600117 enet0: ethernet@24000 {
118 cell-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600119 device_type = "network";
120 model = "TSEC";
121 compatible = "gianfar";
122 reg = <24000 1000>;
123 local-mac-address = [ 00 00 00 00 00 00 ];
124 interrupts = <20 8 21 8 22 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600125 interrupt-parent = < &ipic >;
126 phy-handle = < &phy1c >;
Grant Likelyad25a4c2007-08-31 06:26:24 +1000127 linux,network-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600128 };
129
Kumar Galaea082fa2007-12-12 01:46:12 -0600130 serial0: serial@4500 {
131 cell-index = <0>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600132 device_type = "serial";
133 compatible = "ns16550";
134 reg = <4500 100>;
135 clock-frequency = <0>; // from bootloader
136 interrupts = <9 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600137 interrupt-parent = < &ipic >;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600138 };
139
Kumar Galaea082fa2007-12-12 01:46:12 -0600140 serial1: serial@4600 {
141 cell-index = <1>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600142 device_type = "serial";
143 compatible = "ns16550";
144 reg = <4600 100>;
145 clock-frequency = <0>; // from bootloader
146 interrupts = <a 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600147 interrupt-parent = < &ipic >;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600148 };
149
Timur Tabi8c4a0132007-02-09 14:00:36 -0600150 crypto@30000 {
151 device_type = "crypto";
152 model = "SEC2";
153 compatible = "talitos";
154 reg = <30000 10000>;
155 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600156 interrupt-parent = < &ipic >;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600157 num-channels = <4>;
158 channel-fifo-len = <18>;
159 exec-units-mask = <0000007e>;
160 descriptor-types-mask = <01010ebf>;
161 };
162
Kumar Galad71a1dc2007-02-16 09:57:22 -0600163 ipic: pic@700 {
Timur Tabi8c4a0132007-02-09 14:00:36 -0600164 interrupt-controller;
165 #address-cells = <0>;
166 #interrupt-cells = <2>;
167 reg = <700 100>;
Timur Tabi8c4a0132007-02-09 14:00:36 -0600168 device_type = "ipic";
169 };
170 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500171
Kumar Galaea082fa2007-12-12 01:46:12 -0600172 pci0: pci@e0008600 {
173 cell-index = <2>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500174 interrupt-map-mask = <f800 0 0 7>;
175 interrupt-map = <
176 /* IDSEL 0x0F - PCI Slot */
177 7800 0 0 1 &ipic 14 8 /* PCI_INTA */
178 7800 0 0 2 &ipic 15 8 /* PCI_INTB */
179 >;
180 interrupt-parent = < &ipic >;
181 interrupts = <43 8>;
182 bus-range = <1 1>;
183 ranges = <42000000 0 a0000000 a0000000 0 10000000
184 02000000 0 b0000000 b0000000 0 10000000
185 01000000 0 00000000 e3000000 0 01000000>;
186 clock-frequency = <3f940aa>;
187 #interrupt-cells = <1>;
188 #size-cells = <2>;
189 #address-cells = <3>;
190 reg = <e0008600 100>;
191 compatible = "fsl,mpc8349-pci";
192 device_type = "pci";
193 };
Timur Tabi8c4a0132007-02-09 14:00:36 -0600194};