Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: usb: add bindings for microchip mpfs musb

Add device tree bindings for the usb controller on
the Microchip PolarFire SoC.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220117110755.3433142-8-conor.dooley@microchip.com
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Conor Dooley and committed by
Greg Kroah-Hartman
7efa9807 0bf6f145

+59
+59
Documentation/devicetree/bindings/usb/microchip,mpfs-musb.yaml
··· 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,mpfs-musb.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Microchip MPFS USB Controller Device Tree Bindings 8 + 9 + allOf: 10 + - $ref: usb-drd.yaml# 11 + 12 + maintainers: 13 + - Conor Dooley <conor.dooley@microchip.com> 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - microchip,mpfs-musb 19 + 20 + dr_mode: true 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + interrupts: 26 + minItems: 2 27 + maxItems: 2 28 + 29 + interrupt-names: 30 + items: 31 + - const: dma 32 + - const: mc 33 + 34 + clocks: 35 + maxItems: 1 36 + 37 + required: 38 + - compatible 39 + - reg 40 + - interrupts 41 + - interrupt-names 42 + - clocks 43 + 44 + additionalProperties: false 45 + 46 + examples: 47 + - | 48 + #include "dt-bindings/clock/microchip,mpfs-clock.h" 49 + usb@20201000 { 50 + compatible = "microchip,mpfs-musb"; 51 + reg = <0x20201000 0x1000>; 52 + clocks = <&clkcfg CLK_USB>; 53 + interrupt-parent = <&plic>; 54 + interrupts = <86>, <87>; 55 + interrupt-names = "dma", "mc"; 56 + dr_mode = "host"; 57 + }; 58 + 59 + ...