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/usb/brcm,usb-pinmap.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Broadcom USB pin map Controller 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Al Cooper <alcooperx@gmail.com> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotproperties: 135def4c47SEmmanuel Vadot compatible: 145def4c47SEmmanuel Vadot items: 155def4c47SEmmanuel Vadot - const: brcm,usb-pinmap 165def4c47SEmmanuel Vadot 175def4c47SEmmanuel Vadot reg: 185def4c47SEmmanuel Vadot maxItems: 1 195def4c47SEmmanuel Vadot 205def4c47SEmmanuel Vadot interrupts: 215def4c47SEmmanuel Vadot maxItems: 1 225def4c47SEmmanuel Vadot description: Interrupt for signals mirrored to out-gpios. 235def4c47SEmmanuel Vadot 245def4c47SEmmanuel Vadot in-gpios: 255def4c47SEmmanuel Vadot minItems: 1 265def4c47SEmmanuel Vadot maxItems: 2 275def4c47SEmmanuel Vadot description: Array of one or two GPIO pins used for input signals. 285def4c47SEmmanuel Vadot 295def4c47SEmmanuel Vadot brcm,in-functions: 305def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string-array 315def4c47SEmmanuel Vadot description: Array of input signal names, one per gpio in in-gpios. 325def4c47SEmmanuel Vadot 335def4c47SEmmanuel Vadot brcm,in-masks: 345def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32-array 355def4c47SEmmanuel Vadot description: Array of enable and mask pairs, one per gpio in-gpios. 365def4c47SEmmanuel Vadot 375def4c47SEmmanuel Vadot out-gpios: 385def4c47SEmmanuel Vadot maxItems: 1 395def4c47SEmmanuel Vadot description: Array of one GPIO pin used for output signals. 405def4c47SEmmanuel Vadot 415def4c47SEmmanuel Vadot brcm,out-functions: 425def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string-array 435def4c47SEmmanuel Vadot description: Array of output signal names, one per gpio in out-gpios. 445def4c47SEmmanuel Vadot 455def4c47SEmmanuel Vadot brcm,out-masks: 465def4c47SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32-array 475def4c47SEmmanuel Vadot description: Array of enable, value, changed and clear masks, one 485def4c47SEmmanuel Vadot per gpio in out-gpios. 495def4c47SEmmanuel Vadot 505def4c47SEmmanuel Vadotrequired: 515def4c47SEmmanuel Vadot - compatible 525def4c47SEmmanuel Vadot - reg 535def4c47SEmmanuel Vadot 545def4c47SEmmanuel VadotadditionalProperties: false 555def4c47SEmmanuel Vadot 565def4c47SEmmanuel Vadotdependencies: 575def4c47SEmmanuel Vadot in-gpios: [ interrupts ] 585def4c47SEmmanuel Vadot 595def4c47SEmmanuel Vadotexamples: 605def4c47SEmmanuel Vadot - | 615def4c47SEmmanuel Vadot usb_pinmap: usb-pinmap@22000d0 { 625def4c47SEmmanuel Vadot compatible = "brcm,usb-pinmap"; 635def4c47SEmmanuel Vadot reg = <0x22000d0 0x4>; 645def4c47SEmmanuel Vadot in-gpios = <&gpio 18 0>, <&gpio 19 0>; 655def4c47SEmmanuel Vadot brcm,in-functions = "VBUS", "PWRFLT"; 665def4c47SEmmanuel Vadot brcm,in-masks = <0x8000 0x40000 0x10000 0x80000>; 675def4c47SEmmanuel Vadot out-gpios = <&gpio 20 0>; 685def4c47SEmmanuel Vadot brcm,out-functions = "PWRON"; 695def4c47SEmmanuel Vadot brcm,out-masks = <0x20000 0x800000 0x400000 0x200000>; 705def4c47SEmmanuel Vadot interrupts = <0x0 0xb2 0x4>; 715def4c47SEmmanuel Vadot }; 725def4c47SEmmanuel Vadot 735def4c47SEmmanuel Vadot... 74