dts: bindings: semtech,sx1509b: add fixed ngpios property

Unlike most other GPIO controllers which support 32 pins this device
only supports 16.  (There is an SX1508B that has 8 pins, but the
driver doesn't support it.)

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2019-10-31 09:06:42 -05:00 committed by Kumar Gala
parent 0c8e7eaeef
commit 51d19cbbee
2 changed files with 5 additions and 0 deletions

View File

@ -90,6 +90,7 @@
label = "GPIO_P0";
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
};
lps22hb_press: lps22hb_press@5c {

View File

@ -17,6 +17,10 @@ properties:
"#gpio-cells":
const: 2
ngpios:
required: true
const: 16
gpio-cells:
- pin
- flags