| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | /* | 
					
						
							|  |  |  |  * phyCORE-MPC5200B-tiny (pcm030) board Device Tree Source | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright 2006 Pengutronix | 
					
						
							|  |  |  |  * Sascha Hauer <s.hauer@pengutronix.de> | 
					
						
							|  |  |  |  * Copyright 2007 Pengutronix | 
					
						
							|  |  |  |  * Juergen Beisert <j.beisert@pengutronix.de> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * 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. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-11-17 15:28:56 -08:00
										 |  |  | /include/ "mpc5200b.dtsi" | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-02-08 08:02:51 +00:00
										 |  |  | &gpt0 { fsl,has-wdt; }; | 
					
						
							|  |  |  | &gpt2 { gpio-controller; }; | 
					
						
							|  |  |  | &gpt3 { gpio-controller; }; | 
					
						
							|  |  |  | &gpt4 { gpio-controller; }; | 
					
						
							|  |  |  | &gpt5 { gpio-controller; }; | 
					
						
							|  |  |  | &gpt6 { gpio-controller; }; | 
					
						
							|  |  |  | &gpt7 { gpio-controller; }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | / { | 
					
						
							|  |  |  | 	model = "phytec,pcm030"; | 
					
						
							|  |  |  | 	compatible = "phytec,pcm030"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	soc5200@f0000000 { | 
					
						
							| 
									
										
										
										
											2012-09-24 12:16:47 +00:00
										 |  |  | 		audioplatform: psc@2000 { /* PSC1 in ac97 mode */ | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 			compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97"; | 
					
						
							|  |  |  | 			cell-index = <0>; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		/* PSC2 port is used by CAN1/2 */ | 
					
						
							| 
									
										
										
										
											2010-11-17 15:28:56 -08:00
										 |  |  | 		psc@2200 { | 
					
						
							|  |  |  | 			status = "disabled"; | 
					
						
							|  |  |  | 		}; | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-11-17 15:28:30 -08:00
										 |  |  | 		psc@2400 { /* PSC3 in UART mode */ | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		/* PSC4 is ??? */ | 
					
						
							| 
									
										
										
										
											2010-11-17 15:28:56 -08:00
										 |  |  | 		psc@2600 { | 
					
						
							|  |  |  | 			status = "disabled"; | 
					
						
							|  |  |  | 		}; | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		/* PSC5 is ??? */ | 
					
						
							| 
									
										
										
										
											2010-11-17 15:28:56 -08:00
										 |  |  | 		psc@2800 { | 
					
						
							|  |  |  | 			status = "disabled"; | 
					
						
							|  |  |  | 		}; | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-11-17 15:28:30 -08:00
										 |  |  | 		psc@2c00 { /* PSC6 in UART mode */ | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		ethernet@3000 { | 
					
						
							|  |  |  | 			phy-handle = <&phy0>; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		mdio@3000 { | 
					
						
							| 
									
										
										
										
											2009-02-03 12:30:26 -07:00
										 |  |  | 			phy0: ethernet-phy@0 { | 
					
						
							|  |  |  | 				reg = <0>; | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 			}; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		i2c@3d40 { | 
					
						
							|  |  |  | 			rtc@51 { | 
					
						
							|  |  |  | 				compatible = "nxp,pcf8563"; | 
					
						
							|  |  |  | 				reg = <0x51>; | 
					
						
							|  |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2009-06-17 00:30:17 -06:00
										 |  |  | 			eeprom@52 { | 
					
						
							|  |  |  | 				compatible = "catalyst,24c32"; | 
					
						
							|  |  |  | 				reg = <0x52>; | 
					
						
							| 
									
										
										
										
											2010-11-17 13:00:50 +01:00
										 |  |  | 				pagesize = <32>; | 
					
						
							| 
									
										
										
										
											2009-06-17 00:30:17 -06:00
										 |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		sram@8000 { | 
					
						
							| 
									
										
										
										
											2009-02-03 12:30:26 -07:00
										 |  |  | 			compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 			reg = <0x8000 0x4000>; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	pci@f0000d00 { | 
					
						
							| 
									
										
										
										
											2009-02-03 12:30:26 -07:00
										 |  |  | 		interrupt-map-mask = <0xf800 0 0 7>; | 
					
						
							|  |  |  | 		interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot | 
					
						
							|  |  |  | 				 0xc000 0 0 2 &mpc5200_pic 1 1 3 | 
					
						
							|  |  |  | 				 0xc000 0 0 3 &mpc5200_pic 1 2 3 | 
					
						
							|  |  |  | 				 0xc000 0 0 4 &mpc5200_pic 1 3 3 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 				 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot | 
					
						
							|  |  |  | 				 0xc800 0 0 2 &mpc5200_pic 1 2 3 | 
					
						
							|  |  |  | 				 0xc800 0 0 3 &mpc5200_pic 1 3 3 | 
					
						
							|  |  |  | 				 0xc800 0 0 4 &mpc5200_pic 0 0 3>; | 
					
						
							|  |  |  | 		ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 | 
					
						
							|  |  |  | 			  0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 | 
					
						
							|  |  |  | 			  0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2010-11-17 15:28:56 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	localbus { | 
					
						
							|  |  |  | 		status = "disabled"; | 
					
						
							|  |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2012-09-24 12:16:47 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	sound { | 
					
						
							|  |  |  | 		compatible = "phytec,pcm030-audio-fabric"; | 
					
						
							|  |  |  | 		asoc-platform = <&audioplatform>; | 
					
						
							|  |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2008-04-25 23:48:05 +10:00
										 |  |  | }; |