Files
kernel_xiaomi_raphael/arch/arm64/boot/dts/qcom/qcs610-ipc.dtsi

112 lines
2.5 KiB
Plaintext

/* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "qcs610-iot.dtsi"
/ {
model = "Qualcomm Technologies, Inc. QCS610 IPC";
compatible = "qcom,qcs610-iot", "qcom,qcs610", "qcom,iot";
qcom,board-id = <32 1>;
};
&spmi_bus {
qcom,pm6150@0 {
qcom,power-on@800 {
qcom,pon_1 {
qcom,support-reset = <1>;
qcom,s1-timer = <10256>;
qcom,s2-timer = <2000>;
qcom,s2-type = <1>;
};
};
};
};
&sm6150_snd {
status = "okay";
compatible = "qcom,sm6150-asoc-snd";
qcom,model = "sm6150-ipc-snd-card";
qcom,audio-routing =
"AMIC1", "MIC BIAS1",
"MIC BIAS1", "Analog Mic1",
"AMIC2", "MIC BIAS2",
"MIC BIAS2", "Analog Mic2",
"AMIC3", "MIC BIAS3",
"MIC BIAS3", "Analog Mic3",
"TX DMIC0", "MIC BIAS1",
"MIC BIAS1", "Digital Mic0",
"TX DMIC1", "MIC BIAS1",
"MIC BIAS1", "Digital Mic1",
"TX DMIC2", "MIC BIAS1",
"MIC BIAS1", "Digital Mic2",
"TX DMIC3", "MIC BIAS1",
"MIC BIAS1", "Digital Mic3",
"TX_AIF1 CAP", "VA_MCLK",
"TX_AIF2 CAP", "VA_MCLK",
"IN1_HPHL", "HPHL_OUT",
"IN2_HPHR", "HPHR_OUT",
"HPHL_OUT", "VA_MCLK",
"HPHR_OUT", "VA_MCLK",
"TX SWR_ADC0", "ADC1_OUTPUT",
"TX SWR_ADC2", "ADC2_OUTPUT",
"WSA SRC0_INP", "SRC0",
"WSA_TX DEC0_INP", "TX DEC0 MUX",
"WSA_TX DEC1_INP", "TX DEC1 MUX",
"SpkrLeft IN", "WSA_SPK1 OUT",
"WSA_SPK1 OUT", "VA_MCLK";
qcom,wsa-max-devs = <1>;
qcom,wsa-devs = <&wsa881x_0211>, <&wsa881x_0213>;
qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrLeft";
qcom,linein-det-swh = <1>;
qcom,lineout-det-swh = <1>;
qcom,linein-det-gpio = <&tlmm 1 0>;
qcom,lineout-det-gpio = <&tlmm 60 0>;
pinctrl-names = "default";
pinctrl-0 = <&jack_det_linein_default
&jack_det_lineout_default>;
};
&pm6150_charger {
qcom,batteryless-platform;
};
&tlmm {
led_red_default: led_red_default {
mux {
pins = "gpio59";
function = "gpio";
};
config {
pins = "gpio59";
drive-strength = <8>;
bias-disable;
output-low;
};
};
};
&fsa_usbc_ana_en {
mux {
pins = "gpio66";
function = "gpio";
};
config {
pins = "gpio66";
drive-strength = <2>;
bias-disable;
output-low;
};
};