ARM: dts: meson8b: the CBUS GPIO controller only has 83 GPIOs
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 12 Mar 2018 20:57:09 +0000 (21:57 +0100)
committerKevin Hilman <khilman@baylibre.com>
Tue, 20 Mar 2018 21:32:31 +0000 (14:32 -0700)
commit4e461e62fc987ed5edb82e2a902fd93f4dccae8f
tree36ab4b73514d5c78af7939fc6fef8d24caa6a32f
parente03efbce6bebf55111ec8e22e2f545f72aff6cfd
ARM: dts: meson8b: the CBUS GPIO controller only has 83 GPIOs

Update the "gpio-ranges" property of the CBUS GPIO controller on Meson8b
because it only provides 83 GPIOs.
The GPIO definitions in include/dt-bindings/gpio/meson8b-gpio.h
inherited all GPIOs from Meson8 until recently. However, Meson8b does
not support all GPIOs which are supported by Meson8 (Meson8b doesn't
have a GPIOZ bank, most of the pins from the GPIODV bank are missing on
Meson8b - just to name a few differences).

The actual number of GPIOs is only 83, instead of 120 from Meson8 plus
the 10 GPIOs from the DIF bank on Meson8b.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson8b.dtsi