How to modify the interrupt pins for BMI088

Hello Nvidia,

The device tree below uses interrupt pins INT1/INT3 default.

i2c@3180000 {
	status = "okay";
	clock-frequency = <400000>;

        bmi088@68 {
            compatible = "bmi,bmi088";
            accel_i2c_addr = <0x18>;
            status = "okay";
            reg = <0x68>;
            accel_irq-gpios = <&gpio_aon TEGRA234_AON_GPIO(BB, 0) GPIO_ACTIVE_HIGH>;
            gyro_irq-gpios = <&gpio_aon TEGRA234_AON_GPIO(BB, 1) GPIO_ACTIVE_HIGH>;
            accel_matrix = [01 00 00 00 01 00 00 00 01];
            gyro_matrix = [01 00 00 00 01 00 00 00 01];
            accel_reg_0x53 = <0x0A>;
            gyro_reg_0x16 = <0x01>;
            gyro_reg_0x18 = <0x01>;
            timestamps = <&hte_aon TEGRA234_AON_GPIO(BB, 0)>, <&hte_aon TEGRA234_AON_GPIO(BB, 1)>;
            timestamp-names = "accelerometer", "gyroscope";
            };
};

However, our hardware uses INT2/INT4. How should I modify this?

Hi norman_xu,

Above properties in device tree should be updated.

Please refer to BMI088 IMU Driver — Optional Properties and BMI088 Datasheet for details.

Hi @KevinFFF ,

Thanks for the reference config. It works!