Debian Codegraph @

Documentation/devicetree/bindings/phy/nuvoton,ma35d1-usb2-phy.yaml

raw
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
7 title: Nuvoton MA35D1 USB2 phy
8
9 maintainers:
10 - Hui-Ping Chen <[email protected]>
11
12 properties:
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
28 required:
29 - compatible
30 - "#phy-cells"
31 - clocks
32 - nuvoton,sys
33
34 additionalProperties: false
35
36 examples:
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 };