diff options
author | Carl Philipp Klemm <philipp@uvos.xyz> | 2020-11-08 19:43:39 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-11-10 14:35:55 +0100 |
commit | 5a7b624037625adcfd247299aa6f9d9257c97371 (patch) | |
tree | f59497a1949e04e6ecca989cf5e8159a0e9920f5 /arch/arm/boot/dts/omap4-droid-bionic-xt875.dts | |
parent | ARM: dts: mapphone: separate out xt894 specific things (diff) | |
download | linux-5a7b624037625adcfd247299aa6f9d9257c97371.tar.xz linux-5a7b624037625adcfd247299aa6f9d9257c97371.zip |
ARM: dts: xt875: add section for kionix kxtf9
Add section for kionix kxtf9.
Signed-off-by: Carl Philipp Klemm <philipp@uvos.xyz>
[tony@atomide.com: removed extra header from description]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4-droid-bionic-xt875.dts')
-rw-r--r-- | arch/arm/boot/dts/omap4-droid-bionic-xt875.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts b/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts index 49b2a8d55356..ccf03a743678 100644 --- a/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts +++ b/arch/arm/boot/dts/omap4-droid-bionic-xt875.dts @@ -37,3 +37,19 @@ }; }; }; + +&i2c4 { + kxtf9: accelerometer@f { + compatible = "kionix,kxtf9"; + reg = <0x0f>; + + vdd-supply = <&vhvio>; + + interrupt-parent = <&gpio2>; + interrupts = <2 IRQ_TYPE_EDGE_RISING>; + + rotation-matrix = "0", "-1", "0", + "1", "0", "0", + "0", "0", "1"; + }; +}; |