xref: /linux/Documentation/devicetree/bindings/phy/nuvoton,ma35d1-usb2-phy.yaml (revision c7546e2c3cb739a3c1a2f5acaf9bb629d401afe5)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/nuvoton,ma35d1-usb2-phy.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Nuvoton MA35D1 USB2 phy
8
9maintainers:
10  - Hui-Ping Chen <hpchen0nvt@gmail.com>
11
12properties:
13  compatible:
14    enum:
15      - nuvoton,ma35d1-usb2-phy
16
17  "#phy-cells":
18    const: 0
19
20  clocks:
21    maxItems: 1
22
23  nuvoton,sys:
24    $ref: /schemas/types.yaml#/definitions/phandle
25    description:
26      phandle to syscon for checking the PHY clock status.
27
28required:
29  - compatible
30  - "#phy-cells"
31  - clocks
32  - nuvoton,sys
33
34additionalProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
39
40    usb_phy: usb-phy {
41        compatible = "nuvoton,ma35d1-usb2-phy";
42        clocks = <&clk USBD_GATE>;
43        nuvoton,sys = <&sys>;
44        #phy-cells = <0>;
45    };
46