ARM: dts: Change I2C2 and I2C3 to 400KHz for LogicPD Torpedo DM3730 devkit
[deliverable/linux.git] / arch / arm / boot / dts / logicpd-torpedo-37xx-devkit.dts
CommitLineData
687c2767
TL
1/*
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.
5 */
6
7/dts-v1/;
8
9#include "omap36xx.dtsi"
10#include "logicpd-torpedo-som.dtsi"
11#include "omap-gpmc-smsc9221.dtsi"
12
13/ {
14 model = "LogicPD Zoom DM3730 Torpedo Development Kit";
57df5380 15 compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3";
687c2767
TL
16
17 gpio_keys {
18 compatible = "gpio-keys";
19 pinctrl-names = "default";
20 pinctrl-0 = <&gpio_key_pins &gpio_key_pins_wkup>;
21
22 sysboot2 {
23 label = "sysboot2";
24 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; /* gpio2 */
25 linux,code = <BTN_0>;
26 gpio-key,wakeup;
27 };
28
29 sysboot5 {
30 label = "sysboot5";
31 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; /* gpio7 */
32 linux,code = <BTN_1>;
33 gpio-key,wakeup;
34 };
35
36 gpio1 {
37 label = "gpio1";
38 gpios = <&gpio6 21 GPIO_ACTIVE_LOW>; /* gpio181 */
39 linux,code = <BTN_2>;
40 gpio-key,wakeup;
41 };
42
43 gpio2 {
44 label = "gpio2";
45 gpios = <&gpio6 18 GPIO_ACTIVE_LOW>; /* gpio178 */
46 linux,code = <BTN_3>;
47 gpio-key,wakeup;
48 };
49 };
50
f81902e4
AF
51 sound {
52 compatible = "ti,omap-twl4030";
53 ti,model = "omap3logic";
54 ti,mcbsp = <&mcbsp2>;
55 };
56
687c2767
TL
57 leds {
58 compatible = "gpio-leds";
59 pinctrl-names = "default";
60 pinctrl-0 = <&led_pins>;
61
62 led1 {
63 label = "led1";
64 gpios = <&gpio6 20 GPIO_ACTIVE_HIGH>; /* gpio180 */
65 linux,default-trigger = "cpu0";
66 };
67
68 led2 {
69 label = "led2";
70 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>; /* gpio179 */
71 linux,default-trigger = "none";
72 };
73 };
74};
75
f81902e4
AF
76&mcbsp2 {
77 status = "okay";
78};
79
687c2767
TL
80&charger {
81 ti,bb-uvolt = <3200000>;
82 ti,bb-uamp = <150>;
83};
84
85&gpmc {
86 ranges = <1 0 0x08000000 0x1000000>; /* CS1: 16MB for LAN9221 */
87
88 ethernet@gpmc {
89 pinctrl-names = "default";
90 pinctrl-0 = <&lan9221_pins>;
91 interrupt-parent = <&gpio5>;
92 interrupts = <1 IRQ_TYPE_LEVEL_LOW>; /* gpio129 */
93 reg = <1 0 0xff>;
94 };
95};
96
97&mmc1 {
98 interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&mmc1_pins &mmc1_cd>;
101 cd-gpios = <&gpio4 31 IRQ_TYPE_LEVEL_LOW>; /* gpio127 */
102 vmmc-supply = <&vmmc1>;
103 bus-width = <4>;
104 cap-power-off-card;
105};
106
107&omap3_pmx_core {
108 gpio_key_pins: pinmux_gpio_key_pins {
109 pinctrl-single,pins = <
110 OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLUP | MUX_MODE4) /* mcspi2_clk.gpio_178 */
111 OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLUP | MUX_MODE4) /* mcspi2_cs0.gpio_181 */
112 >;
113 };
114
115 led_pins: pinmux_led_pins {
116 pinctrl-single,pins = <
117 OMAP3_CORE1_IOPAD(0x21d8, PIN_OUTPUT | MUX_MODE4) /* gpio_179 */
118 OMAP3_CORE1_IOPAD(0x21da, PIN_OUTPUT | MUX_MODE4) /* gpio_180 */
119 >;
120 };
121
122 mmc1_pins: pinmux_mmc1_pins {
123 pinctrl-single,pins = <
124 OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
125 OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
126 OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
127 OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
128 OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
129 OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
130 >;
131 };
132};
133
134&omap3_pmx_wkup {
135 gpio_key_pins_wkup: pinmux_gpio_key_pins_wkup {
136 pinctrl-single,pins = <
137 OMAP3_WKUP_IOPAD(0x2a0a, PIN_INPUT_PULLUP | MUX_MODE4) /* sys_boot0.gpio_2 */
138 OMAP3_WKUP_IOPAD(0x2a14, PIN_INPUT_PULLUP | MUX_MODE4) /* sys_boot5.gpio_7 */
139 >;
140 };
141
142 lan9221_pins: pinmux_lan9221_pins {
143 pinctrl-single,pins = <
144 OMAP3_WKUP_IOPAD(0x2a5a, PIN_INPUT | MUX_MODE4) /* reserved.gpio_129 */
145 >;
146 };
147
148 mmc1_cd: pinmux_mmc1_cd {
149 pinctrl-single,pins = <
150 OMAP3_WKUP_IOPAD(0x2a54, PIN_INPUT_PULLUP | MUX_MODE4) /* reserved.gpio_127 */
151 >;
152 };
153};
154
155&uart1 {
156 interrupts-extended = <&intc 72 &omap3_pmx_core OMAP3_UART1_RX>;
157};
158
159/* Wired to the tps65950 on the SOM, only the USB connector is on the devkit */
160&usb_otg_hs {
161 interface-type = <0>;
162 usb-phy = <&usb2_phy>;
163 phys = <&usb2_phy>;
164 phy-names = "usb2-phy";
165 mode = <3>;
166 power = <50>;
167};
This page took 0.059714 seconds and 5 git commands to generate.