[v3,3/4] powerpc: wii.dts: Add ngpios property

Message ID 20180209120732.17863-4-j.neuschaefer@gmx.net
State Accepted
Commit 9693d5709f8e771c21114ebca59b11e61db9774c
Headers show
Series
  • Nintendo Wii GPIO driver
Related show

Commit Message

Jonathan Neuschäfer Feb. 9, 2018, 12:07 p.m.
The Hollywood GPIO controller supports 32 GPIOs, but on the Wii, only 24
are used.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---

v2, v3:
- no change
---
 arch/powerpc/boot/dts/wii.dts | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/arch/powerpc/boot/dts/wii.dts b/arch/powerpc/boot/dts/wii.dts
index 40b324b6391e..7235e375919c 100644
--- a/arch/powerpc/boot/dts/wii.dts
+++ b/arch/powerpc/boot/dts/wii.dts
@@ -176,6 +176,7 @@ 
 			compatible = "nintendo,hollywood-gpio";
 			reg = <0x0d8000c0 0x40>;
 			gpio-controller;
+			ngpios = <24>;
 
 			/*
 			 * This is commented out while a standard binding