aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2014-03-22 12:16:39 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-03-26 05:31:35 -0400
commita54aef5072325ad3e5bd3e7c2858ae208fb4454d (patch)
tree016f5643f8d08e862474151bc886f5a6294dbd72
parent138d876e30353da34495e463d20c9bd7c0fd4ba0 (diff)
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: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
index 91cc90c6cf67..dd5d2c0394b1 100644
--- a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
@@ -41,7 +41,7 @@ gpio: gpio@20000 {
41 porta: gpio-controller@0 { 41 porta: gpio-controller@0 {
42 compatible = "snps,dw-apb-gpio-port"; 42 compatible = "snps,dw-apb-gpio-port";
43 gpio-controller; 43 gpio-controller;
44 #gpio-cells = <1>; 44 #gpio-cells = <2>;
45 snps,nr-gpios = <8>; 45 snps,nr-gpios = <8>;
46 reg = <0>; 46 reg = <0>;
47 interrupt-controller; 47 interrupt-controller;
@@ -53,7 +53,7 @@ gpio: gpio@20000 {
53 portb: gpio-controller@1 { 53 portb: gpio-controller@1 {
54 compatible = "snps,dw-apb-gpio-port"; 54 compatible = "snps,dw-apb-gpio-port";
55 gpio-controller; 55 gpio-controller;
56 #gpio-cells = <1>; 56 #gpio-cells = <2>;
57 snps,nr-gpios = <8>; 57 snps,nr-gpios = <8>;
58 reg = <1>; 58 reg = <1>;
59 }; 59 };