Skip to content
Snippets Groups Projects
Commit 84d6e679 authored by Gianfranco Mariotti's avatar Gianfranco Mariotti
Browse files

[C61] add lightsensor, accelerometer, gyro support

parent 4980ec5c
No related merge requests found
......@@ -307,8 +307,32 @@
&i2c3 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c3>;
pinctrl-0 = <&pinctrl_i2c3>, <&pinctrl_i2c3_gpio>;
status = "okay";
lightsensor: isl29023@44 {
compatible = "isil,isl29023";
reg = <0x44>;
status = "okay";
interrupt-parent = <&gpio1>;
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
};
accelerometer@1e {
compatible = "fsl,fxos8700";
status = "okay";
reg = <0x1e>;
interrupt-parent = <&gpio1>;
interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
};
gyro@20 {
compatible = "fxas2100x";
status = "okay";
reg = <0x20>;
interrupt-parent = <&gpio1>;
interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
};
};
&i2c4 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment