brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · e0d06db Raw
60 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/imu/bosch,bno055.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Bosch BNO0558 9maintainers:10  - Andrea Merello <andrea.merello@iit.it>11 12description: |13  Inertial Measurement Unit with Accelerometer, Gyroscope, Magnetometer and14  internal MCU for sensor fusion15  https://www.bosch-sensortec.com/products/smart-sensors/bno055/16 17properties:18  compatible:19    enum:20      - bosch,bno05521 22  reg:23    maxItems: 124 25  reset-gpios:26    maxItems: 127 28  clocks:29    maxItems: 130 31required:32  - compatible33 34additionalProperties: false35 36examples:37  - |38    #include <dt-bindings/gpio/gpio.h>39    serial {40      imu {41        compatible = "bosch,bno055";42        reset-gpios = <&gpio0 54 GPIO_ACTIVE_LOW>;43        clocks = <&imu_clk>;44      };45    };46 47  - |48    #include <dt-bindings/gpio/gpio.h>49    i2c {50      #address-cells = <1>;51      #size-cells = <0>;52 53      imu@28 {54        compatible = "bosch,bno055";55        reg = <0x28>;56        reset-gpios = <&gpio0 54 GPIO_ACTIVE_LOW>;57        clocks = <&imu_clk>;58      };59    };60