Revert "Merge commit 'main-jb-2012.08.03-B4' into t114-0806"
[linux-2.6.git] / arch / arm / boot / dts / tegra-harmony.dts
1 /dts-v1/;
2
3 /include/ "tegra20.dtsi"
4
5 / {
6         model = "NVIDIA Tegra2 Harmony evaluation board";
7         compatible = "nvidia,harmony", "nvidia,tegra20";
8
9         memory@0 {
10                 reg = < 0x00000000 0x40000000 >;
11         };
12
13         pmc@7000f400 {
14                 nvidia,invert-interrupt;
15         };
16
17         i2c@7000c000 {
18                 clock-frequency = <400000>;
19
20                 wm8903: wm8903@1a {
21                         compatible = "wlf,wm8903";
22                         reg = <0x1a>;
23                         interrupt-parent = <&gpio>;
24                         interrupts = < 187 0x04 >;
25
26                         gpio-controller;
27                         #gpio-cells = <2>;
28
29                         micdet-cfg = <0>;
30                         micdet-delay = <100>;
31                         gpio-cfg = < 0xffffffff 0xffffffff 0 0xffffffff 0xffffffff >;
32                 };
33         };
34
35         i2c@7000c400 {
36                 clock-frequency = <400000>;
37         };
38
39         i2c@7000c500 {
40                 clock-frequency = <400000>;
41         };
42
43         i2c@7000d000 {
44                 clock-frequency = <400000>;
45         };
46
47         i2s@70002a00 {
48                 status = "disable";
49         };
50
51         sound {
52                 compatible = "nvidia,tegra-audio-wm8903-harmony",
53                              "nvidia,tegra-audio-wm8903";
54                 nvidia,model = "NVIDIA Tegra Harmony";
55
56                 nvidia,audio-routing =
57                         "Headphone Jack", "HPOUTR",
58                         "Headphone Jack", "HPOUTL",
59                         "Int Spk", "ROP",
60                         "Int Spk", "RON",
61                         "Int Spk", "LOP",
62                         "Int Spk", "LON",
63                         "Mic Jack", "MICBIAS",
64                         "IN1L", "Mic Jack";
65
66                 nvidia,i2s-controller = <&tegra_i2s1>;
67                 nvidia,audio-codec = <&wm8903>;
68
69                 nvidia,spkr-en-gpios = <&wm8903 2 0>;
70                 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
71                 nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */
72                 nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */
73         };
74
75         serial@70006000 {
76                 status = "disable";
77         };
78
79         serial@70006040 {
80                 status = "disable";
81         };
82
83         serial@70006200 {
84                 status = "disable";
85         };
86
87         serial@70006300 {
88                 clock-frequency = < 216000000 >;
89         };
90
91         serial@70006400 {
92                 status = "disable";
93         };
94
95         sdhci@c8000000 {
96                 status = "disable";
97         };
98
99         sdhci@c8000200 {
100                 cd-gpios = <&gpio 69 0>; /* gpio PI5 */
101                 wp-gpios = <&gpio 57 0>; /* gpio PH1 */
102                 power-gpios = <&gpio 155 0>; /* gpio PT3 */
103         };
104
105         sdhci@c8000400 {
106                 status = "disable";
107         };
108
109         sdhci@c8000600 {
110                 cd-gpios = <&gpio 58 0>; /* gpio PH2 */
111                 wp-gpios = <&gpio 59 0>; /* gpio PH3 */
112                 power-gpios = <&gpio 70 0>; /* gpio PI6 */
113                 support-8bit;
114         };
115 };