Skip to content

Commit 6dd5d3b

Browse files
commodoLey Foon Tan
authored andcommitted
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 <[email protected]> Signed-off-by: Ley Foon Tan <[email protected]>
1 parent f26e433 commit 6dd5d3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Documentation/devicetree/bindings/fpga/fpga-region.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Overlay contains:
263263
gpio@10040 {
264264
compatible = "altr,pio-1.0";
265265
reg = <0x10040 0x20>;
266-
altr,gpio-bank-width = <4>;
266+
altr,ngpio = <4>;
267267
#gpio-cells = <2>;
268268
clocks = <2>;
269269
gpio-controller;
@@ -468,7 +468,7 @@ programming is the FPGA based bridge of fpga_region1.
468468
compatible = "altr,pio-1.0";
469469
reg = <0x10040 0x20>;
470470
clocks = <0x2>;
471-
altr,gpio-bank-width = <0x4>;
471+
altr,ngpio = <0x4>;
472472
resetvalue = <0x0>;
473473
#gpio-cells = <0x2>;
474474
gpio-controller;

arch/nios2/boot/dts/10m50_devboard.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
led_pio: gpio@180014d0 {
180180
compatible = "altr,pio-1.0";
181181
reg = <0x180014d0 0x00000010>;
182-
altr,gpio-bank-width = <4>;
182+
altr,ngpio = <4>;
183183
resetvalue = <15>;
184184
#gpio-cells = <2>;
185185
gpio-controller;
@@ -190,7 +190,7 @@
190190
reg = <0x180014c0 0x00000010>;
191191
interrupt-parent = <&cpu>;
192192
interrupts = <6>;
193-
altr,gpio-bank-width = <3>;
193+
altr,ngpio = <3>;
194194
altr,interrupt-type = <2>;
195195
edge_type = <1>;
196196
level_trigger = <0>;

0 commit comments

Comments
 (0)