Commit 2efcca8a authored by Ondrej Jirman's avatar Ondrej Jirman Committed by Maxime Ripard

ARM: dts: sun8i: tbs-a711: Add node for BMA250 accelerometer

A711 tablet has BMA250 accelerometer connected to I2C1 bus. Enable
both the I2C1 bus and add the accelerometer device to it.
Signed-off-by: default avatarOndrej Jirman <megous@megous.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 261e1a6e
......@@ -156,6 +156,18 @@ &ehci1 {
status = "okay";
};
&i2c1 {
clock-frequency = <400000>;
status = "okay";
accelerometer@18 {
compatible = "bosch,bma250";
reg = <0x18>;
interrupt-parent = <&pio>;
interrupts = <7 10 IRQ_TYPE_EDGE_RISING>; /* PH10 / EINT10 */
};
};
&mmc0 {
vmmc-supply = <&reg_dcdc1>;
pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment