0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 # Copyright 2019 BayLibre, SAS
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/phy/amlogic,meson-g12a-usb2-phy.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007
0008 title: Amlogic G12A USB2 PHY
0009
0010 maintainers:
0011 - Neil Armstrong <neil.armstrong@linaro.org>
0012
0013 properties:
0014 compatible:
0015 enum:
0016 - amlogic,meson-g12a-usb2-phy
0017 - amlogic,meson-a1-usb2-phy
0018
0019 reg:
0020 maxItems: 1
0021
0022 clocks:
0023 maxItems: 1
0024
0025 clock-names:
0026 items:
0027 - const: xtal
0028
0029 resets:
0030 maxItems: 1
0031
0032 reset-names:
0033 items:
0034 - const: phy
0035
0036 "#phy-cells":
0037 const: 0
0038
0039 phy-supply:
0040 description:
0041 Phandle to a regulator that provides power to the PHY. This
0042 regulator will be managed during the PHY power on/off sequence.
0043
0044 required:
0045 - compatible
0046 - reg
0047 - clocks
0048 - clock-names
0049 - resets
0050 - reset-names
0051 - "#phy-cells"
0052
0053 if:
0054 properties:
0055 compatible:
0056 enum:
0057 - amlogic,meson-a1-usb-ctrl
0058
0059 then:
0060 properties:
0061 power-domains:
0062 maxItems: 1
0063 required:
0064 - power-domains
0065
0066 additionalProperties: false
0067
0068 examples:
0069 - |
0070 phy@36000 {
0071 compatible = "amlogic,meson-g12a-usb2-phy";
0072 reg = <0x36000 0x2000>;
0073 clocks = <&xtal>;
0074 clock-names = "xtal";
0075 resets = <&phy_reset>;
0076 reset-names = "phy";
0077 #phy-cells = <0>;
0078 };