-
Notifications
You must be signed in to change notification settings - Fork 0
/
diting-audio-mtp.dts
50 lines (45 loc) · 983 Bytes
/
diting-audio-mtp.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/dts-v1/;
/plugin/;
#include "xiaomi-sm8475-common.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Cape MTP";
compatible = "qcom,cape-mtp", "qcom,cape", "qcom,mtp";
qcom,msm-id = <530 0x10000>, <531 0x10000>, <540 0x10000>;
qcom,board-id = <0x10008 0>;
xiaomi,miboard-id = <0xA 0>;
};
&soc {
sbu_uart_en: msm_cdc_pinctrl@12 {
compatible = "qcom,msm-cdc-pinctrl";
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&sbu_uart_en_active_dit>;
pinctrl-1 = <&sbu_uart_en_idle_dit>;
#gpio-cells = <0>;
};
};
&tlmm {
sbu_uart_en_idle_dit: uart_audio_en_idle_dit {
mux {
pins = "gpio12";
function = "gpio";
};
config {
pins = "gpio12";
drive-strength = <2>;
bias-pull-down;
output-low;
};
};
sbu_uart_en_active_dit: uart_audio_en_active_dit {
mux {
pins = "gpio12";
function = "gpio";
};
config {
pins = "gpio12";
drive-strength = <2>;
bias-disable;
output-high;
};
};
};