Skip to content

Commit 7c0d404

Browse files
Phil Edworthylinusw
authored andcommitted
gpio: dwapb: Correct the DT node name in the example
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>
1 parent 27038c3 commit 7c0d404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ gpio: gpio@20000 {
4343
#address-cells = <1>;
4444
#size-cells = <0>;
4545

46-
porta: gpio-controller@0 {
46+
porta: gpio@0 {
4747
compatible = "snps,dw-apb-gpio-port";
4848
gpio-controller;
4949
#gpio-cells = <2>;
@@ -55,7 +55,7 @@ gpio: gpio@20000 {
5555
interrupts = <0>;
5656
};
5757

58-
portb: gpio-controller@1 {
58+
portb: gpio@1 {
5959
compatible = "snps,dw-apb-gpio-port";
6060
gpio-controller;
6161
#gpio-cells = <2>;

0 commit comments

Comments
 (0)