1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SC7280 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 SC7280 SoC.
18 const: qcom,sc7280-lpass-lpi-pinctrl
20 qcom,adsp-bypass-mode:
22 Tells ADSP is in bypass mode.
31 description: Specifying the pin number and flags, as defined in
32 include/dt-bindings/gpio/gpio.h
41 - $ref: "#/$defs/qcom-sc7280-lpass-state"
44 $ref: "#/$defs/qcom-sc7280-lpass-state"
45 additionalProperties: false
48 qcom-sc7280-lpass-state:
51 Pinctrl node's client devices use subnodes for desired pin configuration.
52 Client device subnodes use below standard properties.
53 $ref: "/schemas/pinctrl/pincfg-node.yaml"
58 List of gpio pins affected by the properties specified in this
62 - pattern: "^gpio([0-9]|[1-9][0-9])$"
67 enum: [ gpio, swr_tx_clk, qua_mi2s_sclk, swr_tx_data, qua_mi2s_ws,
68 qua_mi2s_data, swr_rx_clk, swr_rx_data, dmic1_clk, i2s1_clk,
69 dmic1_data, i2s1_ws, dmic2_clk, dmic2_data, i2s1_data,
70 i2s2_clk, wsa_swr_clk, i2s2_ws, wsa_swr_data, dmic3_clk,
71 dmic3_data, i2s2_data ]
73 Specify the alternative function to be configured for the specified
77 enum: [2, 4, 6, 8, 10, 12, 14, 16]
80 Selects the drive strength for the specified pins, in mA.
87 1: Higher Slew rate (faster edges)
88 2: Lower Slew rate (slower edges)
89 3: Reserved (No adjustments)
102 additionalProperties: false
111 additionalProperties: false
115 lpass_tlmm: pinctrl@33c0000 {
116 compatible = "qcom,sc7280-lpass-lpi-pinctrl";
117 reg = <0x33c0000 0x20000>,
121 gpio-ranges = <&lpass_tlmm 0 0 15>;
126 function = "dmic1_clk";
129 dmic01-clk-sleep-pins {
131 function = "dmic1_clk";
135 tx-swr-data-sleep-state {
136 pins = "gpio1", "gpio2", "gpio14";
137 function = "swr_tx_data";