mirror of https://gitee.com/openkylin/linux.git
ARM: dts: sun6i: Add accelerometer on Columbus A31
Add mma8452 accelerometer to sun6i-a31-colombus.dts. Signed-off-by: Sander Vermin <sander@vermin.nl> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
parent
adfa06ce9b
commit
5d97c677a9
|
@ -92,6 +92,13 @@ &i2c2 {
|
|||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c2_pins_a>;
|
||||
status = "okay";
|
||||
|
||||
mma8452: mma8452@1d {
|
||||
compatible = "fsl,mma8452";
|
||||
reg = <0x1d>;
|
||||
interrupt-parent = <&pio>;
|
||||
interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>; /* PA9 */
|
||||
};
|
||||
};
|
||||
|
||||
&mmc0 {
|
||||
|
|
Loading…
Reference in New Issue