| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 1 | /* | 
 | 2 |  * MPC866 ADS Device Tree Source | 
 | 3 |  * | 
 | 4 |  * Copyright 2006 MontaVista Software, Inc. | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 5 |  * Copyright 2008 Freescale Semiconductor, Inc. | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 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/; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 14 |  | 
 | 15 | / { | 
 | 16 | 	model = "MPC866ADS"; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 17 | 	compatible = "fsl,mpc866ads"; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 18 | 	#address-cells = <1>; | 
 | 19 | 	#size-cells = <1>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 20 |  | 
 | 21 | 	cpus { | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 22 | 		#address-cells = <1>; | 
 | 23 | 		#size-cells = <0>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 24 |  | 
 | 25 | 		PowerPC,866@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 = <16>;	// 16 bytes | 
 | 29 | 			i-cache-line-size = <16>;	// 16 bytes | 
 | 30 | 			d-cache-size = <0x2000>;		// L1, 8K | 
 | 31 | 			i-cache-size = <0x4000>;		// L1, 16K | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 32 | 			timebase-frequency = <0>; | 
 | 33 | 			bus-frequency = <0>; | 
 | 34 | 			clock-frequency = <0>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 35 | 			interrupts = <15 2>;	// decrementer interrupt | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 36 | 			interrupt-parent = <&PIC>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 37 | 		}; | 
 | 38 | 	}; | 
 | 39 |  | 
 | 40 | 	memory { | 
 | 41 | 		device_type = "memory"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 42 | 		reg = <0x0 0x800000>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 43 | 	}; | 
 | 44 |  | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 45 | 	localbus@ff000100 { | 
 | 46 | 		compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus"; | 
 | 47 | 		#address-cells = <2>; | 
 | 48 | 		#size-cells = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 49 | 		reg = <0xff000100 0x40>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 50 |  | 
 | 51 | 		ranges = < | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 52 | 			0x1 0x0 0xff080000 0x8000 | 
 | 53 | 			0x5 0x0 0xff0a0000 0x8000 | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 54 | 		>; | 
 | 55 |  | 
 | 56 | 		board-control@1,0 { | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 57 | 			reg = <0x1 0x0 0x20 0x5 0x300 0x4>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 58 | 			compatible = "fsl,mpc866ads-bcsr"; | 
 | 59 | 		}; | 
 | 60 | 	}; | 
 | 61 |  | 
 | 62 | 	soc@ff000000 { | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 63 | 		#address-cells = <1>; | 
 | 64 | 		#size-cells = <1>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 65 | 		device_type = "soc"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 66 | 		ranges = <0x0 0xff000000 0x100000>; | 
 | 67 | 		reg = <0xff000000 0x200>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 68 | 		bus-frequency = <0>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 69 |  | 
 | 70 | 		mdio@e00 { | 
 | 71 | 			compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 72 | 			reg = <0xe00 0x188>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 73 | 			#address-cells = <1>; | 
 | 74 | 			#size-cells = <0>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 75 | 			PHY: ethernet-phy@f { | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 76 | 				reg = <0xf>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 77 | 				device_type = "ethernet-phy"; | 
 | 78 | 			}; | 
 | 79 | 		}; | 
 | 80 |  | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 81 | 		ethernet@e00 { | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 82 | 			device_type = "network"; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 83 | 			compatible = "fsl,mpc866-fec-enet", | 
 | 84 | 			             "fsl,pq1-fec-enet"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 85 | 			reg = <0xe00 0x188>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 86 | 			local-mac-address = [ 00 00 00 00 00 00 ]; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 87 | 			interrupts = <3 1>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 88 | 			interrupt-parent = <&PIC>; | 
 | 89 | 			phy-handle = <&PHY>; | 
 | 90 | 			linux,network-index = <0>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 91 | 		}; | 
 | 92 |  | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 93 | 		PIC: pic@0 { | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 94 | 			interrupt-controller; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 95 | 			#interrupt-cells = <2>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 96 | 			reg = <0x0 0x24>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 97 | 			compatible = "fsl,mpc866-pic", "fsl,pq1-pic"; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 98 | 		}; | 
 | 99 |  | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 100 | 		cpm@9c0 { | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 101 | 			#address-cells = <1>; | 
 | 102 | 			#size-cells = <1>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 103 | 			compatible = "fsl,mpc866-cpm", "fsl,cpm1"; | 
 | 104 | 			ranges; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 105 | 			reg = <0x9c0 0x40>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 106 | 			brg-frequency = <0>; | 
 | 107 | 			interrupts = <0 2>;	// cpm error interrupt | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 108 | 			interrupt-parent = <&CPM_PIC>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 109 |  | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 110 | 			muram@2000 { | 
 | 111 | 				#address-cells = <1>; | 
 | 112 | 				#size-cells = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 113 | 				ranges = <0x0 0x2000 0x2000>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 114 |  | 
 | 115 | 				data@0 { | 
 | 116 | 					compatible = "fsl,cpm-muram-data"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 117 | 					reg = <0x0 0x1c00>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 118 | 				}; | 
 | 119 | 			}; | 
 | 120 |  | 
 | 121 | 			brg@9f0 { | 
 | 122 | 				compatible = "fsl,mpc866-brg", | 
 | 123 | 					     "fsl,cpm1-brg", | 
 | 124 | 					     "fsl,cpm-brg"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 125 | 				reg = <0x9f0 0x10>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 126 | 				clock-frequency = <0>; | 
 | 127 | 			}; | 
 | 128 |  | 
 | 129 | 			CPM_PIC: pic@930 { | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 130 | 				interrupt-controller; | 
 | 131 | 				#address-cells = <0>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 132 | 				#interrupt-cells = <1>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 133 | 				interrupts = <5 2 0 2>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 134 | 				interrupt-parent = <&PIC>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 135 | 				reg = <0x930 0x20>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 136 | 				compatible = "fsl,mpc866-cpm-pic", | 
 | 137 | 				             "fsl,cpm1-pic"; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 138 | 			}; | 
 | 139 |  | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 140 |  | 
 | 141 | 			serial@a80 { | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 142 | 				device_type = "serial"; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 143 | 				compatible = "fsl,mpc866-smc-uart", | 
 | 144 | 				             "fsl,cpm1-smc-uart"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 145 | 				reg = <0xa80 0x10 0x3e80 0x40>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 146 | 				interrupts = <4>; | 
 | 147 | 				interrupt-parent = <&CPM_PIC>; | 
 | 148 | 				fsl,cpm-brg = <1>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 149 | 				fsl,cpm-command = <0x90>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 150 | 			}; | 
 | 151 |  | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 152 | 			serial@a90 { | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 153 | 				device_type = "serial"; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 154 | 				compatible = "fsl,mpc866-smc-uart", | 
 | 155 | 				             "fsl,cpm1-smc-uart"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 156 | 				reg = <0xa90 0x10 0x3f80 0x40>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 157 | 				interrupts = <3>; | 
 | 158 | 				interrupt-parent = <&CPM_PIC>; | 
 | 159 | 				fsl,cpm-brg = <2>; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 160 | 				fsl,cpm-command = <0xd0>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 161 | 			}; | 
 | 162 |  | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 163 | 			ethernet@a00 { | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 164 | 				device_type = "network"; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 165 | 				compatible = "fsl,mpc866-scc-enet", | 
 | 166 | 				             "fsl,cpm1-scc-enet"; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 167 | 				reg = <0xa00 0x18 0x3c00 0x100>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 168 | 				local-mac-address = [ 00 00 00 00 00 00 ]; | 
| Kumar Gala | 998c610 | 2008-04-17 09:40:48 -0500 | [diff] [blame] | 169 | 				interrupts = <30>; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 170 | 				interrupt-parent = <&CPM_PIC>; | 
 | 171 | 				fsl,cpm-command = <0000>; | 
 | 172 | 				linux,network-index = <1>; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 173 | 			}; | 
| Jochen Friedrich | a5d28c8 | 2008-07-02 18:06:13 +0200 | [diff] [blame] | 174 |  | 
 | 175 | 			i2c@860 { | 
 | 176 | 				compatible = "fsl,mpc866-i2c", | 
 | 177 | 					     "fsl,cpm1-i2c"; | 
 | 178 | 				reg = <0x860 0x20 0x3c80 0x30>; | 
 | 179 | 				interrupts = <16>; | 
 | 180 | 				interrupt-parent = <&CPM_PIC>; | 
 | 181 | 				fsl,cpm-command = <0x10>; | 
 | 182 | 				#address-cells = <1>; | 
 | 183 | 				#size-cells = <0>; | 
 | 184 | 			}; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 185 | 		}; | 
 | 186 | 	}; | 
| Scott Wood | 0b5cf10 | 2007-11-25 13:09:31 +0300 | [diff] [blame] | 187 |  | 
 | 188 | 	chosen { | 
 | 189 | 		linux,stdout-path = "/soc/cpm/serial@a80"; | 
 | 190 | 	}; | 
| Vitaly Bordug | 29f1530 | 2007-01-24 22:42:10 +0300 | [diff] [blame] | 191 | }; |