Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/phy/amlogic,meson-gxl-usb2-phy.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Amlogic Meson GXL USB2 PHY |
| 8 | |
| 9 | maintainers: |
| 10 | - Neil Armstrong <neil.armstrong@linaro.org> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: amlogic,meson-gxl-usb2-phy |
| 15 | |
| 16 | reg: |
| 17 | maxItems: 1 |
| 18 | |
| 19 | clocks: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | clock-names: |
| 23 | items: |
| 24 | - const: phy |
| 25 | |
| 26 | resets: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | reset-names: |
| 30 | items: |
| 31 | - const: phy |
| 32 | |
| 33 | "#phy-cells": |
| 34 | const: 0 |
| 35 | |
| 36 | phy-supply: true |
| 37 | |
| 38 | required: |
| 39 | - compatible |
| 40 | - reg |
| 41 | - "#phy-cells" |
| 42 | |
| 43 | additionalProperties: false |
| 44 | |
| 45 | examples: |
| 46 | - | |
| 47 | phy@78000 { |
| 48 | compatible = "amlogic,meson-gxl-usb2-phy"; |
| 49 | reg = <0x78000 0x20>; |
| 50 | clocks = <&xtal>; |
| 51 | clock-names = "phy"; |
| 52 | resets = <&phy_reset>; |
| 53 | reset-names = "phy"; |
| 54 | #phy-cells = <0>; |
| 55 | phy-supply = <&usb2_supply>; |
| 56 | }; |