OSDN Git Service

gpio: dwapb: Correct the DT node name in the example
authorPhil Edworthy <phil.edworthy@renesas.com>
Tue, 20 Nov 2018 11:17:09 +0000 (11:17 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 26 Nov 2018 08:42:29 +0000 (09:42 +0100)
The sub-nodes should not be called gpio-controller, but simply gpio.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt

index 7276b50..839dd32 100644 (file)
@@ -43,7 +43,7 @@ gpio: gpio@20000 {
        #address-cells = <1>;
        #size-cells = <0>;
 
-       porta: gpio-controller@0 {
+       porta: gpio@0 {
                compatible = "snps,dw-apb-gpio-port";
                gpio-controller;
                #gpio-cells = <2>;
@@ -55,7 +55,7 @@ gpio: gpio@20000 {
                interrupts = <0>;
        };
 
-       portb: gpio-controller@1 {
+       portb: gpio@1 {
                compatible = "snps,dw-apb-gpio-port";
                gpio-controller;
                #gpio-cells = <2>;