Skip to content

Commit feeab1c

Browse files
mkresinZhengShunQian
authored andcommitted
MIPS: ath79: Fix AR724X_PLL_REG_PCIE_CONFIG offset
[ Upstream commit 05454c1 ] According to the QCA u-boot source the "PCIE Phase Lock Loop Configuration (PCIE_PLL_CONFIG)" register is for all SoCs except the QCA955X and QCA956X at offset 0x10. Since the PCIE PLL config register is only defined for the AR724x fix only this value. The value is wrong since the day it was added and isn't used by any driver yet. Signed-off-by: Mathias Kresin <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/16048/ Signed-off-by: James Hogan <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent cc34fc0 commit feeab1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/include/asm/mach-ath79/ar71xx_regs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
#define AR71XX_AHB_DIV_MASK 0x7
168168

169169
#define AR724X_PLL_REG_CPU_CONFIG 0x00
170-
#define AR724X_PLL_REG_PCIE_CONFIG 0x18
170+
#define AR724X_PLL_REG_PCIE_CONFIG 0x10
171171

172172
#define AR724X_PLL_FB_SHIFT 0
173173
#define AR724X_PLL_FB_MASK 0x3ff

0 commit comments

Comments
 (0)