| /* Copyright (c) 2018, 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. |
| */ |
| |
| /dts-v1/; |
| /plugin/; |
| |
| #include <dt-bindings/interrupt-controller/arm-gic.h> |
| #include <dt-bindings/clock/qcom,camcc-sdmmagpie.h> |
| |
| #include "sdmmagpie-audio-overlay.dtsi" |
| #include "sdmmagpie-qrd.dtsi" |
| |
| / { |
| model = "QRD"; |
| compatible = "qcom,sdmmagpie-qrd", "qcom,sdmmagpie", "qcom,qrd"; |
| qcom,msm-id = <365 0x0>; |
| qcom,board-id = <11 0>; |
| }; |
| |
| &dsi_sw43404_amoled_video_display { |
| qcom,dsi-display-active; |
| }; |
| |
| &sm6150_snd { |
| qcom,model = "sm6150-wcd9375qrd-snd-card"; |
| qcom,audio-routing = |
| "AMIC2", "MIC BIAS2", |
| "MIC BIAS2", "Analog Mic2", |
| "TX DMIC1", "MIC BIAS1", |
| "MIC BIAS1", "Digital Mic1", |
| "TX DMIC2", "MIC BIAS3", |
| "MIC BIAS3", "Digital Mic2", |
| "TX DMIC3", "MIC BIAS3", |
| "MIC BIAS3", "Digital Mic3", |
| "TX_AIF1 CAP", "VA_MCLK", |
| "TX_AIF2 CAP", "VA_MCLK", |
| "RX AIF1 PB", "VA_MCLK", |
| "RX AIF2 PB", "VA_MCLK", |
| "RX AIF3 PB", "VA_MCLK", |
| "RX AIF4 PB", "VA_MCLK", |
| "HPHL_OUT", "VA_MCLK", |
| "HPHR_OUT", "VA_MCLK", |
| "AUX_OUT", "VA_MCLK", |
| "IN1_HPHL", "HPHL_OUT", |
| "IN2_HPHR", "HPHR_OUT", |
| "IN3_AUX", "AUX_OUT", |
| "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", |
| "RX_TX DEC0_INP", "TX DEC0 MUX", |
| "RX_TX DEC1_INP", "TX DEC1 MUX", |
| "RX_TX DEC2_INP", "TX DEC2 MUX", |
| "RX_TX DEC3_INP", "TX DEC3 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"; |
| }; |