Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Stephen Warren | 1bd0bd4 | 2012-10-17 16:38:21 -0600 | [diff] [blame] | 3 | #include "tegra20-tamonten.dtsi" |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 4 | |
| 5 | / { |
| 6 | model = "Avionic Design Medcom-Wide board"; |
| 7 | compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20"; |
| 8 | |
Stephen Warren | 58ecb23 | 2013-11-25 17:53:16 -0700 | [diff] [blame] | 9 | pwm@7000a000 { |
Andrew Chew | b69cd98 | 2013-03-12 16:40:51 -0700 | [diff] [blame] | 10 | status = "okay"; |
| 11 | }; |
| 12 | |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 13 | i2c@7000c000 { |
| 14 | wm8903: wm8903@1a { |
| 15 | compatible = "wlf,wm8903"; |
| 16 | reg = <0x1a>; |
| 17 | interrupt-parent = <&gpio>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 18 | interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>; |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 19 | |
| 20 | gpio-controller; |
| 21 | #gpio-cells = <2>; |
| 22 | |
| 23 | micdet-cfg = <0>; |
| 24 | micdet-delay = <100>; |
| 25 | gpio-cfg = <0xffffffff |
| 26 | 0xffffffff |
| 27 | 0 |
| 28 | 0xffffffff |
| 29 | 0xffffffff>; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | backlight { |
| 34 | compatible = "pwm-backlight"; |
| 35 | pwms = <&pwm 0 5000000>; |
| 36 | |
| 37 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 38 | default-brightness-level = <6>; |
| 39 | }; |
| 40 | |
| 41 | sound { |
| 42 | compatible = "ad,tegra-audio-wm8903-medcom-wide", |
| 43 | "nvidia,tegra-audio-wm8903"; |
| 44 | nvidia,model = "Avionic Design Medcom-Wide"; |
| 45 | |
| 46 | nvidia,audio-routing = |
| 47 | "Headphone Jack", "HPOUTR", |
| 48 | "Headphone Jack", "HPOUTL", |
| 49 | "Int Spk", "ROP", |
| 50 | "Int Spk", "RON", |
| 51 | "Int Spk", "LOP", |
| 52 | "Int Spk", "LON", |
| 53 | "Mic Jack", "MICBIAS", |
| 54 | "IN1L", "Mic Jack"; |
| 55 | |
| 56 | nvidia,i2s-controller = <&tegra_i2s1>; |
| 57 | nvidia,audio-codec = <&wm8903>; |
| 58 | |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame] | 59 | nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; |
| 60 | nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>; |
Stephen Warren | f9cd2b3 | 2013-03-26 16:45:52 -0600 | [diff] [blame] | 61 | |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 62 | clocks = <&tegra_car TEGRA20_CLK_PLL_A>, |
| 63 | <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, |
| 64 | <&tegra_car TEGRA20_CLK_CDEV1>; |
Stephen Warren | f9cd2b3 | 2013-03-26 16:45:52 -0600 | [diff] [blame] | 65 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 66 | }; |
| 67 | }; |