.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2016 BayLibre, Inc. |
---|
3 | | - * |
---|
4 | | - * Licensed under GPLv2. |
---|
5 | 4 | */ |
---|
6 | 5 | /dts-v1/; |
---|
7 | 6 | #include "da850.dtsi" |
---|
.. | .. |
---|
74 | 73 | simple-audio-card,name = "DA850-OMAPL138 LCDK"; |
---|
75 | 74 | simple-audio-card,widgets = |
---|
76 | 75 | "Line", "Line In", |
---|
77 | | - "Line", "Line Out"; |
---|
| 76 | + "Line", "Line Out", |
---|
| 77 | + "Microphone", "Mic Jack"; |
---|
78 | 78 | simple-audio-card,routing = |
---|
79 | 79 | "LINE1L", "Line In", |
---|
80 | 80 | "LINE1R", "Line In", |
---|
81 | 81 | "Line Out", "LLOUT", |
---|
82 | | - "Line Out", "RLOUT"; |
---|
| 82 | + "Line Out", "RLOUT", |
---|
| 83 | + "MIC3L", "Mic Jack", |
---|
| 84 | + "MIC3R", "Mic Jack", |
---|
| 85 | + "Mic Jack", "Mic Bias"; |
---|
83 | 86 | simple-audio-card,format = "dsp_b"; |
---|
84 | 87 | simple-audio-card,bitclock-master = <&link0_codec>; |
---|
85 | 88 | simple-audio-card,frame-master = <&link0_codec>; |
---|
.. | .. |
---|
151 | 154 | }; |
---|
152 | 155 | }; |
---|
153 | 156 | }; |
---|
| 157 | + |
---|
| 158 | + cvdd: regulator0 { |
---|
| 159 | + compatible = "regulator-fixed"; |
---|
| 160 | + regulator-name = "cvdd"; |
---|
| 161 | + regulator-min-microvolt = <1300000>; |
---|
| 162 | + regulator-max-microvolt = <1300000>; |
---|
| 163 | + regulator-always-on; |
---|
| 164 | + regulator-boot-on; |
---|
| 165 | + }; |
---|
154 | 166 | }; |
---|
155 | 167 | |
---|
156 | 168 | &ref_clk { |
---|
157 | 169 | clock-frequency = <24000000>; |
---|
| 170 | +}; |
---|
| 171 | + |
---|
| 172 | +&cpu { |
---|
| 173 | + cpu-supply = <&cvdd>; |
---|
| 174 | +}; |
---|
| 175 | + |
---|
| 176 | +/* |
---|
| 177 | + * LCDK has a fixed CVDD of 1.3V, so only operating points >= 300MHz are |
---|
| 178 | + * valid. Unfortunately due to a problem with the DA8XX OHCI controller, we |
---|
| 179 | + * can't enable more than one OPP by default, since the controller sometimes |
---|
| 180 | + * becomes unresponsive after a transition. Fix the frequency at 456 MHz. |
---|
| 181 | + */ |
---|
| 182 | + |
---|
| 183 | +&opp_100 { |
---|
| 184 | + status = "disabled"; |
---|
| 185 | +}; |
---|
| 186 | + |
---|
| 187 | +&opp_200 { |
---|
| 188 | + status = "disabled"; |
---|
| 189 | +}; |
---|
| 190 | + |
---|
| 191 | +&opp_300 { |
---|
| 192 | + status = "disabled"; |
---|
| 193 | +}; |
---|
| 194 | + |
---|
| 195 | +&opp_456 { |
---|
| 196 | + status = "okay"; |
---|
158 | 197 | }; |
---|
159 | 198 | |
---|
160 | 199 | &pmx_core { |
---|
.. | .. |
---|
250 | 289 | #sound-dai-cells = <0>; |
---|
251 | 290 | compatible = "ti,tlv320aic3106"; |
---|
252 | 291 | reg = <0x18>; |
---|
| 292 | + adc-settle-ms = <40>; |
---|
| 293 | + ai3x-micbias-vg = <1>; /* 2.0V */ |
---|
253 | 294 | status = "okay"; |
---|
254 | 295 | |
---|
255 | 296 | /* Regulators */ |
---|