Skip to content

Commit 68795fc

Browse files
miggazElquezdanieldegrasse
authored andcommitted
boards: arduino_nano_33_ble: add lsm9ds1 magnetometer sensor to device tree
Describe the magnetometer part of the lsm9ds1 sensor, available in the Arduino Nano 33 BLE through I2C. Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
1 parent d3cae7e commit 68795fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

boards/arduino/nano_33_ble/arduino_nano_33_ble-common.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ arduino_i2c: &i2c0 {
173173
reg = <0x6b>;
174174
};
175175

176+
lsm9ds1_mag: lsm9ds1_mag@1e {
177+
compatible = "st,lsm9ds1_mag";
178+
reg = <0x1e>;
179+
};
180+
176181
};
177182

178183
/* SPI2 is used because SPI1/0 shares conflicts with I2C1/0 */

0 commit comments

Comments
 (0)