arm64: dts: imx8dxl-ss-conn: Disable USB3 nodes
Subsystems (2)
PATCH v2 1/1 arm64: dts: imx8dxl-ss-conn: Disable USB3 nodes
The i.MX 8DualXLite/8SoloXLite has a different connectivity memory map than the generic i.MX8 has. One conflicting resource is usb, where the imx8dxl has a second usb2 phy @5b110000, while the generic imx8 dtsi has one usb2 phy and one usb3 phy, and the usb3otg @5b110000. When including both imx8dxl-ss-conn.dtsi and imx8-ss-conn.dtsi as done in imx8dxl.dtsi this leads to a duplicate unit-address warning.
The usb3otg node was introduced after the initial imx8dxl support with commit a8bd7f155126 ("arm64: dts: imx8qxp: add cadence usb3 support") and since then leads to warnings like this (when built with W=2):
DTC arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb
…/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi:148.24-182.4: Warning (unique_unit_address): /bus@5b000000/usb@5b110000: duplicate unit-address (also used in node /bus@5b000000/usbphy@5b110000)
…/arch/arm64/boot/dts/freescale/imx8-ss-hsio.dtsi:52.23-81.4: Warning (unique_unit_address): /bus@5f000000/pcie@5f010000: duplicate unit-address (also used in node /bus@5f000000/pcie-ep@5f010000)
also defined at …/arch/arm64/boot/dts/freescale/imx8dxl-ss-hsio.dtsi:41.23-50.4
also defined at …/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts:645.8-653.3After the change that usb related warning is gone:
DTC arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb
…/arch/arm64/boot/dts/freescale/imx8-ss-hsio.dtsi:52.23-81.4: Warning (unique_unit_address): /bus@5f000000/pcie@5f010000: duplicate unit-address (also used in node /bus@5f000000/pcie-ep@5f010000)
also defined at …/arch/arm64/boot/dts/freescale/imx8dxl-ss-hsio.dtsi:41.23-50.4
also defined at …/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts:645.8-653.3---
Notes:
v2:
- reworded commit message (build on mainline with W=2)
- rebased on v6.16-rc3
v1:
- Link: https://lore.kernel.org/linux-devicetree/[email protected]/
arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi +2 -0
@@ -5,6 +5,8 @@ /delete-node/ &enet1_lpcg; /delete-node/ &fec2; +/delete-node/ &usbotg3; +/delete-node/ &usb3_phy; / { conn_enet0_root_clk: clock-conn-enet0-root {
base-commit: 86731a2a651e58953fc949573895f2fa6d456841
Signature · 1 line
2.39.5
Frank Li
maintainerQuoted 7 lines · Alexander Dahl
The i.MX 8DualXLite/8SoloXLite has a different connectivity memory map than the generic i.MX8 has. One conflicting resource is usb, where the imx8dxl has a second usb2 phy @5b110000, while the generic imx8 dtsi has one usb2 phy and one usb3 phy, and the usb3otg @5b110000. When including both
imx8dxl-ss-conn.dtsiandimx8-ss-conn.dtsias done inimx8dxl.dtsithis leads to a duplicate unit-address warning.
Quoted 7 lines
The usb3otg node was introduced after the initial imx8dxl support with commit
a8bd7f155126("arm64: dts: imx8qxp: add cadence usb3 support") and since then leads to warnings like this (when built with W=2):DTC arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb …/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi:148.24-182.4: Warning (unique_unit_address): /bus@5b000000/usb@5b110000: duplicate unit-address (also used in node /bus@5b000000/usbphy@5b110000) …/arch/arm64/boot/dts/freescale/imx8-ss-hsio.dtsi:52.23-81.4: Warning (unique_unit_address): /bus@5f000000/pcie@5f010000: duplicate unit-address (also used in node /bus@5f000000/pcie-ep@5f010000)
Remove pcie part, which is not related this patch.
Quoted 9 lines
also defined at …/arch/arm64/boot/dts/freescale/imx8dxl-ss-hsio.dtsi:41.23-50.4 also defined at …/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts:645.8-653.3After the change that usb related warning is gone:
DTC arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb …/arch/arm64/boot/dts/freescale/imx8-ss-hsio.dtsi:52.23-81.4: Warning (unique_unit_address): /bus@5f000000/pcie@5f010000: duplicate unit-address (also used in node /bus@5f000000/pcie-ep@5f010000) also defined at …/arch/arm64/boot/dts/freescale/imx8dxl-ss-hsio.dtsi:41.23-50.4 also defined at …/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts:645.8-653.3
Needn't show this log again. Just said
Delete usb3.0 related nodes at dxl to fix above warning.
Frank
Quoted 33 lines
Signed-off-by Alexander Dahl <[email protected]>---
Notes:
v2:
- reworded commit message (build on mainline with W=2)
- rebased on v6.16-rc3v1:
- Link: https://lore.kernel.org/linux-devicetree/[email protected]/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi +2
-0@@ -5,6 +5,8 @@ /delete-node/ &enet1_lpcg; /delete-node/ &fec2; +/delete-node/ &usbotg3; +/delete-node/ &usb3_phy; / { conn_enet0_root_clk: clock-conn-enet0-root {base-commit:
86731a2a651e58953fc949573895f2fa6d456841--
2.39.5