2013-10-15 02:31:42 +08:00
|
|
|
/*
|
|
|
|
* Common support for omap3 EVM boards
|
|
|
|
*/
|
|
|
|
|
2014-11-06 01:21:23 +08:00
|
|
|
#include <dt-bindings/input/input.h>
|
2013-10-15 02:31:43 +08:00
|
|
|
#include "omap-gpmc-smsc911x.dtsi"
|
|
|
|
|
2013-10-15 02:31:42 +08:00
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
cpu@0 {
|
|
|
|
cpu0-supply = <&vcc>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
ledb {
|
|
|
|
label = "omap3evm::ledb";
|
|
|
|
gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
|
|
|
|
linux,default-trigger = "default-on";
|
|
|
|
};
|
|
|
|
};
|
2013-10-15 02:31:43 +08:00
|
|
|
|
|
|
|
wl12xx_vmmc: wl12xx_vmmc {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vwl1271";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
gpio = <&gpio5 22 0>; /* gpio150 */
|
|
|
|
startup-delay-us = <70000>;
|
|
|
|
enable-active-high;
|
|
|
|
vin-supply = <&vmmc2>;
|
|
|
|
};
|
2013-10-15 02:31:42 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
clock-frequency = <2600000>;
|
|
|
|
|
|
|
|
twl: twl@48 {
|
|
|
|
reg = <0x48>;
|
|
|
|
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "twl4030.dtsi"
|
|
|
|
#include "twl4030_omap3.dtsi"
|
2014-05-14 05:32:05 +08:00
|
|
|
#include "omap3-panel-sharp-ls037v7dw01.dtsi"
|
|
|
|
|
|
|
|
&backlight0 {
|
|
|
|
gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
2013-10-15 02:31:42 +08:00
|
|
|
|
2014-06-16 16:10:22 +08:00
|
|
|
&twl {
|
|
|
|
twl_power: power {
|
|
|
|
compatible = "ti,twl4030-power-omap3-evm", "ti,twl4030-power-idle";
|
|
|
|
ti,use_poweroff;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-10-15 02:31:42 +08:00
|
|
|
&i2c2 {
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c3 {
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* TVP5146 Video decoder-in for analog input support.
|
|
|
|
*/
|
|
|
|
tvp5146@5c {
|
|
|
|
compatible = "ti,tvp5146m2";
|
|
|
|
reg = <0x5c>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-05-14 05:32:05 +08:00
|
|
|
&lcd_3v3 {
|
|
|
|
gpio = <&gpio5 25 GPIO_ACTIVE_LOW>; /* gpio153 */
|
|
|
|
enable-active-low;
|
|
|
|
};
|
|
|
|
|
|
|
|
&lcd0 {
|
|
|
|
enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */
|
|
|
|
reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */
|
|
|
|
mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */
|
|
|
|
&gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */
|
|
|
|
&gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */
|
|
|
|
};
|
|
|
|
|
|
|
|
&mcspi1 {
|
|
|
|
tsc2046@0 {
|
|
|
|
interrupt-parent = <&gpio6>;
|
|
|
|
interrupts = <15 0>; /* gpio175 */
|
|
|
|
pendown-gpio = <&gpio6 15 0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-10-15 02:31:43 +08:00
|
|
|
&mmc1 {
|
|
|
|
vmmc-supply = <&vmmc1>;
|
|
|
|
vmmc_aux-supply = <&vsim>;
|
|
|
|
bus-width = <8>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mmc2 {
|
|
|
|
vmmc-supply = <&wl12xx_vmmc>;
|
|
|
|
non-removable;
|
|
|
|
bus-width = <4>;
|
|
|
|
cap-power-off-card;
|
|
|
|
};
|
|
|
|
|
2013-10-15 02:31:42 +08:00
|
|
|
&twl_gpio {
|
|
|
|
ti,use-leds;
|
|
|
|
};
|
|
|
|
|
2014-11-06 01:21:23 +08:00
|
|
|
&twl_keypad {
|
|
|
|
linux,keymap = <
|
|
|
|
MATRIX_KEY(2, 2, KEY_1)
|
|
|
|
MATRIX_KEY(1, 1, KEY_2)
|
|
|
|
MATRIX_KEY(0, 0, KEY_3)
|
|
|
|
MATRIX_KEY(3, 2, KEY_4)
|
|
|
|
MATRIX_KEY(2, 1, KEY_5)
|
|
|
|
MATRIX_KEY(1, 0, KEY_6)
|
|
|
|
MATRIX_KEY(1, 3, KEY_7)
|
|
|
|
MATRIX_KEY(3, 1, KEY_8)
|
|
|
|
MATRIX_KEY(2, 0, KEY_9)
|
|
|
|
MATRIX_KEY(2, 3, KEY_KPASTERISK)
|
|
|
|
MATRIX_KEY(0, 2, KEY_0)
|
|
|
|
MATRIX_KEY(3, 0, KEY_KPDOT)
|
|
|
|
/* s4 not wired */
|
|
|
|
MATRIX_KEY(1, 2, KEY_BACKSPACE)
|
|
|
|
MATRIX_KEY(0, 1, KEY_ENTER)
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2013-10-15 02:31:42 +08:00
|
|
|
&usb_otg_hs {
|
|
|
|
interface-type = <0>;
|
|
|
|
usb-phy = <&usb2_phy>;
|
2013-11-11 16:34:56 +08:00
|
|
|
phys = <&usb2_phy>;
|
|
|
|
phy-names = "usb2-phy";
|
2013-10-15 02:31:42 +08:00
|
|
|
mode = <3>;
|
|
|
|
power = <50>;
|
|
|
|
};
|
2013-10-15 02:31:43 +08:00
|
|
|
|
|
|
|
&gpmc {
|
|
|
|
ethernet@gpmc {
|
|
|
|
interrupt-parent = <&gpio6>;
|
|
|
|
interrupts = <16 8>;
|
|
|
|
reg = <5 0 0xff>;
|
|
|
|
};
|
|
|
|
};
|