1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm4250-lpass-lpi-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SM4250 SoC LPASS LPI TLMM
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Top Level Mode Multiplexer pin controller in the Low Power Audio SubSystem
14 (LPASS) Low Power Island (LPI) of Qualcomm SM4250 SoC.
18 const: qcom,sm4250-lpass-lpi-pinctrl
22 - description: LPASS LPI TLMM Control and Status registers
23 - description: LPASS LPI MCC registers
27 - description: LPASS Audio voting clock
36 - $ref: "#/$defs/qcom-sm4250-lpass-state"
39 $ref: "#/$defs/qcom-sm4250-lpass-state"
40 additionalProperties: false
43 qcom-sm4250-lpass-state:
46 Pinctrl node's client devices use subnodes for desired pin configuration.
47 Client device subnodes use below standard properties.
48 $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state
49 unevaluatedProperties: false
54 List of gpio pins affected by the properties specified in this
57 pattern: "^gpio([0-9]|1[0-9]|2[0-6])$"
60 enum: [ gpio, dmic01_clk, dmic01_data, dmic23_clk, dmic23_data,
61 dmic4_clk, dmic4_data, ext_mclk0_a, ext_mclk0_b, ext_mclk1_a,
62 ext_mclk1_b, ext_mclk1_c, i2s1_clk, i2s1_data, i2s1_ws,
63 i2s2_clk, i2s2_data, i2s2_ws, i2s3_clk, i2s3_data, i2s3_ws,
64 qua_mi2s_data, qua_mi2s_sclk, qua_mi2s_ws, slim_clk, slim_data,
65 swr_rx_clk, swr_rx_data, swr_tx_clk, swr_tx_data, swr_wsa_clk,
68 Specify the alternative function to be configured for the specified
72 - $ref: qcom,lpass-lpi-common.yaml#
80 unevaluatedProperties: false
84 #include <dt-bindings/sound/qcom,q6afe.h>
85 lpi_tlmm: pinctrl@a7c0000 {
86 compatible = "qcom,sm4250-lpass-lpi-pinctrl";
87 reg = <0xa7c0000 0x20000>,
89 clocks = <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
90 clock-names = "audio";
93 gpio-ranges = <&lpi_tlmm 0 0 19>;
98 function = "i2s2_clk";
106 function = "i2s2_data";
107 drive-strength = <2>;
112 i2s2-sleep-clk-state {
114 function = "i2s2_clk";
115 drive-strength = <2>;