Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 # Copyright 2019 Ondrej Jirman <megous@megous.com>
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb3-phy.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007 
0008 title: Allwinner H6 USB3 PHY
0009 
0010 maintainers:
0011   - Ondrej Jirman <megous@megous.com>
0012 
0013 properties:
0014   compatible:
0015     enum:
0016       - allwinner,sun50i-h6-usb3-phy
0017 
0018   reg:
0019     maxItems: 1
0020 
0021   clocks:
0022     maxItems: 1
0023 
0024   resets:
0025     maxItems: 1
0026 
0027   "#phy-cells":
0028     const: 0
0029 
0030 required:
0031   - compatible
0032   - reg
0033   - clocks
0034   - resets
0035   - "#phy-cells"
0036 
0037 additionalProperties: false
0038 
0039 examples:
0040   - |
0041     #include <dt-bindings/clock/sun50i-h6-ccu.h>
0042     #include <dt-bindings/reset/sun50i-h6-ccu.h>
0043     phy@5210000 {
0044           compatible = "allwinner,sun50i-h6-usb3-phy";
0045           reg = <0x5210000 0x10000>;
0046           clocks = <&ccu CLK_USB_PHY1>;
0047           resets = <&ccu RST_USB_PHY1>;
0048           #phy-cells = <0>;
0049     };