Message ID | 4452917.ZOZUicq8Ig@tool (mailing list archive) |
---|---|
State | Mainlined |
Commit | 6af2aa7f6695ba73436083ce2e4c1a4ebc6af765 |
Headers | show |
Series | MIPS: BCM63XX: fix BCM6358 GPIO count | expand |
On Sun, May 24, 2020 at 08:59:53PM +0200, Daniel González Cabanelas wrote: > The BCM6358 SoC has only 38 available GPIOs. Fix it. > > Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com> > --- > arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) applied to mips-next. Thomas.
diff --git a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h index 8fe88c2251..9212429d5e 100644 --- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h +++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h @@ -13,16 +13,16 @@ static inline unsigned long bcm63xx_gpio_count(void) case BCM6328_CPU_ID: return 32; case BCM3368_CPU_ID: - case BCM6358_CPU_ID: return 40; case BCM6338_CPU_ID: return 8; case BCM6345_CPU_ID: return 16; - case BCM6362_CPU_ID: - return 48; + case BCM6358_CPU_ID: case BCM6368_CPU_ID: return 38; + case BCM6362_CPU_ID: + return 48; case BCM6348_CPU_ID: default: return 37;
The BCM6358 SoC has only 38 available GPIOs. Fix it. Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com> --- arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)