Commit | Line | Data |
---|---|---|
9ad1df2b | 1 | /* |
9aa36dfd | 2 | * Device Tree Source for IGEP COM MODULE (TI OMAP AM/DM37x) |
9ad1df2b JMC |
3 | * |
4 | * Copyright (C) 2012 Javier Martinez Canillas <javier@collabora.co.uk> | |
5 | * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com> | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License version 2 as | |
9 | * published by the Free Software Foundation. | |
10 | */ | |
11 | ||
98ef7957 | 12 | #include "omap3-igep.dtsi" |
9ad1df2b JMC |
13 | |
14 | / { | |
9aa36dfd | 15 | model = "IGEP COM MODULE (TI OMAP AM/DM37x)"; |
fb0cfecf | 16 | compatible = "isee,omap3-igep0030", "ti,omap36xx", "ti,omap3"; |
9ad1df2b JMC |
17 | |
18 | leds { | |
78132036 JMC |
19 | pinctrl-names = "default"; |
20 | pinctrl-0 = <&leds_pins>; | |
9ad1df2b | 21 | compatible = "gpio-leds"; |
78132036 | 22 | |
9ad1df2b JMC |
23 | boot { |
24 | label = "omap3:green:boot"; | |
6d624eab | 25 | gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>; |
9ad1df2b JMC |
26 | default-state = "on"; |
27 | }; | |
28 | ||
29 | user0 { | |
30 | label = "omap3:red:user0"; | |
6d624eab | 31 | gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */ |
9ad1df2b JMC |
32 | default-state = "off"; |
33 | }; | |
34 | ||
35 | user1 { | |
36 | label = "omap3:green:user1"; | |
6d624eab | 37 | gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; /* LEDB */ |
9ad1df2b JMC |
38 | default-state = "off"; |
39 | }; | |
40 | ||
41 | user2 { | |
42 | label = "omap3:red:user1"; | |
6d624eab | 43 | gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; |
9ad1df2b JMC |
44 | default-state = "off"; |
45 | }; | |
46 | }; | |
47 | }; | |
bc6b820d | 48 | |
86f9abb6 EBS |
49 | &omap3_pmx_core { |
50 | uart2_pins: pinmux_uart2_pins { | |
51 | pinctrl-single,pins = < | |
52 | OMAP3_CORE1_IOPAD(0x216c, PIN_INPUT | MUX_MODE1) /* mcbsp3_dx.uart2_cts */ | |
53 | OMAP3_CORE1_IOPAD(0x216e, PIN_OUTPUT | MUX_MODE1) /* mcbsp3_dr.uart2_rts */ | |
54 | OMAP3_CORE1_IOPAD(0x2170, PIN_OUTPUT | MUX_MODE1) /* mcbsp3_clk.uart2_tx */ | |
55 | OMAP3_CORE1_IOPAD(0x2172, PIN_INPUT | MUX_MODE1) /* mcbsp3_fsx.uart2_rx */ | |
56 | >; | |
57 | }; | |
58 | }; | |
59 | ||
3d495383 LP |
60 | &omap3_pmx_core2 { |
61 | leds_pins: pinmux_leds_pins { | |
62 | pinctrl-single,pins = < | |
63 | OMAP3630_CORE2_IOPAD(0x25e0, PIN_OUTPUT | MUX_MODE4) /* etk_d2.gpio_16 */ | |
64 | >; | |
65 | }; | |
78132036 JMC |
66 | }; |
67 | ||
86f9abb6 EBS |
68 | &uart2 { |
69 | pinctrl-names = "default"; | |
70 | pinctrl-0 = <&uart2_pins>; | |
71 | }; |