Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/usb/microchip,usb2514.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Microchip USB2514 Hub Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Fabio Estevam <festevam@gmail.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: usb-hcd.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - usb424,2412 |
| 19 | - usb424,2417 |
| 20 | - usb424,2514 |
| 21 | |
| 22 | reg: true |
| 23 | |
| 24 | reset-gpios: |
| 25 | description: GPIO connected to the RESET_N pin. |
| 26 | |
| 27 | vdd-supply: |
| 28 | description: 3.3V power supply. |
| 29 | |
| 30 | clocks: |
| 31 | description: External 24MHz clock connected to the CLKIN pin. |
| 32 | maxItems: 1 |
| 33 | |
| 34 | required: |
| 35 | - compatible |
| 36 | - reg |
| 37 | |
| 38 | unevaluatedProperties: false |
| 39 | |
| 40 | examples: |
| 41 | - | |
| 42 | #include <dt-bindings/clock/imx6qdl-clock.h> |
| 43 | #include <dt-bindings/gpio/gpio.h> |
| 44 | |
| 45 | usb { |
| 46 | #address-cells = <1>; |
| 47 | #size-cells = <0>; |
| 48 | |
| 49 | usb-hub@1 { |
| 50 | compatible = "usb424,2514"; |
| 51 | reg = <1>; |
| 52 | clocks = <&clks IMX6QDL_CLK_CKO>; |
| 53 | reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; |
| 54 | vdd-supply = <®_3v3_hub>; |
| 55 | #address-cells = <1>; |
| 56 | #size-cells = <0>; |
| 57 | |
| 58 | ethernet@1 { |
| 59 | compatible = "usbb95,772b"; |
| 60 | reg = <1>; |
| 61 | }; |
| 62 | }; |
| 63 | }; |