Commit 6af2aa7f authored by Daniel González Cabanelas's avatar Daniel González Cabanelas Committed by Thomas Bogendoerfer

MIPS: BCM63XX: fix BCM6358 GPIO count

The BCM6358 SoC has only 38 available GPIOs. Fix it.
Signed-off-by: default avatarDaniel González Cabanelas <dgcbueu@gmail.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent f33a0b94
...@@ -13,16 +13,16 @@ static inline unsigned long bcm63xx_gpio_count(void) ...@@ -13,16 +13,16 @@ static inline unsigned long bcm63xx_gpio_count(void)
case BCM6328_CPU_ID: case BCM6328_CPU_ID:
return 32; return 32;
case BCM3368_CPU_ID: case BCM3368_CPU_ID:
case BCM6358_CPU_ID:
return 40; return 40;
case BCM6338_CPU_ID: case BCM6338_CPU_ID:
return 8; return 8;
case BCM6345_CPU_ID: case BCM6345_CPU_ID:
return 16; return 16;
case BCM6362_CPU_ID: case BCM6358_CPU_ID:
return 48;
case BCM6368_CPU_ID: case BCM6368_CPU_ID:
return 38; return 38;
case BCM6362_CPU_ID:
return 48;
case BCM6348_CPU_ID: case BCM6348_CPU_ID:
default: default:
return 37; return 37;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment