Add fsl,ls-dwc3.yaml for layerscape usb3 glue layer. Layerscape supports DMA coherent bus fabric. It needs to pass down a software-managed property to the DWC3 core. Signed-off-by: Frank Li <Frank.Li@xxxxxxx> --- .../devicetree/bindings/usb/fsl,ls-dwc3.yaml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/fsl,ls-dwc3.yaml b/Documentation/devicetree/bindings/usb/fsl,ls-dwc3.yaml new file mode 100644 index 0000000000000..e79416122d12b --- /dev/null +++ b/Documentation/devicetree/bindings/usb/fsl,ls-dwc3.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/fsl,ls-dwc3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale layerscape DWC3 USB controller + +maintainers: + - Frank Li <Frank.Li@xxxxxxx> + +properties: + compatible: + const: fsl,ls1028a-dwc3 + + ranges: true + + '#address-cells': + enum: [ 1, 2 ] + + '#size-cells': + enum: [ 1, 2 ] + +# Required child node: + +patternProperties: + "^usb@[0-9a-f]+$": + $ref: snps,dwc3.yaml# + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + usb { + compatible = "fsl,ls1028a-dwc3"; + ranges; + #address-cells = <1>; + #size-cells = <1>; + + usb@31000000 { + compatible = "snps,dwc3"; + reg = <0x31000000 0x10000>; + interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; + dr_mode = "peripheral"; + }; + }; -- 2.34.1