1 Qualcomm MDM9615 TLMM block
3 This binding describes the Top Level Mode Multiplexer block found in the
9 Definition: must be "qcom,mdm9615-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:
90 Definition: Specify the alternative function to be configured for the
93 gpio, gsbi2_i2c, gsbi3, gsbi4, gsbi5_i2c, gsbi5_uart,
94 sdc2, ebi2_lcdc, ps_hold, prim_audio, sec_audio,
100 Definition: The specified pins should be configured as no pull.
105 Definition: The specified pins should be configured as pull down.
110 Definition: The specified pins should be configured as pull up.
115 Definition: The specified pins are configured in output mode, driven
121 Definition: The specified pins are configured in output mode, driven
127 Definition: Selects the drive strength for the specified pins, in mA.
128 Valid values are: 2, 4, 6, 8, 10, 12, 14 and 16
132 msmgpio: pinctrl@800000 {
133 compatible = "qcom,mdm9615-pinctrl";
134 reg = <0x800000 0x4000>;
138 gpio-ranges = <&msmgpio 0 0 88>;
139 interrupt-controller;
140 #interrupt-cells = <2>;
141 interrupts = <0 16 0x4>;
143 gsbi8_uart: gsbi8-uart {
145 pins = "gpio34", "gpio35";
151 drive-strength = <4>;
157 drive-strength = <2>;