1 Qualcomm MSM8960 TLMM block
3 This binding describes the Top Level Mode Multiplexer block found in the
9 Definition: must be "qcom,msm8960-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:
96 Definition: Specify the alternative function to be configured for the
97 specified pins. Functions are only valid for gpio pins.
99 audio_pcm, bt, cam_mclk0, cam_mclk1, cam_mclk2,
100 codec_mic_i2s, codec_spkr_i2s, ext_gps, fm, gps_blanking,
101 gps_pps_in, gps_pps_out, gp_clk_0a, gp_clk_0b, gp_clk_1a,
102 gp_clk_1b, gp_clk_2a, gp_clk_2b, gp_mn, gp_pdm_0a,
103 gp_pdm_0b, gp_pdm_1a, gp_pdm_1b, gp_pdm_2a, gp_pdm_2b, gpio,
104 gsbi1, gsbi1_spi_cs1_n, gsbi1_spi_cs2a_n, gsbi1_spi_cs2b_n,
105 gsbi1_spi_cs3_n, gsbi2, gsbi2_spi_cs1_n, gsbi2_spi_cs2_n,
106 gsbi2_spi_cs3_n, gsbi3, gsbi4, gsbi4_3d_cam_i2c_l,
107 gsbi4_3d_cam_i2c_r, gsbi5, gsbi5_3d_cam_i2c_l,
108 gsbi5_3d_cam_i2c_r, gsbi6, gsbi7, gsbi8, gsbi9, gsbi10,
109 gsbi11, gsbi11_spi_cs1a_n, gsbi11_spi_cs1b_n,
110 gsbi11_spi_cs2a_n, gsbi11_spi_cs2b_n, gsbi11_spi_cs3_n,
111 gsbi12, hdmi_cec, hdmi_ddc_clock, hdmi_ddc_data,
112 hdmi_hot_plug_detect, hsic, mdp_vsync, mi2s, mic_i2s,
113 pmb_clk, pmb_ext_ctrl, ps_hold, rpm_wdog, sdc2, sdc4, sdc5,
114 slimbus1, slimbus2, spkr_i2s, ssbi1, ssbi2, ssbi_ext_gps,
115 ssbi_pmic2, ssbi_qpa1, ssbi_ts, tsif1, tsif2, ts_eoc,
116 usb_fs1, usb_fs1_oe, usb_fs1_oe_n, usb_fs2, usb_fs2_oe,
117 usb_fs2_oe_n, vfe_camif_timer1_a, vfe_camif_timer1_b,
118 vfe_camif_timer2, vfe_camif_timer3_a, vfe_camif_timer3_b,
119 vfe_camif_timer4_a, vfe_camif_timer4_b, vfe_camif_timer4_c,
120 vfe_camif_timer5_a, vfe_camif_timer5_b, vfe_camif_timer6_a,
121 vfe_camif_timer6_b, vfe_camif_timer6_c, vfe_camif_timer7_a,
122 vfe_camif_timer7_b, vfe_camif_timer7_c, wlan
127 Definition: The specified pins should be configued as no pull.
132 Definition: The specified pins should be configued as pull down.
137 Definition: The specified pins should be configued as pull up.
142 Definition: The specified pins are configured in output mode, driven
144 Not valid for sdc pins.
149 Definition: The specified pins are configured in output mode, driven
151 Not valid for sdc pins.
156 Definition: Selects the drive strength for the specified pins, in mA.
157 Valid values are: 2, 4, 6, 8, 10, 12, 14 and 16
161 msmgpio: pinctrl@800000 {
162 compatible = "qcom,msm8960-pinctrl";
163 reg = <0x800000 0x4000>;
167 gpio-ranges = <&msmgpio 0 0 152>;
168 interrupt-controller;
169 #interrupt-cells = <2>;
170 interrupts = <0 16 0x4>;
172 gsbi8_uart: gsbi8-uart {
174 pins = "gpio34", "gpio35";
180 drive-strength = <4>;
186 drive-strength = <2>;