diff options
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2020-11-09 10:03:35 +0100 |
---|---|---|
committer | Dinh Nguyen <dinguyen@kernel.org> | 2021-01-04 22:18:26 +0100 |
commit | 62b3c680cfdc1f60a9143a1e4aabff7473629157 (patch) | |
tree | e40a765185a0dcdca741a9223f00404fee5ea601 /arch/arm64/boot/dts/altera | |
parent | Linux 5.11-rc1 (diff) | |
download | linux-62b3c680cfdc1f60a9143a1e4aabff7473629157.tar.xz linux-62b3c680cfdc1f60a9143a1e4aabff7473629157.zip |
arm64: dts: socfpga: Use generic "ngpios" rather than "snps,nr-gpios"
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>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/altera')
-rw-r--r-- | arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index 0f893984c256..d301ac0d406b 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -203,7 +203,7 @@ compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; @@ -223,7 +223,7 @@ compatible = "snps,dw-apb-gpio-port"; gpio-controller; #gpio-cells = <2>; - snps,nr-gpios = <24>; + ngpios = <24>; reg = <0>; interrupt-controller; #interrupt-cells = <2>; |