| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | /* | 
					
						
							|  |  |  |  * DTS file for SPEAr310 Evaluation Baord | 
					
						
							|  |  |  |  * | 
					
						
							| 
									
										
										
										
											2012-06-20 12:53:02 -07:00
										 |  |  |  * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  |  * | 
					
						
							|  |  |  |  * The code contained herein is licensed under the GNU General Public | 
					
						
							|  |  |  |  * License. You may obtain a copy of the GNU General Public License | 
					
						
							|  |  |  |  * Version 2 or later at the following locations: | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * http://www.opensource.org/licenses/gpl-license.html | 
					
						
							|  |  |  |  * http://www.gnu.org/copyleft/gpl.html | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /dts-v1/; | 
					
						
							|  |  |  | /include/ "spear310.dtsi" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | / { | 
					
						
							|  |  |  | 	model = "ST SPEAr310 Evaluation Board"; | 
					
						
							|  |  |  | 	compatible = "st,spear310-evb", "st,spear310"; | 
					
						
							|  |  |  | 	#address-cells = <1>; | 
					
						
							|  |  |  | 	#size-cells = <1>; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	memory { | 
					
						
							|  |  |  | 		reg = <0 0x40000000>; | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	ahb { | 
					
						
							| 
									
										
										
										
											2012-03-29 08:30:19 +05:30
										 |  |  | 		pinmux@b4000000 { | 
					
						
							|  |  |  | 			pinctrl-names = "default"; | 
					
						
							|  |  |  | 			pinctrl-0 = <&state_default>; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			state_default: pinmux { | 
					
						
							|  |  |  | 				gpio0 { | 
					
						
							|  |  |  | 					st,pins = "gpio0_pin0_grp", | 
					
						
							|  |  |  | 						"gpio0_pin1_grp", | 
					
						
							|  |  |  | 						"gpio0_pin2_grp", | 
					
						
							|  |  |  | 						"gpio0_pin3_grp", | 
					
						
							|  |  |  | 						"gpio0_pin4_grp", | 
					
						
							|  |  |  | 						"gpio0_pin5_grp"; | 
					
						
							|  |  |  | 					st,function = "gpio0"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				i2c0 { | 
					
						
							|  |  |  | 					st,pins = "i2c0_grp"; | 
					
						
							|  |  |  | 					st,function = "i2c0"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				mii0 { | 
					
						
							|  |  |  | 					st,pins = "mii0_grp"; | 
					
						
							|  |  |  | 					st,function = "mii0"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				ssp0 { | 
					
						
							|  |  |  | 					st,pins = "ssp0_grp"; | 
					
						
							|  |  |  | 					st,function = "ssp0"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				uart0 { | 
					
						
							|  |  |  | 					st,pins = "uart0_grp"; | 
					
						
							|  |  |  | 					st,function = "uart0"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				emi { | 
					
						
							|  |  |  | 					st,pins = "emi_cs_0_to_5_grp"; | 
					
						
							|  |  |  | 					st,function = "emi"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				fsmc { | 
					
						
							|  |  |  | 					st,pins = "fsmc_grp"; | 
					
						
							|  |  |  | 					st,function = "fsmc"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				uart1 { | 
					
						
							|  |  |  | 					st,pins = "uart1_grp"; | 
					
						
							|  |  |  | 					st,function = "uart1"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				uart2 { | 
					
						
							|  |  |  | 					st,pins = "uart2_grp"; | 
					
						
							|  |  |  | 					st,function = "uart2"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				uart3 { | 
					
						
							|  |  |  | 					st,pins = "uart3_grp"; | 
					
						
							|  |  |  | 					st,function = "uart3"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				uart4 { | 
					
						
							|  |  |  | 					st,pins = "uart4_grp"; | 
					
						
							|  |  |  | 					st,function = "uart4"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				uart5 { | 
					
						
							|  |  |  | 					st,pins = "uart5_grp"; | 
					
						
							|  |  |  | 					st,function = "uart5"; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-03-26 10:29:23 +05:30
										 |  |  | 		dma@fc400000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | 		fsmc: flash@44000000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		gmac: eth@e0800000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		smi: flash@fc000000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							|  |  |  | 			clock-rate=<50000000>; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			flash@f8000000 { | 
					
						
							|  |  |  | 				#address-cells = <1>; | 
					
						
							|  |  |  | 				#size-cells = <1>; | 
					
						
							| 
									
										
										
										
											2012-05-01 18:09:22 +05:30
										 |  |  | 				reg = <0xf8000000 0x800000>; | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | 				st,smi-fast-mode; | 
					
						
							| 
									
										
										
										
											2012-05-01 18:09:22 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  | 				partition@0 { | 
					
						
							|  |  |  | 					label = "xloader"; | 
					
						
							|  |  |  | 					reg = <0x0 0x10000>; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				partition@10000 { | 
					
						
							|  |  |  | 					label = "u-boot"; | 
					
						
							| 
									
										
										
										
											2012-07-05 11:51:47 +08:00
										 |  |  | 					reg = <0x10000 0x50000>; | 
					
						
							| 
									
										
										
										
											2012-05-01 18:09:22 +05:30
										 |  |  | 				}; | 
					
						
							| 
									
										
										
										
											2012-07-05 11:51:47 +08:00
										 |  |  | 				partition@60000 { | 
					
						
							|  |  |  | 					label = "environment"; | 
					
						
							|  |  |  | 					reg = <0x60000 0x10000>; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				partition@70000 { | 
					
						
							|  |  |  | 					label = "dtb"; | 
					
						
							|  |  |  | 					reg = <0x70000 0x10000>; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 				partition@80000 { | 
					
						
							| 
									
										
										
										
											2012-05-01 18:09:22 +05:30
										 |  |  | 					label = "linux"; | 
					
						
							| 
									
										
										
										
											2012-07-05 11:51:47 +08:00
										 |  |  | 					reg = <0x80000 0x310000>; | 
					
						
							| 
									
										
										
										
											2012-05-01 18:09:22 +05:30
										 |  |  | 				}; | 
					
						
							| 
									
										
										
										
											2012-07-05 11:51:47 +08:00
										 |  |  | 				partition@390000 { | 
					
						
							| 
									
										
										
										
											2012-05-01 18:09:22 +05:30
										 |  |  | 					label = "rootfs"; | 
					
						
							| 
									
										
										
										
											2012-07-05 11:51:47 +08:00
										 |  |  | 					reg = <0x390000 0x0>; | 
					
						
							| 
									
										
										
										
											2012-05-01 18:09:22 +05:30
										 |  |  | 				}; | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | 			}; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		spi0: spi@d0100000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		ehci@e1800000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		ohci@e1900000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		ohci@e2100000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		apb { | 
					
						
							|  |  |  | 			gpio0: gpio@fc980000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			i2c0: i2c@d0180000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			rtc@fc900000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			serial@d0000000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							| 
									
										
										
										
											2012-08-30 09:32:24 +05:30
										 |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <>; | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			serial@b2000000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							| 
									
										
										
										
											2012-08-30 09:32:24 +05:30
										 |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <>; | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			serial@b2080000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							| 
									
										
										
										
											2012-08-30 09:32:24 +05:30
										 |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <>; | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			serial@b2100000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							| 
									
										
										
										
											2012-08-30 09:32:24 +05:30
										 |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <>; | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			serial@b2180000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							| 
									
										
										
										
											2012-08-30 09:32:24 +05:30
										 |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <>; | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			serial@b2200000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							| 
									
										
										
										
											2012-08-30 09:32:24 +05:30
										 |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <>; | 
					
						
							| 
									
										
										
										
											2012-03-23 00:17:43 +05:30
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			wdt@fc880000 { | 
					
						
							|  |  |  | 			       status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | }; |