mips: lantiq: xway: sysctrl: rename the etop node
authorAleksander Jan Bajkowski <olek2@wp.pl>
Sun, 17 Aug 2025 12:49:07 +0000 (14:49 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 22 Aug 2025 20:03:21 +0000 (22:03 +0200)
Bindig requires a node name matching ‘^ethernet@[0-9a-f]+$’. This patch
changes the clock name from “etop” to “ethernet”.

This fixes the following warning:
arch/mips/boot/dts/lantiq/danube_easy50712.dtb: etop@e180000 (lantiq,etop-xway): $nodename:0: 'etop@e180000' does not match '^ethernet@[0-9a-f]+$'
from schema $id: http://devicetree.org/schemas/net/lantiq,etop-xway.yaml#

Fixes: dac0bad93741 ("dt-bindings: net: lantiq,etop-xway: Document Lantiq Xway ETOP bindings")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Acked-by: Jakub Kicinski <kuba@kernel.org>
arch/mips/boot/dts/lantiq/danube_easy50712.dts
arch/mips/lantiq/xway/sysctrl.c

index d8b3cd69eda3c3f12680728f64dc00b215c43b43..c4d7aa5753b043157ca3ffc5451c285ebc116f29 100644 (file)
@@ -82,7 +82,7 @@
                        };
                };
 
-               etop@e180000 {
+               ethernet@e180000 {
                        compatible = "lantiq,etop-xway";
                        reg = <0xe180000 0x40000>;
                        interrupt-parent = <&icu0>;
index 5a75283d17f10e94af846c3b7f8e945130a7b8d4..6031a0272d874319c2846ee59cb415f1bd445018 100644 (file)
@@ -497,7 +497,7 @@ void __init ltq_soc_init(void)
                ifccr = CGU_IFCCR_VR9;
                pcicr = CGU_PCICR_VR9;
        } else {
-               clkdev_add_pmu("1e180000.etop", NULL, 1, 0, PMU_PPE);
+               clkdev_add_pmu("1e180000.ethernet", NULL, 1, 0, PMU_PPE);
        }
 
        if (!of_machine_is_compatible("lantiq,ase"))
@@ -531,9 +531,9 @@ void __init ltq_soc_init(void)
                                                CLOCK_133M, CLOCK_133M);
                clkdev_add_pmu("1e101000.usb", "otg", 1, 0, PMU_USB0);
                clkdev_add_pmu("1f203018.usb2-phy", "phy", 1, 0, PMU_USB0_P);
-               clkdev_add_pmu("1e180000.etop", "ppe", 1, 0, PMU_PPE);
-               clkdev_add_cgu("1e180000.etop", "ephycgu", CGU_EPHY);
-               clkdev_add_pmu("1e180000.etop", "ephy", 1, 0, PMU_EPHY);
+               clkdev_add_pmu("1e180000.ethernet", "ppe", 1, 0, PMU_PPE);
+               clkdev_add_cgu("1e180000.ethernet", "ephycgu", CGU_EPHY);
+               clkdev_add_pmu("1e180000.ethernet", "ephy", 1, 0, PMU_EPHY);
                clkdev_add_pmu("1e103000.sdio", NULL, 1, 0, PMU_ASE_SDIO);
                clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE);
        } else if (of_machine_is_compatible("lantiq,grx390")) {
@@ -592,7 +592,7 @@ void __init ltq_soc_init(void)
                clkdev_add_pmu("1e101000.usb", "otg", 1, 0, PMU_USB0 | PMU_AHBM);
                clkdev_add_pmu("1f203034.usb2-phy", "phy", 1, 0, PMU_USB1_P);
                clkdev_add_pmu("1e106000.usb", "otg", 1, 0, PMU_USB1 | PMU_AHBM);
-               clkdev_add_pmu("1e180000.etop", "switch", 1, 0, PMU_SWITCH);
+               clkdev_add_pmu("1e180000.ethernet", "switch", 1, 0, PMU_SWITCH);
                clkdev_add_pmu("1e103000.sdio", NULL, 1, 0, PMU_SDIO);
                clkdev_add_pmu("1e103100.deu", NULL, 1, 0, PMU_DEU);
                clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE);