boards/shields: x_nucleo_iks01a1: connect irq to DRDY pin

The LIS3MDL driver handles DRDY interrupt only. So connect
trigger to the DRDY pin instead of the INT pin.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
Armando Visconti 2020-02-18 12:01:56 +01:00 committed by Ioannis Glaropoulos
parent 0ba94d6d78
commit 262f88e2c3

View file

@ -22,7 +22,7 @@
lis3mdl-magn@1e {
compatible = "st,lis3mdl-magn";
reg = <0x1e>;
irq-gpios = <&arduino_header 4 GPIO_ACTIVE_HIGH>; /* A4 */
irq-gpios = <&arduino_header 5 GPIO_ACTIVE_HIGH>; /* DRDY on A5 */
label = "LIS3MDL";
};