0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/usb/microchip,mpfs-musb.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Microchip MPFS USB Controller Device Tree Bindings
0008
0009 allOf:
0010 - $ref: usb-drd.yaml#
0011
0012 maintainers:
0013 - Conor Dooley <conor.dooley@microchip.com>
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - microchip,mpfs-musb
0019
0020 dr_mode: true
0021
0022 reg:
0023 maxItems: 1
0024
0025 interrupts:
0026 minItems: 2
0027 maxItems: 2
0028
0029 interrupt-names:
0030 items:
0031 - const: dma
0032 - const: mc
0033
0034 clocks:
0035 maxItems: 1
0036
0037 required:
0038 - compatible
0039 - reg
0040 - interrupts
0041 - interrupt-names
0042 - clocks
0043
0044 additionalProperties: false
0045
0046 examples:
0047 - |
0048 #include "dt-bindings/clock/microchip,mpfs-clock.h"
0049 usb@20201000 {
0050 compatible = "microchip,mpfs-musb";
0051 reg = <0x20201000 0x1000>;
0052 clocks = <&clkcfg CLK_USB>;
0053 interrupt-parent = <&plic>;
0054 interrupts = <86>, <87>;
0055 interrupt-names = "dma", "mc";
0056 dr_mode = "host";
0057 };
0058
0059 ...