Commit ecc4103f authored by Shubhrajyoti Datta's avatar Shubhrajyoti Datta Committed by Rob Herring

dt-binding: usb: xilinx: Convert binding to YAML

Convert the current udc xilinx binding from text format to YAML
format/DT schema, and delete the legacy text binding file.
Signed-off-by: default avatarShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/20210826053433.1599019-1-shubhrajyoti.datta@xilinx.comSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 6880fa6c
Xilinx USB2 device controller
Required properties:
- compatible : Should be "xlnx,usb2-device-4.00.a"
- reg : Physical base address and size of the USB2
device registers map.
- interrupts : Should contain single irq line of USB2 device
controller
- xlnx,has-builtin-dma : if DMA is included
Example:
axi-usb2-device@42e00000 {
compatible = "xlnx,usb2-device-4.00.a";
interrupts = <0x0 0x39 0x1>;
reg = <0x42e00000 0x10000>;
xlnx,has-builtin-dma;
};
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/xlnx,usb2.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Xilinx udc controller
maintainers:
- Manish Narani <manish.narani@xilinx.com>
properties:
compatible:
const: xlnx,usb2-device-4.00.a
reg:
maxItems: 1
interrupts:
maxItems: 1
xlnx,has-builtin-dma:
description:
If present, hardware has dma capability.
type: boolean
required:
- compatible
- reg
- interrupts
additionalProperties: false
examples:
- |
axi-usb2-device@42e00000 {
compatible = "xlnx,usb2-device-4.00.a";
interrupts = <0x0 0x39 0x1>;
reg = <0xee000000 0xc00>;
xlnx,has-builtin-dma;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment