Commit 7c0d404f authored by Phil Edworthy's avatar Phil Edworthy Committed by Linus Walleij

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: default avatarPhil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 27038c3e
...@@ -43,7 +43,7 @@ gpio: gpio@20000 { ...@@ -43,7 +43,7 @@ gpio: gpio@20000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
porta: gpio-controller@0 { porta: gpio@0 {
compatible = "snps,dw-apb-gpio-port"; compatible = "snps,dw-apb-gpio-port";
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -55,7 +55,7 @@ gpio: gpio@20000 { ...@@ -55,7 +55,7 @@ gpio: gpio@20000 {
interrupts = <0>; interrupts = <0>;
}; };
portb: gpio-controller@1 { portb: gpio@1 {
compatible = "snps,dw-apb-gpio-port"; compatible = "snps,dw-apb-gpio-port";
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment