Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a54aef50 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Linus Walleij
Browse files

gpio: dwapb: correct gpio-cells in binding document



The example uses gpio-cells = 1 while it should be two (it is even
mentioned in the text above).

Cc: devicetree@vger.kernel.org
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 138d876e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ gpio: gpio@20000 {
	porta: gpio-controller@0 {
		compatible = "snps,dw-apb-gpio-port";
		gpio-controller;
		#gpio-cells = <1>;
		#gpio-cells = <2>;
		snps,nr-gpios = <8>;
		reg = <0>;
		interrupt-controller;
@@ -53,7 +53,7 @@ gpio: gpio@20000 {
	portb: gpio-controller@1 {
		compatible = "snps,dw-apb-gpio-port";
		gpio-controller;
		#gpio-cells = <1>;
		#gpio-cells = <2>;
		snps,nr-gpios = <8>;
		reg = <1>;
	};