drivers: gpio: xlnx: Fix property reading for second channel
The properties being read for the all-inputs and all-outputs flags in
the driver for the second GPIO channel did not match the ones listed in
the DT schema or the existing device tree files. Fix this.
Signed-off-by: Robert Hancock <robert.hancock@calian.com>
diff --git a/drivers/gpio/gpio_xlnx_axi.c b/drivers/gpio/gpio_xlnx_axi.c
index b86fd0a..10d5411 100644
--- a/drivers/gpio/gpio_xlnx_axi.c
+++ b/drivers/gpio/gpio_xlnx_axi.c
@@ -277,8 +277,8 @@
MAX_GPIOS)), \
}, \
.base = DT_INST_REG_ADDR(n) + GPIO2_DATA_OFFSET, \
- .all_inputs = DT_INST_PROP_OR(n, xlnx_all_inputs2, 0), \
- .all_outputs = DT_INST_PROP_OR(n, xlnx_all_outputs2, 0),\
+ .all_inputs = DT_INST_PROP_OR(n, xlnx_all_inputs_2, 0), \
+ .all_outputs = DT_INST_PROP_OR(n, xlnx_all_outputs_2, 0),\
}; \
\
DEVICE_DT_DEFINE(DT_INST_CHILD(n, gpio2), \