blob: d7e32fa5d905143c6f8ac1bc9feb96e20411b392 [file] [log] [blame]
Thierry Reding731fb452012-09-20 17:06:08 +02001/dts-v1/;
2
Stephen Warren1bd0bd42012-10-17 16:38:21 -06003#include "tegra20-tamonten.dtsi"
Thierry Reding731fb452012-09-20 17:06:08 +02004
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 */
Stephen Warrenf9cd2b32013-03-26 16:45:52 -060061
Prashant Gaikwad1071b2d2013-04-04 14:35:04 +053062 clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 94>;
Stephen Warrenf9cd2b32013-03-26 16:45:52 -060063 clock-names = "pll_a", "pll_a_out0", "mclk";
Thierry Reding731fb452012-09-20 17:06:08 +020064 };
65};