mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
MIPS: Lantiq: Fix ASC0/ASC1 clocks
ASC1 is available on every Lantiq SoC (also AmazonSE) and should be enabled like the other generic xway clocks instead of ASC0, which is only available for AR9 and Danube. Signed-off-by: Martin Schiller <ms@dev.tdt.de> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: John Crispin <john@phrozen.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Felix Fietkau <nbd@nbd.name> Cc: Martin Schiller <ms@dev.tdt.de> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/16145/ [jhogan@kernel.org: Drop braces] Signed-off-by: James Hogan <jhogan@kernel.org>
This commit is contained in:
parent
8530762f23
commit
44a374c066
1 changed files with 2 additions and 4 deletions
|
@ -446,9 +446,9 @@ void __init ltq_soc_init(void)
|
||||||
|
|
||||||
/* add our generic xway clocks */
|
/* add our generic xway clocks */
|
||||||
clkdev_add_pmu("10000000.fpi", NULL, 0, 0, PMU_FPI);
|
clkdev_add_pmu("10000000.fpi", NULL, 0, 0, PMU_FPI);
|
||||||
clkdev_add_pmu("1e100400.serial", NULL, 0, 0, PMU_ASC0);
|
|
||||||
clkdev_add_pmu("1e100a00.gptu", NULL, 1, 0, PMU_GPT);
|
clkdev_add_pmu("1e100a00.gptu", NULL, 1, 0, PMU_GPT);
|
||||||
clkdev_add_pmu("1e100bb0.stp", NULL, 1, 0, PMU_STP);
|
clkdev_add_pmu("1e100bb0.stp", NULL, 1, 0, PMU_STP);
|
||||||
|
clkdev_add_pmu("1e100c00.serial", NULL, 0, 0, PMU_ASC1);
|
||||||
clkdev_add_pmu("1e104100.dma", NULL, 1, 0, PMU_DMA);
|
clkdev_add_pmu("1e104100.dma", NULL, 1, 0, PMU_DMA);
|
||||||
clkdev_add_pmu("1e100800.spi", NULL, 1, 0, PMU_SPI);
|
clkdev_add_pmu("1e100800.spi", NULL, 1, 0, PMU_SPI);
|
||||||
clkdev_add_pmu("1e105300.ebu", NULL, 0, 0, PMU_EBU);
|
clkdev_add_pmu("1e105300.ebu", NULL, 0, 0, PMU_EBU);
|
||||||
|
@ -462,10 +462,8 @@ void __init ltq_soc_init(void)
|
||||||
clkdev_add_pmu("1e180000.etop", NULL, 1, 0, PMU_PPE);
|
clkdev_add_pmu("1e180000.etop", NULL, 1, 0, PMU_PPE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!of_machine_is_compatible("lantiq,ase")) {
|
if (!of_machine_is_compatible("lantiq,ase"))
|
||||||
clkdev_add_pmu("1e100c00.serial", NULL, 0, 0, PMU_ASC1);
|
|
||||||
clkdev_add_pci();
|
clkdev_add_pci();
|
||||||
}
|
|
||||||
|
|
||||||
if (of_machine_is_compatible("lantiq,grx390") ||
|
if (of_machine_is_compatible("lantiq,grx390") ||
|
||||||
of_machine_is_compatible("lantiq,ar10")) {
|
of_machine_is_compatible("lantiq,ar10")) {
|
||||||
|
|
Loading…
Reference in a new issue