xref: /freebsd/sys/contrib/device-tree/Bindings/usb/microchip,usb2514.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
17d0873ebSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
27d0873ebSEmmanuel Vadot%YAML 1.2
37d0873ebSEmmanuel Vadot---
47d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/usb/microchip,usb2514.yaml#
57d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67d0873ebSEmmanuel Vadot
77d0873ebSEmmanuel Vadottitle: Microchip USB2514 Hub Controller
87d0873ebSEmmanuel Vadot
97d0873ebSEmmanuel Vadotmaintainers:
107d0873ebSEmmanuel Vadot  - Fabio Estevam <festevam@gmail.com>
117d0873ebSEmmanuel Vadot
127d0873ebSEmmanuel VadotallOf:
13*0e8011faSEmmanuel Vadot  - $ref: usb-device.yaml#
147d0873ebSEmmanuel Vadot
157d0873ebSEmmanuel Vadotproperties:
167d0873ebSEmmanuel Vadot  compatible:
177d0873ebSEmmanuel Vadot    enum:
187d0873ebSEmmanuel Vadot      - usb424,2412
197d0873ebSEmmanuel Vadot      - usb424,2417
207d0873ebSEmmanuel Vadot      - usb424,2514
21*0e8011faSEmmanuel Vadot      - usb424,2517
227d0873ebSEmmanuel Vadot
237d0873ebSEmmanuel Vadot  reg: true
247d0873ebSEmmanuel Vadot
257d0873ebSEmmanuel Vadot  reset-gpios:
267d0873ebSEmmanuel Vadot    description: GPIO connected to the RESET_N pin.
277d0873ebSEmmanuel Vadot
287d0873ebSEmmanuel Vadot  vdd-supply:
297d0873ebSEmmanuel Vadot    description: 3.3V power supply.
307d0873ebSEmmanuel Vadot
317d0873ebSEmmanuel Vadot  clocks:
327d0873ebSEmmanuel Vadot    description: External 24MHz clock connected to the CLKIN pin.
337d0873ebSEmmanuel Vadot    maxItems: 1
347d0873ebSEmmanuel Vadot
357d0873ebSEmmanuel Vadotrequired:
367d0873ebSEmmanuel Vadot  - compatible
377d0873ebSEmmanuel Vadot  - reg
387d0873ebSEmmanuel Vadot
39*0e8011faSEmmanuel VadotpatternProperties:
40*0e8011faSEmmanuel Vadot  "^.*@[0-9a-f]{1,2}$":
41*0e8011faSEmmanuel Vadot    description: The hard wired USB devices
42*0e8011faSEmmanuel Vadot    type: object
43*0e8011faSEmmanuel Vadot    $ref: /schemas/usb/usb-device.yaml
44*0e8011faSEmmanuel Vadot    additionalProperties: true
45*0e8011faSEmmanuel Vadot
467d0873ebSEmmanuel VadotunevaluatedProperties: false
477d0873ebSEmmanuel Vadot
487d0873ebSEmmanuel Vadotexamples:
497d0873ebSEmmanuel Vadot  - |
507d0873ebSEmmanuel Vadot    #include <dt-bindings/clock/imx6qdl-clock.h>
517d0873ebSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
527d0873ebSEmmanuel Vadot
537d0873ebSEmmanuel Vadot    usb {
547d0873ebSEmmanuel Vadot        #address-cells = <1>;
557d0873ebSEmmanuel Vadot        #size-cells = <0>;
567d0873ebSEmmanuel Vadot
577d0873ebSEmmanuel Vadot        usb-hub@1 {
587d0873ebSEmmanuel Vadot            compatible = "usb424,2514";
597d0873ebSEmmanuel Vadot            reg = <1>;
607d0873ebSEmmanuel Vadot            clocks = <&clks IMX6QDL_CLK_CKO>;
617d0873ebSEmmanuel Vadot            reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
627d0873ebSEmmanuel Vadot            vdd-supply = <&reg_3v3_hub>;
637d0873ebSEmmanuel Vadot            #address-cells = <1>;
647d0873ebSEmmanuel Vadot            #size-cells = <0>;
657d0873ebSEmmanuel Vadot
667d0873ebSEmmanuel Vadot            ethernet@1 {
677d0873ebSEmmanuel Vadot                compatible = "usbb95,772b";
687d0873ebSEmmanuel Vadot                reg = <1>;
697d0873ebSEmmanuel Vadot            };
707d0873ebSEmmanuel Vadot        };
717d0873ebSEmmanuel Vadot    };
72