xref: /freebsd/sys/contrib/device-tree/Bindings/iio/magnetometer/mag3110.txt (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1* FREESCALE MAG3110 magnetometer sensor
2
3Required properties:
4
5  - compatible : should be "fsl,mag3110"
6  - reg : the I2C address of the magnetometer
7
8Optional properties:
9
10  - interrupts: the sole interrupt generated by the device
11
12  Refer to interrupt-controller/interrupts.txt for generic interrupt client
13  node bindings.
14
15  - vdd-supply: phandle to the regulator that provides power to the sensor.
16  - vddio-supply: phandle to the regulator that provides power to the sensor's IO.
17
18Example:
19
20magnetometer@e {
21	compatible = "fsl,mag3110";
22	reg = <0x0e>;
23	pinctrl-names = "default";
24	pinctrl-0 = <&pinctrl_i2c3_mag3110_int>;
25	interrupt-parent = <&gpio3>;
26	interrupts = <16 IRQ_TYPE_EDGE_RISING>;
27};
28