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 TX28 module";
17 compatible = "karo,tx28", "fsl,imx28";
39 compatible = "fsl,imx28-mmc";
40 pinctrl-names = "default";
41 pinctrl-0 = <&mmc0_4bit_pins_a
49 pinctrl-names = "default";
50 pinctrl-0 = <&hog_pins_a>;
52 hog_pins_a: hog-gpios@1 {
55 0x31b3 /* MX28_PAD_SPDIF__GPIO_3_27 */
57 fsl,drive-strength = <0>;
62 hog_pins_stk_v3_led: hog-gpios@0 {
65 0x40a3 /* MX28_PAD_ENET0_RXD3__GPIO_4_10 */
67 fsl,drive-strength = <0>;
72 mac0_pins_gpio: mac0-gpio-mode@0 {
75 0x4003 /* MX28_PAD_ENET0_MDC__GPIO_4_0 */
76 0x4013 /* MX28_PAD_ENET0_MDIO__GPIO_4_1 */
77 0x4023 /* MX28_PAD_ENET0_RX_EN__GPIO_4_2 */
78 0x4033 /* MX28_PAD_ENET0_RXD0__GPIO_4_3 */
79 0x4043 /* MX28_PAD_ENET0_RXD1__GPIO_4_4 */
80 0x4063 /* MX28_PAD_ENET0_TX_EN__GPIO_4_6 */
81 0x4073 /* MX28_PAD_ENET0_TXD0__GPIO_4_7 */
82 0x4083 /* MX28_PAD_ENET0_TXD1__GPIO_4_8 */
83 0x4103 /* MX28_PAD_ENET_CLK__GPIO_4_16 */
85 fsl,drive-strength = <0>;
90 lcdif_pins_tx28: lcdif-tx28@0 {
92 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
93 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
94 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
95 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
97 fsl,drive-strength = <0>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&lcdif_24bit_pins_a
114 pinctrl-names = "default";
115 pinctrl-0 = <&can0_pins_a>;
116 transceiver-switch = <&flexcan_transceiver>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&can1_pins_a>;
124 transceiver-switch = <&flexcan_transceiver>;
129 saif0: saif@80042000 {
132 pinctrl-names = "default";
133 pinctrl-0 = <&saif0_pins_a>;
136 saif1: saif@80046000 {
139 pinctrl-names = "default";
140 pinctrl-0 = <&saif1_pins_a>;
141 fsl,saif-master = <&saif0>;
151 clock-frequency = <400000>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&i2c0_pins_a>;
156 compatible = "maxim,ds1339";
160 pca9554: pca953x@20 {
161 compatible = "nxp,pca953x";
163 interrupt-parent = <&gpio3>;
168 compatible = "fsl,sgtl5000";
170 VDDA-supply = <®_2p5v>;
171 VDDIO-supply = <®_3p3v>;
174 touchscreen: tsc2007@48 {
175 compatible = "ti,tsc2007";
177 interrupt-parent = <&gpio3>;
179 pendown-gpio = <&gpio3 20 1>;
181 x-plate-ohms = <660>;
184 polytouch: edt-ft5x06@ {
185 compatible = "edt,edt-ft5x06";
187 interrupt-parent = <&gpio2>;
189 reset-switch = <&edt_ft5x06_reset>;
190 wake-switch = <&edt_ft5x06_wake>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pwm0_pins_a>;
201 auart1: serial@8006c000 {
204 pinctrl-names = "default";
205 pinctrl-0 = <&auart1_pins_a>;
208 auart3: serial@80070000 {
211 pinctrl-names = "default";
212 pinctrl-0 = <&auart3_pins_a>;
215 duart: serial@80074000 {
218 pinctrl-names = "default";
219 pinctrl-0 = <&duart_4pins_a>;
222 usbphy0: usbphy@8007c000 {
226 usbphy1: usbphy@8007e000 {
236 vbus-supply = <®_usb0_vbus>;
237 pinctrl-names = "default";
243 vbus-supply = <®_usb1_vbus>;
244 pinctrl-names = "default";
250 pinctrl-names = "default";
251 pinctrl-0 = <&gpmi_pins_a>;
254 mac0: ethernet@800f0000 {
256 pinctrl-names = "default";
257 pinctrl-0 = <&mac0_pins_a>;
259 mac-address = [000000000000]; /* will be set bootloader */
262 mac1: ethernet@800f4000 {
264 pinctrl-names = "default";
265 pinctrl-0 = <&mac1_pins_a>;
267 mac-address = [000000000000]; /* will be set by bootloader */
272 compatible = "gpio-leds";
276 pinctrl-names = "default";
277 pinctrl-0 = <&hog_pins_stk_v3_led>;
278 gpios = <&gpio4 10 0>;
279 linux,default-trigger = "heartbeat";
284 compatible = "pwm-backlight";
285 pwms = <&pwm 0 5000000>;
286 brightness-levels = <100 95 90 85 80 75 70 65 60 55
287 50 45 40 35 30 25 20 15 10 5 0>;
288 default-brightness-level = <20>;
292 compatible = "gpio-switches", "simple-bus";
293 #address-cells = <1>;
296 flexcan_transceiver: gpio-switch@0 {
297 label = "flexcan transceiver switch";
298 gpios = <&gpio1 0 1>;
302 lcd_power: gpio-switch@1 {
303 compatible = "linux,gpio-switch";
304 gpios = <&gpio1 31 0>;
305 label = "LCD Power Enable";
309 lcd_reset: gpio-switch@2 {
310 compatible = "linux,gpio-switch";
311 gpios = <&gpio3 30 1>;
316 edt_ft5x06_reset: gpio-switch@3 {
317 compatible = "linux,gpio-switch";
318 gpios = <&gpio2 6 1>;
319 label = "EDT-FT5x06 RESET";
322 edt_ft5x06_wake: gpio-switch@4 {
323 compatible = "linux,gpio-switch";
324 gpios = <&gpio4 9 0>;
325 label = "EDT-FT5x06 WAKE";
329 usbotg_vbus: gpio-switch@5 {
330 compatible = "linux,gpio-switch";
331 gpios = <&gpio0 18 0>;
332 label = "USBOTG VBUS";
335 usbh1_vbus: gpio-switch@6 {
336 compatible = "linux,gpio-switch";
337 gpios = <&gpio3 27 0>;
338 label = "USBH1 VBUS";
343 compatible = "simple-bus";
346 compatible = "regulator-fixed";
347 regulator-name = "2P5V";
348 regulator-min-microvolt = <2500000>;
349 regulator-max-microvolt = <2500000>;
354 compatible = "regulator-fixed";
355 regulator-name = "3P3V";
356 regulator-min-microvolt = <3300000>;
357 regulator-max-microvolt = <3300000>;
361 reg_usb0_vbus: usb0_vbus {
362 compatible = "regulator-fixed";
363 regulator-name = "usb0_vbus";
364 regulator-min-microvolt = <5000000>;
365 regulator-max-microvolt = <5000000>;
366 gpio = <&gpio0 18 1>;
369 reg_usb1_vbus: usb1_vbus {
370 compatible = "regulator-fixed";
371 regulator-name = "usb1_vbus";
372 regulator-min-microvolt = <5000000>;
373 regulator-max-microvolt = <5000000>;
374 gpio = <&gpio3 27 1>;