| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | /* | 
					
						
							|  |  |  |  * Device Tree for the PQ2FADS-ZU board with an MPC8280 chip. | 
					
						
							|  |  |  |  * | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  |  * Copyright 2007,2008 Freescale Semiconductor Inc. | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute  it and/or modify it | 
					
						
							|  |  |  |  * under  the terms of  the GNU General  Public License as published by the | 
					
						
							|  |  |  |  * Free Software Foundation;  either version 2 of the  License, or (at your | 
					
						
							|  |  |  |  * option) any later version. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | /dts-v1/; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | / { | 
					
						
							|  |  |  | 	model = "pq2fads"; | 
					
						
							|  |  |  | 	compatible = "fsl,pq2fads"; | 
					
						
							|  |  |  | 	#address-cells = <1>; | 
					
						
							|  |  |  | 	#size-cells = <1>; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	cpus { | 
					
						
							|  |  |  | 		#address-cells = <1>; | 
					
						
							|  |  |  | 		#size-cells = <0>; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		cpu@0 { | 
					
						
							|  |  |  | 			device_type = "cpu"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 			reg = <0x0>; | 
					
						
							|  |  |  | 			d-cache-line-size = <32>; | 
					
						
							|  |  |  | 			i-cache-line-size = <32>; | 
					
						
							|  |  |  | 			d-cache-size = <16384>; | 
					
						
							|  |  |  | 			i-cache-size = <16384>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			timebase-frequency = <0>; | 
					
						
							|  |  |  | 			clock-frequency = <0>; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	memory { | 
					
						
							|  |  |  | 		device_type = "memory"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		reg = <0x0 0x0>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	localbus@f0010100 { | 
					
						
							|  |  |  | 		compatible = "fsl,mpc8280-localbus", | 
					
						
							|  |  |  | 		             "fsl,pq2-localbus"; | 
					
						
							|  |  |  | 		#address-cells = <2>; | 
					
						
							|  |  |  | 		#size-cells = <1>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		reg = <0xf0010100 0x60>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		ranges = <0x0 0x0 0xfe000000 0x800000 | 
					
						
							|  |  |  | 		          0x1 0x0 0xf4500000 0x8000 | 
					
						
							|  |  |  | 		          0x8 0x0 0xf8200000 0x8000>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		flash@0,0 { | 
					
						
							|  |  |  | 			compatible = "jedec-flash"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 			reg = <0x0 0x0 0x800000>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			bank-width = <4>; | 
					
						
							|  |  |  | 			device-width = <1>; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		bcsr@1,0 { | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 			reg = <0x1 0x0 0x20>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			compatible = "fsl,pq2fads-bcsr"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		PCI_PIC: pic@8,0 { | 
					
						
							|  |  |  | 			#interrupt-cells = <1>; | 
					
						
							|  |  |  | 			interrupt-controller; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 			reg = <0x8 0x0 0x8>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			compatible = "fsl,pq2ads-pci-pic"; | 
					
						
							|  |  |  | 			interrupt-parent = <&PIC>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 			interrupts = <24 8>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 		}; | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	pci@f0010800 { | 
					
						
							|  |  |  | 		device_type = "pci"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		reg = <0xf0010800 0x10c 0xf00101ac 0x8 0xf00101c4 0x8>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 		compatible = "fsl,mpc8280-pci", "fsl,pq2-pci"; | 
					
						
							|  |  |  | 		#interrupt-cells = <1>; | 
					
						
							|  |  |  | 		#size-cells = <2>; | 
					
						
							|  |  |  | 		#address-cells = <3>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		clock-frequency = <66000000>; | 
					
						
							|  |  |  | 		interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 		interrupt-map = < | 
					
						
							|  |  |  | 		                /* IDSEL 0x16 */ | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		                 0xb000 0x0 0x0 0x1 &PCI_PIC 0 | 
					
						
							|  |  |  | 		                 0xb000 0x0 0x0 0x2 &PCI_PIC 1 | 
					
						
							|  |  |  | 		                 0xb000 0x0 0x0 0x3 &PCI_PIC 2 | 
					
						
							|  |  |  | 		                 0xb000 0x0 0x0 0x4 &PCI_PIC 3 | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		                /* IDSEL 0x17 */ | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		                 0xb800 0x0 0x0 0x1 &PCI_PIC 4 | 
					
						
							|  |  |  | 		                 0xb800 0x0 0x0 0x2 &PCI_PIC 5 | 
					
						
							|  |  |  | 		                 0xb800 0x0 0x0 0x3 &PCI_PIC 6 | 
					
						
							|  |  |  | 		                 0xb800 0x0 0x0 0x4 &PCI_PIC 7 | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		                /* IDSEL 0x18 */ | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		                 0xc000 0x0 0x0 0x1 &PCI_PIC 8 | 
					
						
							|  |  |  | 		                 0xc000 0x0 0x0 0x2 &PCI_PIC 9 | 
					
						
							|  |  |  | 		                 0xc000 0x0 0x0 0x3 &PCI_PIC 10 | 
					
						
							|  |  |  | 		                 0xc000 0x0 0x0 0x4 &PCI_PIC 11>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		interrupt-parent = <&PIC>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		interrupts = <18 8>; | 
					
						
							|  |  |  | 		ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x20000000 | 
					
						
							|  |  |  | 		          0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 | 
					
						
							|  |  |  | 		          0x1000000 0x0 0x0 0xf6000000 0x0 0x2000000>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	soc@f0000000 { | 
					
						
							|  |  |  | 		#address-cells = <1>; | 
					
						
							|  |  |  | 		#size-cells = <1>; | 
					
						
							|  |  |  | 		device_type = "soc"; | 
					
						
							|  |  |  | 		compatible = "fsl,mpc8280", "fsl,pq2-soc"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		ranges = <0x0 0xf0000000 0x53000>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		// Temporary -- will go away once kernel uses ranges for get_immrbase(). | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 		reg = <0xf0000000 0x53000>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		cpm@119c0 { | 
					
						
							|  |  |  | 			#address-cells = <1>; | 
					
						
							|  |  |  | 			#size-cells = <1>; | 
					
						
							|  |  |  | 			#interrupt-cells = <2>; | 
					
						
							|  |  |  | 			compatible = "fsl,mpc8280-cpm", "fsl,cpm2"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 			reg = <0x119c0 0x30>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			ranges; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-09-28 14:06:16 -05:00
										 |  |  | 			muram@0 { | 
					
						
							|  |  |  | 				#address-cells = <1>; | 
					
						
							|  |  |  | 				#size-cells = <1>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				ranges = <0x0 0x0 0x10000>; | 
					
						
							| 
									
										
										
										
											2007-09-28 14:06:16 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 				data@0 { | 
					
						
							|  |  |  | 					compatible = "fsl,cpm-muram-data"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 					reg = <0x0 0x2000 0x9800 0x800>; | 
					
						
							| 
									
										
										
										
											2007-09-28 14:06:16 -05:00
										 |  |  | 				}; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			brg@119f0 { | 
					
						
							|  |  |  | 				compatible = "fsl,mpc8280-brg", | 
					
						
							|  |  |  | 				             "fsl,cpm2-brg", | 
					
						
							|  |  |  | 				             "fsl,cpm-brg"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				reg = <0x119f0 0x10 0x115f0 0x10>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			serial@11a00 { | 
					
						
							|  |  |  | 				device_type = "serial"; | 
					
						
							|  |  |  | 				compatible = "fsl,mpc8280-scc-uart", | 
					
						
							|  |  |  | 				             "fsl,cpm2-scc-uart"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				reg = <0x11a00 0x20 0x8000 0x100>; | 
					
						
							|  |  |  | 				interrupts = <40 8>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 				interrupt-parent = <&PIC>; | 
					
						
							|  |  |  | 				fsl,cpm-brg = <1>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				fsl,cpm-command = <0x800000>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			serial@11a20 { | 
					
						
							|  |  |  | 				device_type = "serial"; | 
					
						
							|  |  |  | 				compatible = "fsl,mpc8280-scc-uart", | 
					
						
							|  |  |  | 				             "fsl,cpm2-scc-uart"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				reg = <0x11a20 0x20 0x8100 0x100>; | 
					
						
							|  |  |  | 				interrupts = <41 8>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 				interrupt-parent = <&PIC>; | 
					
						
							|  |  |  | 				fsl,cpm-brg = <2>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				fsl,cpm-command = <0x4a00000>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			ethernet@11320 { | 
					
						
							|  |  |  | 				device_type = "network"; | 
					
						
							|  |  |  | 				compatible = "fsl,mpc8280-fcc-enet", | 
					
						
							|  |  |  | 				             "fsl,cpm2-fcc-enet"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>; | 
					
						
							|  |  |  | 				interrupts = <33 8>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 				interrupt-parent = <&PIC>; | 
					
						
							|  |  |  | 				phy-handle = <&PHY0>; | 
					
						
							|  |  |  | 				linux,network-index = <0>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				fsl,cpm-command = <0x16200300>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			ethernet@11340 { | 
					
						
							|  |  |  | 				device_type = "network"; | 
					
						
							|  |  |  | 				compatible = "fsl,mpc8280-fcc-enet", | 
					
						
							|  |  |  | 				             "fsl,cpm2-fcc-enet"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				reg = <0x11340 0x20 0x8600 0x100 0x113d0 0x1>; | 
					
						
							|  |  |  | 				interrupts = <34 8>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 				interrupt-parent = <&PIC>; | 
					
						
							|  |  |  | 				phy-handle = <&PHY1>; | 
					
						
							|  |  |  | 				linux,network-index = <1>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				fsl,cpm-command = <0x1a400300>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 				local-mac-address = [00 e0 0c 00 79 01]; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			mdio@10d40 { | 
					
						
							|  |  |  | 				device_type = "mdio"; | 
					
						
							|  |  |  | 				compatible = "fsl,pq2fads-mdio-bitbang", | 
					
						
							|  |  |  | 				             "fsl,mpc8280-mdio-bitbang", | 
					
						
							|  |  |  | 				             "fsl,cpm2-mdio-bitbang"; | 
					
						
							|  |  |  | 				#address-cells = <1>; | 
					
						
							|  |  |  | 				#size-cells = <0>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				reg = <0x10d40 0x14>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 				fsl,mdio-pin = <9>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				fsl,mdc-pin = <10>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 				PHY0: ethernet-phy@0 { | 
					
						
							|  |  |  | 					interrupt-parent = <&PIC>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 					interrupts = <25 2>; | 
					
						
							|  |  |  | 					reg = <0x0>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 					device_type = "ethernet-phy"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 				PHY1: ethernet-phy@1 { | 
					
						
							|  |  |  | 					interrupt-parent = <&PIC>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 					interrupts = <25 2>; | 
					
						
							|  |  |  | 					reg = <0x3>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 					device_type = "ethernet-phy"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			usb@11b60 { | 
					
						
							|  |  |  | 				#address-cells = <1>; | 
					
						
							|  |  |  | 				#size-cells = <0>; | 
					
						
							|  |  |  | 				compatible = "fsl,mpc8280-usb", | 
					
						
							|  |  |  | 				             "fsl,cpm2-usb"; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				reg = <0x11b60 0x18 0x8b00 0x100>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 				interrupt-parent = <&PIC>; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 				interrupts = <11 8>; | 
					
						
							|  |  |  | 				fsl,cpm-command = <0x2e600000>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			}; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		PIC: interrupt-controller@10c00 { | 
					
						
							|  |  |  | 			#interrupt-cells = <2>; | 
					
						
							|  |  |  | 			interrupt-controller; | 
					
						
							| 
									
										
										
										
											2008-04-17 09:40:48 -05:00
										 |  |  | 			reg = <0x10c00 0x80>; | 
					
						
							| 
									
										
										
										
											2007-09-05 14:00:54 -05:00
										 |  |  | 			compatible = "fsl,mpc8280-pic", "fsl,cpm2-pic"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	chosen { | 
					
						
							|  |  |  | 		linux,stdout-path = "/soc/cpm/serial@11a00"; | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | }; |