Adding support for MOXA ART SoC. Testing port of linux-2.6.32.60-moxart.
[linux-3.6.7-moxart.git] / arch / arm / boot / dts / tegra30-cardhu.dts
blobc169bced131e32038f4523f599c054b22690bdb6
1 /dts-v1/;
3 /include/ "tegra30.dtsi"
5 / {
6         model = "NVIDIA Tegra30 Cardhu evaluation board";
7         compatible = "nvidia,cardhu", "nvidia,tegra30";
9         memory {
10                 reg = <0x80000000 0x40000000>;
11         };
13         pinmux {
14                 pinctrl-names = "default";
15                 pinctrl-0 = <&state_default>;
17                 state_default: pinmux {
18                         sdmmc1_clk_pz0 {
19                                 nvidia,pins = "sdmmc1_clk_pz0";
20                                 nvidia,function = "sdmmc1";
21                                 nvidia,pull = <0>;
22                                 nvidia,tristate = <0>;
23                         };
24                         sdmmc1_cmd_pz1 {
25                                 nvidia,pins =   "sdmmc1_cmd_pz1",
26                                                 "sdmmc1_dat0_py7",
27                                                 "sdmmc1_dat1_py6",
28                                                 "sdmmc1_dat2_py5",
29                                                 "sdmmc1_dat3_py4";
30                                 nvidia,function = "sdmmc1";
31                                 nvidia,pull = <2>;
32                                 nvidia,tristate = <0>;
33                         };
34                         sdmmc4_clk_pcc4 {
35                                 nvidia,pins =   "sdmmc4_clk_pcc4",
36                                                 "sdmmc4_rst_n_pcc3";
37                                 nvidia,function = "sdmmc4";
38                                 nvidia,pull = <0>;
39                                 nvidia,tristate = <0>;
40                         };
41                         sdmmc4_dat0_paa0 {
42                                 nvidia,pins =   "sdmmc4_dat0_paa0",
43                                                 "sdmmc4_dat1_paa1",
44                                                 "sdmmc4_dat2_paa2",
45                                                 "sdmmc4_dat3_paa3",
46                                                 "sdmmc4_dat4_paa4",
47                                                 "sdmmc4_dat5_paa5",
48                                                 "sdmmc4_dat6_paa6",
49                                                 "sdmmc4_dat7_paa7";
50                                 nvidia,function = "sdmmc4";
51                                 nvidia,pull = <2>;
52                                 nvidia,tristate = <0>;
53                         };
54                         dap2_fs_pa2 {
55                                 nvidia,pins =   "dap2_fs_pa2",
56                                                 "dap2_sclk_pa3",
57                                                 "dap2_din_pa4",
58                                                 "dap2_dout_pa5";
59                                 nvidia,function = "i2s1";
60                                 nvidia,pull = <0>;
61                                 nvidia,tristate = <0>;
62                         };
63                 };
64         };
66         serial@70006000 {
67                 status = "okay";
68                 clock-frequency = <408000000>;
69         };
71         i2c@7000c000 {
72                 status = "okay";
73                 clock-frequency = <100000>;
74         };
76         i2c@7000c400 {
77                 status = "okay";
78                 clock-frequency = <100000>;
79         };
81         i2c@7000c500 {
82                 status = "okay";
83                 clock-frequency = <100000>;
85                 /* ALS and Proximity sensor */
86                 isl29028@44 {
87                         compatible = "isil,isl29028";
88                         reg = <0x44>;
89                         interrupt-parent = <&gpio>;
90                         interrupts = <88 0x04>; /*gpio PL0 */
91                 };
92         };
94         i2c@7000c700 {
95                 status = "okay";
96                 clock-frequency = <100000>;
97         };
99         i2c@7000d000 {
100                 status = "okay";
101                 clock-frequency = <100000>;
103                 wm8903: wm8903@1a {
104                         compatible = "wlf,wm8903";
105                         reg = <0x1a>;
106                         interrupt-parent = <&gpio>;
107                         interrupts = <179 0x04>; /* gpio PW3 */
109                         gpio-controller;
110                         #gpio-cells = <2>;
112                         micdet-cfg = <0>;
113                         micdet-delay = <100>;
114                         gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
115                 };
117                 tps62361 {
118                         compatible = "ti,tps62361";
119                         reg = <0x60>;
121                         regulator-name = "tps62361-vout";
122                         regulator-min-microvolt = <500000>;
123                         regulator-max-microvolt = <1500000>;
124                         regulator-boot-on;
125                         regulator-always-on;
126                         ti,vsel0-state-high;
127                         ti,vsel1-state-high;
128                 };
129         };
131         ahub {
132                 i2s@70080400 {
133                         status = "okay";
134                 };
135         };
137         sdhci@78000000 {
138                 status = "okay";
139                 cd-gpios = <&gpio 69 0>; /* gpio PI5 */
140                 wp-gpios = <&gpio 155 0>; /* gpio PT3 */
141                 power-gpios = <&gpio 31 0>; /* gpio PD7 */
142                 bus-width = <4>;
143         };
145         sdhci@78000600 {
146                 status = "okay";
147                 bus-width = <8>;
148         };
150         sound {
151                 compatible = "nvidia,tegra-audio-wm8903-cardhu",
152                              "nvidia,tegra-audio-wm8903";
153                 nvidia,model = "NVIDIA Tegra Cardhu";
155                 nvidia,audio-routing =
156                         "Headphone Jack", "HPOUTR",
157                         "Headphone Jack", "HPOUTL",
158                         "Int Spk", "ROP",
159                         "Int Spk", "RON",
160                         "Int Spk", "LOP",
161                         "Int Spk", "LON",
162                         "Mic Jack", "MICBIAS",
163                         "IN1L", "Mic Jack";
165                 nvidia,i2s-controller = <&tegra_i2s1>;
166                 nvidia,audio-codec = <&wm8903>;
168                 nvidia,spkr-en-gpios = <&wm8903 2 0>;
169                 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
170         };