diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-09-20 11:06:08 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-09-20 11:34:00 -0400 |
commit | 731fb450ae029c1579dc45e559c1a778ff2f62d0 (patch) | |
tree | 22692eadd52c32ec8ebfe99b8835c3e65fd9f6d3 /arch/arm/boot/dts/tegra20-medcom-wide.dts | |
parent | a3ee1293b1bec15e179b5a4c99fe07157de35202 (diff) |
ARM: tegra: Add Avionic Design Medcom-Wide support
The Medcom is a 16:9 15" terminal that is used for patient infotainment
in hospitals.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-medcom-wide.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-medcom-wide.dts | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-medcom-wide.dts b/arch/arm/boot/dts/tegra20-medcom-wide.dts new file mode 100644 index 000000000000..a2d6d6541f83 --- /dev/null +++ b/arch/arm/boot/dts/tegra20-medcom-wide.dts | |||
@@ -0,0 +1,58 @@ | |||
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 | i2c@7000c000 { | ||
10 | wm8903: wm8903@1a { | ||
11 | compatible = "wlf,wm8903"; | ||
12 | reg = <0x1a>; | ||
13 | interrupt-parent = <&gpio>; | ||
14 | interrupts = <187 0x04>; | ||
15 | |||
16 | gpio-controller; | ||
17 | #gpio-cells = <2>; | ||
18 | |||
19 | micdet-cfg = <0>; | ||
20 | micdet-delay = <100>; | ||
21 | gpio-cfg = <0xffffffff | ||
22 | 0xffffffff | ||
23 | 0 | ||
24 | 0xffffffff | ||
25 | 0xffffffff>; | ||
26 | }; | ||
27 | }; | ||
28 | |||
29 | backlight { | ||
30 | compatible = "pwm-backlight"; | ||
31 | pwms = <&pwm 0 5000000>; | ||
32 | |||
33 | brightness-levels = <0 4 8 16 32 64 128 255>; | ||
34 | default-brightness-level = <6>; | ||
35 | }; | ||
36 | |||
37 | sound { | ||
38 | compatible = "ad,tegra-audio-wm8903-medcom-wide", | ||
39 | "nvidia,tegra-audio-wm8903"; | ||
40 | nvidia,model = "Avionic Design Medcom-Wide"; | ||
41 | |||
42 | nvidia,audio-routing = | ||
43 | "Headphone Jack", "HPOUTR", | ||
44 | "Headphone Jack", "HPOUTL", | ||
45 | "Int Spk", "ROP", | ||
46 | "Int Spk", "RON", | ||
47 | "Int Spk", "LOP", | ||
48 | "Int Spk", "LON", | ||
49 | "Mic Jack", "MICBIAS", | ||
50 | "IN1L", "Mic Jack"; | ||
51 | |||
52 | nvidia,i2s-controller = <&tegra_i2s1>; | ||
53 | nvidia,audio-codec = <&wm8903>; | ||
54 | |||
55 | nvidia,spkr-en-gpios = <&wm8903 2 0>; | ||
56 | nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ | ||
57 | }; | ||
58 | }; | ||