22 lines
659 B
Diff
22 lines
659 B
Diff
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
|
|
index a72c2ec8c..b3a7bef13 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
|
|
@@ -227,7 +227,15 @@ &i2c0_pins {
|
|
&i2c1 {
|
|
status = "okay";
|
|
|
|
- /* TODO: add Bochs BMA223 accelerometer here */
|
|
+ bma223@18 {
|
|
+ compatible = "bosch,bma223", "bosch,bma222e";
|
|
+ reg = <0x18>;
|
|
+ interrupt-parent = <&pio>;
|
|
+ interrupts = <7 5 IRQ_TYPE_LEVEL_HIGH>; /* PH5 */
|
|
+ mount-matrix = "0", "-1", "0",
|
|
+ "-1", "0", "0",
|
|
+ "0", "0", "-1";
|
|
+ };
|
|
};
|
|
|
|
&lradc {
|