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
18 /include/ ARCH_CPU_DTS
21 model = "Ka-Ro electronics TX53 module";
22 compatible = "karo,tx53", "fsl,imx53";
25 bootargs = "init=/linuxrc console=ttymxc0,115200 root=/dev/mtdblock3 rootfstype=jffs2 ro debug panic=1";
34 clock-frequency = <0>;
39 extmc: extmc@00000000 {
49 aips1: aips@50000000 { /* AIPS1 */
51 mmc0: esdhc@50004000 { /* ESDHC1 */
53 cd-gpios = <&gpio3 24 0>;
57 mmc1: esdhc@50008000 { /* ESDHC2 */
59 cd-gpios = <&gpio3 25 0>;
63 uart3: uart@5000c000 {
65 pinctrl-names = "default";
66 pinctrl-0 = <&pinctrl_uart3_1>;
70 spi0: ecspi@50010000 { /* ECSPI1 */
73 pinctrl-names = "default";
79 fsl,spi-num-chipselects = <2>;
80 cs-gpios = <&gpio2 30 0 &gpio3 19 0>;
83 compatible = "spidev";
85 spi-max-frequency = <54000000>;
90 usbotg: imxotg@53f80000 {
95 vbus-gpio = <&usbotg_vbus>;
98 usbh1: imxotg@53f80200 {
103 vbus-gpio = <&usbh1_vbus>;
106 usbphy: imx-usb-phy@53f80800 {
109 device-ports = <&usbotg>;
110 host-ports = <&usbotg &usbh1>;
116 /* row/col 0,1 are mapped to KPP row/col 6,7 */
117 linux,keymap = < 0x06060074 /* row 6, col 6, KEY_POWER */
118 0x06070052 /* row 6, col 7, KEY_KP0 */
119 0x0602004f /* row 6, col 2, KEY_KP1 */
120 0x06030050 /* row 6, col 3, KEY_KP2 */
121 0x07060051 /* row 7, col 6, KEY_KP3 */
122 0x0707004b /* row 7, col 7, KEY_KP4 */
123 0x0702004c /* row 7, col 2, KEY_KP5 */
124 0x0703004d /* row 7, col 3, KEY_KP6 */
125 0x02060047 /* row 2, col 6, KEY_KP7 */
126 0x02070048 /* row 2, col 7, KEY_KP8 */
127 0x02020049 /* row 2, col 2, KEY_KP9 */
131 wdog@53f98000 { /* WDOG1 */
136 compatible = "fsl,imx53-iomuxc-tx53";
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_tsc2007_pd>;
142 pinctrl_stk5_led: stk5-led-gpios {
144 589 0xc0 /* MX53_PAD_EIM_A18__GPIO2_20 */
148 pinctrl_ds1339_int: ds1339-gpios {
150 104 0xe0 /* MX53_PAD_DI0_PIN4__GPIO4_20 */
154 pinctrl_cspi1_cs: cspi1-cs-gpios {
156 424 0xe0 /* MX53_PAD_EIM_EB2__GPIO2_30 */
157 449 0xe0 /* MX53_PAD_EIM_D19__GPIO3_19 */
161 pinctrl_esdhc1_cd: esdhc1-cd-gpios {
163 493 0x1f0 /* MX53_PAD_EIM_D24__GPIO3_24 */
167 pinctrl_esdhc2_cd: esdhc2-cd-gpios {
169 501 0x1f0 /* MX53_PAD_EIM_D25__GPIO3_25 */
173 pinctrl_tsc2007_pd: pendown-gpios {
175 517 0x1f0 /* MX53_PAD_EIM_D27__GPIO3_27 */
185 uart1: uart@53fbc000 {
187 pinctrl-names = "default";
188 pinctrl-0 = <&pinctrl_uart1_2>;
192 uart2: uart@53fc0000 {
194 pinctrl-names = "default";
195 pinctrl-0 = <&pinctrl_uart2_1>;
199 can1: flexcan@53fc8000 {
201 transceiver-switch = <&flexcan_transceiver>;
204 can2: flexcan@53fcc000 {
206 transceiver-switch = <&flexcan_transceiver>;
209 i2c@53fec000 { /* I2C3 */
212 pinctrl-names = "default";
213 pinctrl-0 = <&pinctrl_i2c3_1>;
215 sgtl5000: sgtl5000@0a {
216 compatible = "fsl,sgtl5000";
218 VDDA-supply = <®_2p5v>;
219 VDDIO-supply = <®_3p3v>;
220 clock-frequency = <26000000>;
223 touchscreen: tsc2007@48 {
224 compatible = "ti,tsc2007";
226 interrupt-parent = <&gpio3>;
228 pendown-gpio = <&gpio3 26 1>;
230 x-plate-ohms = <660>;
233 polytouch: edt-ft5x06@ {
234 compatible = "edt,edt-ft5x06";
236 interrupt-parent = <&gpio6>;
238 reset-switch = <&edt_ft5x06_reset>;
239 wake-switch = <&edt_ft5x06_wake>;
244 aips2: aips@60000000 { /* AIPS2 */
247 fsl,sdma-ram-script-name = "sdma-imx53.bin";
250 i2c@63fc8000 { /* I2C1 */
253 pinctrl-names = "default";
260 compatible = "dallas,ds1339";
262 trickle-charge = <0xa5>;
263 interrupt-parent = <&gpio4>;
268 compatible = "lt,lt3589";
287 pinctrl-names = "default";
288 pinctrl-0 = <&pinctrl_audmux_1>;
294 nand-bus-width = <8>;
295 nand-ecc-mode = "hw";
302 pinctrl-names = "default";
303 pinctrl-0 = <&pinctrl_fec_1>;
306 phy-reset-gpios = <&gpio7 6 0>;
307 phy-handle = <&phy0>;
308 mac-address = [000000000000];
310 phy0: ethernet-phy@0 {
311 interrupt-parent = <&gpio2>;
313 device_type = "ethernet-phy";
320 compatible = "fsl,imx-sgtl5000";
322 /* '1' based port numbers according to datasheet names */
329 compatible = "gpio-switches", "simple-bus";
330 #address-cells = <1>;
333 flexcan_transceiver: gpio-switch@0 {
334 compatible = "linux,gpio-switch";
335 gpio = <&gpio4 21 1>;
336 label = "Flexcan Transceiver Enable";
341 lcd_power: gpio-switch@1 {
342 compatible = "linux,gpio-switch";
343 gpio = <&gpio2 31 0>;
344 label = "LCD Power Enable";
348 lcd_reset: gpio-switch@2 {
349 compatible = "linux,gpio-switch";
350 gpio = <&gpio3 29 1>;
355 edt_ft5x06_reset: gpio-switch@3 {
356 compatible = "linux,gpio-switch";
357 gpio = <&gpio2 22 1>;
358 label = "EDT-FT5x06 RESET";
361 edt_ft5x06_wake: gpio-switch@4 {
362 compatible = "linux,gpio-switch";
363 gpio = <&gpio2 21 0>;
364 label = "EDT-FT5x06 WAKE";
368 usbotg_vbus: gpio-switch@5 {
369 compatible = "linux,gpio-switch";
371 label = "USBOTG VBUS";
374 usbh1_vbus: gpio-switch@6 {
375 compatible = "linux,gpio-switch";
376 gpio = <&gpio3 31 0>;
377 label = "USBH1 VBUS";
382 compatible = "gpio-leds";
384 pinctrl-names = "default";
385 pinctrl-0 = <&pinctrl_stk5_led>;
389 gpios = <&gpio2 20 0>;
390 linux,default-trigger = "heartbeat";
395 compatible = "of-gpio-lcd";
398 power-switch = <&lcd_power>;
400 reset-switch = <&lcd_reset>;
401 reset-delay-us = <300>;
405 backlight: pwm-backlight {
406 compatible = "pwm-backlight";
410 max-brightness = <100>;
411 dft-brightness = <50>;
412 pwm-period-ns = <1000000>;
416 compatible = "simple-bus";
419 compatible = "regulator-fixed";
420 regulator-name = "2P5V";
421 regulator-min-microvolt = <2500000>;
422 regulator-max-microvolt = <2500000>;
427 compatible = "regulator-fixed";
428 regulator-name = "3P3V";
429 regulator-min-microvolt = <3300000>;
430 regulator-max-microvolt = <3300000>;