From nobody Sun Sep 7 23:38:25 2025 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (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 7658227877D; Thu, 24 Jul 2025 08:40:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753346440; cv=none; b=YTnSrfxbhJk6OcnHDgquCDkl8588+vf6qpEYFbaA22qLQ5hx+I3GH2gO4xXkTZjtbBbHGo6QmDS7ra41n4jYXFKpK3C1A3Jzz8Po1LUY8AGLJAbjWW6iGBZgnBKh+rDKHlxKLLAQ/B3KhcPvrwfNWYhATh9t4Dqi5g9Cw8dgBWg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753346440; c=relaxed/simple; bh=ruOgG9NssRl3cdtPQRKeFueBDCD5QJFqdpNnG31ExK0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nfZu6O0okAcXWSwO1lDWpUPxZ/Nqy4aFIaWPITrivqGpIn5txbPPF7FrpUpa8XuZ5Nx3R6yOS85zAdzx7IZOynRpAkdQwLDVX5oLddMmCWAQj3nABZxcNvTqQFmuLQ75TzCGVQkZgWZJaqAyICVPRm0H3T11Zoe6JRQfAUcLsyM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=Tn1pe5e+; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Tn1pe5e+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1753346437; bh=ruOgG9NssRl3cdtPQRKeFueBDCD5QJFqdpNnG31ExK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tn1pe5e+z2LgfCG3U+8FMElpCzMqRQJux/91By6ADwXQ2/UWjYu2xHgKoLApz3svN 2ktXAMWE5p7vP7Mt3O6HCSs+daza/JUYfguhSDuQWzeLknoRL8uJfQjtDEebzbp11n Kn3bWuWiFFPNfGXDzNYdJXYhtQYZz5uRoXD0+Jqd3vbnIPL3Ev3AyQFlm51JulDlRI Hv7Ck83VvYN5/Ldc1BwUOjrJpetyxh9ZT152U7NEYuCa/qrjufAgqvHQ2YeUhsKWPb j6Syn8dY7Q+9YNiLnj1gNJb1IqSbsrQfRcI+9x6RLnpt6bjFZzkAo/+TxdV/OIoHKV OCH+htRjWrjLw== Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by bali.collaboradmins.com (Postfix) with ESMTPSA id 83C1517E1110; Thu, 24 Jul 2025 10:40:34 +0200 (CEST) From: AngeloGioacchino Del Regno To: linux-mediatek@lists.infradead.org, robh@kernel.org Cc: herbert@gondor.apana.org.au, davem@davemloft.net, krzk+dt@kernel.org, conor+dt@kernel.org, chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, jassisinghbrar@gmail.com, mchehab@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, sean.wang@kernel.org, linus.walleij@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, andersson@kernel.org, mathieu.poirier@linaro.org, daniel.lezcano@linaro.org, tglx@linutronix.de, atenart@kernel.org, jitao.shi@mediatek.com, ck.hu@mediatek.com, houlong.wei@mediatek.com, kyrie.wu@mediatek.corp-partner.google.com, andy.teng@mediatek.com, tinghan.shen@mediatek.com, jiaxin.yu@mediatek.com, shane.chien@mediatek.com, olivia.wen@mediatek.com, granquet@baylibre.com, eugen.hristev@linaro.org, arnd@arndb.de, sam.shih@mediatek.com, jieyy.yang@mediatek.com, frank-w@public-files.de, mwalle@kernel.org, fparent@baylibre.com, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-gpio@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-sound@vger.kernel.org Subject: [PATCH 27/38] arm64: dts: mediatek: mt7988a: Fix PCI-Express T-PHY node address Date: Thu, 24 Jul 2025 10:39:03 +0200 Message-ID: <20250724083914.61351-28-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250724083914.61351-1-angelogioacchino.delregno@collabora.com> References: <20250724083914.61351-1-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The PCIe and USB TPHYs are under the soc bus, which provides MMIO, and all nodes under that must use the bus, otherwise those would clearly be out of place. Add ranges to both the tphy(s) and assign the address to the main node to silence a dtbs_check warning, and fix the children to use the MMIO range of t-phy. Fixes: ("f693e6ba55ae arm64: dts: mediatek: mt7988: Add t-phy for ssusb1") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 28 +++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dt= s/mediatek/mt7988a.dtsi index 560ec86dbec0..cc0d3e3f4374 100644 --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi @@ -629,20 +629,20 @@ pcie_intc1: interrupt-controller { tphy: t-phy@11c50000 { compatible =3D "mediatek,mt7986-tphy", "mediatek,generic-tphy-v2"; - #address-cells =3D <2>; - #size-cells =3D <2>; - ranges; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0 0x11c50000 0x1000>; status =3D "disabled"; =20 - tphyu2port0: usb-phy@11c50000 { - reg =3D <0 0x11c50000 0 0x700>; + tphyu2port0: usb-phy@0 { + reg =3D <0 0x700>; clocks =3D <&infracfg CLK_INFRA_USB_UTMI_CK_P1>; clock-names =3D "ref"; #phy-cells =3D <1>; }; =20 - tphyu3port0: usb-phy@11c50700 { - reg =3D <0 0x11c50700 0 0x900>; + tphyu3port0: usb-phy@700 { + reg =3D <0 0x700 0 0x900>; clocks =3D <&infracfg CLK_INFRA_USB_PIPE_CK_P1>; clock-names =3D "ref"; #phy-cells =3D <1>; @@ -659,20 +659,20 @@ topmisc: system-controller@11d10084 { xsphy: xs-phy@11e10000 { compatible =3D "mediatek,mt7988-xsphy", "mediatek,xsphy"; - #address-cells =3D <2>; - #size-cells =3D <2>; - ranges; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0 0x11e10000 0x3900>; status =3D "disabled"; =20 - xphyu2port0: usb-phy@11e10000 { - reg =3D <0 0x11e10000 0 0x400>; + xphyu2port0: usb-phy@0 { + reg =3D <0 0x400>; clocks =3D <&infracfg CLK_INFRA_USB_UTMI>; clock-names =3D "ref"; #phy-cells =3D <1>; }; =20 - xphyu3port0: usb-phy@11e13000 { - reg =3D <0 0x11e13400 0 0x500>; + xphyu3port0: usb-phy@3400 { + reg =3D <0x3400 0x500>; clocks =3D <&infracfg CLK_INFRA_USB_PIPE>; clock-names =3D "ref"; #phy-cells =3D <1>; --=20 2.50.1