2 * Copyright 2012 <LW@KARO-electronics.de>
3 * based on imx53-qsb.dts
4 * Copyright 2011 Freescale Semiconductor, Inc.
5 * Copyright 2011 Linaro Ltd.
7 * The code contained herein is licensed under the GNU General Public
8 * License. You may obtain a copy of the GNU General Public License
9 * Version 2 at the following locations:
11 * http://www.opensource.org/licenses/gpl-license.html
12 * http://www.gnu.org/copyleft/gpl.html
19 model = "Ka-Ro electronics TX53 module";
20 compatible = "karo,tx53", "fsl,imx53";
23 bootargs = "init=/linuxrc console=ttymxc0,115200 root=/dev/mtdblock3 rootfstype=jffs2 ro debug panic=1";
32 clock-frequency = <0>;
37 extmc: extmc@00000000 {
47 aips1: aips@50000000 { /* AIPS1 */
49 mmc0: esdhc@50004000 { /* ESDHC1 */
51 cd-gpios = <&gpio3 24 0>;
55 mmc1: esdhc@50008000 { /* ESDHC2 */
57 cd-gpios = <&gpio3 25 0>;
61 uart3: uart@5000c000 {
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_uart3_1>;
68 spi0: ecspi@50010000 { /* ECSPI1 */
71 pinctrl-names = "default";
77 fsl,spi-num-chipselects = <2>;
78 cs-gpios = <&gpio2 30 0 &gpio3 19 0>;
81 compatible = "spidev";
83 spi-max-frequency = <54000000>;
88 usbotg: imxotg@53f80000 {
93 vbus-gpio = <&usbotg_vbus>;
96 usbh1: imxotg@53f80200 {
101 vbus-gpio = <&usbh1_vbus>;
104 usbphy: imx-usb-phy@53f80800 {
107 device-ports = <&usbotg>;
108 host-ports = <&usbotg &usbh1>;
114 /* row/col 0,1 are mapped to KPP row/col 6,7 */
115 linux,keymap = < 0x06060074 /* row 6, col 6, KEY_POWER */
116 0x06070052 /* row 6, col 7, KEY_KP0 */
117 0x0602004f /* row 6, col 2, KEY_KP1 */
118 0x06030050 /* row 6, col 3, KEY_KP2 */
119 0x07060051 /* row 7, col 6, KEY_KP3 */
120 0x0707004b /* row 7, col 7, KEY_KP4 */
121 0x0702004c /* row 7, col 2, KEY_KP5 */
122 0x0703004d /* row 7, col 3, KEY_KP6 */
123 0x02060047 /* row 2, col 6, KEY_KP7 */
124 0x02070048 /* row 2, col 7, KEY_KP8 */
125 0x02020049 /* row 2, col 2, KEY_KP9 */
129 wdog@53f98000 { /* WDOG1 */
134 compatible = "fsl,imx53-iomuxc-tx53";
136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_tsc2007_pd>;
140 pinctrl_stk5_led: stk5-led-gpios {
142 589 0xc0 /* MX53_PAD_EIM_A18__GPIO2_20 */
146 pinctrl_ds1339_int: ds1339-gpios {
148 104 0xe0 /* MX53_PAD_DI0_PIN4__GPIO4_20 */
152 pinctrl_cspi1_cs: cspi1-cs-gpios {
154 424 0xe0 /* MX53_PAD_EIM_EB2__GPIO2_30 */
155 449 0xe0 /* MX53_PAD_EIM_D19__GPIO3_19 */
159 pinctrl_esdhc1_cd: esdhc1-cd-gpios {
161 493 0x1f0 /* MX53_PAD_EIM_D24__GPIO3_24 */
165 pinctrl_esdhc2_cd: esdhc2-cd-gpios {
167 501 0x1f0 /* MX53_PAD_EIM_D25__GPIO3_25 */
171 pinctrl_tsc2007_pd: pendown-gpios {
173 517 0x1f0 /* MX53_PAD_EIM_D27__GPIO3_27 */
183 uart1: uart@53fbc000 {
185 pinctrl-names = "default";
186 pinctrl-0 = <&pinctrl_uart1_2>;
190 uart2: uart@53fc0000 {
192 pinctrl-names = "default";
193 pinctrl-0 = <&pinctrl_uart2_1>;
197 can1: flexcan@53fc8000 {
199 transceiver-switch = <&flexcan_transceiver>;
202 can2: flexcan@53fcc000 {
204 transceiver-switch = <&flexcan_transceiver>;
207 i2c@53fec000 { /* I2C3 */
210 pinctrl-names = "default";
211 pinctrl-0 = <&pinctrl_i2c3_1>;
213 sgtl5000: sgtl5000@0a {
214 compatible = "fsl,sgtl5000";
216 VDDA-supply = <®_2p5v>;
217 VDDIO-supply = <®_3p3v>;
218 clock-frequency = <26000000>;
221 touchscreen: tsc2007@48 {
222 compatible = "ti,tsc2007";
224 interrupt-parent = <&gpio3>;
226 pendown-gpio = <&gpio3 26 1>;
228 x-plate-ohms = <660>;
231 polytouch: edt-ft5x06@ {
232 compatible = "edt,edt-ft5x06";
234 interrupt-parent = <&gpio6>;
236 reset-switch = <&edt_ft5x06_reset>;
237 wake-switch = <&edt_ft5x06_wake>;
242 aips2: aips@60000000 { /* AIPS2 */
245 fsl,sdma-ram-script-name = "sdma-imx53.bin";
248 i2c@63fc8000 { /* I2C1 */
251 pinctrl-names = "default";
258 compatible = "dallas,ds1339";
260 trickle-charge = <0xa5>;
261 interrupt-parent = <&gpio4>;
266 compatible = "lt,lt3589";
285 pinctrl-names = "default";
286 pinctrl-0 = <&pinctrl_audmux_1>;
292 nand-bus-width = <8>;
293 nand-ecc-mode = "hw";
300 pinctrl-names = "default";
301 pinctrl-0 = <&pinctrl_fec_1>;
304 phy-reset-gpios = <&gpio7 6 0>;
305 phy-handle = <&phy0>;
306 mac-address = [000000000000];
308 phy0: ethernet-phy@0 {
309 interrupt-parent = <&gpio2>;
311 device_type = "ethernet-phy";
318 compatible = "fsl,imx-sgtl5000";
320 /* '1' based port numbers according to datasheet names */
327 compatible = "gpio-switches", "simple-bus";
328 #address-cells = <1>;
331 flexcan_transceiver: gpio-switch@0 {
332 compatible = "linux,gpio-switch";
333 gpio = <&gpio4 21 1>;
334 label = "Flexcan Transceiver Enable";
339 lcd_power: gpio-switch@1 {
340 compatible = "linux,gpio-switch";
341 gpio = <&gpio2 31 0>;
342 label = "LCD Power Enable";
346 lcd_reset: gpio-switch@2 {
347 compatible = "linux,gpio-switch";
348 gpio = <&gpio3 29 1>;
353 edt_ft5x06_reset: gpio-switch@3 {
354 compatible = "linux,gpio-switch";
355 gpio = <&gpio2 22 1>;
356 label = "EDT-FT5x06 RESET";
359 edt_ft5x06_wake: gpio-switch@4 {
360 compatible = "linux,gpio-switch";
361 gpio = <&gpio2 21 0>;
362 label = "EDT-FT5x06 WAKE";
366 usbotg_vbus: gpio-switch@5 {
367 compatible = "linux,gpio-switch";
369 label = "USBOTG VBUS";
372 usbh1_vbus: gpio-switch@6 {
373 compatible = "linux,gpio-switch";
374 gpio = <&gpio3 31 0>;
375 label = "USBH1 VBUS";
380 compatible = "gpio-leds";
382 pinctrl-names = "default";
383 pinctrl-0 = <&pinctrl_stk5_led>;
387 gpios = <&gpio2 20 0>;
388 linux,default-trigger = "heartbeat";
393 compatible = "of-gpio-lcd";
396 power-switch = <&lcd_power>;
398 reset-switch = <&lcd_reset>;
399 reset-delay-us = <300>;
403 backlight: pwm-backlight {
404 compatible = "pwm-backlight";
408 max-brightness = <100>;
409 dft-brightness = <50>;
410 pwm-period-ns = <1000000>;
414 compatible = "simple-bus";
417 compatible = "regulator-fixed";
418 regulator-name = "2P5V";
419 regulator-min-microvolt = <2500000>;
420 regulator-max-microvolt = <2500000>;
425 compatible = "regulator-fixed";
426 regulator-name = "3P3V";
427 regulator-min-microvolt = <3300000>;
428 regulator-max-microvolt = <3300000>;