Loading...
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include "tegra20-tamonten.dtsi"
5
6/ {
7 model = "Avionic Design Medcom-Wide board";
8 compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";
9
10 aliases {
11 serial0 = &uartd;
12 };
13
14 chosen {
15 stdout-path = "serial0:115200n8";
16 };
17
18 pwm@7000a000 {
19 status = "okay";
20 };
21
22 host1x@50000000 {
23 dc@54200000 {
24 rgb {
25 status = "okay";
26 nvidia,panel = <&panel>;
27 };
28 };
29 };
30
31 i2c@7000c000 {
32 wm8903: wm8903@1a {
33 compatible = "wlf,wm8903";
34 reg = <0x1a>;
35 interrupt-parent = <&gpio>;
36 interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
37
38 gpio-controller;
39 #gpio-cells = <2>;
40
41 micdet-cfg = <0>;
42 micdet-delay = <100>;
43 gpio-cfg = <0xffffffff
44 0xffffffff
45 0
46 0xffffffff
47 0xffffffff>;
48 };
49 };
50
51 backlight: backlight {
52 compatible = "pwm-backlight";
53 pwms = <&pwm 0 5000000>;
54
55 brightness-levels = <0 4 8 16 32 64 128 255>;
56 default-brightness-level = <6>;
57 };
58
59 panel: panel {
60 compatible = "innolux,n156bge-l21", "simple-panel";
61
62 power-supply = <&vdd_1v8_reg>, <&vdd_3v3_reg>;
63 enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
64
65 backlight = <&backlight>;
66 };
67
68 sound {
69 compatible = "ad,tegra-audio-wm8903-medcom-wide",
70 "nvidia,tegra-audio-wm8903";
71 nvidia,model = "Avionic Design Medcom-Wide";
72
73 nvidia,audio-routing =
74 "Headphone Jack", "HPOUTR",
75 "Headphone Jack", "HPOUTL",
76 "Int Spk", "ROP",
77 "Int Spk", "RON",
78 "Int Spk", "LOP",
79 "Int Spk", "LON",
80 "Mic Jack", "MICBIAS",
81 "IN1L", "Mic Jack";
82
83 nvidia,i2s-controller = <&tegra_i2s1>;
84 nvidia,audio-codec = <&wm8903>;
85
86 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
87 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
88
89 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
90 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
91 <&tegra_car TEGRA20_CLK_CDEV1>;
92 clock-names = "pll_a", "pll_a_out0", "mclk";
93 };
94
95 regulators {
96 vcc_24v_reg: regulator@100 {
97 compatible = "regulator-fixed";
98 reg = <100>;
99 regulator-name = "vcc_24v";
100 regulator-min-microvolt = <24000000>;
101 regulator-max-microvolt = <24000000>;
102 regulator-always-on;
103 };
104
105 vdd_5v0_reg: regulator@101 {
106 compatible = "regulator-fixed";
107 reg = <101>;
108 regulator-name = "vdd_5v0";
109 vin-supply = <&vcc_24v_reg>;
110 regulator-min-microvolt = <5000000>;
111 regulator-max-microvolt = <5000000>;
112 regulator-always-on;
113 };
114
115 vdd_3v3_reg: regulator@102 {
116 compatible = "regulator-fixed";
117 reg = <102>;
118 regulator-name = "vdd_3v3";
119 vin-supply = <&vcc_24v_reg>;
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
122 regulator-always-on;
123 };
124
125 vdd_1v8_reg: regulator@103 {
126 compatible = "regulator-fixed";
127 reg = <103>;
128 regulator-name = "vdd_1v8";
129 vin-supply = <&vdd_3v3_reg>;
130 regulator-min-microvolt = <1800000>;
131 regulator-max-microvolt = <1800000>;
132 regulator-always-on;
133 };
134 };
135};
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 aliases {
10 serial0 = &uartd;
11 };
12
13 pwm@7000a000 {
14 status = "okay";
15 };
16
17 host1x@50000000 {
18 dc@54200000 {
19 rgb {
20 status = "okay";
21 nvidia,panel = <&panel>;
22 };
23 };
24 };
25
26 i2c@7000c000 {
27 wm8903: wm8903@1a {
28 compatible = "wlf,wm8903";
29 reg = <0x1a>;
30 interrupt-parent = <&gpio>;
31 interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
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
46 backlight: backlight {
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
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
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
81 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
82 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
83
84 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
85 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
86 <&tegra_car TEGRA20_CLK_CDEV1>;
87 clock-names = "pll_a", "pll_a_out0", "mclk";
88 };
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 };
130};