For supporting device tree overlay on QCS610, need to align overlay device tree with normal device tree changes, hence bringing non SoC specific changes to common file. Change-Id: I3632a6a50665e2e399a11ee65813c6d96cf44308 Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org> Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
124 lines
2.7 KiB
Plaintext
124 lines
2.7 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 "sm6150-audio-overlay.dtsi"
|
|
#include "sm6150-camera-sensor-idp.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";
|
|
};
|
|
|
|
&pm6150_charger {
|
|
qcom,batteryless-platform;
|
|
};
|
|
|
|
&eeprom_rear {
|
|
cam_vana-supply = <&pm6150l_l4>;
|
|
rgltr-min-voltage = <1800000 2900000 1200000 0 2800000>;
|
|
rgltr-max-voltage = <1800000 2900000 1200000 0 2800000>;
|
|
};
|
|
|
|
&cam_cci {
|
|
qcom,cam-sensor@0 {
|
|
cam_vana-supply = <&pm6150l_l4>;
|
|
rgltr-min-voltage = <1800000 2900000 1200000 0>;
|
|
rgltr-max-voltage = <1800000 2900000 1200000 0>;
|
|
};
|
|
};
|
|
|
|
|
|
&led_flash_front {
|
|
status = "disabled";
|
|
};
|
|
|
|
&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;
|
|
};
|
|
};
|