| Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 1 | /* | 
 | 2 |  * DTS file for SPEAr1340 Evaluation Baord | 
 | 3 |  * | 
| Viresh Kumar | 10d8935 | 2012-06-20 12:53:02 -0700 | [diff] [blame] | 4 |  * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> | 
| Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 5 |  * | 
 | 6 |  * The code contained herein is licensed under the GNU General Public | 
 | 7 |  * License. You may obtain a copy of the GNU General Public License | 
 | 8 |  * Version 2 or later at the following locations: | 
 | 9 |  * | 
 | 10 |  * http://www.opensource.org/licenses/gpl-license.html | 
 | 11 |  * http://www.gnu.org/copyleft/gpl.html | 
 | 12 |  */ | 
 | 13 |  | 
 | 14 | /dts-v1/; | 
 | 15 | /include/ "spear1340.dtsi" | 
 | 16 |  | 
 | 17 | / { | 
 | 18 | 	model = "ST SPEAr1340 Evaluation Board"; | 
 | 19 | 	compatible = "st,spear1340-evb", "st,spear1340"; | 
 | 20 | 	#address-cells = <1>; | 
 | 21 | 	#size-cells = <1>; | 
 | 22 |  | 
 | 23 | 	memory { | 
 | 24 | 		reg = <0 0x40000000>; | 
 | 25 | 	}; | 
 | 26 |  | 
 | 27 | 	ahb { | 
 | 28 | 		pinmux@e0700000 { | 
 | 29 | 			pinctrl-names = "default"; | 
 | 30 | 			pinctrl-0 = <&state_default>; | 
 | 31 |  | 
 | 32 | 			state_default: pinmux { | 
 | 33 | 				pads_as_gpio { | 
 | 34 | 					st,pins = "pads_as_gpio_grp"; | 
 | 35 | 					st,function = "pads_as_gpio"; | 
 | 36 | 				}; | 
 | 37 | 				fsmc { | 
 | 38 | 					st,pins = "fsmc_8bit_grp"; | 
 | 39 | 					st,function = "fsmc"; | 
 | 40 | 				}; | 
 | 41 | 				kbd { | 
 | 42 | 					st,pins = "keyboard_row_col_grp", | 
 | 43 | 						"keyboard_col5_grp"; | 
 | 44 | 					st,function = "keyboard"; | 
 | 45 | 				}; | 
 | 46 | 				uart0 { | 
 | 47 | 					st,pins = "uart0_grp", "uart0_enh_grp"; | 
 | 48 | 					st,function = "uart0"; | 
 | 49 | 				}; | 
 | 50 | 				i2c0-pmx { | 
 | 51 | 					st,pins = "i2c0_grp"; | 
 | 52 | 					st,function = "i2c0"; | 
 | 53 | 				}; | 
 | 54 | 				i2c1-pmx { | 
 | 55 | 					st,pins = "i2c1_grp"; | 
 | 56 | 					st,function = "i2c1"; | 
 | 57 | 				}; | 
 | 58 | 				spdif-in { | 
 | 59 | 					st,pins = "spdif_in_grp"; | 
 | 60 | 					st,function = "spdif_in"; | 
 | 61 | 				}; | 
 | 62 | 				spdif-out { | 
 | 63 | 					st,pins = "spdif_out_grp"; | 
 | 64 | 					st,function = "spdif_out"; | 
 | 65 | 				}; | 
 | 66 | 				ssp0 { | 
 | 67 | 					st,pins = "ssp0_grp", "ssp0_cs1_grp", | 
 | 68 | 						"ssp0_cs3_grp"; | 
 | 69 | 					st,function = "ssp0"; | 
 | 70 | 				}; | 
 | 71 | 				pwm { | 
 | 72 | 					st,pins = "pwm2_grp", "pwm3_grp"; | 
 | 73 | 					st,function = "pwm"; | 
 | 74 | 				}; | 
 | 75 | 				smi-pmx { | 
 | 76 | 					st,pins = "smi_grp"; | 
 | 77 | 					st,function = "smi"; | 
 | 78 | 				}; | 
 | 79 | 				i2s { | 
 | 80 | 					st,pins = "i2s_in_grp", "i2s_out_grp"; | 
 | 81 | 					st,function = "i2s"; | 
 | 82 | 				}; | 
 | 83 | 				gmac { | 
 | 84 | 					st,pins = "gmii_grp", "rgmii_grp"; | 
 | 85 | 					st,function = "gmac"; | 
 | 86 | 				}; | 
 | 87 | 				cam3 { | 
 | 88 | 					st,pins = "cam3_grp"; | 
 | 89 | 					st,function = "cam3"; | 
 | 90 | 				}; | 
 | 91 | 				cec0 { | 
 | 92 | 					st,pins = "cec0_grp"; | 
 | 93 | 					st,function = "cec0"; | 
 | 94 | 				}; | 
 | 95 | 				cec1 { | 
 | 96 | 					st,pins = "cec1_grp"; | 
 | 97 | 					st,function = "cec1"; | 
 | 98 | 				}; | 
 | 99 | 				sdhci { | 
 | 100 | 					st,pins = "sdhci_grp"; | 
 | 101 | 					st,function = "sdhci"; | 
 | 102 | 				}; | 
 | 103 | 				clcd { | 
 | 104 | 					st,pins = "clcd_grp"; | 
 | 105 | 					st,function = "clcd"; | 
 | 106 | 				}; | 
 | 107 | 				sata { | 
 | 108 | 					st,pins = "sata_grp"; | 
 | 109 | 					st,function = "sata"; | 
 | 110 | 				}; | 
 | 111 | 			}; | 
 | 112 | 		}; | 
 | 113 |  | 
 | 114 | 		dma@ea800000 { | 
 | 115 | 			status = "okay"; | 
 | 116 | 		}; | 
 | 117 |  | 
 | 118 | 		dma@eb000000 { | 
 | 119 | 			status = "okay"; | 
 | 120 | 		}; | 
 | 121 |  | 
 | 122 | 		fsmc: flash@b0000000 { | 
 | 123 | 			status = "okay"; | 
 | 124 | 		}; | 
 | 125 |  | 
 | 126 | 		gmac0: eth@e2000000 { | 
 | 127 | 			status = "okay"; | 
 | 128 | 		}; | 
 | 129 |  | 
 | 130 | 		sdhci@b3000000 { | 
 | 131 | 			status = "okay"; | 
 | 132 | 		}; | 
 | 133 |  | 
 | 134 | 		smi: flash@ea000000 { | 
 | 135 | 			status = "okay"; | 
 | 136 | 			clock-rate=<50000000>; | 
 | 137 |  | 
 | 138 | 			flash@e6000000 { | 
 | 139 | 				#address-cells = <1>; | 
 | 140 | 				#size-cells = <1>; | 
 | 141 | 				reg = <0xe6000000 0x800000>; | 
 | 142 | 				st,smi-fast-mode; | 
 | 143 |  | 
 | 144 | 				partition@0 { | 
 | 145 | 					label = "xloader"; | 
 | 146 | 					reg = <0x0 0x10000>; | 
 | 147 | 				}; | 
 | 148 | 				partition@10000 { | 
 | 149 | 					label = "u-boot"; | 
 | 150 | 					reg = <0x10000 0x40000>; | 
 | 151 | 				}; | 
 | 152 | 				partition@50000 { | 
 | 153 | 					label = "linux"; | 
 | 154 | 					reg = <0x50000 0x2c0000>; | 
 | 155 | 				}; | 
 | 156 | 				partition@310000 { | 
 | 157 | 					label = "rootfs"; | 
 | 158 | 					reg = <0x310000 0x4f0000>; | 
 | 159 | 				}; | 
 | 160 | 			}; | 
 | 161 | 		}; | 
 | 162 |  | 
 | 163 | 		spi0: spi@e0100000 { | 
 | 164 | 			status = "okay"; | 
 | 165 | 		}; | 
 | 166 |  | 
 | 167 | 		ehci@e4800000 { | 
 | 168 | 			status = "okay"; | 
 | 169 | 		}; | 
 | 170 |  | 
 | 171 | 		ehci@e5800000 { | 
 | 172 | 			status = "okay"; | 
 | 173 | 		}; | 
 | 174 |  | 
 | 175 | 		ohci@e4000000 { | 
 | 176 | 			status = "okay"; | 
 | 177 | 		}; | 
 | 178 |  | 
 | 179 | 		ohci@e5000000 { | 
 | 180 | 			status = "okay"; | 
 | 181 | 		}; | 
 | 182 |  | 
 | 183 | 		apb { | 
 | 184 | 			adc@e0080000 { | 
 | 185 | 				status = "okay"; | 
 | 186 | 			}; | 
 | 187 |  | 
 | 188 | 			gpio0: gpio@e0600000 { | 
 | 189 | 			       status = "okay"; | 
 | 190 | 			}; | 
 | 191 |  | 
 | 192 | 			gpio1: gpio@e0680000 { | 
 | 193 | 			       status = "okay"; | 
 | 194 | 			}; | 
 | 195 |  | 
 | 196 | 			i2c0: i2c@e0280000 { | 
 | 197 | 			       status = "okay"; | 
 | 198 | 			}; | 
 | 199 |  | 
 | 200 | 			i2c1: i2c@b4000000 { | 
 | 201 | 			       status = "okay"; | 
 | 202 | 			}; | 
 | 203 |  | 
 | 204 | 			kbd@e0300000 { | 
 | 205 | 				linux,keymap = < 0x00000001 | 
 | 206 | 						 0x00010002 | 
 | 207 | 						 0x00020003 | 
 | 208 | 						 0x00030004 | 
 | 209 | 						 0x00040005 | 
 | 210 | 						 0x00050006 | 
 | 211 | 						 0x00060007 | 
 | 212 | 						 0x00070008 | 
 | 213 | 						 0x00080009 | 
 | 214 | 						 0x0100000a | 
 | 215 | 						 0x0101000c | 
 | 216 | 						 0x0102000d | 
 | 217 | 						 0x0103000e | 
 | 218 | 						 0x0104000f | 
 | 219 | 						 0x01050010 | 
 | 220 | 						 0x01060011 | 
 | 221 | 						 0x01070012 | 
 | 222 | 						 0x01080013 | 
 | 223 | 						 0x02000014 | 
 | 224 | 						 0x02010015 | 
 | 225 | 						 0x02020016 | 
 | 226 | 						 0x02030017 | 
 | 227 | 						 0x02040018 | 
 | 228 | 						 0x02050019 | 
 | 229 | 						 0x0206001a | 
 | 230 | 						 0x0207001b | 
 | 231 | 						 0x0208001c | 
 | 232 | 						 0x0300001d | 
 | 233 | 						 0x0301001e | 
 | 234 | 						 0x0302001f | 
 | 235 | 						 0x03030020 | 
 | 236 | 						 0x03040021 | 
 | 237 | 						 0x03050022 | 
 | 238 | 						 0x03060023 | 
 | 239 | 						 0x03070024 | 
 | 240 | 						 0x03080025 | 
 | 241 | 						 0x04000026 | 
 | 242 | 						 0x04010027 | 
 | 243 | 						 0x04020028 | 
 | 244 | 						 0x04030029 | 
 | 245 | 						 0x0404002a | 
 | 246 | 						 0x0405002b | 
 | 247 | 						 0x0406002c | 
 | 248 | 						 0x0407002d | 
 | 249 | 						 0x0408002e | 
 | 250 | 						 0x0500002f | 
 | 251 | 						 0x05010030 | 
 | 252 | 						 0x05020031 | 
 | 253 | 						 0x05030032 | 
 | 254 | 						 0x05040033 | 
 | 255 | 						 0x05050034 | 
 | 256 | 						 0x05060035 | 
 | 257 | 						 0x05070036 | 
 | 258 | 						 0x05080037 | 
 | 259 | 						 0x06000038 | 
 | 260 | 						 0x06010039 | 
 | 261 | 						 0x0602003a | 
 | 262 | 						 0x0603003b | 
 | 263 | 						 0x0604003c | 
 | 264 | 						 0x0605003d | 
 | 265 | 						 0x0606003e | 
 | 266 | 						 0x0607003f | 
 | 267 | 						 0x06080040 | 
 | 268 | 						 0x07000041 | 
 | 269 | 						 0x07010042 | 
 | 270 | 						 0x07020043 | 
 | 271 | 						 0x07030044 | 
 | 272 | 						 0x07040045 | 
 | 273 | 						 0x07050046 | 
 | 274 | 						 0x07060047 | 
 | 275 | 						 0x07070048 | 
 | 276 | 						 0x07080049 | 
 | 277 | 						 0x0800004a | 
 | 278 | 						 0x0801004b | 
 | 279 | 						 0x0802004c | 
 | 280 | 						 0x0803004d | 
 | 281 | 						 0x0804004e | 
 | 282 | 						 0x0805004f | 
 | 283 | 						 0x08060050 | 
 | 284 | 						 0x08070051 | 
 | 285 | 						 0x08080052 >; | 
 | 286 | 			       autorepeat; | 
 | 287 | 			       st,mode = <0>; | 
 | 288 | 			       status = "okay"; | 
 | 289 | 			}; | 
 | 290 |  | 
 | 291 | 			rtc@e0580000 { | 
 | 292 | 			       status = "okay"; | 
 | 293 | 			}; | 
 | 294 |  | 
 | 295 | 			serial@e0000000 { | 
 | 296 | 			       status = "okay"; | 
 | 297 | 			}; | 
 | 298 |  | 
 | 299 | 			serial@b4100000 { | 
 | 300 | 			       status = "okay"; | 
 | 301 | 			}; | 
 | 302 |  | 
 | 303 | 			wdt@ec800620 { | 
 | 304 | 			       status = "okay"; | 
 | 305 | 			}; | 
 | 306 | 		}; | 
 | 307 | 	}; | 
 | 308 | }; |