1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/magnetometer/bosch,bmc150_magn.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: Bosch BMC150 magnetometer sensor 8*5def4c47SEmmanuel Vadot 9*5def4c47SEmmanuel Vadotmaintainers: 10*5def4c47SEmmanuel Vadot - Jonathan Cameron <jic23@kernel.org> 11*5def4c47SEmmanuel Vadot 12*5def4c47SEmmanuel Vadotdescription: | 13*5def4c47SEmmanuel Vadot Supports a range of parts, some of which form part of a multi die 14*5def4c47SEmmanuel Vadot package that also contains other sensors. The interface is independent 15*5def4c47SEmmanuel Vadot however, so a separate driver is used to support the magnetometer part. 16*5def4c47SEmmanuel Vadot Datasheet at: 17*5def4c47SEmmanuel Vadot http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf 18*5def4c47SEmmanuel Vadot 19*5def4c47SEmmanuel Vadotproperties: 20*5def4c47SEmmanuel Vadot compatible: 21*5def4c47SEmmanuel Vadot description: 22*5def4c47SEmmanuel Vadot Note the bmm150_magn is a deprecated compatible as this part contains only 23*5def4c47SEmmanuel Vadot a magnetometer. 24*5def4c47SEmmanuel Vadot enum: 25*5def4c47SEmmanuel Vadot - bosch,bmc150_magn 26*5def4c47SEmmanuel Vadot - bosch,bmc156_magn 27*5def4c47SEmmanuel Vadot - bosch,bmm150 28*5def4c47SEmmanuel Vadot - bosch,bmm150_magn 29*5def4c47SEmmanuel Vadot 30*5def4c47SEmmanuel Vadot reg: 31*5def4c47SEmmanuel Vadot maxItems: 1 32*5def4c47SEmmanuel Vadot 33*5def4c47SEmmanuel Vadot vdd-supply: true 34*5def4c47SEmmanuel Vadot vddio-supply: true 35*5def4c47SEmmanuel Vadot 36*5def4c47SEmmanuel Vadot interrupts: 37*5def4c47SEmmanuel Vadot maxItems: 1 38*5def4c47SEmmanuel Vadot 39*5def4c47SEmmanuel VadotadditionalProperties: false 40*5def4c47SEmmanuel Vadot 41*5def4c47SEmmanuel Vadotrequired: 42*5def4c47SEmmanuel Vadot - compatible 43*5def4c47SEmmanuel Vadot - reg 44*5def4c47SEmmanuel Vadot 45*5def4c47SEmmanuel Vadotexamples: 46*5def4c47SEmmanuel Vadot - | 47*5def4c47SEmmanuel Vadot i2c { 48*5def4c47SEmmanuel Vadot #address-cells = <1>; 49*5def4c47SEmmanuel Vadot #size-cells = <0>; 50*5def4c47SEmmanuel Vadot 51*5def4c47SEmmanuel Vadot magnetometer@12 { 52*5def4c47SEmmanuel Vadot compatible = "bosch,bmc150_magn"; 53*5def4c47SEmmanuel Vadot reg = <0x12>; 54*5def4c47SEmmanuel Vadot interrupt-parent = <&gpio1>; 55*5def4c47SEmmanuel Vadot interrupts = <0 1>; 56*5def4c47SEmmanuel Vadot }; 57*5def4c47SEmmanuel Vadot }; 58*5def4c47SEmmanuel Vadot... 59