Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/magnetometer/mag3110.txt
48525 views
1
* FREESCALE MAG3110 magnetometer sensor
2
3
Required properties:
4
5
- compatible : should be "fsl,mag3110"
6
- reg : the I2C address of the magnetometer
7
8
Optional 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
18
Example:
19
20
magnetometer@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
29