Skip to content

Commit

Permalink
boards: 96b_argonkey: Add LSM6DSL I2C sensor for codegen demo [DNM]
Browse files Browse the repository at this point in the history
Do Not Merge:
Add LSM6DSL I2C sensor

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information
erwango committed Nov 9, 2018
1 parent 44ff7bc commit 867bd1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions boards/arm/96b_argonkey/96b_argonkey.dts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
reg = <1>;
spi-max-frequency = <1000000>;
irq-gpios = <&gpiob 1 0>;
cs-gpios = <&gpioc 2 0>;
label = "LSM6DSL_SPI";
};
};
Expand All @@ -75,6 +76,13 @@
&i2c1 {
status = "ok";
clock-frequency = <I2C_BITRATE_FAST>;

/* ST Microelectronics LSM6DSL accel/gyro sensor */
lsm6dsl@1 {
compatible = "st,lsm6dsl";
reg = <1>;
label = "LSM6DSL_I2C";
};
};

&i2c2 {
Expand Down

0 comments on commit 867bd1c

Please sign in to comment.