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>
This commit is contained in:
Phil Edworthy 2018-11-20 11:17:09 +00:00 коммит произвёл Linus Walleij
Родитель 27038c3e1f
Коммит 7c0d404fac
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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 {
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>;