Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 13 | #include "imx23.dtsi" |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Freescale i.MX23 Evaluation Kit"; |
| 17 | compatible = "fsl,imx23-evk", "fsl,imx23"; |
| 18 | |
| 19 | memory { |
| 20 | reg = <0x40000000 0x08000000>; |
| 21 | }; |
| 22 | |
| 23 | apb@80000000 { |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 24 | apbh@80000000 { |
Huang Shijie | b9f25f8 | 2012-07-03 12:58:13 +0800 | [diff] [blame] | 25 | gpmi-nand@8000c000 { |
| 26 | pinctrl-names = "default"; |
| 27 | pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>; |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 31 | ssp0: ssp@80010000 { |
| 32 | compatible = "fsl,imx23-mmc"; |
| 33 | pinctrl-names = "default"; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 34 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; |
| 35 | bus-width = <4>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 36 | wp-gpios = <&gpio1 30 0>; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 37 | vmmc-supply = <®_vddio_sd0>; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 38 | status = "okay"; |
| 39 | }; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 40 | |
| 41 | pinctrl@80018000 { |
| 42 | pinctrl-names = "default"; |
| 43 | pinctrl-0 = <&hog_pins_a>; |
| 44 | |
Fabio Estevam | e0e35b4 | 2012-08-22 13:25:31 -0300 | [diff] [blame] | 45 | hog_pins_a: hog@0 { |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 46 | reg = <0>; |
| 47 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 48 | MX23_PAD_LCD_RESET__GPIO_1_18 |
| 49 | MX23_PAD_PWM3__GPIO_1_29 |
| 50 | MX23_PAD_PWM4__GPIO_1_30 |
| 51 | MX23_PAD_SSP1_DETECT__SSP1_DETECT |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 52 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 53 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 54 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 55 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | d54dbb5 | 2012-06-28 11:44:58 +0800 | [diff] [blame] | 56 | }; |
| 57 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 58 | |
| 59 | lcdif@80030000 { |
| 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&lcdif_24bit_pins_a>; |
Fabio Estevam | 4344429 | 2013-04-07 15:44:59 -0300 | [diff] [blame] | 62 | lcd-supply = <®_lcd_3v3>; |
Shawn Guo | 0d9f821 | 2013-03-14 11:37:15 +0800 | [diff] [blame] | 63 | display = <&display>; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 64 | status = "okay"; |
Shawn Guo | 0d9f821 | 2013-03-14 11:37:15 +0800 | [diff] [blame] | 65 | |
| 66 | display: display { |
| 67 | bits-per-pixel = <32>; |
| 68 | bus-width = <24>; |
| 69 | |
| 70 | display-timings { |
| 71 | native-mode = <&timing0>; |
| 72 | timing0: timing0 { |
| 73 | clock-frequency = <9200000>; |
| 74 | hactive = <480>; |
| 75 | vactive = <272>; |
| 76 | hback-porch = <15>; |
| 77 | hfront-porch = <8>; |
| 78 | vback-porch = <12>; |
| 79 | vfront-porch = <4>; |
| 80 | hsync-len = <1>; |
| 81 | vsync-len = <1>; |
| 82 | hsync-active = <0>; |
| 83 | vsync-active = <0>; |
| 84 | de-active = <1>; |
| 85 | pixelclk-active = <0>; |
| 86 | }; |
| 87 | }; |
| 88 | }; |
Shawn Guo | a915ee4 | 2012-06-28 11:45:07 +0800 | [diff] [blame] | 89 | }; |
Shawn Guo | be1ce30 | 2012-05-06 16:29:36 +0800 | [diff] [blame] | 90 | }; |
| 91 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 92 | apbx@80040000 { |
Otavio Salvador | 08ad714 | 2013-07-16 09:56:13 -0300 | [diff] [blame] | 93 | lradc@80050000 { |
| 94 | status = "okay"; |
| 95 | fsl,lradc-touchscreen-wires = <4>; |
| 96 | }; |
| 97 | |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 98 | pwm: pwm@80064000 { |
| 99 | pinctrl-names = "default"; |
| 100 | pinctrl-0 = <&pwm2_pins_a>; |
| 101 | status = "okay"; |
| 102 | }; |
| 103 | |
Shawn Guo | a450839 | 2012-06-28 11:45:00 +0800 | [diff] [blame] | 104 | auart0: serial@8006c000 { |
| 105 | pinctrl-names = "default"; |
| 106 | pinctrl-0 = <&auart0_pins_a>; |
| 107 | status = "okay"; |
| 108 | }; |
| 109 | |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 110 | duart: serial@80070000 { |
| 111 | pinctrl-names = "default"; |
| 112 | pinctrl-0 = <&duart_pins_a>; |
| 113 | status = "okay"; |
| 114 | }; |
Otavio Salvador | ecdc78b | 2013-07-16 09:56:12 -0300 | [diff] [blame] | 115 | |
| 116 | usbphy0: usbphy@8007c000 { |
| 117 | status = "okay"; |
| 118 | }; |
| 119 | }; |
| 120 | }; |
| 121 | |
| 122 | ahb@80080000 { |
| 123 | usb0: usb@80080000 { |
| 124 | status = "okay"; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 125 | }; |
| 126 | }; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 127 | |
| 128 | regulators { |
| 129 | compatible = "simple-bus"; |
| 130 | |
| 131 | reg_vddio_sd0: vddio-sd0 { |
| 132 | compatible = "regulator-fixed"; |
| 133 | regulator-name = "vddio-sd0"; |
| 134 | regulator-min-microvolt = <3300000>; |
| 135 | regulator-max-microvolt = <3300000>; |
| 136 | gpio = <&gpio1 29 0>; |
| 137 | }; |
Fabio Estevam | 4344429 | 2013-04-07 15:44:59 -0300 | [diff] [blame] | 138 | |
| 139 | reg_lcd_3v3: lcd-3v3 { |
| 140 | compatible = "regulator-fixed"; |
| 141 | regulator-name = "lcd-3v3"; |
| 142 | regulator-min-microvolt = <3300000>; |
| 143 | regulator-max-microvolt = <3300000>; |
| 144 | gpio = <&gpio1 18 0>; |
| 145 | enable-active-high; |
| 146 | }; |
Shawn Guo | 72beaba | 2012-06-28 11:44:59 +0800 | [diff] [blame] | 147 | }; |
Shawn Guo | 52f7176 | 2012-06-28 11:45:06 +0800 | [diff] [blame] | 148 | |
| 149 | backlight { |
| 150 | compatible = "pwm-backlight"; |
| 151 | pwms = <&pwm 2 5000000>; |
| 152 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 153 | default-brightness-level = <6>; |
| 154 | }; |
Shawn Guo | 2954ff3 | 2012-05-04 21:33:42 +0800 | [diff] [blame] | 155 | }; |