X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/69aab5b0cc0bdc5a5fcc28ecec44edad3721fcd7..d303e45f4bbad9c4fff934cf8f63f33538af8cee:/target/linux/brcm63xx/files/arch/mips/bcm63xx/clk.c diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/clk.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/clk.c index 909875d07..eaf6196c7 100644 --- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/clk.c +++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/clk.c @@ -51,6 +51,8 @@ static void enet_misc_set(struct clk *clk, int enable) if (BCMCPU_IS_6338()) mask = CKCTL_6338_ENET_EN; + else if (BCMCPU_IS_6345()) + mask = CKCTL_6345_ENET_EN; else if (BCMCPU_IS_6348()) mask = CKCTL_6348_ENET_EN; else @@ -147,6 +149,7 @@ static void usbs_set(struct clk *clk, int enable) switch(bcm63xx_get_cpu_id()) { case BCM6338_CPU_ID: mask = CKCTL_6338_USBS_EN; break; + case BCM6345_CPU_ID: mask = CKCTL_6345_USBS_EN; break; case BCM6348_CPU_ID: mask = CKCTL_6348_USBS_EN; break; default: return;