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