Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / tegra20-tec.dts
1 /dts-v1/;
2
3 #include "tegra20-tamonten.dtsi"
4
5 / {
6         model = "Avionic Design Tamonten Evaluation Carrier";
7         compatible = "ad,tec", "ad,tamonten", "nvidia,tegra20";
8
9         host1x@50000000 {
10                 hdmi@54280000 {
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) IRQ_TYPE_LEVEL_HIGH>;
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         pcie-controller@80003000 {
36                 status = "okay";
37
38                 pci@1,0 {
39                         status = "okay";
40                 };
41         };
42
43         sound {
44                 compatible = "ad,tegra-audio-wm8903-tec",
45                              "nvidia,tegra-audio-wm8903";
46                 nvidia,model = "Avionic Design TEC";
47
48                 nvidia,audio-routing =
49                         "Headphone Jack", "HPOUTR",
50                         "Headphone Jack", "HPOUTL",
51                         "Int Spk", "ROP",
52                         "Int Spk", "RON",
53                         "Int Spk", "LOP",
54                         "Int Spk", "LON",
55                         "Mic Jack", "MICBIAS",
56                         "IN1L", "Mic Jack";
57
58                 nvidia,i2s-controller = <&tegra_i2s1>;
59                 nvidia,audio-codec = <&wm8903>;
60
61                 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
62                 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
63                         GPIO_ACTIVE_HIGH>;
64
65                 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
66                          <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
67                          <&tegra_car TEGRA20_CLK_CDEV1>;
68                 clock-names = "pll_a", "pll_a_out0", "mclk";
69         };
70
71         regulators {
72                 vcc_24v_reg: regulator@100 {
73                         compatible = "regulator-fixed";
74                         reg = <100>;
75                         regulator-name = "vcc_24v";
76                         regulator-min-microvolt = <24000000>;
77                         regulator-max-microvolt = <24000000>;
78                         regulator-always-on;
79                 };
80
81                 vdd_5v0_reg: regulator@101 {
82                         compatible = "regulator-fixed";
83                         reg = <101>;
84                         regulator-name = "vdd_5v0";
85                         vin-supply = <&vcc_24v_reg>;
86                         regulator-min-microvolt = <5000000>;
87                         regulator-max-microvolt = <5000000>;
88                         regulator-always-on;
89                 };
90
91                 vdd_3v3_reg: regulator@102 {
92                         compatible = "regulator-fixed";
93                         reg = <102>;
94                         regulator-name = "vdd_3v3";
95                         vin-supply = <&vcc_24v_reg>;
96                         regulator-min-microvolt = <3300000>;
97                         regulator-max-microvolt = <3300000>;
98                         regulator-always-on;
99                 };
100
101                 vdd_1v8_reg: regulator@103 {
102                         compatible = "regulator-fixed";
103                         reg = <103>;
104                         regulator-name = "vdd_1v8";
105                         vin-supply = <&vdd_3v3_reg>;
106                         regulator-min-microvolt = <1800000>;
107                         regulator-max-microvolt = <1800000>;
108                         regulator-always-on;
109                 };
110         };
111 };