Merge branch 'for-3.17/drivers' of git://git.kernel.dk/linux-block
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / omap3-evm-common.dtsi
1 /*
2  * Common support for omap3 EVM boards
3  */
4
5 #include "omap-gpmc-smsc911x.dtsi"
6
7 / {
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         };
22
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         };
33 };
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"
47 #include "omap3-panel-sharp-ls037v7dw01.dtsi"
48
49 &backlight0 {
50         gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>;
51 };
52
53 &twl {
54         twl_power: power {
55                 compatible = "ti,twl4030-power-omap3-evm", "ti,twl4030-power-idle";
56                 ti,use_poweroff;
57         };
58 };
59
60 &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
76 &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
97 &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
110 &twl_gpio {
111         ti,use-leds;
112 };
113
114 &usb_otg_hs {
115         interface-type = <0>;
116         usb-phy = <&usb2_phy>;
117         phys = <&usb2_phy>;
118         phy-names = "usb2-phy";
119         mode = <3>;
120         power = <50>;
121 };
122
123 &gpmc {
124         ethernet@gpmc {
125                 interrupt-parent = <&gpio6>;
126                 interrupts = <16 8>;
127                 reg = <5 0 0xff>;
128         };
129 };