Skip to content

Commit 03e62fd

Browse files
xdarklighttsbogend
authored andcommitted
MIPS: lantiq: xway: sysctrl: fix the GPHY clock alias names
The dt-bindings for the GSWIP describe that the node should be named "switch". Use the same name in sysctrl.c so the GSWIP driver can actually find the "gphy0" and "gphy1" clocks. Fixes: 14fceff ("net: dsa: Add Lantiq / Intel DSA driver for vrx200") Cc: [email protected] Signed-off-by: Martin Blumenstingl <[email protected]> Acked-by: Hauke Mehrtens <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent b3a9e3b commit 03e62fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/mips/lantiq/xway/sysctrl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ void __init ltq_soc_init(void)
514514
clkdev_add_pmu("1e10b308.eth", NULL, 0, 0, PMU_SWITCH |
515515
PMU_PPE_DP | PMU_PPE_TC);
516516
clkdev_add_pmu("1da00000.usif", "NULL", 1, 0, PMU_USIF);
517-
clkdev_add_pmu("1e108000.gswip", "gphy0", 0, 0, PMU_GPHY);
518-
clkdev_add_pmu("1e108000.gswip", "gphy1", 0, 0, PMU_GPHY);
517+
clkdev_add_pmu("1e108000.switch", "gphy0", 0, 0, PMU_GPHY);
518+
clkdev_add_pmu("1e108000.switch", "gphy1", 0, 0, PMU_GPHY);
519519
clkdev_add_pmu("1e103100.deu", NULL, 1, 0, PMU_DEU);
520520
clkdev_add_pmu("1e116000.mei", "afe", 1, 2, PMU_ANALOG_DSL_AFE);
521521
clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE);
@@ -538,8 +538,8 @@ void __init ltq_soc_init(void)
538538
PMU_SWITCH | PMU_PPE_DPLUS | PMU_PPE_DPLUM |
539539
PMU_PPE_EMA | PMU_PPE_TC | PMU_PPE_SLL01 |
540540
PMU_PPE_QSB | PMU_PPE_TOP);
541-
clkdev_add_pmu("1e108000.gswip", "gphy0", 0, 0, PMU_GPHY);
542-
clkdev_add_pmu("1e108000.gswip", "gphy1", 0, 0, PMU_GPHY);
541+
clkdev_add_pmu("1e108000.switch", "gphy0", 0, 0, PMU_GPHY);
542+
clkdev_add_pmu("1e108000.switch", "gphy1", 0, 0, PMU_GPHY);
543543
clkdev_add_pmu("1e103000.sdio", NULL, 1, 0, PMU_SDIO);
544544
clkdev_add_pmu("1e103100.deu", NULL, 1, 0, PMU_DEU);
545545
clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE);

0 commit comments

Comments
 (0)