boards: arm: Fix XIAO BLE Sense regulator enable gpio pin to use high drive
The XIAO BLE Sense uses a voltage regulator to enable the LSM6DS3TR-C IMU on it's internal I2C bus. There is an issue where all I2C messages on this internal bus drop when the `enable-gpio` pin of the voltage regulator (which powers the IMU) is set to standard drive. Adding the Nordic flag to set it to use "high drive" for the gpio fixes this. Signed-off-by: Matthew MacGregor <matthew.macgregor.g@gmail.com>
This commit is contained in:
parent
739ffd8a46
commit
7bfd88d272
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
/dts-v1/;
|
||||
#include "xiao_ble_common.dtsi"
|
||||
#include <zephyr/dt-bindings/i2c/i2c.h>
|
||||
#include <zephyr/dt-bindings/gpio/nordic-nrf-gpio.h>
|
||||
|
||||
/ {
|
||||
model = "Seeed XIAO BLE Sense";
|
||||
|
@ -14,7 +15,7 @@
|
|||
|
||||
lsm6ds3tr-c-en {
|
||||
compatible = "regulator-fixed-sync", "regulator-fixed";
|
||||
enable-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
|
||||
enable-gpios = <&gpio1 8 (NRF_GPIO_DRIVE_S0H1 | GPIO_ACTIVE_HIGH)>;
|
||||
regulator-name = "LSM6DS3TR_C_EN";
|
||||
regulator-boot-on;
|
||||
startup-delay-us = <900>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue