summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-04-10 17:40:37 +0200
committerLey Foon Tan <ley.foon.tan@intel.com>2020-04-10 19:45:52 +0200
commit6dd5d3b8ad2b5a30509c76f164a61b32351aafdd (patch)
treea9da23b32714dbcab7a29d4e11b54a565c4cb6ac /arch/nios2
parentarch: nios2: Enable the common clk subsystem on Nios2 (diff)
downloadlinux-6dd5d3b8ad2b5a30509c76f164a61b32351aafdd.tar.xz
linux-6dd5d3b8ad2b5a30509c76f164a61b32351aafdd.zip
arch: nios2: rename 'altr,gpio-bank-width' -> 'altr,ngpio'
There is no more 'altr,gpio-bank-width' in the 'altr,pio-1.0' driver. There is a 'altr,ngpio' which is what the property wants to configure. This change updates all occurrences of 'altr,gpio-bank-width' to 'altr,ngpio'. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/boot/dts/10m50_devboard.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/nios2/boot/dts/10m50_devboard.dts b/arch/nios2/boot/dts/10m50_devboard.dts
index 5e4ab032c1e8..739ad96a6cc1 100644
--- a/arch/nios2/boot/dts/10m50_devboard.dts
+++ b/arch/nios2/boot/dts/10m50_devboard.dts
@@ -179,7 +179,7 @@
led_pio: gpio@180014d0 {
compatible = "altr,pio-1.0";
reg = <0x180014d0 0x00000010>;
- altr,gpio-bank-width = <4>;
+ altr,ngpio = <4>;
resetvalue = <15>;
#gpio-cells = <2>;
gpio-controller;
@@ -190,7 +190,7 @@
reg = <0x180014c0 0x00000010>;
interrupt-parent = <&cpu>;
interrupts = <6>;
- altr,gpio-bank-width = <3>;
+ altr,ngpio = <3>;
altr,interrupt-type = <2>;
edge_type = <1>;
level_trigger = <0>;