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 | |
Olof Johansson | c4574aa | 2014-11-11 12:49:30 -0800 | [diff] [blame] | 9 | aliases { |
| 10 | serial0 = &uartd; |
| 11 | }; |
| 12 | |
Stephen Warren | 58ecb23 | 2013-11-25 17:53:16 -0700 | [diff] [blame] | 13 | pwm@7000a000 { |
Andrew Chew | b69cd98 | 2013-03-12 16:40:51 -0700 | [diff] [blame] | 14 | status = "okay"; |
| 15 | }; |
| 16 | |
Alban Bedel | f682615 | 2014-06-19 15:25:50 +0200 | [diff] [blame] | 17 | host1x@50000000 { |
| 18 | dc@54200000 { |
| 19 | rgb { |
| 20 | status = "okay"; |
| 21 | nvidia,panel = <&panel>; |
| 22 | }; |
| 23 | }; |
| 24 | }; |
| 25 | |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 26 | i2c@7000c000 { |
| 27 | wm8903: wm8903@1a { |
| 28 | compatible = "wlf,wm8903"; |
| 29 | reg = <0x1a>; |
| 30 | interrupt-parent = <&gpio>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 31 | interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>; |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 32 | |
| 33 | gpio-controller; |
| 34 | #gpio-cells = <2>; |
| 35 | |
| 36 | micdet-cfg = <0>; |
| 37 | micdet-delay = <100>; |
| 38 | gpio-cfg = <0xffffffff |
| 39 | 0xffffffff |
| 40 | 0 |
| 41 | 0xffffffff |
| 42 | 0xffffffff>; |
| 43 | }; |
| 44 | }; |
| 45 | |
Alban Bedel | f682615 | 2014-06-19 15:25:50 +0200 | [diff] [blame] | 46 | backlight: backlight { |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 47 | compatible = "pwm-backlight"; |
| 48 | pwms = <&pwm 0 5000000>; |
| 49 | |
| 50 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 51 | default-brightness-level = <6>; |
| 52 | }; |
| 53 | |
Alban Bedel | f682615 | 2014-06-19 15:25:50 +0200 | [diff] [blame] | 54 | panel: panel { |
| 55 | compatible = "innolux,n156bge-l21", "simple-panel"; |
| 56 | |
| 57 | power-supply = <&vdd_1v8_reg>, <&vdd_3v3_reg>; |
| 58 | enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; |
| 59 | |
| 60 | backlight = <&backlight>; |
| 61 | }; |
| 62 | |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 63 | sound { |
| 64 | compatible = "ad,tegra-audio-wm8903-medcom-wide", |
| 65 | "nvidia,tegra-audio-wm8903"; |
| 66 | nvidia,model = "Avionic Design Medcom-Wide"; |
| 67 | |
| 68 | nvidia,audio-routing = |
| 69 | "Headphone Jack", "HPOUTR", |
| 70 | "Headphone Jack", "HPOUTL", |
| 71 | "Int Spk", "ROP", |
| 72 | "Int Spk", "RON", |
| 73 | "Int Spk", "LOP", |
| 74 | "Int Spk", "LON", |
| 75 | "Mic Jack", "MICBIAS", |
| 76 | "IN1L", "Mic Jack"; |
| 77 | |
| 78 | nvidia,i2s-controller = <&tegra_i2s1>; |
| 79 | nvidia,audio-codec = <&wm8903>; |
| 80 | |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame] | 81 | nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; |
| 82 | nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>; |
Stephen Warren | f9cd2b3 | 2013-03-26 16:45:52 -0600 | [diff] [blame] | 83 | |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 84 | clocks = <&tegra_car TEGRA20_CLK_PLL_A>, |
| 85 | <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, |
| 86 | <&tegra_car TEGRA20_CLK_CDEV1>; |
Stephen Warren | f9cd2b3 | 2013-03-26 16:45:52 -0600 | [diff] [blame] | 87 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 88 | }; |
Alban Bedel | 23e6334 | 2014-06-19 15:25:49 +0200 | [diff] [blame] | 89 | |
| 90 | regulators { |
| 91 | vcc_24v_reg: regulator@100 { |
| 92 | compatible = "regulator-fixed"; |
| 93 | reg = <100>; |
| 94 | regulator-name = "vcc_24v"; |
| 95 | regulator-min-microvolt = <24000000>; |
| 96 | regulator-max-microvolt = <24000000>; |
| 97 | regulator-always-on; |
| 98 | }; |
| 99 | |
| 100 | vdd_5v0_reg: regulator@101 { |
| 101 | compatible = "regulator-fixed"; |
| 102 | reg = <101>; |
| 103 | regulator-name = "vdd_5v0"; |
| 104 | vin-supply = <&vcc_24v_reg>; |
| 105 | regulator-min-microvolt = <5000000>; |
| 106 | regulator-max-microvolt = <5000000>; |
| 107 | regulator-always-on; |
| 108 | }; |
| 109 | |
| 110 | vdd_3v3_reg: regulator@102 { |
| 111 | compatible = "regulator-fixed"; |
| 112 | reg = <102>; |
| 113 | regulator-name = "vdd_3v3"; |
| 114 | vin-supply = <&vcc_24v_reg>; |
| 115 | regulator-min-microvolt = <3300000>; |
| 116 | regulator-max-microvolt = <3300000>; |
| 117 | regulator-always-on; |
| 118 | }; |
| 119 | |
| 120 | vdd_1v8_reg: regulator@103 { |
| 121 | compatible = "regulator-fixed"; |
| 122 | reg = <103>; |
| 123 | regulator-name = "vdd_1v8"; |
| 124 | vin-supply = <&vdd_3v3_reg>; |
| 125 | regulator-min-microvolt = <1800000>; |
| 126 | regulator-max-microvolt = <1800000>; |
| 127 | regulator-always-on; |
| 128 | }; |
| 129 | }; |
Thierry Reding | 731fb45 | 2012-09-20 17:06:08 +0200 | [diff] [blame] | 130 | }; |