summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPhil Edworthy <phil.edworthy@renesas.com>2018-11-20 12:17:09 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-11-26 09:42:29 +0100
commit7c0d404fac4b9a7167002dfe0850781cbcd3a942 (patch)
treef2802212f0169be3acbc3ac8c66f9c846068d95e /Documentation
parentgpio: restore original GPLv2+ license of gpiolib-of.c sources (diff)
downloadlinux-7c0d404fac4b9a7167002dfe0850781cbcd3a942.tar.xz
linux-7c0d404fac4b9a7167002dfe0850781cbcd3a942.zip
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>
Diffstat (limited to 'Documentation')
-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 7276b50c3506..839dd32ffe11 100644
--- a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
@@ -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>;