Bosch BNO055

Schema identifier ($id): "http://devicetree.org/schemas/iio/imu/bosch,bno055.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrea Merello <andrea.merello@iit.it>"

Inertial Measurement Unit with Accelerometer, Gyroscope, Magnetometer and internal MCU for sensor fusion https://www.bosch-sensortec.com/products/smart-sensors/bno055/

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "bosch,bno055"

reg — not listed as required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
serial {
  imu {
    compatible = "bosch,bno055";
    reset-gpios = <&gpio0 54 GPIO_ACTIVE_LOW>;
    clocks = <&imu_clk>;
  };
};
#include <dt-bindings/gpio/gpio.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  imu@28 {
    compatible = "bosch,bno055";
    reg = <0x28>;
    reset-gpios = <&gpio0 54 GPIO_ACTIVE_LOW>;
    clocks = <&imu_clk>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page