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:
Родитель
27038c3e1f
Коммит
7c0d404fac
|
@ -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>;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче