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
16 /include/ ARCH_CPU_DTS
19 model = "Ka-Ro electronics TX53 module";
20 compatible = "karo,tx53", "fsl,imx53";
23 bootargs = "init=/linuxrc console=ttymxc0,115200 root=/dev/mtdblock4 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>;
55 pinctrl-names = "default";
62 mmc1: esdhc@50008000 { /* ESDHC2 */
64 cd-gpios = <&gpio3 25 0>;
66 pinctrl-names = "default";
75 pinctrl-names = "default";
76 pinctrl-0 = <&pinctrl_uart3_1>;
80 spi0: ecspi@50010000 { /* ECSPI1 */
83 pinctrl-names = "default";
89 fsl,spi-num-chipselects = <2>;
90 cs-gpios = <&gpio2 30 0 &gpio3 19 0>;
93 compatible = "spidev";
95 spi-max-frequency = <54000000>;
100 usbotg: imxotg@53f80000 {
105 vbus-gpio = <&usbotg_vbus>;
108 usbh1: imxotg@53f80200 {
113 vbus-gpio = <&usbh1_vbus>;
116 usbphy: imx-usb-phy@53f80800 {
119 device-ports = <&usbotg>;
120 host-ports = <&usbotg &usbh1>;
126 /* row/col 0,1 are mapped to KPP row/col 6,7 */
127 linux,keymap = < 0x06060074 /* row 6, col 6, KEY_POWER */
128 0x06070052 /* row 6, col 7, KEY_KP0 */
129 0x0602004f /* row 6, col 2, KEY_KP1 */
130 0x06030050 /* row 6, col 3, KEY_KP2 */
131 0x07060051 /* row 7, col 6, KEY_KP3 */
132 0x0707004b /* row 7, col 7, KEY_KP4 */
133 0x0702004c /* row 7, col 2, KEY_KP5 */
134 0x0703004d /* row 7, col 3, KEY_KP6 */
135 0x02060047 /* row 2, col 6, KEY_KP7 */
136 0x02070048 /* row 2, col 7, KEY_KP8 */
137 0x02020049 /* row 2, col 2, KEY_KP9 */
141 wdog@53f98000 { /* WDOG1 */
146 pinctrl-names = "default";
149 pinctrl_stk5_led: stk5-led-gpios {
151 589 0xc0 /* MX53_PAD_EIM_A18__GPIO2_20 */
155 pinctrl_ds1339_int: ds1339-gpios {
157 104 0xe0 /* MX53_PAD_DI0_PIN4__GPIO4_20 */
161 pinctrl_cspi1_cs: cspi1-cs-gpios {
163 424 0xe0 /* MX53_PAD_EIM_EB2__GPIO2_30 */
164 449 0xe0 /* MX53_PAD_EIM_D19__GPIO3_19 */
168 pinctrl_esdhc1_cd: esdhc1-cd-gpios {
170 501 0x1f0 /* MX53_PAD_EIM_D25__GPIO3_25 */
174 pinctrl_esdhc2_cd: esdhc2-cd-gpios {
176 517 0x1f0 /* MX53_PAD_EIM_D27__GPIO3_27 */
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_uart1_2>;
195 pinctrl-names = "default";
196 pinctrl-0 = <&pinctrl_uart2_1>;
202 transceiver-switch = <&flexcan_transceiver>;
207 transceiver-switch = <&flexcan_transceiver>;
210 i2c@53fec000 { /* I2C3 */
213 pinctrl-names = "default";
214 pinctrl-0 = <&pinctrl_i2c3_1>;
216 sgtl5000: sgtl5000@0a {
217 compatible = "fsl,sgtl5000";
219 VDDA-supply = <®_2p5v>;
220 VDDIO-supply = <®_3p3v>;
221 clock-frequency = <26000000>;
224 touchscreen: tsc2007@48 {
225 compatible = "ti,tsc2007";
227 interrupt-parent = <&gpio3>;
229 pendown-gpio = <&gpio3 26 1>;
231 x-plate-ohms = <660>;
234 polytouch: edt-ft5x06@ {
235 compatible = "edt,edt-ft5x06";
237 interrupt-parent = <&gpio6>;
239 reset-switch = <&edt_ft5x06_reset>;
240 wake-switch = <&edt_ft5x06_wake>;
245 aips2: aips@60000000 { /* AIPS2 */
248 fsl,sdma-ram-script-name = "sdma-imx53.bin";
251 i2c@63fc8000 { /* I2C1 */
254 pinctrl-names = "default";
261 compatible = "dallas,ds1339";
263 trickle-charge = <0xa5>;
264 interrupt-parent = <&gpio4>;
269 compatible = "lt,lt3589";
277 fsl,mode = "i2s-slave";
278 codec-handle = <&sgtl5000>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&pinctrl_audmux_1>;
295 nand-bus-width = <8>;
296 nand-ecc-mode = "hw";
303 pinctrl-names = "default";
304 pinctrl-0 = <&pinctrl_fec_1>;
307 phy-reset-gpios = <&gpio7 6 0>;
308 phy-handle = <&phy0>;
309 mac-address = [000000000000];
311 phy0: ethernet-phy@0 {
312 interrupt-parent = <&gpio2>;
314 device_type = "ethernet-phy";
321 compatible = "karo,tx53x-audio-sgtl5000", "fsl,imx-audio-sgtl5000";
323 model = "tx53x-audio-sgtl5000";
324 ssi-controller = <&ssi1>;
325 audio-codec = <&sgtl5000>;
327 "MIC_IN", "Mic Jack",
328 "Mic Jack", "Mic Bias",
329 "Headphone Jack", "HP_OUT";
330 /* '1' based port numbers according to datasheet names */
336 compatible = "gpio-switches", "simple-bus";
337 #address-cells = <1>;
340 flexcan_transceiver: gpio-switch@0 {
341 compatible = "linux,gpio-switch";
342 gpio = <&gpio4 21 1>;
343 label = "Flexcan Transceiver Enable";
348 lcd_power: gpio-switch@1 {
349 compatible = "linux,gpio-switch";
350 gpio = <&gpio2 31 0>;
351 label = "LCD Power Enable";
355 lcd_reset: gpio-switch@2 {
356 compatible = "linux,gpio-switch";
357 gpio = <&gpio3 29 1>;
362 edt_ft5x06_reset: gpio-switch@3 {
363 compatible = "linux,gpio-switch";
364 gpio = <&gpio2 22 1>;
365 label = "EDT-FT5x06 RESET";
368 edt_ft5x06_wake: gpio-switch@4 {
369 compatible = "linux,gpio-switch";
370 gpio = <&gpio2 21 0>;
371 label = "EDT-FT5x06 WAKE";
375 usbotg_vbus: gpio-switch@5 {
376 compatible = "linux,gpio-switch";
378 label = "USBOTG VBUS";
381 usbh1_vbus: gpio-switch@6 {
382 compatible = "linux,gpio-switch";
383 gpio = <&gpio3 31 0>;
384 label = "USBH1 VBUS";
389 compatible = "gpio-leds";
391 pinctrl-names = "default";
392 pinctrl-0 = <&pinctrl_stk5_led>;
396 gpios = <&gpio2 20 0>;
397 linux,default-trigger = "heartbeat";
402 compatible = "of-gpio-lcd";
404 power-switch = <&lcd_power>;
406 reset-switch = <&lcd_reset>;
407 reset-delay-us = <300>;
411 backlight: pwm-backlight {
412 compatible = "pwm-backlight";
416 max-brightness = <100>;
417 dft-brightness = <50>;
418 pwm-period-ns = <1000000>;
422 compatible = "simple-bus";
425 compatible = "regulator-fixed";
426 regulator-name = "2P5V";
427 regulator-min-microvolt = <2500000>;
428 regulator-max-microvolt = <2500000>;
433 compatible = "regulator-fixed";
434 regulator-name = "3P3V";
435 regulator-min-microvolt = <3300000>;
436 regulator-max-microvolt = <3300000>;