brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · b14e6f3 Raw
72 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/usb/microchip,usb2514.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip USB2514 Hub Controller8 9maintainers:10  - Fabio Estevam <festevam@gmail.com>11 12allOf:13  - $ref: usb-device.yaml#14 15properties:16  compatible:17    enum:18      - usb424,241219      - usb424,241720      - usb424,251421      - usb424,251722 23  reg: true24 25  reset-gpios:26    description: GPIO connected to the RESET_N pin.27 28  vdd-supply:29    description: 3.3V power supply.30 31  clocks:32    description: External 24MHz clock connected to the CLKIN pin.33    maxItems: 134 35required:36  - compatible37  - reg38 39patternProperties:40  "^.*@[0-9a-f]{1,2}$":41    description: The hard wired USB devices42    type: object43    $ref: /schemas/usb/usb-device.yaml44    additionalProperties: true45 46unevaluatedProperties: false47 48examples:49  - |50    #include <dt-bindings/clock/imx6qdl-clock.h>51    #include <dt-bindings/gpio/gpio.h>52 53    usb {54        #address-cells = <1>;55        #size-cells = <0>;56 57        usb-hub@1 {58            compatible = "usb424,2514";59            reg = <1>;60            clocks = <&clks IMX6QDL_CLK_CKO>;61            reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;62            vdd-supply = <&reg_3v3_hub>;63            #address-cells = <1>;64            #size-cells = <0>;65 66            ethernet@1 {67                compatible = "usbb95,772b";68                reg = <1>;69            };70        };71    };72