Commit d4dbc42c authored by Andrey Smirnov's avatar Andrey Smirnov Committed by Ezequiel Garcia
Browse files

arm64: dts: zii-ultra: Add node for accelerometer



Add I2C node for accelerometer present on both Zest and RMB3 boards.
Signed-off-by: default avatarAndrey Smirnov <andrew.smirnov@gmail.com>
parent b7deabc2
......@@ -312,6 +312,18 @@
pinctrl-0 = <&pinctrl_i2c1>;
status = "okay";
accelerometer@1c {
compatible = "fsl,mma8451";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_accelerometer>;
reg = <0x1c>;
interrupt-parent = <&gpio3>;
interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "INT2";
vdd-supply = <&reg_3p3v>;
vddio-supply = <&reg_3p3v>;
};
ucs1002: charger@32 {
compatible = "microchip,ucs1002";
pinctrl-names = "default";
......@@ -623,6 +635,12 @@
};
&iomuxc {
pinctrl_accelerometer: accelerometergrp {
fsl,pins = <
MX8MQ_IOMUXC_SAI5_RXC_GPIO3_IO20 0x41
>;
};
pinctrl_codec1: dac1grp {
fsl,pins = <
MX8MQ_IOMUXC_NAND_CE2_B_GPIO3_IO3 0x41
......
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