2 * Copyright 2013 <heiko.abraham@hella-gutmann.com>
3 * Copyright 2013 <OW@KARO-electronics.de>
5 * Copyright 2011 Freescale Semiconductor, Inc.
6 * Copyright 2011 Linaro Ltd.
8 * The code contained herein is licensed under the GNU General Public
9 * License. You may obtain a copy of the GNU General Public License
10 * Version 2 at the following locations:
12 * http://www.opensource.org/licenses/gpl-license.html
13 * http://www.gnu.org/copyleft/gpl.html
17 /include/ "imx28.dtsi"
20 model = "Ka-Ro electronics TX28 module";
21 compatible = "karo,tx28", "fsl,imx28";
24 bootargs = "init=/linuxrc console=ttyAMA0,115200 root=/dev/mtdblock3 rootfstype=jffs2 ro debug panic=1";
28 reg = <0x40000000 0x08000000>;
36 pinctrl-names = "default";
37 pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
43 compatible = "fsl,imx28-mmc";
44 pinctrl-names = "default";
45 pinctrl-0 = <&mmc0_4bit_pins_a
49 /* wp-gpios = <&gpio2 20 0>; */
55 pinctrl-names = "default";
56 pinctrl-0 = <&hog_pins_a>;
60 0x40a3 /* MX28_PAD_ENET0_RXD3__GPIO_4_10 */
62 fsl,drive-strength = <0>;
67 mac0_pins_gpio: mac0-gpio-mode@0 {
70 0x4003 /* MX28_PAD_ENET0_MDC__GPIO_4_0 */
71 0x4013 /* MX28_PAD_ENET0_MDIO__GPIO_4_1 */
72 0x4023 /* MX28_PAD_ENET0_RX_EN__GPIO_4_2 */
73 0x4033 /* MX28_PAD_ENET0_RXD0__GPIO_4_3 */
74 0x4043 /* MX28_PAD_ENET0_RXD1__GPIO_4_4 */
75 0x4063 /* MX28_PAD_ENET0_TX_EN__GPIO_4_6 */
76 0x4073 /* MX28_PAD_ENET0_TXD0__GPIO_4_7 */
77 0x4083 /* MX28_PAD_ENET0_TXD1__GPIO_4_8 */
78 0x4103 /* MX28_PAD_ENET_CLK__GPIO_4_16 */
80 fsl,drive-strength = <0>;
85 lcdif_pins_tx28: lcdif-tx28@0 {
88 0x11e0 /* MX28_PAD_LCD_DOTCLK__LCD_DOTCLK */
89 0x11f0 /* MX28_PAD_LCD_ENABLE__LCD_ENABLE */
90 0x11c0 /* MX28_PAD_LCD_VSYNC__LCD_VSYNC */
91 0x11d0 /* MX28_PAD_LCD_HSYNC__LCD_HSYNC */
92 0x11f3 /* MX28_PAD_LCD_ENABLE__GPIO_1_31 - Enable */
93 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 - Reset */
95 fsl,drive-strength = <0>;
100 duart_2pins_a: duart-2pins@0 {
103 0x3022 /* MX28_PAD_AUART0_CTS__DUART_RX */
104 0x3032 /* MX28_PAD_AUART0_RTS__DUART_TX */
106 fsl,drive-strength = <0>;
111 auart2_2pins_a: auart2-2pins@0 {
114 0x2111 /* MX28_PAD_SSP2_MOSI__AUART2_TX */
115 0x2101 /* MX28_PAD_SSP2_SCK__AUART2_RX */
117 fsl,drive-strength = <0>;
122 auart4_2pins_a: auart4-2pins@0 {
125 0x3172 /* MX28_PAD_SAIF0_SDATA0__AUART4_TX */
126 0x3162 /* MX28_PAD_SAIF0_BITCLK__AUART4_RX */
128 fsl,drive-strength = <0>;
133 usbphy0_pins_c: usbphy0@0 {
136 0x31b3 /* MX28_PAD_SPDIF__GPIO_3_27 - USBH_VBUSEN */
137 0x4143 /* MX28_PAD_JTAG_RTCK__GPIO_4_20 - USBH_OC */
139 fsl,drive-strength = <2>;
144 usbphy1_pins_b: usbphy1@0 {
147 0x0123 /* MX28_PAD_GPMI_CE2N__GPIO_0_18 - USBOTG_VBUSEN */
148 0x0133 /* MX28_PAD_GPMI_CE3N__GPIO_0_19 - USBOTH_OC */
150 fsl,drive-strength = <2>;
158 pinctrl-names = "default";
159 pinctrl-0 = <&lcdif_24bit_pins_a
161 panel-enable-gpios = <&gpio1 27 0>;
166 pinctrl-names = "default";
167 pinctrl-0 = <&can0_pins_a>;
172 pinctrl-names = "default";
173 pinctrl-0 = <&can1_pins_a>;
189 pinctrl-names = "default";
190 pinctrl-0 = <&i2c0_pins_a>;
191 clock-frequency = <400000>;
194 compatible = "mxim,ds1339";
196 trickle-charge = <0xa5>;
199 pca9554: pca953x@20 {
200 compatible = "nxp,pca953x";
202 interrupt-parent = <&gpio3>;
208 /* unfinished - required platform data bugfix */
210 touchscreen: tsc2007@48 {
211 compatible = "ti,tsc2007";
213 interrupt-parent = <&gpio3>;
215 pendown-gpio = <&gpio3 20 1>;
217 x-plate-ohms = <660>;
220 polytouch: edt-ft5x06@ {
221 compatible = "edt,edt-ft5x06";
223 interrupt-parent = <&gpio2>;
225 reset-switch = <&edt_ft5x06_reset>;
226 wake-switch = <&edt_ft5x06_wake>;
227 irq-switch = <&edt_ft5x06_irq>;
231 compatible = "fsl,sgtl5000";
233 VDDA-supply = <®_2p5v>;
234 VDDIO-supply = <®_3p3v>;
239 fsl,lradc-touchscreen-wires = <4>;
248 compatible = "w1-gpio";
249 gpios = <&gpio2 7 1>;
253 pinctrl-names = "default";
254 pinctrl-0 = <&pwm0_pins_a>;
258 /* 1st TX-Std UART - (D)UART */
259 duart: serial@80074000 {
260 pinctrl-names = "default";
261 pinctrl-0 = <&duart_4pins_a>;
265 /* 2nd TX-Std UART - (A)UART1 */
266 auart1: serial@8006c000 {
267 pinctrl-names = "default";
268 pinctrl-0 = <&auart1_pins_a>;
272 /* 3th TX-Std UART - (A)UART3 */
273 auart3: serial@80070000 {
274 pinctrl-names = "default";
275 pinctrl-0 = <&auart3_pins_a>;
279 usbphy0: usbphy@8007c000 {
283 usbphy1: usbphy@8007e000 {
290 /* row/col 0,1 are mapped to KPP row/col 6,7 */
292 0x06060074 /* row 6, col 6, KEY_POWER */
293 0x06070052 /* row 6, col 7, KEY_KP0 */
294 0x0602004f /* row 6, col 2, KEY_KP1 */
295 0x06030050 /* row 6, col 3, KEY_KP2 */
296 0x07060051 /* row 7, col 6, KEY_KP3 */
297 0x0707004b /* row 7, col 7, KEY_KP4 */
298 0x0702004c /* row 7, col 2, KEY_KP5 */
299 0x0703004d /* row 7, col 3, KEY_KP6 */
300 0x02060047 /* row 2, col 6, KEY_KP7 */
301 0x02070048 /* row 2, col 7, KEY_KP8 */
302 0x02020049 /* row 2, col 2, KEY_KP9 */
311 vbus-supply = <®_usb0_vbus>;
312 pinctrl-names = "default";
313 pinctrl-0 = <&usbphy0_pins_c>;
314 disable-over-current;
319 /* OTG port - host mode */
321 vbus-supply = <®_usb1_vbus>;
322 pinctrl-names = "default";
323 pinctrl-0 = <&usbphy1_pins_b>;
324 disable-over-current;
329 mac0: ethernet@800f0000 {
331 pinctrl-names = "default", "gpio_mode";
332 pinctrl-0 = <&mac0_pins_a>;
333 pinctrl-1 = <&mac0_pins_gpio>;
339 compatible = "simple-bus";
341 reg_usb0_vbus: usb0_vbus {
342 compatible = "regulator-fixed";
343 regulator-name = "usb0_vbus";
344 regulator-min-microvolt = <5000000>;
345 regulator-max-microvolt = <5000000>;
346 gpio = <&gpio3 27 0>;
350 reg_usb1_vbus: usb1_vbus {
351 compatible = "regulator-fixed";
352 regulator-name = "usb1_vbus";
353 regulator-min-microvolt = <5000000>;
354 regulator-max-microvolt = <5000000>;
355 gpio = <&gpio0 18 0>;
360 compatible = "regulator-fixed";
361 regulator-name = "2P5V";
362 regulator-min-microvolt = <2500000>;
363 regulator-max-microvolt = <2500000>;
368 compatible = "regulator-fixed";
369 regulator-name = "3P3V";
370 regulator-min-microvolt = <3300000>;
371 regulator-max-microvolt = <3300000>;
377 compatible = "gpio-switches", "simple-bus";
378 #address-cells = <1>;
381 edt_ft5x06_reset: gpio-switch@0 {
382 compatible = "linux,gpio-switch";
384 label = "EDT-FT5x06 RESET";
387 edt_ft5x06_wake: gpio-switch@1 {
388 compatible = "linux,gpio-switch";
390 label = "EDT-FT5x06 WAKE";
394 edt_ft5x06_irq: gpio-switch@2 {
395 compatible = "linux,gpio-switch";
397 label = "EDT-FT5x06 IRQ";
403 compatible = "gpio-leds";
407 gpios = <&gpio4 10 0>;
408 linux,default-trigger = "heartbeat";
414 compatible = "pwm-backlight";
415 pwms = <&pwm 0 5000000>;
416 brightness-levels = <0 4 8 16 32 64 128 255>;
417 default-brightness-level = <6>;