blob: 705c23c14f321d8b813d11bae54aa2963491074d [file] [log] [blame]
Zang Roy-r619114b3afca2006-08-25 16:43:25 +08001/*
2 * MPC7448HPC2 (Taiga) board Device Tree Source
3 *
Kumar Gala998c6102008-04-17 09:40:48 -05004 * Copyright 2006, 2008 Freescale Semiconductor Inc.
Zang Roy-r619114b3afca2006-08-25 16:43:25 +08005 * 2006 Roy Zang <Roy Zang at freescale.com>.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
11 */
12
Kumar Gala998c6102008-04-17 09:40:48 -050013/dts-v1/;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080014
15/ {
16 model = "mpc7448hpc2";
17 compatible = "mpc74xx";
18 #address-cells = <1>;
19 #size-cells = <1>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080020
21 cpus {
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080022 #address-cells = <1>;
23 #size-cells =<0>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080024
25 PowerPC,7448@0 {
26 device_type = "cpu";
Kumar Gala998c6102008-04-17 09:40:48 -050027 reg = <0x0>;
28 d-cache-line-size = <32>; // 32 bytes
29 i-cache-line-size = <32>; // 32 bytes
30 d-cache-size = <0x8000>; // L1, 32K bytes
31 i-cache-size = <0x8000>; // L1, 32K bytes
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080032 timebase-frequency = <0>; // 33 MHz, from uboot
33 clock-frequency = <0>; // From U-Boot
34 bus-frequency = <0>; // From U-Boot
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080035 };
36 };
37
38 memory {
39 device_type = "memory";
Kumar Gala998c6102008-04-17 09:40:48 -050040 reg = <0x0 0x20000000 // DDR2 512M at 0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080041 >;
42 };
43
44 tsi108@c0000000 {
45 #address-cells = <1>;
46 #size-cells = <1>;
Roy Zang006af9e2007-07-11 14:39:17 +080047 device_type = "tsi-bridge";
Kumar Gala998c6102008-04-17 09:40:48 -050048 ranges = <0x0 0xc0000000 0x10000>;
49 reg = <0xc0000000 0x10000>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080050 bus-frequency = <0>;
51
52 i2c@7000 {
Kumar Gala5c1992f2007-05-15 16:12:27 -050053 interrupt-parent = <&mpic>;
Kumar Gala998c6102008-04-17 09:40:48 -050054 interrupts = <14 0>;
55 reg = <0x7000 0x400>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080056 device_type = "i2c";
David Gibsone58ca3d2007-06-13 14:53:00 +100057 compatible = "tsi108-i2c";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080058 };
59
David Gibsone58ca3d2007-06-13 14:53:00 +100060 MDIO: mdio@6000 {
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080061 device_type = "mdio";
David Gibsone58ca3d2007-06-13 14:53:00 +100062 compatible = "tsi108-mdio";
Kumar Gala998c6102008-04-17 09:40:48 -050063 reg = <0x6000 0x50>;
David Gibsone58ca3d2007-06-13 14:53:00 +100064 #address-cells = <1>;
65 #size-cells = <0>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080066
David Gibsone58ca3d2007-06-13 14:53:00 +100067 phy8: ethernet-phy@8 {
Kumar Gala5c1992f2007-05-15 16:12:27 -050068 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080069 interrupts = <2 1>;
Kumar Gala998c6102008-04-17 09:40:48 -050070 reg = <0x8>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080071 };
72
David Gibsone58ca3d2007-06-13 14:53:00 +100073 phy9: ethernet-phy@9 {
Kumar Gala5c1992f2007-05-15 16:12:27 -050074 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080075 interrupts = <2 1>;
Kumar Gala998c6102008-04-17 09:40:48 -050076 reg = <0x9>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080077 };
78
79 };
80
81 ethernet@6200 {
Roy Zangc4e05bc2007-09-24 18:31:55 +080082 linux,network-index = <0>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080083 #size-cells = <0>;
84 device_type = "network";
David Gibsone58ca3d2007-06-13 14:53:00 +100085 compatible = "tsi108-ethernet";
Kumar Gala998c6102008-04-17 09:40:48 -050086 reg = <0x6000 0x200>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080087 address = [ 00 06 D2 00 00 01 ];
Kumar Gala998c6102008-04-17 09:40:48 -050088 interrupts = <16 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050089 interrupt-parent = <&mpic>;
David Gibsone58ca3d2007-06-13 14:53:00 +100090 mdio-handle = <&MDIO>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050091 phy-handle = <&phy8>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080092 };
93
94 ethernet@6600 {
Roy Zangc4e05bc2007-09-24 18:31:55 +080095 linux,network-index = <1>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080096 #address-cells = <1>;
97 #size-cells = <0>;
98 device_type = "network";
David Gibsone58ca3d2007-06-13 14:53:00 +100099 compatible = "tsi108-ethernet";
Kumar Gala998c6102008-04-17 09:40:48 -0500100 reg = <0x6400 0x200>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800101 address = [ 00 06 D2 00 00 02 ];
Kumar Gala998c6102008-04-17 09:40:48 -0500102 interrupts = <17 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500103 interrupt-parent = <&mpic>;
David Gibsone58ca3d2007-06-13 14:53:00 +1000104 mdio-handle = <&MDIO>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500105 phy-handle = <&phy9>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800106 };
107
108 serial@7808 {
109 device_type = "serial";
110 compatible = "ns16550";
Kumar Gala998c6102008-04-17 09:40:48 -0500111 reg = <0x7808 0x200>;
112 clock-frequency = <1064000000>;
113 interrupts = <12 0>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500114 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800115 };
116
117 serial@7c08 {
118 device_type = "serial";
119 compatible = "ns16550";
Kumar Gala998c6102008-04-17 09:40:48 -0500120 reg = <0x7c08 0x200>;
121 clock-frequency = <1064000000>;
122 interrupts = <13 0>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500123 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800124 };
125
Kumar Gala5c1992f2007-05-15 16:12:27 -0500126 mpic: pic@7400 {
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800127 interrupt-controller;
128 #address-cells = <0>;
129 #interrupt-cells = <2>;
Kumar Gala998c6102008-04-17 09:40:48 -0500130 reg = <0x7400 0x400>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800131 compatible = "chrp,open-pic";
132 device_type = "open-pic";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800133 };
134 pci@1000 {
David Gibsone58ca3d2007-06-13 14:53:00 +1000135 compatible = "tsi108-pci";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800136 device_type = "pci";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800137 #interrupt-cells = <1>;
138 #size-cells = <2>;
139 #address-cells = <3>;
Kumar Gala998c6102008-04-17 09:40:48 -0500140 reg = <0x1000 0x1000>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800141 bus-range = <0 0>;
Kumar Gala998c6102008-04-17 09:40:48 -0500142 ranges = <0x2000000 0x0 0xe0000000 0xe0000000 0x0 0x1a000000
143 0x1000000 0x0 0x0 0xfa000000 0x0 0x10000>;
144 clock-frequency = <133333332>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500145 interrupt-parent = <&mpic>;
Kumar Gala998c6102008-04-17 09:40:48 -0500146 interrupts = <23 2>;
147 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800148 interrupt-map = <
149
150 /* IDSEL 0x11 */
Kumar Gala998c6102008-04-17 09:40:48 -0500151 0x800 0x0 0x0 0x1 &RT0 0x24 0x0
152 0x800 0x0 0x0 0x2 &RT0 0x25 0x0
153 0x800 0x0 0x0 0x3 &RT0 0x26 0x0
154 0x800 0x0 0x0 0x4 &RT0 0x27 0x0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800155
156 /* IDSEL 0x12 */
Kumar Gala998c6102008-04-17 09:40:48 -0500157 0x1000 0x0 0x0 0x1 &RT0 0x25 0x0
158 0x1000 0x0 0x0 0x2 &RT0 0x26 0x0
159 0x1000 0x0 0x0 0x3 &RT0 0x27 0x0
160 0x1000 0x0 0x0 0x4 &RT0 0x24 0x0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800161
162 /* IDSEL 0x13 */
Kumar Gala998c6102008-04-17 09:40:48 -0500163 0x1800 0x0 0x0 0x1 &RT0 0x26 0x0
164 0x1800 0x0 0x0 0x2 &RT0 0x27 0x0
165 0x1800 0x0 0x0 0x3 &RT0 0x24 0x0
166 0x1800 0x0 0x0 0x4 &RT0 0x25 0x0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800167
168 /* IDSEL 0x14 */
Kumar Gala998c6102008-04-17 09:40:48 -0500169 0x2000 0x0 0x0 0x1 &RT0 0x27 0x0
170 0x2000 0x0 0x0 0x2 &RT0 0x24 0x0
171 0x2000 0x0 0x0 0x3 &RT0 0x25 0x0
172 0x2000 0x0 0x0 0x4 &RT0 0x26 0x0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800173 >;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500174
175 RT0: router@1180 {
Zang Roy-r619115873c9b2006-11-14 14:31:50 +0800176 clock-frequency = <0>;
177 interrupt-controller;
178 device_type = "pic-router";
179 #address-cells = <0>;
180 #interrupt-cells = <2>;
Zang Roy-r619115873c9b2006-11-14 14:31:50 +0800181 big-endian;
Kumar Gala998c6102008-04-17 09:40:48 -0500182 interrupts = <23 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500183 interrupt-parent = <&mpic>;
Zang Roy-r619115873c9b2006-11-14 14:31:50 +0800184 };
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800185 };
186 };
Roy Zangc4e05bc2007-09-24 18:31:55 +0800187 chosen {
188 linux,stdout-path = "/tsi108@c0000000/serial@7808";
189 };
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800190
191};