ramips: gpio-ralink: use ngpios, not ralink,num-gpios
[openwrt/staging/wigyori.git] / target / linux / ramips / patches-5.10 / 801-DT-Add-documentation-for-gpio-ralink.patch
index 7d5f98f64722d07f8b9d5927881d0e972617ae29..93dabf877626d07f24f5cbbb687bb6300efbed3e 100644 (file)
@@ -29,7 +29,7 @@ Cc: linux-gpio@vger.kernel.org
 +- reg : Physical base address and length of the controller's registers
 +- interrupt-parent: phandle to the INTC device node
 +- interrupts : Specify the INTC interrupt number
-+- ralink,num-gpios : Specify the number of GPIOs
++- ngpios : Specify the number of GPIOs
 +- ralink,register-map : The register layout depends on the GPIO bank and actual
 +              SoC type. Register offsets need to be in this order.
 +              [ INT, EDGE, RENA, FENA, DATA, DIR, POL, SET, RESET, TOGGLE ]
@@ -50,8 +50,8 @@ Cc: linux-gpio@vger.kernel.org
 +              interrupt-parent = <&intc>;
 +              interrupts = <6>;
 +
++              ngpios = <24>;
 +              ralink,gpio-base = <0>;
-+              ralink,num-gpios = <24>;
 +              ralink,register-map = [ 00 04 08 0c
 +                              20 24 28 2c
 +                              30 34 ];