| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 1 | /* | 
 | 2 |  * MPC7448HPC2 (Taiga) board Device Tree Source | 
 | 3 |  * | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 4 |  * Copyright 2006, 2008 Freescale Semiconductor Inc. | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 5 |  * 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 Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 13 | /dts-v1/; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 14 |  | 
 | 15 | / { | 
 | 16 | 	model = "mpc7448hpc2"; | 
 | 17 | 	compatible = "mpc74xx"; | 
 | 18 | 	#address-cells = <1>; | 
 | 19 | 	#size-cells = <1>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 20 |  | 
 | 21 | 	cpus { | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 22 | 		#address-cells = <1>; | 
 | 23 | 		#size-cells =<0>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 24 | 				 | 
 | 25 | 		PowerPC,7448@0 { | 
 | 26 | 			device_type = "cpu"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 27 | 			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-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 32 | 			timebase-frequency = <0>;	// 33 MHz, from uboot | 
 | 33 | 			clock-frequency = <0>;		// From U-Boot | 
 | 34 | 			bus-frequency = <0>;		// From U-Boot | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 35 | 		}; | 
 | 36 | 	}; | 
 | 37 |  | 
 | 38 | 	memory { | 
 | 39 | 		device_type = "memory"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 40 | 		reg = <0x0 0x20000000	// DDR2   512M at 0 | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 41 | 		       >; | 
 | 42 | 	}; | 
 | 43 |  | 
 | 44 |   	tsi108@c0000000 { | 
 | 45 | 		#address-cells = <1>; | 
 | 46 | 		#size-cells = <1>; | 
| Roy Zang | 006af9e | 2007-07-11 14:39:17 +0800 | [diff] [blame] | 47 | 		device_type = "tsi-bridge"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 48 | 		ranges = <0x0 0xc0000000 0x10000>; | 
 | 49 | 		reg = <0xc0000000 0x10000>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 50 | 		bus-frequency = <0>; | 
 | 51 |  | 
 | 52 | 		i2c@7000 { | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 53 | 			interrupt-parent = <&mpic>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 54 | 			interrupts = <14 0>; | 
 | 55 | 			reg = <0x7000 0x400>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 56 | 			device_type = "i2c"; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 57 | 			compatible  = "tsi108-i2c"; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 58 | 		}; | 
 | 59 |  | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 60 | 		MDIO: mdio@6000 { | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 61 | 			device_type = "mdio"; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 62 | 			compatible = "tsi108-mdio"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 63 | 			reg = <0x6000 0x50>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 64 | 			#address-cells = <1>; | 
 | 65 | 			#size-cells = <0>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 66 |  | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 67 | 			phy8: ethernet-phy@8 { | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 68 | 				interrupt-parent = <&mpic>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 69 | 				interrupts = <2 1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 70 | 				reg = <0x8>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 71 | 			}; | 
 | 72 |  | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 73 | 			phy9: ethernet-phy@9 { | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 74 | 				interrupt-parent = <&mpic>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 75 | 				interrupts = <2 1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 76 | 				reg = <0x9>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 77 | 			}; | 
 | 78 |  | 
 | 79 | 		}; | 
 | 80 |  | 
 | 81 | 		ethernet@6200 { | 
| Roy Zang | c4e05bc | 2007-09-24 18:31:55 +0800 | [diff] [blame] | 82 | 			linux,network-index = <0>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 83 | 			#size-cells = <0>; | 
 | 84 | 			device_type = "network"; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 85 | 			compatible = "tsi108-ethernet"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 86 | 			reg = <0x6000 0x200>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 87 | 			address = [ 00 06 D2 00 00 01 ]; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 88 | 			interrupts = <16 2>; | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 89 | 			interrupt-parent = <&mpic>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 90 | 			mdio-handle = <&MDIO>; | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 91 | 			phy-handle = <&phy8>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 92 | 		}; | 
 | 93 |  | 
 | 94 | 		ethernet@6600 { | 
| Roy Zang | c4e05bc | 2007-09-24 18:31:55 +0800 | [diff] [blame] | 95 | 			linux,network-index = <1>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 96 | 			#address-cells = <1>; | 
 | 97 | 			#size-cells = <0>; | 
 | 98 | 			device_type = "network"; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 99 | 			compatible = "tsi108-ethernet"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 100 | 			reg = <0x6400 0x200>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 101 | 			address = [ 00 06 D2 00 00 02 ]; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 102 | 			interrupts = <17 2>; | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 103 | 			interrupt-parent = <&mpic>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 104 | 			mdio-handle = <&MDIO>; | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 105 | 			phy-handle = <&phy9>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 106 | 		}; | 
 | 107 |  | 
 | 108 | 		serial@7808 { | 
 | 109 | 			device_type = "serial"; | 
 | 110 | 			compatible = "ns16550"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 111 | 			reg = <0x7808 0x200>; | 
 | 112 | 			clock-frequency = <1064000000>; | 
 | 113 | 			interrupts = <12 0>; | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 114 | 			interrupt-parent = <&mpic>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 115 | 		}; | 
 | 116 |  | 
 | 117 | 		serial@7c08 { | 
 | 118 | 			device_type = "serial"; | 
 | 119 | 			compatible = "ns16550"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 120 | 			reg = <0x7c08 0x200>; | 
 | 121 | 			clock-frequency = <1064000000>; | 
 | 122 | 			interrupts = <13 0>; | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 123 | 			interrupt-parent = <&mpic>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 124 | 		}; | 
 | 125 |  | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 126 | 	  	mpic: pic@7400 { | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 127 | 			clock-frequency = <0>; | 
 | 128 | 			interrupt-controller; | 
 | 129 | 			#address-cells = <0>; | 
 | 130 | 			#interrupt-cells = <2>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 131 | 			reg = <0x7400 0x400>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 132 | 			compatible = "chrp,open-pic"; | 
 | 133 | 			device_type = "open-pic"; | 
 | 134 |                        	big-endian; | 
 | 135 | 		}; | 
 | 136 | 		pci@1000 { | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 137 | 			compatible = "tsi108-pci"; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 138 | 			device_type = "pci"; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 139 | 			#interrupt-cells = <1>; | 
 | 140 | 			#size-cells = <2>; | 
 | 141 | 			#address-cells = <3>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 142 | 			reg = <0x1000 0x1000>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 143 | 			bus-range = <0 0>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 144 | 			ranges = <0x2000000 0x0 0xe0000000 0xe0000000 0x0 0x1a000000	 | 
 | 145 | 				  0x1000000 0x0 0x0 0xfa000000 0x0 0x10000>; | 
 | 146 | 			clock-frequency = <133333332>; | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 147 | 			interrupt-parent = <&mpic>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 148 | 			interrupts = <23 2>; | 
 | 149 | 			interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 150 | 			interrupt-map = < | 
 | 151 |  | 
 | 152 | 				/* IDSEL 0x11 */ | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 153 | 				0x800 0x0 0x0 0x1 &RT0 0x24 0x0 | 
 | 154 | 				0x800 0x0 0x0 0x2 &RT0 0x25 0x0 | 
 | 155 | 				0x800 0x0 0x0 0x3 &RT0 0x26 0x0 | 
 | 156 | 				0x800 0x0 0x0 0x4 &RT0 0x27 0x0 | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 157 |  | 
 | 158 | 				/* IDSEL 0x12 */ | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 159 | 				0x1000 0x0 0x0 0x1 &RT0 0x25 0x0 | 
 | 160 | 				0x1000 0x0 0x0 0x2 &RT0 0x26 0x0 | 
 | 161 | 				0x1000 0x0 0x0 0x3 &RT0 0x27 0x0 | 
 | 162 | 				0x1000 0x0 0x0 0x4 &RT0 0x24 0x0 | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 163 |  | 
 | 164 | 				/* IDSEL 0x13 */ | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 165 | 				0x1800 0x0 0x0 0x1 &RT0 0x26 0x0 | 
 | 166 | 				0x1800 0x0 0x0 0x2 &RT0 0x27 0x0 | 
 | 167 | 				0x1800 0x0 0x0 0x3 &RT0 0x24 0x0 | 
 | 168 | 				0x1800 0x0 0x0 0x4 &RT0 0x25 0x0 | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 169 |  | 
 | 170 | 				/* IDSEL 0x14 */ | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 171 | 				0x2000 0x0 0x0 0x1 &RT0 0x27 0x0 | 
 | 172 | 				0x2000 0x0 0x0 0x2 &RT0 0x24 0x0 | 
 | 173 | 				0x2000 0x0 0x0 0x3 &RT0 0x25 0x0 | 
 | 174 | 				0x2000 0x0 0x0 0x4 &RT0 0x26 0x0 | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 175 | 				>; | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 176 |  | 
 | 177 | 			RT0: router@1180 { | 
| Zang Roy-r61911 | 5873c9b | 2006-11-14 14:31:50 +0800 | [diff] [blame] | 178 | 				clock-frequency = <0>; | 
 | 179 | 				interrupt-controller; | 
 | 180 | 				device_type = "pic-router"; | 
 | 181 | 				#address-cells = <0>; | 
 | 182 | 				#interrupt-cells = <2>; | 
| Zang Roy-r61911 | 5873c9b | 2006-11-14 14:31:50 +0800 | [diff] [blame] | 183 | 				big-endian; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 184 | 				interrupts = <23 2>; | 
| Kumar Gala | 5c1992f | 2007-05-15 16:12:27 -0500 | [diff] [blame] | 185 | 				interrupt-parent = <&mpic>; | 
| Zang Roy-r61911 | 5873c9b | 2006-11-14 14:31:50 +0800 | [diff] [blame] | 186 | 			}; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 187 | 		}; | 
 | 188 | 	}; | 
| Roy Zang | c4e05bc | 2007-09-24 18:31:55 +0800 | [diff] [blame] | 189 | 	chosen { | 
 | 190 | 		linux,stdout-path = "/tsi108@c0000000/serial@7808"; | 
 | 191 | 	}; | 
| Zang Roy-r61911 | 4b3afca | 2006-08-25 16:43:25 +0800 | [diff] [blame] | 192 |  | 
 | 193 | }; |