| 
									
										
										
										
											2012-05-04 21:33:42 +08:00
										 |  |  | /* | 
					
						
							|  |  |  |  * Copyright 2012 Freescale Semiconductor, Inc. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * 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/; | 
					
						
							| 
									
										
										
										
											2013-09-19 08:59:48 +02:00
										 |  |  | #include "imx23.dtsi" | 
					
						
							| 
									
										
										
										
											2012-05-04 21:33:42 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | / { | 
					
						
							|  |  |  | 	model = "Freescale i.MX23 Evaluation Kit"; | 
					
						
							|  |  |  | 	compatible = "fsl,imx23-evk", "fsl,imx23"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	memory { | 
					
						
							|  |  |  | 		reg = <0x40000000 0x08000000>; | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	apb@80000000 { | 
					
						
							| 
									
										
										
										
											2012-05-06 16:29:36 +08:00
										 |  |  | 		apbh@80000000 { | 
					
						
							| 
									
										
										
										
											2012-07-03 12:58:13 +08:00
										 |  |  | 			gpmi-nand@8000c000 { | 
					
						
							|  |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>; | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-06 16:29:36 +08:00
										 |  |  | 			ssp0: ssp@80010000 { | 
					
						
							|  |  |  | 				compatible = "fsl,imx23-mmc"; | 
					
						
							|  |  |  | 				pinctrl-names = "default"; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:44:59 +08:00
										 |  |  | 				pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; | 
					
						
							|  |  |  | 				bus-width = <4>; | 
					
						
							| 
									
										
										
										
											2012-05-06 16:29:36 +08:00
										 |  |  | 				wp-gpios = <&gpio1 30 0>; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:44:59 +08:00
										 |  |  | 				vmmc-supply = <®_vddio_sd0>; | 
					
						
							| 
									
										
										
										
											2012-05-06 16:29:36 +08:00
										 |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:44:58 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 			pinctrl@80018000 { | 
					
						
							|  |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <&hog_pins_a>; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-08-22 13:25:31 -03:00
										 |  |  | 				hog_pins_a: hog@0 { | 
					
						
							| 
									
										
										
										
											2012-06-28 11:44:58 +08:00
										 |  |  | 					reg = <0>; | 
					
						
							|  |  |  | 					fsl,pinmux-ids = < | 
					
						
							| 
									
										
										
										
											2013-09-19 08:59:48 +02:00
										 |  |  | 						MX23_PAD_LCD_RESET__GPIO_1_18 | 
					
						
							|  |  |  | 						MX23_PAD_PWM3__GPIO_1_29 | 
					
						
							|  |  |  | 						MX23_PAD_PWM4__GPIO_1_30 | 
					
						
							|  |  |  | 						MX23_PAD_SSP1_DETECT__SSP1_DETECT | 
					
						
							| 
									
										
										
										
											2012-06-28 11:44:58 +08:00
										 |  |  | 					>; | 
					
						
							| 
									
										
										
										
											2013-09-22 14:02:59 +08:00
										 |  |  | 					fsl,drive-strength = <MXS_DRIVE_4mA>; | 
					
						
							|  |  |  | 					fsl,voltage = <MXS_VOLTAGE_HIGH>; | 
					
						
							|  |  |  | 					fsl,pull-up = <MXS_PULL_DISABLE>; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:44:58 +08:00
										 |  |  | 				}; | 
					
						
							|  |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:45:07 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 			lcdif@80030000 { | 
					
						
							|  |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <&lcdif_24bit_pins_a>; | 
					
						
							| 
									
										
										
										
											2013-04-07 15:44:59 -03:00
										 |  |  | 				lcd-supply = <®_lcd_3v3>; | 
					
						
							| 
									
										
										
										
											2013-03-14 11:37:15 +08:00
										 |  |  | 				display = <&display>; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:45:07 +08:00
										 |  |  | 				status = "okay"; | 
					
						
							| 
									
										
										
										
											2013-03-14 11:37:15 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 				display: display { | 
					
						
							|  |  |  | 					bits-per-pixel = <32>; | 
					
						
							|  |  |  | 					bus-width = <24>; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 					display-timings { | 
					
						
							|  |  |  | 						native-mode = <&timing0>; | 
					
						
							|  |  |  | 						timing0: timing0 { | 
					
						
							|  |  |  | 							clock-frequency = <9200000>; | 
					
						
							|  |  |  | 							hactive = <480>; | 
					
						
							|  |  |  | 							vactive = <272>; | 
					
						
							|  |  |  | 							hback-porch = <15>; | 
					
						
							|  |  |  | 							hfront-porch = <8>; | 
					
						
							|  |  |  | 							vback-porch = <12>; | 
					
						
							|  |  |  | 							vfront-porch = <4>; | 
					
						
							|  |  |  | 							hsync-len = <1>; | 
					
						
							|  |  |  | 							vsync-len = <1>; | 
					
						
							|  |  |  | 							hsync-active = <0>; | 
					
						
							|  |  |  | 							vsync-active = <0>; | 
					
						
							|  |  |  | 							de-active = <1>; | 
					
						
							|  |  |  | 							pixelclk-active = <0>; | 
					
						
							|  |  |  | 						}; | 
					
						
							|  |  |  | 					}; | 
					
						
							|  |  |  | 				}; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:45:07 +08:00
										 |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2012-05-06 16:29:36 +08:00
										 |  |  | 		}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-04 21:33:42 +08:00
										 |  |  | 		apbx@80040000 { | 
					
						
							| 
									
										
										
										
											2013-07-16 09:56:13 -03:00
										 |  |  | 			lradc@80050000 { | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 				fsl,lradc-touchscreen-wires = <4>; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-06-28 11:45:06 +08:00
										 |  |  | 			pwm: pwm@80064000 { | 
					
						
							|  |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <&pwm2_pins_a>; | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-06-28 11:45:00 +08:00
										 |  |  | 			auart0: serial@8006c000 { | 
					
						
							|  |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <&auart0_pins_a>; | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-04 21:33:42 +08:00
										 |  |  | 			duart: serial@80070000 { | 
					
						
							|  |  |  | 				pinctrl-names = "default"; | 
					
						
							|  |  |  | 				pinctrl-0 = <&duart_pins_a>; | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							| 
									
										
										
										
											2013-07-16 09:56:12 -03:00
										 |  |  | 
 | 
					
						
							|  |  |  | 			usbphy0: usbphy@8007c000 { | 
					
						
							|  |  |  | 				status = "okay"; | 
					
						
							|  |  |  | 			}; | 
					
						
							|  |  |  | 		}; | 
					
						
							|  |  |  | 	}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	ahb@80080000 { | 
					
						
							|  |  |  | 		usb0: usb@80080000 { | 
					
						
							|  |  |  | 			status = "okay"; | 
					
						
							| 
									
										
										
										
											2012-05-04 21:33:42 +08:00
										 |  |  | 		}; | 
					
						
							|  |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:44:59 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	regulators { | 
					
						
							|  |  |  | 		compatible = "simple-bus"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		reg_vddio_sd0: vddio-sd0 { | 
					
						
							|  |  |  | 			compatible = "regulator-fixed"; | 
					
						
							|  |  |  | 			regulator-name = "vddio-sd0"; | 
					
						
							|  |  |  | 			regulator-min-microvolt = <3300000>; | 
					
						
							|  |  |  | 			regulator-max-microvolt = <3300000>; | 
					
						
							|  |  |  | 			gpio = <&gpio1 29 0>; | 
					
						
							|  |  |  | 		}; | 
					
						
							| 
									
										
										
										
											2013-04-07 15:44:59 -03:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		reg_lcd_3v3: lcd-3v3 { | 
					
						
							|  |  |  | 			compatible = "regulator-fixed"; | 
					
						
							|  |  |  | 			regulator-name = "lcd-3v3"; | 
					
						
							|  |  |  | 			regulator-min-microvolt = <3300000>; | 
					
						
							|  |  |  | 			regulator-max-microvolt = <3300000>; | 
					
						
							|  |  |  | 			gpio = <&gpio1 18 0>; | 
					
						
							|  |  |  | 			enable-active-high; | 
					
						
							|  |  |  | 		}; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:44:59 +08:00
										 |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2012-06-28 11:45:06 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	backlight { | 
					
						
							|  |  |  | 		compatible = "pwm-backlight"; | 
					
						
							|  |  |  | 		pwms = <&pwm 2 5000000>; | 
					
						
							|  |  |  | 		brightness-levels = <0 4 8 16 32 64 128 255>; | 
					
						
							|  |  |  | 		default-brightness-level = <6>; | 
					
						
							|  |  |  | 	}; | 
					
						
							| 
									
										
										
										
											2012-05-04 21:33:42 +08:00
										 |  |  | }; |