mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-28 16:30:37 +00:00
Change-Id: I227b896f30f2c517d8a3ec3dbe6377b791699868 Signed-off-by: Jens Reidel <adrian@travitia.xyz>
55 lines
981 B
Plaintext
55 lines
981 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include "xiaomi-sm8450-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;
|
|
};
|
|
};
|
|
};
|
|
|
|
&swr_haptics {
|
|
status = "ok";
|
|
};
|