diff options
| author | Andreas Kemnade <[email protected]> | 2023-09-27 19:32:45 +0200 |
|---|---|---|
| committer | Tony Lindgren <[email protected]> | 2023-10-07 09:56:10 +0300 |
| commit | cc284742c2f3aed75c77bab35f4a2eecdd0469e9 (patch) | |
| tree | c0b1cf430bc266d89c3e748ea01a4b8f985003c6 | |
| parent | f5f331930bf00d80fc69a0b4d994481fbba42774 (diff) | |
ARM: dts: omap: omap4-embt2ws: Add IMU at control unit
Add also the level-shifter flag to avoid probe failure in magnetometer
probe.
Signed-off-by: Andreas Kemnade <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
| -rw-r--r-- | arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts index ee395d12506d..7bab03f0ce7a 100644 --- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts +++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts @@ -243,7 +243,16 @@ reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; }; - /* TODO: mpu9150 at control unit, seems to require quirks */ + mpu9150: imu@68 { + compatible = "invensense,mpu9150"; + reg = <0x68>; + + pinctrl-names = "default"; + pinctrl-0 = <&mpu9150_pins>; + interrupt-parent = <&gpio2>; + interrupt = <7 IRQ_TYPE_LEVEL_HIGH>; + invensense,level-shifter; + }; }; &keypad { @@ -378,6 +387,12 @@ >; }; + mpu9150_pins: pinmux-mpu9150-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x5e, PIN_INPUT_PULLUP | MUX_MODE3) + >; + }; + mpu9150h_pins: pinmux-mpu9150h-pins { pinctrl-single,pins = < OMAP4_IOPAD(0x76, PIN_INPUT_PULLUP | MUX_MODE3) |