Subject: [PATCH] arm64: dts: broadcom: bcm4908: limit amount of GPIOs
From: Rafał Miłecki <[email-masked]>
Date: Mon, 15 Feb 2021 22:01:03 +0100

Linux driver can't handle more than 64 GPIOs

Signed-off-by: Rafał Miłecki <[email-masked]>
---

--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
@@ -281,7 +281,7 @@
 		gpio0: gpio-controller@500 {
 			compatible = "brcm,bcm6345-gpio";
 			reg-names = "dirout", "dat";
-			reg = <0x500 0x28>, <0x528 0x28>;
+			reg = <0x500 0x8>, <0x528 0x8>;
 
 			#gpio-cells = <2>;
 			gpio-controller;