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:
parent
0c8e7eaeef
commit
51d19cbbee
@ -90,6 +90,7 @@
|
||||
label = "GPIO_P0";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <16>;
|
||||
};
|
||||
|
||||
lps22hb_press: lps22hb_press@5c {
|
||||
|
||||
@ -17,6 +17,10 @@ properties:
|
||||
"#gpio-cells":
|
||||
const: 2
|
||||
|
||||
ngpios:
|
||||
required: true
|
||||
const: 16
|
||||
|
||||
gpio-cells:
|
||||
- pin
|
||||
- flags
|
||||
|
||||
Loading…
Reference in New Issue
Block a user