Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 256909a4 authored by Marco Franchi's avatar Marco Franchi Committed by Shawn Guo
Browse files

ARM: dts: imx6ul-evk: Add support for mag3110 sensor



The i.MX 6UL EVK has a MAG3110 Magnetometer sensor in its base board.
Add support for this sensor, which is included in the trivial i2c devices
and according to the bindings documentation, just need a compatible field
and an address.

Signed-off-by: default avatarMarco Franchi <marco.franchi@nxp.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 7055f714
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -140,6 +140,17 @@
	};
};

&i2c1 {
	clock-frequency = <100000>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c1>;
	status = "okay";

	mag3110@e {
		compatible = "fsl,mag3110";
		reg = <0x0e>;
	};
};

&lcdif {
	assigned-clocks = <&clks IMX6UL_CLK_LCDIF_PRE_SEL>;