ARM: dts: ux500: Fix orientation of accelerometer
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 15 May 2021 00:02:34 +0000 (02:02 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 May 2021 00:16:38 +0000 (02:16 +0200)
This adds a mounting matrix to the accelerometer
on the TVK1281618 R3.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi

index 70f058352efcae16ee359d604e7c0748404d8bfd..511e097cc33e041c517974d81ae1544f8a9fd371 100644 (file)
@@ -89,6 +89,9 @@
                                             <19 IRQ_TYPE_EDGE_RISING>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&accel_tvk_mode>;
+                               mount-matrix = "0", "-1", "0",
+                                              "-1", "0", "0",
+                                              "0", "0", "-1";
                        };
                        magnetometer@1e {
                                compatible = "st,lsm303dlm-magn";