82 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2019 BayLibre, SAS3%YAML 1.24---5$id: http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Amlogic G12A USB2 PHY9 10maintainers:11 - Neil Armstrong <neil.armstrong@linaro.org>12 13properties:14 compatible:15 enum:16 - amlogic,g12a-usb2-phy17 - amlogic,a1-usb2-phy18 19 reg:20 maxItems: 121 22 clocks:23 maxItems: 124 25 clock-names:26 items:27 - const: xtal28 29 resets:30 maxItems: 131 32 reset-names:33 items:34 - const: phy35 36 "#phy-cells":37 const: 038 39 phy-supply:40 description:41 Phandle to a regulator that provides power to the PHY. This42 regulator will be managed during the PHY power on/off sequence.43 44 power-domains:45 maxItems: 146 47required:48 - compatible49 - reg50 - clocks51 - clock-names52 - resets53 - reset-names54 - "#phy-cells"55 56if:57 properties:58 compatible:59 enum:60 - amlogic,meson-a1-usb-ctrl61 62then:63 properties:64 power-domains:65 maxItems: 166 required:67 - power-domains68 69additionalProperties: false70 71examples:72 - |73 phy@36000 {74 compatible = "amlogic,g12a-usb2-phy";75 reg = <0x36000 0x2000>;76 clocks = <&xtal>;77 clock-names = "xtal";78 resets = <&phy_reset>;79 reset-names = "phy";80 #phy-cells = <0>;81 };82