| 
									
										
										
										
											2012-07-05 16:56:09 +08:00
										 |  |  | /* | 
					
						
							|  |  |  |  * at91sam9x5ek.dtsi - Device Tree file for AT91SAM9x5CM Base board | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Copyright (C) 2012 Atmel, | 
					
						
							|  |  |  |  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Licensed under GPLv2 or later. | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2013-05-15 01:21:50 +08:00
										 |  |  | #include "at91sam9x5cm.dtsi" | 
					
						
							| 
									
										
										
										
											2012-07-05 16:56:09 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | / { | 
					
						
							|  |  |  | 	model = "Atmel AT91SAM9X5-EK"; | 
					
						
							|  |  |  | 	compatible = "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	chosen { | 
					
						
							| 
									
										
										
										
											2013-03-22 12:32:09 +01:00
										 |  |  | 		bootargs = "console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs"; | 
					
						
							| 
									
										
										
										
											2012-07-05 16:56:09 +08:00
										 |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	ahb { | 
					
						
							|  |  |  | 		apb { | 
					
						
							| 
									
										
										
										
											2012-11-19 12:24:02 +01:00
										 |  |  | 			mmc0: mmc@f0008000 { | 
					
						
							| 
									
										
										
										
											2012-11-20 00:38:18 +08:00
										 |  |  | 				pinctrl-0 = < | 
					
						
							|  |  |  | 					&pinctrl_board_mmc0 | 
					
						
							|  |  |  | 					&pinctrl_mmc0_slot0_clk_cmd_dat0 | 
					
						
							|  |  |  | 					&pinctrl_mmc0_slot0_dat1_3>; | 
					
						
							| 
									
										
										
										
											2012-11-19 12:24:02 +01:00
										 |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 				slot@0 { | 
					
						
							|  |  |  | 					reg = <0>; | 
					
						
							|  |  |  | 					bus-width = <4>; | 
					
						
							| 
									
										
										
										
											2013-04-24 08:34:25 +08:00
										 |  |  | 					cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>; | 
					
						
							| 
									
										
										
										
											2012-11-19 12:24:02 +01:00
										 |  |  | 				}; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			mmc1: mmc@f000c000 { | 
					
						
							| 
									
										
										
										
											2012-11-20 00:38:18 +08:00
										 |  |  | 				pinctrl-0 = < | 
					
						
							|  |  |  | 					&pinctrl_board_mmc1 | 
					
						
							|  |  |  | 					&pinctrl_mmc1_slot0_clk_cmd_dat0 | 
					
						
							|  |  |  | 					&pinctrl_mmc1_slot0_dat1_3>; | 
					
						
							| 
									
										
										
										
											2012-11-19 12:24:02 +01:00
										 |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 				slot@0 { | 
					
						
							|  |  |  | 					reg = <0>; | 
					
						
							|  |  |  | 					bus-width = <4>; | 
					
						
							| 
									
										
										
										
											2013-04-24 08:34:25 +08:00
										 |  |  | 					cd-gpios = <&pioD 14 GPIO_ACTIVE_HIGH>; | 
					
						
							| 
									
										
										
										
											2012-11-19 12:24:02 +01:00
										 |  |  | 				}; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-07-05 16:56:09 +08:00
										 |  |  | 			dbgu: serial@fffff200 { | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			usart0: serial@f801c000 { | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-05-03 20:49:51 +08:00
										 |  |  | 			usb2: gadget@f803c000 { | 
					
						
							|  |  |  | 				atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>; | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-07-05 16:56:09 +08:00
										 |  |  | 			i2c0: i2c@f8010000 { | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							| 
									
										
										
										
											2013-08-12 14:31:00 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 				wm8731: wm8731@1a { | 
					
						
							|  |  |  | 					compatible = "wm8731"; | 
					
						
							|  |  |  | 					reg = <0x1a>; | 
					
						
							|  |  |  | 				}; | 
					
						
							| 
									
										
										
										
											2012-07-05 16:56:09 +08:00
										 |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-11-20 00:38:18 +08:00
										 |  |  | 			pinctrl@fffff400 { | 
					
						
							|  |  |  | 				mmc0 { | 
					
						
							|  |  |  | 					pinctrl_board_mmc0: mmc0-board { | 
					
						
							|  |  |  | 						atmel,pins = | 
					
						
							| 
									
										
										
										
											2013-04-24 08:34:25 +08:00
										 |  |  | 							<AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;	/* PD15 gpio CD pin pull up and deglitch */ | 
					
						
							| 
									
										
										
										
											2012-11-20 00:38:18 +08:00
										 |  |  | 					}; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 				mmc1 { | 
					
						
							|  |  |  | 					pinctrl_board_mmc1: mmc1-board { | 
					
						
							|  |  |  | 						atmel,pins = | 
					
						
							| 
									
										
										
										
											2013-04-24 08:34:25 +08:00
										 |  |  | 							<AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;	/* PD14 gpio CD pin pull up and deglitch */ | 
					
						
							| 
									
										
										
										
											2012-11-20 00:38:18 +08:00
										 |  |  | 					}; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2013-04-03 14:03:05 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 			spi0: spi@f0000000 { | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 				cs-gpios = <&pioA 14 0>, <0>, <0>, <0>; | 
					
						
							|  |  |  | 				m25p80@0 { | 
					
						
							|  |  |  | 					compatible = "atmel,at25df321a"; | 
					
						
							|  |  |  | 					spi-max-frequency = <50000000>; | 
					
						
							|  |  |  | 					reg = <0>; | 
					
						
							|  |  |  | 				}; | 
					
						
							|  |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2013-05-31 11:11:33 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 			watchdog@fffffe40 { | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2013-08-12 14:31:01 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 			ssc0: ssc@f0010000 { | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2012-07-05 16:56:09 +08:00
										 |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		usb0: ohci@00600000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							| 
									
										
										
										
											2013-07-03 12:51:36 +02:00
										 |  |  | 			num-ports = <3>; | 
					
						
							|  |  |  | 			atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW *//* Activate to have access to port A */ | 
					
						
							|  |  |  | 					   &pioD 19 GPIO_ACTIVE_LOW | 
					
						
							| 
									
										
										
										
											2013-04-24 08:34:25 +08:00
										 |  |  | 					   &pioD 20 GPIO_ACTIVE_LOW | 
					
						
							| 
									
										
										
										
											2012-07-05 16:56:09 +08:00
										 |  |  | 					  >; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		usb1: ehci@00700000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2013-08-12 14:31:02 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	sound { | 
					
						
							|  |  |  | 		compatible = "atmel,sam9x5-wm8731-audio"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		atmel,model = "wm8731 @ AT91SAM9X5EK"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		atmel,audio-routing = | 
					
						
							|  |  |  | 			"Headphone Jack", "RHPOUT", | 
					
						
							|  |  |  | 			"Headphone Jack", "LHPOUT", | 
					
						
							|  |  |  | 			"LLINEIN", "Line In Jack", | 
					
						
							|  |  |  | 			"RLINEIN", "Line In Jack"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		atmel,ssc-controller = <&ssc0>; | 
					
						
							|  |  |  | 		atmel,audio-codec = <&wm8731>; | 
					
						
							|  |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2012-07-05 16:56:09 +08:00
										 |  |  | }; |