brintos

brintos / linux-shallow public Read only

0
0
Text · 1.8 KiB · 19522c5 Raw
84 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/phy/socionext,uniphier-usb2-phy.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Socionext UniPhier USB2 PHY8 9description: |10  This describes the devicetree bindings for PHY interface built into11  USB2 controller implemented on Socionext UniPhier SoCs.12  Pro4 SoC has both USB2 and USB3 host controllers, however, this USB313  controller doesn't include its own High-Speed PHY. This needs to specify14  USB2 PHY instead of USB3 HS-PHY.15 16maintainers:17  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>18 19properties:20  compatible:21    enum:22      - socionext,uniphier-pro4-usb2-phy23      - socionext,uniphier-ld11-usb2-phy24 25  "#address-cells":26    const: 127 28  "#size-cells":29    const: 030 31patternProperties:32  "^phy@[0-9]+$":33    type: object34    additionalProperties: false35 36    properties:37      reg:38        minimum: 039        maximum: 340        description:41          The ID number for the PHY42 43      "#phy-cells":44        const: 045 46      vbus-supply:47        description: A phandle to the regulator for USB VBUS, only for USB host48 49    required:50      - reg51      - "#phy-cells"52 53required:54  - compatible55  - "#address-cells"56  - "#size-cells"57 58additionalProperties: false59 60examples:61  - |62    // The UniPhier usb2-phy should be a subnode of a "syscon" compatible node.63 64    usb-hub {65        compatible = "socionext,uniphier-ld11-usb2-phy";66        #address-cells = <1>;67        #size-cells = <0>;68 69        usb_phy0: phy@0 {70            reg = <0>;71            #phy-cells = <0>;72        };73 74        usb_phy1: phy@1 {75            reg = <1>;76            #phy-cells = <0>;77        };78 79        usb_phy2: phy@2 {80            reg = <2>;81            #phy-cells = <0>;82        };83    };84