ARM: dts: berlin: Use generic "ngpios" rather than "snps,nr-gpios"
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Mon, 9 Nov 2020 08:54:16 +0000 (16:54 +0800)
committerJisheng Zhang <Jisheng.Zhang@synaptics.com>
Thu, 10 Dec 2020 09:50:11 +0000 (17:50 +0800)
This is to remove similar errors as below:

OF: /.../gpio-port@0: could not find phandle

Commit 7569486d79ae ("gpio: dwapb: Add ngpios DT-property support")
explained the reason of above errors well and added the generic
"ngpios" property, let's use it.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/berlin2.dtsi
arch/arm/boot/dts/berlin2cd.dtsi
arch/arm/boot/dts/berlin2q.dtsi

index 6194857..1114c59 100644 (file)
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                };
                        };
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
index 6f30d7e..b2768f7 100644 (file)
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                };
                        };
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <8>;
+                                       ngpios = <8>;
                                        reg = <0>;
                                };
                        };
index b6a0aca..598a46f 100644 (file)
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                };
                        };
                                        compatible = "snps,dw-apb-gpio-port";
                                        gpio-controller;
                                        #gpio-cells = <2>;
-                                       snps,nr-gpios = <32>;
+                                       ngpios = <32>;
                                        reg = <0>;
                                };
                        };