2 * Copyright 2012 <LW@KARO-electronics.de>
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 at the following locations:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
16 model = "Ka-Ro electronics TX51 module";
17 compatible = "karo,tx51", "fsl,imx51";
20 bootargs = "init=/linuxrc console=ttymxc0,115200 root=/dev/mtdblock1 ro debug panic=1";
31 clock-frequency = <0>;
42 aips1: aips@70000000 { /* AIPS1 */
44 mmc0: esdhc@70004000 { /* ESDHC1 */
45 cd-gpios = <&gpio3 8 0>;
50 mmc1: esdhc@70008000 { /* ESDHC2 */
51 cd-gpios = <&gpio3 6 0>;
60 spi0: ecspi@70010000 { /* ECSPI1 */
61 fsl,spi-num-chipselects = <2>;
62 cs-gpios = <&gpio4 24 0 &gpio4 25 0>;
66 compatible = "spidev";
68 spi-max-frequency = <250000000>;
73 usbotg: imxotg@73f80000 {
78 phy-mode = "utmi-wide";
81 usbh1: imxotg@73f80200 {
90 usbphy: imx-usb-phy@73f80800 {
93 device-ports = <&usbotg>;
94 host-ports = <&usbotg &usbh1>;
100 linux,keymap = < 0x00000074 /* row 0, col 0, KEY_POWER */
101 0x00010052 /* row 0, col 1, KEY_KP0 */
102 0x0002004f /* row 0, col 2, KEY_KP1 */
103 0x00030050 /* row 0, col 3, KEY_KP2 */
104 0x00040051 /* row 0, col 4, KEY_KP3 */
105 0x0100004b /* row 1, col 0, KEY_KP4 */
106 0x0101004c /* row 1, col 1, KEY_KP5 */
107 0x0102004d /* row 1, col 2, KEY_KP6 */
108 0x01030047 /* row 1, col 3, KEY_KP7 */
109 0x01040048 /* row 1, col 4, KEY_KP8 */
110 0x02000049 /* row 2, col 0, KEY_KP9 */
114 wdog@73f98000 { /* WDOG1 */
119 compatible = "fsl,imx51-iomuxc-tx51";
120 reg = <0x73fa8000 0x4000>;
138 aips2: aips@80000000 { /* AIPS2 */
141 fsl,sdma-ram-script-name = "sdma-imx51.bin";
144 i2c@83fc4000 { /* I2C2 */
148 compatible = "fsl,sgtl5000";
150 VDDA-supply = <®_2p5v>;
151 VDDIO-supply = <®_3p3v>;
154 touchscreen: tsc2007@48 {
155 compatible = "ti,tsc2007";
157 interrupt-parent = <&gpio3>;
159 pendown-gpio = <&gpio3 3 1>;
161 x-plate-ohms = <660>;
164 polytouch: edt-ft5x06@38 {
165 compatible = "edt,edt-ft5x06";
167 interrupt-parent = <&gpio1>;
169 reset-switch = <&edt_ft5x06_reset>;
170 wake-switch = <&edt_ft5x06_wake>;
190 compatible = "fsl,imx-sgtl5000";
192 /* '1' based port numbers according to datasheet names */
201 nand-bus-width = <8>;
202 nand-ecc-mode = "hw";
209 phy-reset-gpios = <&gpio2 14 0>;
212 phy-handle = <&phy0>;
213 mac-address = [000000000000];
215 phy0: ethernet-phy@0 {
216 interrupt-parent = <&gpio3>;
218 device_type = "ethernet-phy";
225 #address-cells = <1>;
227 compatible = "i2c-gpio";
230 clock-frequency = <400000>;
233 compatible = "dallas,ds1339";
239 compatible = "gpio-switches", "simple-bus";
240 #address-cells = <1>;
242 lcd_power: gpio-switch@1 {
243 compatible = "linux,gpio-switch";
244 gpio = <&gpio4 14 0>;
245 label = "LCD Power Enable";
249 lcd_reset: gpio-switch@2 {
250 compatible = "linux,gpio-switch";
251 gpio = <&gpio4 13 1>;
256 edt_ft5x06_reset: gpio-switch@3 {
257 compatible = "linux,gpio-switch";
258 gpio = <&gpio4 15 1>;
259 label = "EDT-FT5x06 RESET";
262 edt_ft5x06_wake: gpio-switch@4 {
263 compatible = "linux,gpio-switch";
265 label = "EDT-FT5x06 WAKE";
269 usbotg_vbus: gpio-switch@5 {
270 compatible = "linux,gpio-switch";
272 label = "USBOTG VBUS";
277 compatible = "gpio-leds";
281 gpios = <&gpio4 10 0>;
282 linux,default-trigger = "heartbeat";
287 compatible = "of-gpio-lcd";
290 power-switch = <&gpio4 14 0>;
291 reset-switch = <&gpio4 13 1>;
294 backlight: pwm-backlight {
295 compatible = "pwm-backlight";
299 max-brightness = <100>;
300 dft-brightness = <50>;
301 pwm-period-ns = <1000000>;
305 compatible = "simple-bus";
308 compatible = "regulator-fixed";
309 regulator-name = "2P5V";
310 regulator-min-microvolt = <2500000>;
311 regulator-max-microvolt = <2500000>;
316 compatible = "regulator-fixed";
317 regulator-name = "3P3V";
318 regulator-min-microvolt = <3300000>;
319 regulator-max-microvolt = <3300000>;