2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License version 2 as
4 * published by the Free Software Foundation.
9 #include "omap36xx.dtsi"
10 #include "logicpd-torpedo-som.dtsi"
11 #include "omap-gpmc-smsc9221.dtsi"
14 model = "LogicPD Zoom DM3730 Torpedo Development Kit";
15 compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3";
18 compatible = "gpio-keys";
19 pinctrl-names = "default";
20 pinctrl-0 = <&gpio_key_pins &gpio_key_pins_wkup>;
24 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; /* gpio2 */
31 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; /* gpio7 */
38 gpios = <&gpio6 21 GPIO_ACTIVE_LOW>; /* gpio181 */
45 gpios = <&gpio6 18 GPIO_ACTIVE_LOW>; /* gpio178 */
52 compatible = "gpio-leds";
53 pinctrl-names = "default";
54 pinctrl-0 = <&led_pins>;
58 gpios = <&gpio6 20 GPIO_ACTIVE_HIGH>; /* gpio180 */
59 linux,default-trigger = "cpu0";
64 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>; /* gpio179 */
65 linux,default-trigger = "none";
71 ti,bb-uvolt = <3200000>;
76 ranges = <1 0 0x08000000 0x1000000>; /* CS1: 16MB for LAN9221 */
79 pinctrl-names = "default";
80 pinctrl-0 = <&lan9221_pins>;
81 interrupt-parent = <&gpio5>;
82 interrupts = <1 IRQ_TYPE_LEVEL_LOW>; /* gpio129 */
88 interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&mmc1_pins &mmc1_cd>;
91 cd-gpios = <&gpio4 31 IRQ_TYPE_LEVEL_LOW>; /* gpio127 */
92 vmmc-supply = <&vmmc1>;
98 gpio_key_pins: pinmux_gpio_key_pins {
99 pinctrl-single,pins = <
100 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLUP | MUX_MODE4) /* mcspi2_clk.gpio_178 */
101 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLUP | MUX_MODE4) /* mcspi2_cs0.gpio_181 */
105 led_pins: pinmux_led_pins {
106 pinctrl-single,pins = <
107 OMAP3_CORE1_IOPAD(0x21d8, PIN_OUTPUT | MUX_MODE4) /* gpio_179 */
108 OMAP3_CORE1_IOPAD(0x21da, PIN_OUTPUT | MUX_MODE4) /* gpio_180 */
112 mmc1_pins: pinmux_mmc1_pins {
113 pinctrl-single,pins = <
114 OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
115 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
116 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
117 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
118 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
119 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
125 gpio_key_pins_wkup: pinmux_gpio_key_pins_wkup {
126 pinctrl-single,pins = <
127 OMAP3_WKUP_IOPAD(0x2a0a, PIN_INPUT_PULLUP | MUX_MODE4) /* sys_boot0.gpio_2 */
128 OMAP3_WKUP_IOPAD(0x2a14, PIN_INPUT_PULLUP | MUX_MODE4) /* sys_boot5.gpio_7 */
132 lan9221_pins: pinmux_lan9221_pins {
133 pinctrl-single,pins = <
134 OMAP3_WKUP_IOPAD(0x2a5a, PIN_INPUT | MUX_MODE4) /* reserved.gpio_129 */
138 mmc1_cd: pinmux_mmc1_cd {
139 pinctrl-single,pins = <
140 OMAP3_WKUP_IOPAD(0x2a54, PIN_INPUT_PULLUP | MUX_MODE4) /* reserved.gpio_127 */
146 interrupts-extended = <&intc 72 &omap3_pmx_core OMAP3_UART1_RX>;
149 /* Wired to the tps65950 on the SOM, only the USB connector is on the devkit */
151 interface-type = <0>;
152 usb-phy = <&usb2_phy>;
154 phy-names = "usb2-phy";