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


Based on kernel version 6.13. Page generated on 2025-01-21 08:20 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/nuvoton,ma35d1-usb2-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Nuvoton MA35D1 USB2 phy

maintainers:
  - Hui-Ping Chen <hpchen0nvt@gmail.com>

properties:
  compatible:
    enum:
      - nuvoton,ma35d1-usb2-phy
 
  "#phy-cells":
    const: 0

  clocks:
    maxItems: 1

  nuvoton,sys:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      phandle to syscon for checking the PHY clock status.

required:
  - compatible
  - "#phy-cells"
  - clocks
  - nuvoton,sys

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
 
    usb_phy: usb-phy {
        compatible = "nuvoton,ma35d1-usb2-phy";
        clocks = <&clk USBD_GATE>;
        nuvoton,sys = <&sys>;
        #phy-cells = <0>;
    };