MIPS: BCM63XX: fix BCM6358 GPIO count

The BCM6358 SoC has only 38 available GPIOs. Fix it.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
Daniel González Cabanelas 2020-05-24 20:59:53 +02:00 committed by Thomas Bogendoerfer
parent f33a0b9410
commit 6af2aa7f66
1 changed files with 3 additions and 3 deletions

View File

@ -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;