[PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Fri Aug 25 03:38:28 PDT 2023
On 25/08/2023 11:35, Nitheesh Sekar wrote:
> Add USB phy and controller nodes.
>
> Co-developed-by: Amandeep Singh <quic_amansing at quicinc.com>
> Signed-off-by: Amandeep Singh <quic_amansing at quicinc.com>
> Signed-off-by: Nitheesh Sekar <quic_nsekar at quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/ipq5018.dtsi | 54 +++++++++++++++++++++++++++
> 1 file changed, 54 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> index 9f13d2dcdfd5..ff477923a823 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> @@ -238,6 +238,60 @@
> status = "disabled";
> };
> };
> +
> + usbphy0: phy at 5b000 {
> + compatible = "qcom,ipq5018-usb-hsphy";
> + reg = <0x0005b000 0x120>;
> +
> + clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
> +
> + resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
> +
> + #phy-cells = <0>;
> +
> + status = "disabled";
> + };
> +
> + usb: usb2 at 8a00000 {
usb@
Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
> + compatible = "qcom,ipq5018-dwc3", "qcom,dwc3";
> + reg = <0x08af8800 0x400>;
> +
Best regards,
Krzysztof
More information about the linux-phy
mailing list