102 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/pinctrl/qcom,tlmm-common.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Technologies, Inc. Top Level Mode Multiplexer (TLMM) definitions8 9maintainers:10 - Bjorn Andersson <bjorn.andersson@linaro.org>11 12description:13 This defines the common properties used to describe all Qualcomm Top Level14 Mode Multiplexer bindings and pinconf/pinmux states for these.15 16properties:17 interrupts:18 description:19 TLMM summary IRQ and dirconn interrupts.20 minItems: 121 maxItems: 922 23 interrupt-controller: true24 25 '#interrupt-cells':26 description:27 Specifies the PIN numbers and Flags, as defined in defined in28 include/dt-bindings/interrupt-controller/irq.h29 const: 230 31 gpio-controller: true32 33 '#gpio-cells':34 description:35 Specifying the pin number and flags, as defined in36 include/dt-bindings/gpio/gpio.h37 const: 238 39 gpio-ranges:40 maxItems: 141 42 wakeup-parent:43 description:44 Specifying the interrupt-controller used to wake up the system when the45 TLMM block has been powered down.46 47 gpio-reserved-ranges:48 description:49 Pins can be reserved for trusted applications and thereby unaccessible50 from the OS. This property can be used to mark the pins which resources51 should not be accessed by the OS. Please see the ../gpio/gpio.txt for more52 information.53 54allOf:55 - $ref: pinctrl.yaml#56 57required:58 - interrupts59 - interrupt-controller60 - '#interrupt-cells'61 - gpio-controller62 - '#gpio-cells'63 - gpio-ranges64 65additionalProperties: true66 67$defs:68 qcom-tlmm-state:69 properties:70 drive-strength:71 enum: [2, 4, 6, 8, 10, 12, 14, 16]72 description:73 Selects the drive strength for the specified pins, in mA.74 75 bias-pull-down: true76 bias-pull-up: true77 bias-disable: true78 input-enable: false79 output-disable: true80 output-enable: true81 output-high: true82 output-low: true83 84 allOf:85 - $ref: pincfg-node.yaml#86 - $ref: pinmux-node.yaml#87 88 - if:89 properties:90 pins:91 items:92 pattern: "^gpio"93 then:94 required:95 - function96 else:97 properties:98 function: false99 100 additionalProperties: true101...102