1 Qualcomm SDM845 TLMM block
3 This binding describes the Top Level Mode Multiplexer block found in the
9 Definition: must be "qcom,sdm845-pinctrl"
13 Value type: <prop-encoded-array>
14 Definition: the base address and size of the TLMM register space.
18 Value type: <prop-encoded-array>
19 Definition: should specify the TLMM summary IRQ.
21 - interrupt-controller:
24 Definition: identifies this node as an interrupt controller
29 Definition: must be 2. Specifying the pin number and flags, as defined
30 in <dt-bindings/interrupt-controller/irq.h>
35 Definition: identifies this node as a gpio controller
40 Definition: must be 2. Specifying the pin number and flags, as defined
41 in <dt-bindings/gpio/gpio.h>
43 Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for
44 a general description of GPIO and interrupt bindings.
46 Please refer to pinctrl-bindings.txt in this directory for details of the
47 common pinctrl bindings used by client devices, including the meaning of the
48 phrase "pin configuration node".
50 The pin configuration nodes act as a container for an arbitrary number of
51 subnodes. Each of these subnodes represents some desired configuration for a
52 pin, a group, or a list of pins or groups. This configuration can include the
53 mux function to select on those pin(s)/group(s), and various pin configuration
54 parameters, such as pull-up, drive strength, etc.
57 PIN CONFIGURATION NODES:
59 The name of each subnode is not important; all subnodes should be enumerated
60 and processed purely based on their content.
62 Each subnode only affects those parameters that are explicitly listed. In
63 other words, a subnode that lists a mux function but no pin configuration
64 parameters implies no information about any pin configuration parameters.
65 Similarly, a pin subnode that describes a pullup parameter implies no
66 information about e.g. the mux function.
69 The following generic properties as defined in pinctrl-bindings.txt are valid
70 to specify in a pin configuration subnode:
74 Value type: <string-array>
75 Definition: List of gpio pins affected by the properties specified in
80 Supports mux, bias and drive-strength
82 sdc2_clk, sdc2_cmd, sdc2_data, ufs_reset
83 Supports bias and drive-strength
88 Definition: Specify the alternative function to be configured for the
89 specified pins. Functions are only valid for gpio pins.
92 gpio, adsp_ext, agera_pll, atest_char, atest_tsens,
93 atest_tsens2, atest_usb1, atest_usb10, atest_usb11,
94 atest_usb12, atest_usb13, atest_usb2, atest_usb20,
95 atest_usb21, atest_usb22, atest_usb23, audio_ref,
96 btfm_slimbus, cam_mclk, cci_async, cci_i2c, cci_timer0,
97 cci_timer1, cci_timer2, cci_timer3, cci_timer4, cri_trng,
98 cri_trng0, cri_trng1, dbg_out, ddr_bist, ddr_pxi0,
99 ddr_pxi1, ddr_pxi2, ddr_pxi3, edp_hot, edp_lcd, gcc_gp1,
100 gcc_gp2, gcc_gp3, jitter_bist, ldo_en, ldo_update,
101 lpass_slimbus, m_voc, mdp_vsync, mdp_vsync0, mdp_vsync1,
102 mdp_vsync2, mdp_vsync3, mss_lte, nav_pps, pa_indicator,
103 pci_e0, pci_e1, phase_flag, pll_bist, pll_bypassnl,
104 pll_reset, pri_mi2s, pri_mi2s_ws, prng_rosc, qdss_cti,
105 qdss, qlink_enable, qlink_request, qua_mi2s, qup0, qup1,
106 qup10, qup11, qup12, qup13, qup14, qup15, qup2, qup3, qup4,
107 qup5, qup6, qup7, qup8, qup9, qup_l4, qup_l5, qup_l6,
108 qspi_clk, qspi_cs, qspi_data, sd_write, sdc4_clk, sdc4_cmd,
109 sdc4_data, sec_mi2s, sp_cmu, spkr_i2s, ter_mi2s, tgu_ch0,
110 tgu_ch1, tgu_ch2, tgu_ch3, tsense_pwm1, tsense_pwm2,
111 tsif1_clk, tsif1_data, tsif1_en, tsif1_error, tsif1_sync,
112 tsif2_clk, tsif2_data, tsif2_en, tsif2_error, tsif2_sync,
113 uim1_clk, uim1_data, uim1_present, uim1_reset, uim2_clk,
114 uim2_data, uim2_present, uim2_reset, uim_batt, usb_phy,
115 vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1, wlan2_adc0,
121 Definition: The specified pins should be configured as no pull.
126 Definition: The specified pins should be configured as pull down.
131 Definition: The specified pins should be configured as pull up.
136 Definition: The specified pins are configured in output mode, driven
138 Not valid for sdc pins.
143 Definition: The specified pins are configured in output mode, driven
145 Not valid for sdc pins.
150 Definition: Selects the drive strength for the specified pins, in mA.
151 Valid values are: 2, 4, 6, 8, 10, 12, 14 and 16
155 tlmm: pinctrl@3400000 {
156 compatible = "qcom,sdm845-pinctrl";
157 reg = <0x03400000 0xc00000>;
158 interrupts = <GIC_SPI 208 0>;
161 interrupt-controller;
162 #interrupt-cells = <2>;
164 qup9_active: qup9-active {
166 pins = "gpio4", "gpio5";
171 pins = "gpio4", "gpio5";
172 drive-strength = <2>;