blob: 9e7eba973262405fa00ea6b3facdb7f72b71f0b2 [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 {
55 device_type = "i2c";
56 compatible = "fsl-i2c";
57 reg = <3000 100>;
58 interrupts = <e 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060059 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -060060 dfsrr;
61 };
62
63 i2c@3100 {
64 device_type = "i2c";
65 compatible = "fsl-i2c";
66 reg = <3100 100>;
67 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060068 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -060069 dfsrr;
70 };
71
72 spi@7000 {
73 device_type = "spi";
Peter Korsgaard33799e32007-10-03 17:44:58 +020074 compatible = "fsl_spi";
Kim Phillipsb3590492007-02-07 22:19:12 -060075 reg = <7000 1000>;
76 interrupts = <10 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060077 interrupt-parent = < &ipic >;
Peter Korsgaard33799e32007-10-03 17:44:58 +020078 mode = "cpu";
Kim Phillipsb3590492007-02-07 22:19:12 -060079 };
80
81 /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
82 usb@23000 {
83 device_type = "usb";
84 compatible = "fsl-usb2-dr";
85 reg = <23000 1000>;
86 #address-cells = <1>;
87 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060088 interrupt-parent = < &ipic >;
89 interrupts = <26 8>;
Kim Phillipsb3590492007-02-07 22:19:12 -060090 phy_type = "utmi_wide";
91 };
92
93 mdio@24520 {
94 device_type = "mdio";
95 compatible = "gianfar";
96 reg = <24520 20>;
97 #address-cells = <1>;
98 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060099 phy1: ethernet-phy@1 {
100 interrupt-parent = < &ipic >;
101 interrupts = <13 8>;
Kim Phillipsb3590492007-02-07 22:19:12 -0600102 reg = <1>;
103 device_type = "ethernet-phy";
104 };
Kumar Galad71a1dc2007-02-16 09:57:22 -0600105 phy4: ethernet-phy@4 {
106 interrupt-parent = < &ipic >;
107 interrupts = <14 8>;
Kim Phillipsb3590492007-02-07 22:19:12 -0600108 reg = <4>;
109 device_type = "ethernet-phy";
110 };
111 };
112
113 ethernet@24000 {
114 device_type = "network";
115 model = "eTSEC";
116 compatible = "gianfar";
117 reg = <24000 1000>;
118 local-mac-address = [ 00 00 00 00 00 00 ];
119 interrupts = <25 8 24 8 23 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600120 interrupt-parent = < &ipic >;
121 phy-handle = < &phy1 >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600122 };
123
124 ethernet@25000 {
125 device_type = "network";
126 model = "eTSEC";
127 compatible = "gianfar";
128 reg = <25000 1000>;
129 local-mac-address = [ 00 00 00 00 00 00 ];
130 interrupts = <22 8 21 8 20 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600131 interrupt-parent = < &ipic >;
132 phy-handle = < &phy4 >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600133 };
134
135 serial@4500 {
136 device_type = "serial";
137 compatible = "ns16550";
138 reg = <4500 100>;
139 clock-frequency = <0>;
140 interrupts = <9 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600141 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600142 };
143
144 serial@4600 {
145 device_type = "serial";
146 compatible = "ns16550";
147 reg = <4600 100>;
148 clock-frequency = <0>;
149 interrupts = <a 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600150 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600151 };
152
Kim Phillipsb3590492007-02-07 22:19:12 -0600153 crypto@30000 {
154 device_type = "crypto";
155 model = "SEC2";
156 compatible = "talitos";
157 reg = <30000 7000>;
158 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600159 interrupt-parent = < &ipic >;
Kim Phillipsb3590492007-02-07 22:19:12 -0600160 /* Rev. 2.2 */
161 num-channels = <1>;
162 channel-fifo-len = <18>;
163 exec-units-mask = <0000004c>;
164 descriptor-types-mask = <0122003f>;
165 };
166
167 /* IPIC
168 * interrupts cell = <intr #, sense>
169 * sense values match linux IORESOURCE_IRQ_* defines:
170 * sense == 8: Level, low assertion
171 * sense == 2: Edge, high-to-low change
172 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600173 ipic: pic@700 {
Kim Phillipsb3590492007-02-07 22:19:12 -0600174 interrupt-controller;
175 #address-cells = <0>;
176 #interrupt-cells = <2>;
177 reg = <700 100>;
Kim Phillipsb3590492007-02-07 22:19:12 -0600178 device_type = "ipic";
179 };
180 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500181
182 pci@e0008500 {
183 interrupt-map-mask = <f800 0 0 7>;
184 interrupt-map = <
185
186 /* IDSEL 0x0E -mini PCI */
187 7000 0 0 1 &ipic 12 8
188 7000 0 0 2 &ipic 12 8
189 7000 0 0 3 &ipic 12 8
190 7000 0 0 4 &ipic 12 8
191
192 /* IDSEL 0x0F - PCI slot */
193 7800 0 0 1 &ipic 11 8
194 7800 0 0 2 &ipic 12 8
195 7800 0 0 3 &ipic 11 8
196 7800 0 0 4 &ipic 12 8>;
197 interrupt-parent = < &ipic >;
198 interrupts = <42 8>;
199 bus-range = <0 0>;
200 ranges = <02000000 0 90000000 90000000 0 10000000
201 42000000 0 80000000 80000000 0 10000000
202 01000000 0 00000000 e2000000 0 00100000>;
203 clock-frequency = <3f940aa>;
204 #interrupt-cells = <1>;
205 #size-cells = <2>;
206 #address-cells = <3>;
207 reg = <e0008500 100>;
208 compatible = "fsl,mpc8349-pci";
209 device_type = "pci";
210 };
Kim Phillipsb3590492007-02-07 22:19:12 -0600211};