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/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>;
58 mmc1: esdhc@50008000 { /* ESDHC2 */
60 cd-gpios = <&gpio3 25 0>;
64 uart3: uart@5000c000 {
66 pinctrl-names = "default";
67 pinctrl-0 = <&pinctrl_uart3_1>;
71 spi0: ecspi@50010000 { /* ECSPI1 */
74 pinctrl-names = "default";
80 fsl,spi-num-chipselects = <2>;
81 cs-gpios = <&gpio2 30 0 &gpio3 19 0>;
84 compatible = "spidev";
86 spi-max-frequency = <54000000>;
91 usbotg: imxotg@53f80000 {
96 vbus-gpio = <&usbotg_vbus>;
99 usbh1: imxotg@53f80200 {
104 vbus-gpio = <&usbh1_vbus>;
107 usbphy: imx-usb-phy@53f80800 {
110 device-ports = <&usbotg>;
111 host-ports = <&usbotg &usbh1>;
117 /* row/col 0,1 are mapped to KPP row/col 6,7 */
118 linux,keymap = < 0x06060074 /* row 6, col 6, KEY_POWER */
119 0x06070052 /* row 6, col 7, KEY_KP0 */
120 0x0602004f /* row 6, col 2, KEY_KP1 */
121 0x06030050 /* row 6, col 3, KEY_KP2 */
122 0x07060051 /* row 7, col 6, KEY_KP3 */
123 0x0707004b /* row 7, col 7, KEY_KP4 */
124 0x0702004c /* row 7, col 2, KEY_KP5 */
125 0x0703004d /* row 7, col 3, KEY_KP6 */
126 0x02060047 /* row 2, col 6, KEY_KP7 */
127 0x02070048 /* row 2, col 7, KEY_KP8 */
128 0x02020049 /* row 2, col 2, KEY_KP9 */
132 wdog@53f98000 { /* WDOG1 */
137 compatible = "fsl,imx53-iomuxc-tx53";
139 pinctrl-names = "default";
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 501 0x1f0 /* MX53_PAD_EIM_D25__GPIO3_25 */
167 pinctrl_esdhc2_cd: esdhc2-cd-gpios {
169 517 0x1f0 /* MX53_PAD_EIM_D27__GPIO3_27 */
179 uart1: uart@53fbc000 {
181 pinctrl-names = "default";
182 pinctrl-0 = <&pinctrl_uart1_2>;
186 uart2: uart@53fc0000 {
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_uart2_1>;
193 can1: flexcan@53fc8000 {
195 transceiver-switch = <&flexcan_transceiver>;
198 can2: flexcan@53fcc000 {
200 transceiver-switch = <&flexcan_transceiver>;
203 i2c@53fec000 { /* I2C3 */
206 pinctrl-names = "default";
207 pinctrl-0 = <&pinctrl_i2c3_1>;
209 sgtl5000: sgtl5000@0a {
210 compatible = "fsl,sgtl5000";
212 VDDA-supply = <®_2p5v>;
213 VDDIO-supply = <®_3p3v>;
214 clock-frequency = <26000000>;
217 touchscreen: tsc2007@48 {
218 compatible = "ti,tsc2007";
220 interrupt-parent = <&gpio3>;
222 pendown-gpio = <&gpio3 26 1>;
224 x-plate-ohms = <660>;
227 polytouch: edt-ft5x06@ {
228 compatible = "edt,edt-ft5x06";
230 interrupt-parent = <&gpio6>;
232 reset-switch = <&edt_ft5x06_reset>;
233 wake-switch = <&edt_ft5x06_wake>;
238 aips2: aips@60000000 { /* AIPS2 */
241 fsl,sdma-ram-script-name = "sdma-imx53.bin";
244 i2c@63fc8000 { /* I2C1 */
247 pinctrl-names = "default";
254 compatible = "dallas,ds1339";
256 trickle-charge = <0xa5>;
257 interrupt-parent = <&gpio4>;
262 compatible = "lt,lt3589";
281 pinctrl-names = "default";
282 pinctrl-0 = <&pinctrl_audmux_1>;
288 nand-bus-width = <8>;
289 nand-ecc-mode = "hw";
296 pinctrl-names = "default";
297 pinctrl-0 = <&pinctrl_fec_1>;
300 phy-reset-gpios = <&gpio7 6 0>;
301 phy-handle = <&phy0>;
302 mac-address = [000000000000];
304 phy0: ethernet-phy@0 {
305 interrupt-parent = <&gpio2>;
307 device_type = "ethernet-phy";
314 compatible = "karo,tx53x-audio-sgtl5000", "fsl,imx-audio-sgtl5000";
316 model = "tx53x-audio-sgtl5000";
317 ssi-controller = <&ssi1>;
318 audio-codec = <&sgtl5000>;
320 "MIC_IN", "Mic Jack",
321 "Mic Jack", "Mic Bias",
322 "Headphone Jack", "HP_OUT";
323 /* '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>;