79 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2022 Linaro Ltd.3%YAML 1.24---5$id: http://devicetree.org/schemas/usb/faraday,fotg210.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Faraday Technology FOTG200 series HS OTG USB 2.0 controller9 10maintainers:11 - Linus Walleij <linus.walleij@linaro.org>12 13allOf:14 - $ref: usb-drd.yaml#15 - $ref: usb-hcd.yaml#16 17properties:18 compatible:19 oneOf:20 - const: faraday,fotg20021 - const: faraday,fotg21022 - items:23 - const: cortina,gemini-usb24 - const: faraday,fotg20025 26 reg:27 maxItems: 128 29 interrupts:30 maxItems: 131 32 clocks:33 maxItems: 134 35 clock-names:36 items:37 - const: PCLK38 39 resets:40 maxItems: 141 42 syscon:43 $ref: /schemas/types.yaml#/definitions/phandle44 description: a phandle to the global Gemini system controller on45 Gemini systems46 47 dr_mode: true48 49 phys:50 maxItems: 151 52 phy-names:53 const: usb2-phy54 55required:56 - compatible57 - reg58 - interrupts59 - clocks60 - clock-names61 62additionalProperties: false63 64examples:65 - |66 #include <dt-bindings/interrupt-controller/irq.h>67 #include <dt-bindings/clock/cortina,gemini-clock.h>68 #include <dt-bindings/reset/cortina,gemini-reset.h>69 usb0: usb@68000000 {70 compatible = "cortina,gemini-usb", "faraday,fotg200";71 reg = <0x68000000 0x1000>;72 interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;73 resets = <&syscon GEMINI_RESET_USB0>;74 clocks = <&syscon GEMINI_CLK_GATE_USB0>;75 clock-names = "PCLK";76 syscon = <&syscon>;77 dr_mode = "host";78 };79