From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C28924A012C; Thu, 1 Oct 2026 07:53:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790841227; cv=none; b=EW64wHj5RHVYgOBWR9SxJSvdqoPdjixV5hn8DNr6hhT16iaUeGpazh72eoyKzmrtlyWud3VyKubCMY0Fe1eoRTxzjX+TXmCKwvP7n9sASZhMY8S1UHuZIcAf7NCuacJ7nn+/7zYo+4y7KYj8J2D/WiSKrkdCOj6krE05LyvXas8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790841227; c=relaxed/simple; bh=HdYT5+D34Aun9sWDqTODvjy7GxTGRUePh9kZuokBOyo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ESutEl+z015mPyHW1TYTj9sL/nmNaA51IVZ5ZCKI2zdcehs4sa5Zdmrn6Xnm6zAGxgv7y5fL+CjXGhqFzsRqp1FyvgNxlhh0xIbfEdM4keLgpZUEHOcnEZMUNvpXifh6FRHob4rI64HCwqGvG6yRhBkoenulXHit/TR7/RflCL0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Mf8Jjbgc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Mf8Jjbgc" Received: by smtp.kernel.org (Postfix) with ESMTPS id 9246DC4AF16; Thu, 1 Oct 2026 07:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1790841227; bh=HdYT5+D34Aun9sWDqTODvjy7GxTGRUePh9kZuokBOyo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Mf8JjbgcWX18nzIjsHkxqiYDyxa/drE7xi9z64JraipipxDKBSJpZG+UD4kcf/cG6 IVz4KsU7qOzsBP7i2rRdOSfS+TrHQpxheUa6j7rLvmCuTeP81db9bumHLcA8vZ9+uf L/2vwvE463cyBEIkNX6M0a/t6yc9K+FxilBUX3wYcm6qPtzCW6XEfzmHyPwnYyoWfH XIQCrpJ6S6w9zdeoOTcCMtWiNLnekhjaE0vpWHVJMBk+3xV4jzjRZh4+39GS43JzVE QE6Bc3xRl37IAysuUPx/C9Z/Pav2eaHFLGR+vI8BhDVoIbpfNeNnDMNem6w2P/ilQY Gs2qTWooUs3BA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FA2ECA5FA5; Thu, 1 Oct 2026 07:53:47 +0000 (UTC) From: George Moussalem via B4 Relay Date: Thu, 01 Oct 2026 11:53:50 +0400 Subject: [PATCH v4 7/8] arm64: dts: qcom: ipq8074: Flatten usb controller nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261001-ipq-flatten-usb-v4-7-486a4d5ede30@outlook.com> References: <20261001-ipq-flatten-usb-v4-0-486a4d5ede30@outlook.com> In-Reply-To: <20261001-ipq-flatten-usb-v4-0-486a4d5ede30@outlook.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng , Thinh Nguyen , Bjorn Andersson , Konrad Dybcio , Abel Vesa Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Varadarajan Narayanan , Kathiravan Thirumoorthy , George Moussalem , Konrad Dybcio X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1790841224; l=5762; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=pZxlGlJQa6faYDq7aU+4V1JdzZI3N2MsdCJuvOeO4yY=; b=wwKFdqNn8kZ1wm5cCj+CkopzDIFLs1UdR3uOiSVr9m/H5Mf0q9La75btUW4FBtsEvBMtEzC8X kE1o6yieEevBeH/ZiJkHAPgaR0kvqrL1c/RGnYWq0lZdM5V8LGR6Xxi X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: George Moussalem Flatten usb controller nodes and update to using latest bindings and flattened driver approach. In addition, fix indentation of properties in both nodes. Reviewed-by: Konrad Dybcio Signed-off-by: George Moussalem --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 12 ++-- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 108 ++++++++++++++---------------- 2 files changed, 54 insertions(+), 66 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts index 75827676bde9..2a3b497f9598 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts +++ b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts @@ -52,14 +52,6 @@ &blsp1_uart5 { status = "okay"; }; -&dwc_0 { - dr_mode = "host"; -}; - -&dwc_1 { - dr_mode = "host"; -}; - &pcie0 { status = "okay"; }; @@ -125,9 +117,13 @@ &ssphy_1 { }; &usb_0 { + dr_mode = "host"; + status = "okay"; }; &usb_1 { + dr_mode = "host"; + status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 5c57d9cd72fc..45745b58495c 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -625,102 +625,94 @@ qpic_nand: nand-controller@79b0000 { status = "disabled"; }; - usb_0: usb@8af8800 { - compatible = "qcom,ipq8074-dwc3", "qcom,dwc3"; - reg = <0x08af8800 0x400>; - #address-cells = <1>; - #size-cells = <1>; - ranges; + usb_0: usb@8a00000 { + compatible = "qcom,ipq8074-dwc3", "qcom,snps-dwc3"; + reg = <0x08a00000 0xfc100>; clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, - <&gcc GCC_USB0_MASTER_CLK>, - <&gcc GCC_USB0_SLEEP_CLK>, - <&gcc GCC_USB0_MOCK_UTMI_CLK>; + <&gcc GCC_USB0_MASTER_CLK>, + <&gcc GCC_USB0_SLEEP_CLK>, + <&gcc GCC_USB0_MOCK_UTMI_CLK>; clock-names = "cfg_noc", - "core", - "sleep", - "mock_utmi"; + "core", + "sleep", + "mock_utmi"; assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>, <&gcc GCC_USB0_MASTER_CLK>, <&gcc GCC_USB0_MOCK_UTMI_CLK>; assigned-clock-rates = <133330000>, - <133330000>, - <19200000>; + <133330000>, + <19200000>; - interrupts = , + interrupts = , + , , ; - interrupt-names = "pwr_event", + interrupt-names = "dwc_usb3", + "pwr_event", "qusb2_phy", "ss_phy_irq"; power-domains = <&gcc USB0_GDSC>; + phys = <&qusb_phy_0>, <&ssphy_0>; + phy-names = "usb2-phy", "usb3-phy"; + + snps,parkmode-disable-ss-quirk; + snps,is-utmi-l1-suspend; + snps,hird-threshold = /bits/ 8 <0x0>; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + resets = <&gcc GCC_USB0_BCR>; - status = "disabled"; - dwc_0: usb@8a00000 { - compatible = "snps,dwc3"; - reg = <0x8a00000 0xcd00>; - interrupts = ; - phys = <&qusb_phy_0>, <&ssphy_0>; - phy-names = "usb2-phy", "usb3-phy"; - snps,parkmode-disable-ss-quirk; - snps,is-utmi-l1-suspend; - snps,hird-threshold = /bits/ 8 <0x0>; - snps,dis_u2_susphy_quirk; - snps,dis_u3_susphy_quirk; - }; + status = "disabled"; }; - usb_1: usb@8cf8800 { - compatible = "qcom,ipq8074-dwc3", "qcom,dwc3"; - reg = <0x08cf8800 0x400>; - #address-cells = <1>; - #size-cells = <1>; - ranges; + usb_1: usb@8c00000 { + compatible = "qcom,ipq8074-dwc3", "qcom,snps-dwc3"; + reg = <0x08c00000 0xfc100>; clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>, - <&gcc GCC_USB1_MASTER_CLK>, - <&gcc GCC_USB1_SLEEP_CLK>, - <&gcc GCC_USB1_MOCK_UTMI_CLK>; + <&gcc GCC_USB1_MASTER_CLK>, + <&gcc GCC_USB1_SLEEP_CLK>, + <&gcc GCC_USB1_MOCK_UTMI_CLK>; clock-names = "cfg_noc", - "core", - "sleep", - "mock_utmi"; + "core", + "sleep", + "mock_utmi"; assigned-clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>, <&gcc GCC_USB1_MASTER_CLK>, <&gcc GCC_USB1_MOCK_UTMI_CLK>; assigned-clock-rates = <133330000>, - <133330000>, - <19200000>; + <133330000>, + <19200000>; - interrupts = , + interrupts = , + , , ; - interrupt-names = "pwr_event", + interrupt-names = "dwc_usb3", + "pwr_event", "qusb2_phy", "ss_phy_irq"; power-domains = <&gcc USB1_GDSC>; + phys = <&qusb_phy_1>, <&ssphy_1>; + phy-names = "usb2-phy", "usb3-phy"; + + snps,parkmode-disable-ss-quirk; + snps,is-utmi-l1-suspend; + snps,hird-threshold = /bits/ 8 <0x0>; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + resets = <&gcc GCC_USB1_BCR>; - status = "disabled"; - dwc_1: usb@8c00000 { - compatible = "snps,dwc3"; - reg = <0x8c00000 0xcd00>; - interrupts = ; - phys = <&qusb_phy_1>, <&ssphy_1>; - phy-names = "usb2-phy", "usb3-phy"; - snps,parkmode-disable-ss-quirk; - snps,is-utmi-l1-suspend; - snps,hird-threshold = /bits/ 8 <0x0>; - snps,dis_u2_susphy_quirk; - snps,dis_u3_susphy_quirk; - }; + status = "disabled"; }; intc: interrupt-controller@b000000 { -- 2.53.0