forked from luck/tmp_suning_uos_patched
2c0dd84403
The USB2 PHY on Meson8m2 is identical to the one on Meson8b but different to the one on Meson8. The only known difference is that Meson8 does not set the ACA_ENABLE bit while Meson8b and Meson8m2 do. Add an explicit compatible string for Meson8m2 so those differences can be taken care of. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Tested-by: Thomas Graichen <thomas.graichen@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200512222424.549351-3-martin.blumenstingl@googlemail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
65 lines
1.3 KiB
YAML
65 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: "http://devicetree.org/schemas/phy/amlogic,meson8b-usb2-phy.yaml#"
|
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
|
|
|
title: Amlogic Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY
|
|
|
|
maintainers:
|
|
- Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- amlogic,meson8-usb2-phy
|
|
- amlogic,meson8b-usb2-phy
|
|
- amlogic,meson8m2-usb2-phy
|
|
- const: amlogic,meson-mx-usb2-phy
|
|
- const: amlogic,meson-gxbb-usb2-phy
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 2
|
|
|
|
clock-names:
|
|
items:
|
|
- const: usb_general
|
|
- const: usb
|
|
|
|
resets:
|
|
minItems: 1
|
|
|
|
"#phy-cells":
|
|
const: 0
|
|
|
|
phy-supply:
|
|
description:
|
|
Phandle to a regulator that provides power to the PHY. This
|
|
regulator will be managed during the PHY power on/off sequence.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
- "#phy-cells"
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
usb-phy@c0000000 {
|
|
compatible = "amlogic,meson-gxbb-usb2-phy";
|
|
reg = <0xc0000000 0x20>;
|
|
resets = <&reset_usb_phy>;
|
|
clocks = <&clk_usb_general>, <&reset_usb>;
|
|
clock-names = "usb_general", "usb";
|
|
phy-supply = <&usb_vbus>;
|
|
#phy-cells = <0>;
|
|
};
|