diff options
Diffstat (limited to 'zephyr/projects/herobrine/motionsense_evoker.dts')
-rw-r--r-- | zephyr/projects/herobrine/motionsense_evoker.dts | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/zephyr/projects/herobrine/motionsense_evoker.dts b/zephyr/projects/herobrine/motionsense_evoker.dts index 8d6eaf6cc9..aa7646e0b3 100644 --- a/zephyr/projects/herobrine/motionsense_evoker.dts +++ b/zephyr/projects/herobrine/motionsense_evoker.dts @@ -36,15 +36,15 @@ motionsense-rotation-ref { compatible = "cros-ec,motionsense-rotation-ref"; lid_rot_ref: lid-rotation-ref { - mat33 = <0 1 0 - 1 0 0 - 0 0 (-1)>; + mat33 = <(-1) 0 0 + 0 (-1) 0 + 0 0 1>; }; base_rot_ref: base-rotation-ref { - mat33 = <1 0 0 - 0 (-1) 0 - 0 0 (-1)>; + mat33 = <0 1 0 + (-1) 0 0 + 0 0 1>; }; }; @@ -58,8 +58,8 @@ * "struct als_drv_data_t" in accelgyro.h */ motionsense-sensor-data { - bma255_data: bma255-drv-data { - compatible = "cros-ec,drvdata-bma255"; + bma4xx_data: bma4xx-drv-data { + compatible = "cros-ec,drvdata-bma4xx"; status = "okay"; }; @@ -76,7 +76,7 @@ */ motionsense-sensor { lid_accel: lid-accel { - compatible = "cros-ec,bma255"; + compatible = "cros-ec,bma4xx"; status = "okay"; active-mask = "SENSOR_ACTIVE_S0_S3"; @@ -85,8 +85,8 @@ port = <&i2c_sensor>; rot-standard-ref = <&lid_rot_ref>; default-range = <2>; - drv-data = <&bma255_data>; - i2c-spi-addr-flags = "BMA2x2_I2C_ADDR1_FLAGS"; + drv-data = <&bma4xx_data>; + i2c-spi-addr-flags = "BMA4_I2C_ADDR_PRIMARY"; configs { compatible = "cros-ec,motionsense-sensor-config"; |