1 // SPDX-License-Identifier: GPL-2.0
3 * Common support for omap3 EVM boards
6 #include <dt-bindings/input/input.h>
7 #include "omap-gpmc-smsc911x.dtsi"
16 /* HS USB Port 2 Power */
17 hsusb2_power: hsusb2_power_reg {
18 compatible = "regulator-fixed";
19 regulator-name = "hsusb2_vbus";
20 regulator-min-microvolt = <3300000>;
21 regulator-max-microvolt = <3300000>;
22 gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>; /* gpio_22 */
23 startup-delay-us = <70000>;
27 /* HS USB Host PHY on PORT 2 */
28 hsusb2_phy: hsusb2_phy {
29 compatible = "usb-nop-xceiv";
30 reset-gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
31 vcc-supply = <&hsusb2_power>;
36 compatible = "gpio-leds";
38 label = "omap3evm::ledb";
39 gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
40 linux,default-trigger = "default-on";
44 wl12xx_vmmc: wl12xx_vmmc {
45 compatible = "regulator-fixed";
46 regulator-name = "vwl1271";
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <1800000>;
49 gpio = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* gpio150 */
50 startup-delay-us = <70000>;
52 vin-supply = <&vmmc2>;
57 clock-frequency = <2600000>;
61 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
62 interrupt-parent = <&intc>;
66 #include "twl4030.dtsi"
67 #include "twl4030_omap3.dtsi"
68 #include "omap3-panel-sharp-ls037v7dw01.dtsi"
71 gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>;
76 compatible = "ti,twl4030-power-omap3-evm", "ti,twl4030-power-idle";
82 clock-frequency = <400000>;
86 clock-frequency = <400000>;
89 * TVP5146 Video decoder-in for analog input support.
92 compatible = "ti,tvp5146m2";
98 gpio = <&gpio5 25 GPIO_ACTIVE_LOW>; /* gpio153 */
102 enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */
103 reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */
104 mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */
105 &gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */
106 &gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */
111 interrupt-parent = <&gpio6>;
112 interrupts = <15 0>; /* gpio175 */
113 pendown-gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>;
118 interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>;
119 vmmc-supply = <&vmmc1>;
120 vqmmc-supply = <&vsim>;
125 interrupts-extended = <&intc 86 &omap3_pmx_core 0x12e>;
126 vmmc-supply = <&wl12xx_vmmc>;
131 #address-cells = <1>;
134 compatible = "ti,wl1271";
136 /* gpio_149 with uart1_rts pad as wakeirq */
137 interrupts-extended = <&gpio5 21 IRQ_TYPE_EDGE_RISING>,
138 <&omap3_pmx_core 0x14e>;
139 interrupt-names = "irq", "wakeup";
140 ref-clock-frequency = <38400000>;
150 MATRIX_KEY(2, 2, KEY_1)
151 MATRIX_KEY(1, 1, KEY_2)
152 MATRIX_KEY(0, 0, KEY_3)
153 MATRIX_KEY(3, 2, KEY_4)
154 MATRIX_KEY(2, 1, KEY_5)
155 MATRIX_KEY(1, 0, KEY_6)
156 MATRIX_KEY(1, 3, KEY_7)
157 MATRIX_KEY(3, 1, KEY_8)
158 MATRIX_KEY(2, 0, KEY_9)
159 MATRIX_KEY(2, 3, KEY_KPASTERISK)
160 MATRIX_KEY(0, 2, KEY_0)
161 MATRIX_KEY(3, 0, KEY_KPDOT)
163 MATRIX_KEY(1, 2, KEY_BACKSPACE)
164 MATRIX_KEY(0, 1, KEY_ENTER)
169 port2-mode = "ehci-phy";
173 phys = <0 &hsusb2_phy>;
177 interface-type = <0>;
178 usb-phy = <&usb2_phy>;
180 phy-names = "usb2-phy";
187 interrupt-parent = <&gpio6>;
194 regulator-name = "usb_1v8";
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1800000>;