1 Qualcomm Technologies, Inc. IPQ8074 TLMM block
3 This binding describes the Top Level Mode Multiplexer block found in the
9 Definition: must be "qcom,ipq8074-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
91 specified pins. Functions are only valid for gpio pins.
93 atest_char, atest_char0, atest_char1, atest_char2,
94 atest_char3, audio_rxbclk, audio_rxd, audio_rxfsync,
95 audio_rxmclk, audio_txbclk, audio_txd, audio_txfsync,
96 audio_txmclk, blsp0_i2c, blsp0_spi, blsp0_uart, blsp1_i2c,
97 blsp1_spi, blsp1_uart, blsp2_i2c, blsp2_spi, blsp2_uart,
98 blsp3_i2c, blsp3_spi, blsp3_spi0, blsp3_spi1, blsp3_spi2,
99 blsp3_spi3, blsp3_uart, blsp4_i2c0, blsp4_i2c1, blsp4_spi0,
100 blsp4_spi1, blsp4_uart0, blsp4_uart1, blsp5_i2c, blsp5_spi,
101 blsp5_uart, burn0, burn1, cri_trng, cri_trng0, cri_trng1,
102 cxc0, cxc1, dbg_out, gcc_plltest, gcc_tlmm, gpio, ldo_en,
103 ldo_update, led0, led1, led2, mac0_sa0, mac0_sa1, mac1_sa0,
104 mac1_sa1, mac1_sa2, mac1_sa3, mac2_sa0, mac2_sa1, mdc,
105 mdio, pcie0_clk, pcie0_rst, pcie0_wake, pcie1_clk,
106 pcie1_rst, pcie1_wake, pcm_drx, pcm_dtx, pcm_fsync,
107 pcm_pclk, pcm_zsi0, pcm_zsi1, prng_rosc, pta1_0, pta1_1,
108 pta1_2, pta2_0, pta2_1, pta2_2, pwm0, pwm1, pwm2, pwm3,
109 qdss_cti_trig_in_a0, qdss_cti_trig_in_a1,
110 qdss_cti_trig_in_b0, qdss_cti_trig_in_b1,
111 qdss_cti_trig_out_a0, qdss_cti_trig_out_a1,
112 qdss_cti_trig_out_b0, qdss_cti_trig_out_b1,
113 qdss_traceclk_a, qdss_traceclk_b, qdss_tracectl_a,
114 qdss_tracectl_b, qdss_tracedata_a, qdss_tracedata_b,
115 qpic, rx0, rx1, rx2, sd_card, sd_write, tsens_max, wci2a,
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
142 Definition: The specified pins are configured in output mode, driven
148 Definition: Selects the drive strength for the specified pins, in mA.
149 Valid values are: 2, 4, 6, 8, 10, 12, 14 and 16
153 tlmm: pinctrl@1000000 {
154 compatible = "qcom,ipq8074-pinctrl";
155 reg = <0x1000000 0x300000>;
156 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
159 gpio-ranges = <&tlmm 0 0 70>;
160 interrupt-controller;
161 #interrupt-cells = <2>;
163 uart2: uart2-default {
165 pins = "gpio23", "gpio24";
166 function = "blsp4_uart1";
171 drive-strength = <4>;
177 drive-strength = <2>;