15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/qcom,tlmm-common.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Qualcomm Technologies, Inc. Top Level Mode Multiplexer (TLMM) definitions 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Bjorn Andersson <bjorn.andersson@linaro.org> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotdescription: 135def4c47SEmmanuel Vadot This defines the common properties used to describe all Qualcomm Top Level 145def4c47SEmmanuel Vadot Mode Multiplexer bindings and pinconf/pinmux states for these. 155def4c47SEmmanuel Vadot 165def4c47SEmmanuel Vadotproperties: 175def4c47SEmmanuel Vadot interrupts: 185def4c47SEmmanuel Vadot description: 19cb7aa33aSEmmanuel Vadot TLMM summary IRQ and dirconn interrupts. 20cb7aa33aSEmmanuel Vadot minItems: 1 21cb7aa33aSEmmanuel Vadot maxItems: 9 225def4c47SEmmanuel Vadot 235def4c47SEmmanuel Vadot interrupt-controller: true 245def4c47SEmmanuel Vadot 255def4c47SEmmanuel Vadot '#interrupt-cells': 265def4c47SEmmanuel Vadot description: 275def4c47SEmmanuel Vadot Specifies the PIN numbers and Flags, as defined in defined in 285def4c47SEmmanuel Vadot include/dt-bindings/interrupt-controller/irq.h 295def4c47SEmmanuel Vadot const: 2 305def4c47SEmmanuel Vadot 315def4c47SEmmanuel Vadot gpio-controller: true 325def4c47SEmmanuel Vadot 335def4c47SEmmanuel Vadot '#gpio-cells': 345def4c47SEmmanuel Vadot description: 355def4c47SEmmanuel Vadot Specifying the pin number and flags, as defined in 365def4c47SEmmanuel Vadot include/dt-bindings/gpio/gpio.h 375def4c47SEmmanuel Vadot const: 2 385def4c47SEmmanuel Vadot 395def4c47SEmmanuel Vadot gpio-ranges: 405def4c47SEmmanuel Vadot maxItems: 1 415def4c47SEmmanuel Vadot 425def4c47SEmmanuel Vadot wakeup-parent: 435def4c47SEmmanuel Vadot description: 445def4c47SEmmanuel Vadot Specifying the interrupt-controller used to wake up the system when the 455def4c47SEmmanuel Vadot TLMM block has been powered down. 465def4c47SEmmanuel Vadot 475def4c47SEmmanuel Vadot gpio-reserved-ranges: 485def4c47SEmmanuel Vadot description: 495def4c47SEmmanuel Vadot Pins can be reserved for trusted applications and thereby unaccessible 505def4c47SEmmanuel Vadot from the OS. This property can be used to mark the pins which resources 515def4c47SEmmanuel Vadot should not be accessed by the OS. Please see the ../gpio/gpio.txt for more 525def4c47SEmmanuel Vadot information. 535def4c47SEmmanuel Vadot 54e67e8565SEmmanuel VadotallOf: 55*fac71e4eSEmmanuel Vadot - $ref: pinctrl.yaml# 56e67e8565SEmmanuel Vadot 575def4c47SEmmanuel Vadotrequired: 585def4c47SEmmanuel Vadot - interrupts 595def4c47SEmmanuel Vadot - interrupt-controller 605def4c47SEmmanuel Vadot - '#interrupt-cells' 615def4c47SEmmanuel Vadot - gpio-controller 625def4c47SEmmanuel Vadot - '#gpio-cells' 635def4c47SEmmanuel Vadot - gpio-ranges 645def4c47SEmmanuel Vadot 655def4c47SEmmanuel VadotadditionalProperties: true 665def4c47SEmmanuel Vadot 675def4c47SEmmanuel Vadot$defs: 685def4c47SEmmanuel Vadot qcom-tlmm-state: 695def4c47SEmmanuel Vadot properties: 705def4c47SEmmanuel Vadot drive-strength: 715def4c47SEmmanuel Vadot enum: [2, 4, 6, 8, 10, 12, 14, 16] 725def4c47SEmmanuel Vadot description: 735def4c47SEmmanuel Vadot Selects the drive strength for the specified pins, in mA. 745def4c47SEmmanuel Vadot 755def4c47SEmmanuel Vadot bias-pull-down: true 765def4c47SEmmanuel Vadot bias-pull-up: true 775def4c47SEmmanuel Vadot bias-disable: true 78*fac71e4eSEmmanuel Vadot input-enable: false 79*fac71e4eSEmmanuel Vadot output-disable: true 80*fac71e4eSEmmanuel Vadot output-enable: true 815def4c47SEmmanuel Vadot output-high: true 825def4c47SEmmanuel Vadot output-low: true 835def4c47SEmmanuel Vadot 848bab661aSEmmanuel Vadot allOf: 858bab661aSEmmanuel Vadot - $ref: pincfg-node.yaml# 868bab661aSEmmanuel Vadot - $ref: pinmux-node.yaml# 878bab661aSEmmanuel Vadot 888bab661aSEmmanuel Vadot - if: 898bab661aSEmmanuel Vadot properties: 908bab661aSEmmanuel Vadot pins: 918bab661aSEmmanuel Vadot items: 928bab661aSEmmanuel Vadot pattern: "^gpio" 938bab661aSEmmanuel Vadot then: 948bab661aSEmmanuel Vadot required: 958bab661aSEmmanuel Vadot - function 968bab661aSEmmanuel Vadot else: 978bab661aSEmmanuel Vadot properties: 988bab661aSEmmanuel Vadot function: false 998bab661aSEmmanuel Vadot 1005def4c47SEmmanuel Vadot additionalProperties: true 1015def4c47SEmmanuel Vadot... 102