arm64: dts: mediatek: fix t-phy unit name
authorEugen Hristev <eugen.hristev@collabora.com>
Tue, 3 Oct 2023 11:13:46 +0000 (13:13 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 6 Oct 2023 20:45:57 +0000 (22:45 +0200)
dtbs_check throws a warning at t-phy nodes:
Warning (unit_address_vs_reg): /t-phy@1a243000: node has a unit name, but no reg or ranges property
Warning (unit_address_vs_reg): /soc/t-phy@11c00000: node has a unit name, but no reg or ranges property

The ranges is empty thus removing the `@1a243000`, `@11c00000` from
the node name.

Fixes: 6029cae696c8 ("arm64: dts: mediatek: mt7622: harmonize node names and compatibles")
Fixes: 918aed7abd2d ("arm64: dts: mt7986: add pcie related device nodes")
Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230814093931.9298-2-eugen.hristev@collabora.com
Link: https://lore.kernel.org/r/20231003-mediatek-fixes-v6-7-v1-4-dad7cd62a8ff@collabora.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/mediatek/mt7622.dtsi
arch/arm64/boot/dts/mediatek/mt7986a.dtsi

index 36ef2db..3ee9266 100644 (file)
                status = "disabled";
        };
 
-       sata_phy: t-phy@1a243000 {
+       sata_phy: t-phy {
                compatible = "mediatek,mt7622-tphy",
                             "mediatek,generic-tphy-v1";
                #address-cells = <2>;
index 68539ea..24eda00 100644 (file)
                        };
                };
 
-               pcie_phy: t-phy@11c00000 {
+               pcie_phy: t-phy {
                        compatible = "mediatek,mt7986-tphy",
                                     "mediatek,generic-tphy-v2";
                        #address-cells = <2>;