Skip to contentSkip to conversation

ARM: dts: omap: gta04: add BNO055 IMU chip

PATCH In review Andreas Kemnade 2 participants 2 messages Jan 17, 2023 – Jan 19, 2023 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: omap: gta04: add BNO055 IMU chip

There is finally a driver upstreamed, so add the
device.

---
Changes in v2:
use a generic node name

 arch/arm/boot/dts/omap3-gta04a5.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/omap3-gta04a5.dts +13 -0
index 0b5bd7388877..1ecdc985fa05 100644
@@ -75,6 +75,11 @@ OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */
 		>;
 	};
 
+	bno050_pins: pinmux-bno050-pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x2136, PIN_INPUT | MUX_MODE4) /* gpin113 */
+		>;
+	};
 };
 
 /*
@@ -136,4 +141,12 @@ bme280@76 {
 		vdda-supply = <&vio>;
 		vddd-supply = <&vio>;
 	};
+
+	imu@29 {
+		compatible = "bosch,bno055";
+		reg = <0x29>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&bno050_pins>;
+		/* interrupt at &gpio4 17 */
+	};
 };
Signature · 1 line
2.30.2
#1 lore raw
Quoted 2 lines · Andreas Kemnade

There is finally a driver upstreamed, so add the
device.

Applying into omap-for-v6.3/dt thanks.

Tony