blob: c8747c7f1cc8fb66404639e1eb24a61d28e4e1de [file] [log] [blame]
Tony Lindgren465ce682013-10-14 11:31:42 -07001/*
2 * Common support for omap3 EVM boards
3 */
4
Tony Lindgren59922342013-10-14 11:31:43 -07005#include "omap-gpmc-smsc911x.dtsi"
6
Tony Lindgren465ce682013-10-14 11:31:42 -07007/ {
8 cpus {
9 cpu@0 {
10 cpu0-supply = <&vcc>;
11 };
12 };
13
14 leds {
15 compatible = "gpio-leds";
16 ledb {
17 label = "omap3evm::ledb";
18 gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
19 linux,default-trigger = "default-on";
20 };
21 };
Tony Lindgren59922342013-10-14 11:31:43 -070022
23 wl12xx_vmmc: wl12xx_vmmc {
24 compatible = "regulator-fixed";
25 regulator-name = "vwl1271";
26 regulator-min-microvolt = <1800000>;
27 regulator-max-microvolt = <1800000>;
28 gpio = <&gpio5 22 0>; /* gpio150 */
29 startup-delay-us = <70000>;
30 enable-active-high;
31 vin-supply = <&vmmc2>;
32 };
Tony Lindgren465ce682013-10-14 11:31:42 -070033};
34
35&i2c1 {
36 clock-frequency = <2600000>;
37
38 twl: twl@48 {
39 reg = <0x48>;
40 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
41 interrupt-parent = <&intc>;
42 };
43};
44
45#include "twl4030.dtsi"
46#include "twl4030_omap3.dtsi"
Tony Lindgrenbc10f312014-05-13 14:32:05 -070047#include "omap3-panel-sharp-ls037v7dw01.dtsi"
48
49&backlight0 {
50 gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>;
51};
Tony Lindgren465ce682013-10-14 11:31:42 -070052
Tony Lindgren91888832014-06-16 01:10:22 -070053&twl {
54 twl_power: power {
55 compatible = "ti,twl4030-power-omap3-evm", "ti,twl4030-power-idle";
56 ti,use_poweroff;
57 };
58};
59
Tony Lindgren465ce682013-10-14 11:31:42 -070060&i2c2 {
61 clock-frequency = <400000>;
62};
63
64&i2c3 {
65 clock-frequency = <400000>;
66
67 /*
68 * TVP5146 Video decoder-in for analog input support.
69 */
70 tvp5146@5c {
71 compatible = "ti,tvp5146m2";
72 reg = <0x5c>;
73 };
74};
75
Tony Lindgrenbc10f312014-05-13 14:32:05 -070076&lcd_3v3 {
77 gpio = <&gpio5 25 GPIO_ACTIVE_LOW>; /* gpio153 */
78 enable-active-low;
79};
80
81&lcd0 {
82 enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */
83 reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */
84 mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */
85 &gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */
86 &gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */
87};
88
89&mcspi1 {
90 tsc2046@0 {
91 interrupt-parent = <&gpio6>;
92 interrupts = <15 0>; /* gpio175 */
93 pendown-gpio = <&gpio6 15 0>;
94 };
95};
96
Tony Lindgren59922342013-10-14 11:31:43 -070097&mmc1 {
98 vmmc-supply = <&vmmc1>;
99 vmmc_aux-supply = <&vsim>;
100 bus-width = <8>;
101};
102
103&mmc2 {
104 vmmc-supply = <&wl12xx_vmmc>;
105 non-removable;
106 bus-width = <4>;
107 cap-power-off-card;
108};
109
Tony Lindgren465ce682013-10-14 11:31:42 -0700110&twl_gpio {
111 ti,use-leds;
112};
113
114&usb_otg_hs {
115 interface-type = <0>;
116 usb-phy = <&usb2_phy>;
Linus Torvaldsf9efbce2013-11-11 17:34:56 +0900117 phys = <&usb2_phy>;
118 phy-names = "usb2-phy";
Tony Lindgren465ce682013-10-14 11:31:42 -0700119 mode = <3>;
120 power = <50>;
121};
Tony Lindgren59922342013-10-14 11:31:43 -0700122
123&gpmc {
124 ethernet@gpmc {
125 interrupt-parent = <&gpio6>;
126 interrupts = <16 8>;
127 reg = <5 0 0xff>;
128 };
129};