1 Qualcomm MSM8916 TLMM block
3 This binding describes the Top Level Mode Multiplexer block found in the
9 Definition: must be "qcom,msm8916-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>
45 Definition: see ../gpio/gpio.txt
47 - gpio-reserved-ranges:
49 Definition: see ../gpio/gpio.txt
51 Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for
52 a general description of GPIO and interrupt bindings.
54 Please refer to pinctrl-bindings.txt in this directory for details of the
55 common pinctrl bindings used by client devices, including the meaning of the
56 phrase "pin configuration node".
58 The pin configuration nodes act as a container for an arbitrary number of
59 subnodes. Each of these subnodes represents some desired configuration for a
60 pin, a group, or a list of pins or groups. This configuration can include the
61 mux function to select on those pin(s)/group(s), and various pin configuration
62 parameters, such as pull-up, drive strength, etc.
65 PIN CONFIGURATION NODES:
67 The name of each subnode is not important; all subnodes should be enumerated
68 and processed purely based on their content.
70 Each subnode only affects those parameters that are explicitly listed. In
71 other words, a subnode that lists a mux function but no pin configuration
72 parameters implies no information about any pin configuration parameters.
73 Similarly, a pin subnode that describes a pullup parameter implies no
74 information about e.g. the mux function.
77 The following generic properties as defined in pinctrl-bindings.txt are valid
78 to specify in a pin configuration subnode:
82 Value type: <string-array>
83 Definition: List of gpio pins affected by the properties specified in
84 this subnode. Valid pins are:
101 Definition: Specify the alternative function to be configured for the
102 specified pins. Functions are only valid for gpio pins.
104 adsp_ext, alsp_int, atest_bbrx0, atest_bbrx1, atest_char, atest_char0,
105 atest_char1, atest_char2, atest_char3, atest_combodac, atest_gpsadc0,
106 atest_gpsadc1, atest_tsens, atest_wlan0, atest_wlan1, backlight_en,
107 bimc_dte0,bimc_dte1, blsp_i2c1, blsp_i2c2, blsp_i2c3, blsp_i2c4,
108 blsp_i2c5, blsp_i2c6, blsp_spi1, blsp_spi1_cs1, blsp_spi1_cs2,
109 blsp_spi1_cs3, blsp_spi2, blsp_spi2_cs1, blsp_spi2_cs2, blsp_spi2_cs3,
110 blsp_spi3, blsp_spi3_cs1, blsp_spi3_cs2, blsp_spi3_cs3, blsp_spi4,
111 blsp_spi5, blsp_spi6, blsp_uart1, blsp_uart2, blsp_uim1, blsp_uim2,
112 cam1_rst, cam1_standby, cam_mclk0, cam_mclk1, cci_async, cci_i2c,
113 cci_timer0, cci_timer1, cci_timer2, cdc_pdm0, codec_mad, dbg_out,
114 display_5v, dmic0_clk, dmic0_data, dsi_rst, ebi0_wrcdc, euro_us,
115 ext_lpass, flash_strobe, gcc_gp1_clk_a, gcc_gp1_clk_b, gcc_gp2_clk_a,
116 gcc_gp2_clk_b, gcc_gp3_clk_a, gcc_gp3_clk_b, gpio, gsm0_tx0, gsm0_tx1,
117 gsm1_tx0, gsm1_tx1, gyro_accl, kpsns0, kpsns1, kpsns2, ldo_en,
118 ldo_update, mag_int, mdp_vsync, modem_tsync, m_voc, nav_pps, nav_tsync,
119 pa_indicator, pbs0, pbs1, pbs2, pri_mi2s, pri_mi2s_ws, prng_rosc,
120 pwr_crypto_enabled_a, pwr_crypto_enabled_b, pwr_modem_enabled_a,
121 pwr_modem_enabled_b, pwr_nav_enabled_a, pwr_nav_enabled_b,
122 qdss_ctitrig_in_a0, qdss_ctitrig_in_a1, qdss_ctitrig_in_b0,
123 qdss_ctitrig_in_b1, qdss_ctitrig_out_a0, qdss_ctitrig_out_a1,
124 qdss_ctitrig_out_b0, qdss_ctitrig_out_b1, qdss_traceclk_a,
125 qdss_traceclk_b, qdss_tracectl_a, qdss_tracectl_b, qdss_tracedata_a,
126 qdss_tracedata_b, reset_n, sd_card, sd_write, sec_mi2s, smb_int,
127 ssbi_wtr0, ssbi_wtr1, uim1, uim2, uim3, uim_batt, wcss_bt, wcss_fm,
128 wcss_wlan, webcam1_rst
133 Definition: The specified pins should be configued as no pull.
138 Definition: The specified pins should be configued as pull down.
143 Definition: The specified pins should be configued as pull up.
148 Definition: The specified pins are configured in output mode, driven
150 Not valid for sdc pins.
155 Definition: The specified pins are configured in output mode, driven
157 Not valid for sdc pins.
162 Definition: Selects the drive strength for the specified pins, in mA.
163 Valid values are: 2, 4, 6, 8, 10, 12, 14 and 16
167 tlmm: pinctrl@1000000 {
168 compatible = "qcom,msm8916-pinctrl";
169 reg = <0x1000000 0x300000>;
170 interrupts = <0 208 0>;
173 gpio-ranges = <&tlmm 0 0 122>;
174 interrupt-controller;
175 #interrupt-cells = <2>;
177 uart2: uart2-default {
179 pins = "gpio4", "gpio5";
180 function = "blsp_uart2";
185 drive-strength = <4>;
191 drive-strength = <2>;