Skip to content

Commit 5072d81

Browse files
Hauke Mehrtensralfbaechle
authored andcommitted
MIPS: Lantiq: Add misc clocks
Signed-off-by: Hauke Mehrtens <[email protected]> Acked-by: John Crispin <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11393/ Signed-off-by: Ralf Baechle <[email protected]>
1 parent e71f6d3 commit 5072d81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/mips/lantiq/xway/sysctrl.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ void __init ltq_soc_init(void)
534534
clkdev_add_pmu("1d900000.pcie", "msi", 1, 1, PMU1_PCIE_MSI);
535535
clkdev_add_pmu("1d900000.pcie", "pdi", 1, 1, PMU1_PCIE_PDI);
536536
clkdev_add_pmu("1d900000.pcie", "ctl", 1, 1, PMU1_PCIE_CTL);
537-
clkdev_add_pmu("1d900000.pcie", "ahb", 1, 0, PMU_AHBM | PMU_AHBS);
537+
clkdev_add_pmu(NULL, "ahb", 1, 0, PMU_AHBM | PMU_AHBS);
538538

539539
clkdev_add_pmu("1da00000.usif", "NULL", 1, 0, PMU_USIF);
540540
clkdev_add_pmu("1e108000.eth", NULL, 1, 0,
@@ -556,6 +556,7 @@ void __init ltq_soc_init(void)
556556
clkdev_add_pmu("1e103000.sdio", NULL, 1, 0, PMU_SDIO);
557557
clkdev_add_pmu("1e103100.deu", NULL, 1, 0, PMU_DEU);
558558
clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE);
559+
clkdev_add_pmu("1e100400.serial", NULL, 1, 0, PMU_ASC0);
559560
} else {
560561
clkdev_add_static(ltq_danube_cpu_hz(), ltq_danube_fpi_hz(),
561562
ltq_danube_fpi_hz(), ltq_danube_pp32_hz());
@@ -564,5 +565,6 @@ void __init ltq_soc_init(void)
564565
clkdev_add_pmu("1e103000.sdio", NULL, 1, 0, PMU_SDIO);
565566
clkdev_add_pmu("1e103100.deu", NULL, 1, 0, PMU_DEU);
566567
clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE);
568+
clkdev_add_pmu("1e100400.serial", NULL, 1, 0, PMU_ASC0);
567569
}
568570
}

0 commit comments

Comments
 (0)