0318b84cb2074966735d444c86c12d245c8f1155
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / tegra20-medcom-wide.dts
1 /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
9         pwm@7000a000 {
10                 status = "okay";
11         };
12
13         i2c@7000c000 {
14                 wm8903: wm8903@1a {
15                         compatible = "wlf,wm8903";
16                         reg = <0x1a>;
17                         interrupt-parent = <&gpio>;
18                         interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
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 GPIO_ACTIVE_HIGH>;
60                 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
61
62                 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
63                          <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
64                          <&tegra_car TEGRA20_CLK_CDEV1>;
65                 clock-names = "pll_a", "pll_a_out0", "mclk";
66         };
67
68         regulators {
69                 vcc_24v_reg: regulator@100 {
70                         compatible = "regulator-fixed";
71                         reg = <100>;
72                         regulator-name = "vcc_24v";
73                         regulator-min-microvolt = <24000000>;
74                         regulator-max-microvolt = <24000000>;
75                         regulator-always-on;
76                 };
77
78                 vdd_5v0_reg: regulator@101 {
79                         compatible = "regulator-fixed";
80                         reg = <101>;
81                         regulator-name = "vdd_5v0";
82                         vin-supply = <&vcc_24v_reg>;
83                         regulator-min-microvolt = <5000000>;
84                         regulator-max-microvolt = <5000000>;
85                         regulator-always-on;
86                 };
87
88                 vdd_3v3_reg: regulator@102 {
89                         compatible = "regulator-fixed";
90                         reg = <102>;
91                         regulator-name = "vdd_3v3";
92                         vin-supply = <&vcc_24v_reg>;
93                         regulator-min-microvolt = <3300000>;
94                         regulator-max-microvolt = <3300000>;
95                         regulator-always-on;
96                 };
97
98                 vdd_1v8_reg: regulator@103 {
99                         compatible = "regulator-fixed";
100                         reg = <103>;
101                         regulator-name = "vdd_1v8";
102                         vin-supply = <&vdd_3v3_reg>;
103                         regulator-min-microvolt = <1800000>;
104                         regulator-max-microvolt = <1800000>;
105                         regulator-always-on;
106                 };
107         };
108 };