1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*5f62a964SEmmanuel Vadot%YAML 1.2 3*5f62a964SEmmanuel Vadot--- 4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/imu/bosch,smi240.yaml# 5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5f62a964SEmmanuel Vadot 7*5f62a964SEmmanuel Vadottitle: Bosch smi240 imu 8*5f62a964SEmmanuel Vadot 9*5f62a964SEmmanuel Vadotmaintainers: 10*5f62a964SEmmanuel Vadot - Jianping Shen <Jianping.Shen@de.bosch.com> 11*5f62a964SEmmanuel Vadot 12*5f62a964SEmmanuel Vadotdescription: 13*5f62a964SEmmanuel Vadot Inertial Measurement Unit with Accelerometer and Gyroscope 14*5f62a964SEmmanuel Vadot with a measurement range of +/-300°/s and up to 16g. 15*5f62a964SEmmanuel Vadot https://www.bosch-semiconductors.com/mems-sensors/highly-automated-driving/smi240/ 16*5f62a964SEmmanuel Vadot 17*5f62a964SEmmanuel Vadotproperties: 18*5f62a964SEmmanuel Vadot compatible: 19*5f62a964SEmmanuel Vadot const: bosch,smi240 20*5f62a964SEmmanuel Vadot 21*5f62a964SEmmanuel Vadot reg: 22*5f62a964SEmmanuel Vadot maxItems: 1 23*5f62a964SEmmanuel Vadot 24*5f62a964SEmmanuel Vadot vdd-supply: true 25*5f62a964SEmmanuel Vadot vddio-supply: true 26*5f62a964SEmmanuel Vadot 27*5f62a964SEmmanuel Vadotrequired: 28*5f62a964SEmmanuel Vadot - compatible 29*5f62a964SEmmanuel Vadot - reg 30*5f62a964SEmmanuel Vadot - vdd-supply 31*5f62a964SEmmanuel Vadot - vddio-supply 32*5f62a964SEmmanuel Vadot 33*5f62a964SEmmanuel VadotallOf: 34*5f62a964SEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 35*5f62a964SEmmanuel Vadot 36*5f62a964SEmmanuel VadotunevaluatedProperties: false 37*5f62a964SEmmanuel Vadot 38*5f62a964SEmmanuel Vadotexamples: 39*5f62a964SEmmanuel Vadot - | 40*5f62a964SEmmanuel Vadot spi { 41*5f62a964SEmmanuel Vadot #address-cells = <1>; 42*5f62a964SEmmanuel Vadot #size-cells = <0>; 43*5f62a964SEmmanuel Vadot 44*5f62a964SEmmanuel Vadot imu@0 { 45*5f62a964SEmmanuel Vadot compatible = "bosch,smi240"; 46*5f62a964SEmmanuel Vadot reg = <0>; 47*5f62a964SEmmanuel Vadot vdd-supply = <&vdd>; 48*5f62a964SEmmanuel Vadot vddio-supply = <&vddio>; 49*5f62a964SEmmanuel Vadot spi-max-frequency = <10000000>; 50*5f62a964SEmmanuel Vadot }; 51*5f62a964SEmmanuel Vadot }; 52