ARM: tegra: convert device tree files to use GPIO defines
[deliverable/linux.git] / arch / arm / boot / dts / tegra20-plutux.dts
1 /dts-v1/;
2
3 #include "tegra20-tamonten.dtsi"
4
5 / {
6 model = "Avionic Design Plutux board";
7 compatible = "ad,plutux", "ad,tamonten", "nvidia,tegra20";
8
9 host1x {
10 hdmi {
11 status = "okay";
12 };
13 };
14
15 i2c@7000c000 {
16 wm8903: wm8903@1a {
17 compatible = "wlf,wm8903";
18 reg = <0x1a>;
19 interrupt-parent = <&gpio>;
20 interrupts = <TEGRA_GPIO(X, 3) 0x04>;
21
22 gpio-controller;
23 #gpio-cells = <2>;
24
25 micdet-cfg = <0>;
26 micdet-delay = <100>;
27 gpio-cfg = <0xffffffff
28 0xffffffff
29 0
30 0xffffffff
31 0xffffffff>;
32 };
33 };
34
35 sound {
36 compatible = "ad,tegra-audio-plutux",
37 "nvidia,tegra-audio-wm8903";
38 nvidia,model = "Avionic Design Plutux";
39
40 nvidia,audio-routing =
41 "Headphone Jack", "HPOUTR",
42 "Headphone Jack", "HPOUTL",
43 "Int Spk", "ROP",
44 "Int Spk", "RON",
45 "Int Spk", "LOP",
46 "Int Spk", "LON",
47 "Mic Jack", "MICBIAS",
48 "IN1L", "Mic Jack";
49
50 nvidia,i2s-controller = <&tegra_i2s1>;
51 nvidia,audio-codec = <&wm8903>;
52
53 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
54 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
55
56 clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 94>;
57 clock-names = "pll_a", "pll_a_out0", "mclk";
58 };
59 };
This page took 0.034151 seconds and 5 git commands to generate.