blob: 52993a1d181f2e082fa47693de49c5eccacc3924 [file] [log] [blame]
Thierry Reding731fb452012-09-20 17:06:08 +02001/dts-v1/;
2
3/include/ "tegra20-tamonten.dtsi"
4
5/ {
6 model = "Avionic Design Medcom-Wide board";
7 compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";
8
Andrew Chewb69cd982013-03-12 16:40:51 -07009 pwm {
10 status = "okay";
11 };
12
Thierry Reding731fb452012-09-20 17:06:08 +020013 i2c@7000c000 {
14 wm8903: wm8903@1a {
15 compatible = "wlf,wm8903";
16 reg = <0x1a>;
17 interrupt-parent = <&gpio>;
18 interrupts = <187 0x04>;
19
20 gpio-controller;
21 #gpio-cells = <2>;
22
23 micdet-cfg = <0>;
24 micdet-delay = <100>;
25 gpio-cfg = <0xffffffff
26 0xffffffff
27 0
28 0xffffffff
29 0xffffffff>;
30 };
31 };
32
33 backlight {
34 compatible = "pwm-backlight";
35 pwms = <&pwm 0 5000000>;
36
37 brightness-levels = <0 4 8 16 32 64 128 255>;
38 default-brightness-level = <6>;
39 };
40
41 sound {
42 compatible = "ad,tegra-audio-wm8903-medcom-wide",
43 "nvidia,tegra-audio-wm8903";
44 nvidia,model = "Avionic Design Medcom-Wide";
45
46 nvidia,audio-routing =
47 "Headphone Jack", "HPOUTR",
48 "Headphone Jack", "HPOUTL",
49 "Int Spk", "ROP",
50 "Int Spk", "RON",
51 "Int Spk", "LOP",
52 "Int Spk", "LON",
53 "Mic Jack", "MICBIAS",
54 "IN1L", "Mic Jack";
55
56 nvidia,i2s-controller = <&tegra_i2s1>;
57 nvidia,audio-codec = <&wm8903>;
58
59 nvidia,spkr-en-gpios = <&wm8903 2 0>;
60 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
61 };
62};