ARM: dts: omap5: Update I2C with address space and interrupts
[linux-2.6.git] / arch / arm / boot / dts / tegra20-medcom-wide.dts
bloba2d6d6541f83ebc8bf3e73d7cff4b0b1848959ef
1 /dts-v1/;
3 /include/ "tegra20-tamonten.dtsi"
5 / {
6         model = "Avionic Design Medcom-Wide board";
7         compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";
9         i2c@7000c000 {
10                 wm8903: wm8903@1a {
11                         compatible = "wlf,wm8903";
12                         reg = <0x1a>;
13                         interrupt-parent = <&gpio>;
14                         interrupts = <187 0x04>;
16                         gpio-controller;
17                         #gpio-cells = <2>;
19                         micdet-cfg = <0>;
20                         micdet-delay = <100>;
21                         gpio-cfg = <0xffffffff
22                                     0xffffffff
23                                     0
24                                     0xffffffff
25                                     0xffffffff>;
26                 };
27         };
29         backlight {
30                 compatible = "pwm-backlight";
31                 pwms = <&pwm 0 5000000>;
33                 brightness-levels = <0 4 8 16 32 64 128 255>;
34                 default-brightness-level = <6>;
35         };
37         sound {
38                 compatible = "ad,tegra-audio-wm8903-medcom-wide",
39                              "nvidia,tegra-audio-wm8903";
40                 nvidia,model = "Avionic Design Medcom-Wide";
42                 nvidia,audio-routing =
43                         "Headphone Jack", "HPOUTR",
44                         "Headphone Jack", "HPOUTL",
45                         "Int Spk", "ROP",
46                         "Int Spk", "RON",
47                         "Int Spk", "LOP",
48                         "Int Spk", "LON",
49                         "Mic Jack", "MICBIAS",
50                         "IN1L", "Mic Jack";
52                 nvidia,i2s-controller = <&tegra_i2s1>;
53                 nvidia,audio-codec = <&wm8903>;
55                 nvidia,spkr-en-gpios = <&wm8903 2 0>;
56                 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
57         };