2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-16 01:24:08 +08:00
linux-next/Documentation/devicetree/bindings/usb/marvell,pxau2o-ehci.yaml
Lubomir Rintel ece9e0684e dt-bindings: usb: Convert ehci-mv to json-schema
A straightforward conversion of the ehci-mv binding to DT schema format
using json-schema.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
[robh: add unevaluatedProperties]
Signed-off-by: Rob Herring <robh@kernel.org>
2020-05-28 17:06:28 -06:00

63 lines
1.0 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright 2019,2020 Lubomir Rintel <lkundrak@v3.sk>
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/marvell,pxau2o-ehci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Marvell PXA/MMP EHCI bindings
maintainers:
- Lubomir Rintel <lkundrak@v3.sk>
allOf:
- $ref: usb-hcd.yaml#
properties:
compatible:
const: marvell,pxau2o-ehci
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
maxItems: 1
clock-names:
const: USBCLK
phys:
maxItems: 1
phy-names:
const: usb
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
- phys
- phy-names
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/marvell,mmp2.h>
usb@d4208000 {
compatible = "marvell,pxau2o-ehci";
reg = <0xd4208000 0x200>;
interrupts = <44>;
clocks = <&soc_clocks MMP2_CLK_USB>;
clock-names = "USBCLK";
phys = <&usb_otg_phy>;
phy-names = "usb";
};
...