blob: 2f83050552708790efc36be685f7c3678757f738 [file] [log] [blame]
Kim Phillipsb3590492007-02-07 22:19:12 -06001/*
2 * MPC8313E RDB Device Tree Source
3 *
4 * Copyright 2005, 2006, 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/ {
13 model = "MPC8313ERDB";
Kumar Galad71a1dc2007-02-16 09:57:22 -060014 compatible = "MPC8313ERDB", "MPC831xRDB", "MPC83xxRDB";
Kim Phillipsb3590492007-02-07 22:19:12 -060015 #address-cells = <1>;
16 #size-cells = <1>;
17
18 cpus {
Kim Phillipsb3590492007-02-07 22:19:12 -060019 #address-cells = <1>;
20 #size-cells = <0>;
21
22 PowerPC,8313@0 {
23 device_type = "cpu";
24 reg = <0>;
25 d-cache-line-size = <20>; // 32 bytes
26 i-cache-line-size = <20>; // 32 bytes
27 d-cache-size = <4000>; // L1, 16K
28 i-cache-size = <4000>; // L1, 16K
29 timebase-frequency = <0>; // from bootloader
30 bus-frequency = <0>; // from bootloader
31 clock-frequency = <0>; // from bootloader
Kim Phillipsb3590492007-02-07 22:19:12 -060032 };
33 };
34
35 memory {
36 device_type = "memory";
37 reg = <00000000 08000000>; // 128MB at 0
38 };
39
40 soc8313@e0000000 {
41 #address-cells = <1>;
42 #size-cells = <1>;
Kim Phillipsb3590492007-02-07 22:19:12 -060043 device_type = "soc";
44 ranges = <0 e0000000 00100000>;
45 reg = <e0000000 00000200>;
46 bus-frequency = <0>;
47
48 wdt@200 {
49 device_type = "watchdog";
50 compatible = "mpc83xx_wdt";
51 reg = <200 100>;
52 };
53
54 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060055 #address-cells = <1>;
56 #size-cells = <0>;
57 cell-index = <0>;
Kim Phillipsb3590492007-02-07 22:19:12 -060058 compatible = "fsl-i2c";
59 reg = <3000 100>;
60 interrupts = <e 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060061 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -060062 dfsrr;
63 };
64
65 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -060066 #address-cells = <1>;
67 #size-cells = <0>;
68 cell-index = <1>;
Kim Phillipsb3590492007-02-07 22:19:12 -060069 compatible = "fsl-i2c";
70 reg = <3100 100>;
71 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060072 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -060073 dfsrr;
74 };
75
76 spi@7000 {
77 device_type = "spi";
Peter Korsgaard33799e32007-10-03 17:44:58 +020078 compatible = "fsl_spi";
Kim Phillipsb3590492007-02-07 22:19:12 -060079 reg = <7000 1000>;
80 interrupts = <10 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060081 interrupt-parent = < &ipic >;
Peter Korsgaard33799e32007-10-03 17:44:58 +020082 mode = "cpu";
Kim Phillipsb3590492007-02-07 22:19:12 -060083 };
84
85 /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
86 usb@23000 {
87 device_type = "usb";
88 compatible = "fsl-usb2-dr";
89 reg = <23000 1000>;
90 #address-cells = <1>;
91 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060092 interrupt-parent = < &ipic >;
93 interrupts = <26 8>;
Kim Phillipsb3590492007-02-07 22:19:12 -060094 phy_type = "utmi_wide";
95 };
96
97 mdio@24520 {
Kim Phillipsb3590492007-02-07 22:19:12 -060098 #address-cells = <1>;
99 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600100 compatible = "fsl,gianfar-mdio";
101 reg = <24520 20>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600102 phy1: ethernet-phy@1 {
103 interrupt-parent = < &ipic >;
104 interrupts = <13 8>;
Kim Phillipsb3590492007-02-07 22:19:12 -0600105 reg = <1>;
106 device_type = "ethernet-phy";
107 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600108 phy4: ethernet-phy@4 {
109 interrupt-parent = < &ipic >;
110 interrupts = <14 8>;
Kim Phillipsb3590492007-02-07 22:19:12 -0600111 reg = <4>;
112 device_type = "ethernet-phy";
113 };
114 };
115
Kumar Galae77b28e2007-12-12 00:28:35 -0600116 enet0: ethernet@24000 {
117 cell-index = <0>;
Kim Phillipsb3590492007-02-07 22:19:12 -0600118 device_type = "network";
119 model = "eTSEC";
120 compatible = "gianfar";
121 reg = <24000 1000>;
122 local-mac-address = [ 00 00 00 00 00 00 ];
123 interrupts = <25 8 24 8 23 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600124 interrupt-parent = < &ipic >;
125 phy-handle = < &phy1 >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600126 };
127
Kumar Galae77b28e2007-12-12 00:28:35 -0600128 enet1: ethernet@25000 {
129 cell-index = <1>;
Kim Phillipsb3590492007-02-07 22:19:12 -0600130 device_type = "network";
131 model = "eTSEC";
132 compatible = "gianfar";
133 reg = <25000 1000>;
134 local-mac-address = [ 00 00 00 00 00 00 ];
135 interrupts = <22 8 21 8 20 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600136 interrupt-parent = < &ipic >;
137 phy-handle = < &phy4 >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600138 };
139
140 serial@4500 {
141 device_type = "serial";
142 compatible = "ns16550";
143 reg = <4500 100>;
144 clock-frequency = <0>;
145 interrupts = <9 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600146 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600147 };
148
149 serial@4600 {
150 device_type = "serial";
151 compatible = "ns16550";
152 reg = <4600 100>;
153 clock-frequency = <0>;
154 interrupts = <a 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600155 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600156 };
157
Kim Phillipsb3590492007-02-07 22:19:12 -0600158 crypto@30000 {
159 device_type = "crypto";
160 model = "SEC2";
161 compatible = "talitos";
162 reg = <30000 7000>;
163 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600164 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600165 /* Rev. 2.2 */
166 num-channels = <1>;
167 channel-fifo-len = <18>;
168 exec-units-mask = <0000004c>;
169 descriptor-types-mask = <0122003f>;
170 };
171
172 /* IPIC
173 * interrupts cell = <intr #, sense>
174 * sense values match linux IORESOURCE_IRQ_* defines:
175 * sense == 8: Level, low assertion
176 * sense == 2: Edge, high-to-low change
177 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600178 ipic: pic@700 {
Kim Phillipsb3590492007-02-07 22:19:12 -0600179 interrupt-controller;
180 #address-cells = <0>;
181 #interrupt-cells = <2>;
182 reg = <700 100>;
Kim Phillipsb3590492007-02-07 22:19:12 -0600183 device_type = "ipic";
184 };
185 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500186
187 pci@e0008500 {
188 interrupt-map-mask = <f800 0 0 7>;
189 interrupt-map = <
190
191 /* IDSEL 0x0E -mini PCI */
192 7000 0 0 1 &ipic 12 8
193 7000 0 0 2 &ipic 12 8
194 7000 0 0 3 &ipic 12 8
195 7000 0 0 4 &ipic 12 8
196
197 /* IDSEL 0x0F - PCI slot */
198 7800 0 0 1 &ipic 11 8
199 7800 0 0 2 &ipic 12 8
200 7800 0 0 3 &ipic 11 8
201 7800 0 0 4 &ipic 12 8>;
202 interrupt-parent = < &ipic >;
203 interrupts = <42 8>;
204 bus-range = <0 0>;
205 ranges = <02000000 0 90000000 90000000 0 10000000
206 42000000 0 80000000 80000000 0 10000000
207 01000000 0 00000000 e2000000 0 00100000>;
208 clock-frequency = <3f940aa>;
209 #interrupt-cells = <1>;
210 #size-cells = <2>;
211 #address-cells = <3>;
212 reg = <e0008500 100>;
213 compatible = "fsl,mpc8349-pci";
214 device_type = "pci";
215 };
Kim Phillipsb3590492007-02-07 22:19:12 -0600216};