ARM: dts: ux500: Fix orientation of accelerometer
[ Upstream commit 4beba4011995a2c44ee27e1d358dc32e6b9211b3 ] This adds a mounting matrix to the accelerometer on the TVK1281618 R3. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
61fda04276
commit
5190a6604a
@@ -19,6 +19,9 @@
|
|||||||
<19 IRQ_TYPE_EDGE_RISING>;
|
<19 IRQ_TYPE_EDGE_RISING>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&accel_tvk_mode>;
|
pinctrl-0 = <&accel_tvk_mode>;
|
||||||
|
mount-matrix = "0", "-1", "0",
|
||||||
|
"-1", "0", "0",
|
||||||
|
"0", "0", "-1";
|
||||||
};
|
};
|
||||||
magnetometer@1e {
|
magnetometer@1e {
|
||||||
compatible = "st,lsm303dlm-magn";
|
compatible = "st,lsm303dlm-magn";
|
||||||
|
Reference in New Issue
Block a user