ASoC: tlv320aic23: Convert to params_width()
[cascardo/linux.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 &i2c2 {
54         clock-frequency = <400000>;
55 };
56
57 &i2c3 {
58         clock-frequency = <400000>;
59
60         /*
61          * TVP5146 Video decoder-in for analog input support.
62          */
63         tvp5146@5c {
64                 compatible = "ti,tvp5146m2";
65                 reg = <0x5c>;
66         };
67 };
68
69 &lcd_3v3 {
70         gpio = <&gpio5 25 GPIO_ACTIVE_LOW>;     /* gpio153 */
71         enable-active-low;
72 };
73
74 &lcd0 {
75         enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>;    /* gpio152, lcd INI */
76         reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;     /* gpio155, lcd RESB */
77         mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH        /* gpio154, lcd MO */
78                       &gpio1 2 GPIO_ACTIVE_HIGH         /* gpio2, lcd LR */
79                       &gpio1 3 GPIO_ACTIVE_HIGH>;       /* gpio3, lcd UD */
80 };
81
82 &mcspi1 {
83         tsc2046@0 {
84                 interrupt-parent = <&gpio6>;
85                 interrupts = <15 0>;            /* gpio175 */
86                 pendown-gpio = <&gpio6 15 0>;
87         };
88 };
89
90 &mmc1 {
91         vmmc-supply = <&vmmc1>;
92         vmmc_aux-supply = <&vsim>;
93         bus-width = <8>;
94 };
95
96 &mmc2 {
97         vmmc-supply = <&wl12xx_vmmc>;
98         non-removable;
99         bus-width = <4>;
100         cap-power-off-card;
101 };
102
103 &twl_gpio {
104         ti,use-leds;
105 };
106
107 &usb_otg_hs {
108         interface-type = <0>;
109         usb-phy = <&usb2_phy>;
110         phys = <&usb2_phy>;
111         phy-names = "usb2-phy";
112         mode = <3>;
113         power = <50>;
114 };
115
116 &gpmc {
117         ethernet@gpmc {
118                 interrupt-parent = <&gpio6>;
119                 interrupts = <16 8>;
120                 reg = <5 0 0xff>;
121         };
122 };