xref: /freebsd/sys/contrib/device-tree/Bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot# Copyright 2019 Ondrej Jirman <megous@megous.com>
3c66ec88fSEmmanuel Vadot%YAML 1.2
4c66ec88fSEmmanuel Vadot---
5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb3-phy.yaml#
6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadottitle: Allwinner H6 USB3 PHY
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadotmaintainers:
11c66ec88fSEmmanuel Vadot  - Ondrej Jirman <megous@megous.com>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotproperties:
14c66ec88fSEmmanuel Vadot  compatible:
15c66ec88fSEmmanuel Vadot    enum:
16c66ec88fSEmmanuel Vadot      - allwinner,sun50i-h6-usb3-phy
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel Vadot  reg:
19c66ec88fSEmmanuel Vadot    maxItems: 1
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot  clocks:
22c66ec88fSEmmanuel Vadot    maxItems: 1
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  resets:
25c66ec88fSEmmanuel Vadot    maxItems: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  "#phy-cells":
28c66ec88fSEmmanuel Vadot    const: 0
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadotrequired:
31c66ec88fSEmmanuel Vadot  - compatible
32c66ec88fSEmmanuel Vadot  - reg
33c66ec88fSEmmanuel Vadot  - clocks
34c66ec88fSEmmanuel Vadot  - resets
35c66ec88fSEmmanuel Vadot  - "#phy-cells"
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel VadotadditionalProperties: false
38c66ec88fSEmmanuel Vadot
39c66ec88fSEmmanuel Vadotexamples:
40c66ec88fSEmmanuel Vadot  - |
41c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/sun50i-h6-ccu.h>
42c66ec88fSEmmanuel Vadot    #include <dt-bindings/reset/sun50i-h6-ccu.h>
43c66ec88fSEmmanuel Vadot    phy@5210000 {
44c66ec88fSEmmanuel Vadot          compatible = "allwinner,sun50i-h6-usb3-phy";
45c66ec88fSEmmanuel Vadot          reg = <0x5210000 0x10000>;
46c66ec88fSEmmanuel Vadot          clocks = <&ccu CLK_USB_PHY1>;
47c66ec88fSEmmanuel Vadot          resets = <&ccu RST_USB_PHY1>;
48c66ec88fSEmmanuel Vadot          #phy-cells = <0>;
49c66ec88fSEmmanuel Vadot    };
50